王总上门按摩后台代码
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.
shangmenanmo/public/h5/static/js/pages-mine.c43c0e49.js

1 line
41 KiB

5 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mine"],{"01eb":function(e,t,i){"use strict";i.r(t);var a=i("9cd2"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(s);t["default"]=n.a},1748:function(e,t,i){"use strict";var a=i("f622"),n=i.n(a);n.a},"2f3d":function(e,t,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("d3b7"),i("3ca3"),i("ddb0"),i("d81d"),i("4de4"),i("3c65"),i("c740"),i("a434"),i("caad"),i("2532"),i("99af");var n=a(i("3835")),s=a(i("5530")),o=a(i("c7eb")),r=a(i("1da1")),c=i("26cb"),l=a(i("4223")),u={components:{tabbar:l.default},data:function(){return{isLoad:!1,toolLoad:!1,options:{},textType:{1:"可服务",2:"服务中",3:"可预约",4:"不可预约"},is_share:!0,orderList:[],orderList2:[{icon:"icon-kdd2",text:"待接单",url:"/technician/pages/order/list",number:0},{icon:"iconyijiedan",text:"待服务",url:"/technician/pages/order/list?tab=1",number:0},{icon:"icon-kll",text:"服务中",url:"/technician/pages/order/list?tab=2",number:0}],commissionList:[],toolList:[{cover:"/static/mine/dizhiguanli.png",text:"地址管理",url:"/user/pages/address/list"},{cover:"/static/mine/yijianfank.png",text:"问题反馈",url:"/user/pages/feedback/box"},{cover:"/static/mine/pingjia.png",text:"我的评价",url:"/pages/order?tab=4"},{cover:"/static/mine/tuikuan.png",text:"退款售后",url:"/user/pages/refund/list"},{cover:"/static/mine/tel.png",text:"联系客服",url:""}],toolList2:[{cover:"/static/mine/dengji.png",text:"等级管理",url:"/technician/pages/level"},{cover:"/static/mine/Wallet.png",text:"储值返佣明细",url:"/technician/pages/income/cash-integral",number:0},{cover:"/static/mine/fencheng.png",text:"分成明细",url:"/technician/pages/income/commission-list",number:0},{cover:"/static/mine/cfmx.png",text:"车费明细",url:"/technician/pages/car-fare"},{cover:"/static/mine/cftx.png",text:"车费提现记录",url:"/user/pages/distribution/record?type=3"},{cover:"/static/mine/shop.png",text:"物料商城",url:"/technician/pages/shop/list"},{cover:"/static/mine/shens.png",text:"差评申诉",url:"/technician/pages/bad-comments/box"},{cover:"/static/mine/pingbi.png",text:"屏蔽用户",url:"/technician/pages/shield"},{cover:"/static/mine/qiehuan.png",text:"切换用户端",url:"change"}],image_type:{1:"user_image",2:"coach_image"},font_type:{1:"user_font_color",2:"coach_font_color"},showAuth:!1,offsetL:360,offsetT:0}},computed:(0,c.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor},configInfo:function(e){return e.config.configInfo},commonOptions:function(e){return e.user.commonOptions},userInfo:function(e){return e.user.userInfo},userPageType:function(e){return e.user.userPageType},locationChange:function(e){return e.user.locationChange},location:function(e){return e.user.location},mineInfo:function(e){return e.user.mineInfo},coachInfo:function(e){return e.user.coachInfo}}),onLoad:function(e){this.options=e;var t=e.type,i=void 0===t?1:t;i&&this.updateUserItem({key:"userPageType",val:i});var a=this.mineInfo.id,n=void 0===a?-1:a;-1==n&&this.$util.showLoading(),this.initIndex()},onShow:function(){var e=this;return(0,r.default)((0,o.default)().mark((function t(){return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(2!=e.userPageType){t.next=3;break}return t.next=3,Promise.all([e.getCoachInfo(),e.getOrderNumCall()]);case 3:case"end":return t.stop()}}),t)})))()},onPullDownRefresh:function(){uni.showNavigationBarLoading(),this.initRefresh(),uni.stopPullDownRefresh()},methods:(0,s.default)((0,s.default)((0,s.default)({},(0,c.mapActions)(["getConfigInfo","getUserInfo","getMineInfo","getCoachInfo","updateCommonOptions"])),(0,c.mapMutations)(["updateUserItem"])),{},{initIndex:function(){var e=arguments,t=this;return(0,r.default)((0,o.default)().mark((function i(){var a,n,s,r,c,l,u,f,d,p,m,v,h,g,x,b,w,_,C,y,I;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.