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
9.8 KiB
1 line
9.8 KiB
5 months ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/technician"],{"0715":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.cityList&&t.cityList.length>0),i=n&&-1!==t.cityIndex?t.cityList[t.cityIndex].title.length:null,a=n&&-1!==t.cityIndex&&i>3?t.cityList[t.cityIndex].title.substring(0,3):null,c=t.$t("action.attendantName"),r=t.pageActive&&t.list.data&&t.list.data.length>0,o=t.loading?t.list.current_page>=t.list.last_page&&t.list.data.length>0&&t.location.lng:null,u=!t.loading&&t.list.data.length<=0&&1==t.list.current_page&&t.location.lng;t._isMounted||(t.e0=function(e){return e.stopPropagation(),t.$refs.choose_city_item.close()}),t.$mp.data=Object.assign({},{$root:{g0:n,g1:i,g2:a,m0:c,g3:r,g4:o,g5:u}})},a=[]},"0e7f":function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("7043");i(n("3240"));var a=i(n("d687"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"27f6":function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("7eb4")),c=i(n("34cf")),r=i(n("7ca3")),o=i(n("ee10")),u=n("8f59"),s=i(n("cf61"));function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f={components:{tabbar:function(){n.e("components/tabbar").then(function(){return resolve(n("ea26"))}.bind(null,n)).catch(n.oe)},technicianListItem:function(){n.e("components/technician-list-item").then(function(){return resolve(n("a0e3"))}.bind(null,n)).catch(n.oe)},technicianListPopup:function(){n.e("components/technician-list-popup").then(function(){return resolve(n("ba2d"))}.bind(null,n)).catch(n.oe)}},data:function(){return{isLoad:!1,options:{},loading:!0,lockTap:!1}},computed:(0,u.mapState)({pageActive:function(t){return t.technician.pageActive},haveOperItem:function(t){return t.technician.haveOperItem},cityId:function(t){return t.technician.cityId},cityIndex:function(t){return t.technician.cityIndex},cityList:function(t){return t.technician.cityList},activeIndex:function(t){return t.technician.activeIndex},tabList:function(t){return t.technician.tabList},param:function(t){return t.technician.param},list:function(t){return t.technician.list},primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},loginType:function(t){return t.user.loginType},userInfo:function(t){return t.user.userInfo},location:function(t){return t.user.location},isGzhLogin:function(t){return t.user.isGzhLogin},haveShieldOper:function(t){return t.user.haveShieldOper}}),onLoad:function(t){var e=this;return(0,o.default)(a.default.mark((function n(){var i,c,r,o,u,s,l,d,f,p,h,g;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.options=t,i=t.pid,c=void 0===i?0:i,r=t.city_id,o=void 0===r?0:r,u=t.coach_id,s=void 0===u?0:u,l=t.coach_name,d=void 0===l?"":l,f=e.$util.deepCopy(e.param),f.coach_id=s,f.coach_name=d,e.updateTechnicianItem({key:"param",val:f}),s&&e.updateTechnicianItem({key:"cityId",val:o}),e.$util.showLoading(),p=e.list.data,h=void 0===p?[]:p,g=0==h.length||h[0].city_id!=e.cityId,!e.pageActive||s&&c||g){n.next=15;break}return e.isLoad=!0,e.loading=!1,e.$util.hideAll(),n.abrupt("return");case 15:return n.next=17,e.initIndex();case 17:case"end":return n.stop()}}),n)})))()},onShow:function(){var t=this;return(0,o.default)(a.default.mark((f
|