1 line
42 KiB
JavaScript
1 line
42 KiB
JavaScript
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-medical-see-doctor"],{"24c0":function(t,e,a){var i=a("4506");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("f2324f10",i,!0,{sourceMap:!1,shadowMode:!1})},"28ef":function(t,e,a){"use strict";a.r(e);var i=a("d537"),n=a("f929");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("7061");var r,c=a("f0c5"),d=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"debfdc22",null,!1,i["a"],r);e["default"]=d.exports},"3a88":function(t,e,a){"use strict";a.r(e);var i=a("4add"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"3b1e":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"container"},[a("v-uni-view",{staticClass:"banner-box"},[a("v-uni-image",{attrs:{src:"/static/imgs/yiliao.png",mode:""}})],1),a("v-uni-view",{staticClass:"main"},[a("v-uni-view",{staticClass:"tab-box"},[a("v-uni-view",{staticClass:"tab-item",class:0==t.currentTabIndex?"active_tab":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.currentTabIndex=0}}},[t._v("就诊预约")]),a("v-uni-view",{staticClass:"tab-item",class:1==t.currentTabIndex?"active_tab":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.currentTabIndex=1}}},[t._v("预约记录")])],1),0==t.currentTabIndex?a("v-uni-view",{staticClass:"form-box one"},[a("v-uni-view",{staticStyle:{color:"#333","font-weight":"600",padding:"20upx 0upx 0upx 20upx"}},[t._v("请选择就诊日期")]),a("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-x":"true"}},t._l(t.date,(function(e,i){return a("v-uni-view",{key:i,staticClass:"time-item-box",class:t.chooseDateIndex==i?"time-active":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.switchTab(i)}}},[a("v-uni-text",{staticClass:"time"},[t._v(t._s(e.tiems.substr(5,10)))]),a("v-uni-text",{staticClass:"week"},[t._v(t._s(e.week))])],1)})),1),2==this.date[this.chooseDateIndex].isholiday||1!=this.date[this.chooseDateIndex].isholiday&&"星期六"!=this.date[this.chooseDateIndex].week&&"星期日"!=this.date[this.chooseDateIndex].week?a("v-uni-view",{staticClass:"content"},[t._l(t.parentProjectList,(function(e,i){return a("v-uni-view",{key:i,staticStyle:{"margin-bottom":"30upx"}},[a("v-uni-view",{staticStyle:{color:"#333","font-weight":"600"}},[a("v-uni-view",[t._v(t._s(e.project_name))])],1),a("v-uni-view",{staticClass:"barber-doctor"},t._l(e.childrenList,(function(e,i){return e.project_day&&-1==e.project_day.indexOf(t.date[t.chooseDateIndex].weekDay)?t._e():a("v-uni-view",{key:i,class:t.chooseProjectId==e.id?"barber-doctor-item-choose":"barber-doctor-item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.chooseProject(e)}}},[a("v-uni-text",[t._v(t._s(e.project_name))])],1)})),1)],1)})),a("v-uni-view",{staticClass:"time-box"},[a("v-uni-view",{staticStyle:{color:"#333","font-weight":"600","padding-bottom":"20upx"}},[t._v("请选择预约时间")]),t._l(t.projectInfoList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"time-item",class:[t.chooseProjectInfoId==e.id&&e.compareTime?"active":"",(-1==e.project_num||e.project_num-(e.applyNum?e.applyNum:0)>0)&&e.compareTime?"":"bg-gray"],on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.chooseProjectInfo(e)}}},[a("v-uni-view",{staticClass:"time-text"},[t._v(t._s(e.project_time))]),-1!=e.project_num?a("v-uni-view",{staticClass:"time-text"},[t._v("已约"),a("v-uni-text",{class:e.applyNum?e.applyNum:"color-666"},[t._v(t._s(e.applyNum?e.applyNum:0))]),t._v("位,余"),a("v-uni-text",{class:e.project_num-(e.applyNum?e.applyNum:0)<=0?"color-666":""},[t._v(t._s(e.project_num-(e.applyNum?e.applyNum:0)))]),t._v("位")],1):t._e(),-1==e.project_num?a("v-uni-view",{staticClass:"time-text"},[t._v("已约"),a("v-uni-text",[t._v(t._s(e.applyNum?e.applyNum:0))]),t._v("位")],1):t._e(),
|