You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
7.0 KiB

3 years ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-selectHospital-selectHospital"],{1928:function(t,e,n){"use strict";n.r(e);var a=n("61ce"),i=n("c135");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("fe5f");var c=n("f0c5"),u=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"2198d501",null,!1,a["a"],void 0);e["default"]=u.exports},"282f":function(t,e,n){var a=n("52f1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("fcad02c6",a,!0,{sourceMap:!1,shadowMode:!1})},"49fc":function(t,e,n){"use strict";n.r(e);var a=n("5d0a"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"52f1":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,".icon-home[data-v-2198d501]{padding-left:%?55?%;font-size:%?42?%}.nav[data-v-2198d501]{height:%?160?%;background-image:linear-gradient(130deg,#52d5a6,#43c9cf);display:flex;align-items:center;padding:%?0?% %?30?%;padding-top:%?48?%;position:fixed;box-sizing:border-box;top:%?0?%;left:0;width:100%;overflow:hidden;z-index:9999;justify-content:space-between}.nav .navLeft[data-v-2198d501]{display:flex}.nav .navTitle[data-v-2198d501]{font-family:SourceHanSansCN-Medium;font-size:%?36?%;color:#fff;letter-spacing:%?0.37?%;line-height:%?50?%;margin-left:%?40?%;font-weight:600}.nav .navLeft .icon-fanhui[data-v-2198d501]{color:#fff;font-size:%?45?%}.navRight[data-v-2198d501]{display:flex;align-items:center}",""]),t.exports=e},"5d0a":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("b85c")),o=n("21db"),c={data:function(){return{id:0,title:"map",latitude:39.909,longitude:116.39742,hospital:[]}},onShow:function(){this.loadhospital()},methods:{tohome:function(){uni.navigateTo({url:"../index/index"})},tochange:function(t){var e,n=t.currentTarget.dataset.index,a=this.hospital,o=(0,i.default)(a);try{for(o.s();!(e=o.n()).done;){var c=e.value;c.chekced=!1}}catch(u){o.e(u)}finally{o.f()}a[n].chekced=!0,this.hospital=a,this.latitude=a[n].latitude,this.longitude=a[n].longitude},toselect:function(t){var e=t.currentTarget.dataset.index,n=this.hospital;uni.setStorageSync("currentProject",n[e]),uni.reLaunch({url:"/pages/index/index"})},loadhospital:function(){var t=this,e=uni.getStorageSync("currentProject");o.request({api:"manager/get-projects",utilSuccess:function(n){var a,o=n,c=(0,i.default)(o);try{for(c.s();!(a=c.n()).done;){var u=a.value;e.id==u.id?(t.longitude=u.longitude,t.latitude=u.latitude,u.chekced=!0):u.chekced=!1}}catch(r){c.e(r)}finally{c.f()}t.hospital=o},utilFail:function(t){o.alert(t)}})}}};e.default=c},"61ce":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"nav"},[n("v-uni-view",{staticClass:"navLeft"},[n("v-uni-view",{staticClass:"back",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toback.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"iconfont icon-fanhui"})],1),n("v-uni-view",{staticClass:"navTitle"},[t._v(t._s(t.title))])],1),n("v-uni-view",{staticClass:"navRight"},[t._t("default"),"home"==t.hasHome?n("v-uni-text",{staticClass:"iconfont icon-home iconTop",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tohome.apply(void 0,arguments)}}}):t._e()],2)],1)],1)},i=[]},"72ca":function(t,e,n){var a=n("fe5a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("71fc732e",a,!0,{sourceMap:!1,shadowMode:!1})},"9d7b":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={topnav:n("1928").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("topnav",{attrs:{title:"选择医院"},on:{tohome:function(e){arguments[0]=e=t.$ha