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.

2 lines
8.9 KiB

2 months ago
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package_sub/order/assignOrder"],{335:function(e,t,r){"use strict";(function(e,t){var n=r(4);r(30);n(r(25));var a=n(r(336));e.__webpack_require_UNI_MP_PLUGIN__=r,t(a.default)}).call(this,r(1)["default"],r(2)["createPage"])},336:function(e,t,r){"use strict";r.r(t);var n=r(337),a=r(339);for(var o in a)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return a[e]}))}(o);r(341);var s,u=r(39),i=Object(u["default"])(a["default"],n["render"],n["staticRenderFns"],!1,null,"38f3c378",null,!1,n["components"],s);i.options.__file="package_sub/order/assignOrder.vue",t["default"]=i.exports},337:function(e,t,r){"use strict";r.r(t);var n=r(338);r.d(t,"render",(function(){return n["render"]})),r.d(t,"staticRenderFns",(function(){return n["staticRenderFns"]})),r.d(t,"recyclableRender",(function(){return n["recyclableRender"]})),r.d(t,"components",(function(){return n["components"]}))},338:function(e,t,r){"use strict";var n;r.r(t),r.d(t,"render",(function(){return a})),r.d(t,"staticRenderFns",(function(){return s})),r.d(t,"recyclableRender",(function(){return o})),r.d(t,"components",(function(){return n}));try{n={uNavbar:function(){return r.e("uview-ui/components/u-navbar/u-navbar").then(r.bind(null,351))},uSearch:function(){return r.e("uview-ui/components/u-search/u-search").then(r.bind(null,525))},uAvatar:function(){return r.e("uview-ui/components/u-avatar/u-avatar").then(r.bind(null,532))},uLoadmore:function(){return r.e("uview-ui/components/u-loadmore/u-loadmore").then(r.bind(null,365))},uEmpty:function(){return r.e("uview-ui/components/u-empty/u-empty").then(r.bind(null,372))},uButton:function(){return r.e("uview-ui/components/u-button/u-button").then(r.bind(null,358))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var a=function(){var e=this,t=e.$createElement,r=(e._self._c,{background:"#1479ff"}),n=e.hasNurseList?e.__map(e.nurseList,(function(t,r){var n=e.__get_orig(t),a=e.getNurseAvatar(t),o=e.maskMobile(t.mobile),s=e.nurseSexText(t),u=s?e.nurseSexText(t):null;return{$orig:n,m0:a,m1:o,m2:s,m3:u}})):null;e.$mp.data=Object.assign({},{$root:{a0:r,l0:n}})},o=!1,s=[];a._withStripped=!0},339:function(e,t,r){"use strict";r.r(t);var n=r(340),a=r.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},340:function(e,t,r){"use strict";(function(e){var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(r(34)),o=n(r(13)),s=n(r(36)),u=r(210),i={data:function(){return{orderId:"",nurseList:[],selectedNurseId:null,searchKeyword:"",loadStatus:"loadmore",page:1,pageSize:10,loginRole:"",orderBrief:{},orderLoadFailed:!1,staffTotal:0}},computed:{hasNurseList:function(){return this.nurseList.length>0},confirmBtnStyle:function(){var e=!this.selectedNurseId;return{width:"100%",height:"88rpx",lineHeight:"88rpx",fontSize:"32rpx",color:"#fff",opacity:e?"0.55":"1",background:e?"#c5ced9":"linear-gradient(to right, #476de4, #7bb9f7)",border:"none"}},staffTotalHint:function(){return"staff"===this.loginRole&&this.hasNurseList?this.staffTotal>0?this.staffTotal:this.nurseList.length:""}},onLoad:function(t){this.loginRole=e.getStorageSync("login_role")||"",t.id&&(this.orderId=t.id),this.fetchOrderBrief(),this.getNurseList()},methods:{extractPaginatedRows:function(e){var t,r;if(!e)return{rows:[],total:0,last_page:1};var n,a,o=[],s=0,u=1,i=null!==(t=null!==(r=e.data)&&void 0!==r?r:e.items)&&void 0!==t?t:e.list;return Array.isArray(i)?(o=i,s=null!==(n=e.total)&&void 0!==n?n:o.length,u=null!==(a=e.last_page)&&void 0!==a?a:1,{rows:o,total:s,last_page:u}):Array.isArray(e)?{rows:e,total:e.length,last_page:1}:{rows:[],total
//# sourceMappingURL=../../../.sourcemap/mp-weixin/package_sub/order/assignOrder.js.map