王总上门按摩后台代码
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/h6/static/js/technician-pages-order-deta...

1 lines
40 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["technician-pages-order-detail"],{"0918":function(e,t,i){"use strict";i.r(t);var a=i("436a"),n=i("516d");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);var s=i("828b"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"bb5b0fbc",null,!1,a["a"],void 0);t["default"]=o.exports},"29ac":function(e,t,i){"use strict";i.r(t);var a=i("fb86"),n=i("3248");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("7dc4");var s=i("828b"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4a417ed4",null,!1,a["a"],void 0);t["default"]=o.exports},"2a34":function(e,t,i){"use strict";i.r(t);var a=i("3c1c"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},3248:function(e,t,i){"use strict";i.r(t);var a=i("7e64"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},"3c1c":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("aa9c"),i("e966"),i("5c47"),i("a1c1"),i("c223"),i("4626");var n=a(i("5de6")),r=a(i("2634")),s=a(i("2fdc")),o=a(i("9b1b")),l=i("8f59"),c=a(i("29ac")),d=a(i("0918")),u={components:{timeline:c.default,MumuRecorder:d.default},data:function(){return{options:{},statusPayType:[2,3,4,5,6],statusType:{"-1":"已拒单",2:"待接单",3:"已接单",4:"已出发",5:"已到达",6:"服务中",7:"已完成"},carType:{0:"公交/地铁",1:"出租车"},payType:{1:"微信支付",2:"余额支付",3:"支付宝支付"},lineList:[],base_service:[{pay_type:3,title:this.$t("action.attendantName")+"接单",time:"receiving_time",icon:"iconjishijiedan"},{pay_type:4,title:this.$t("action.attendantName")+"出发",time:"serout_time",icon:"iconjishichufa"},{pay_type:5,title:this.$t("action.attendantName")+"到达",time:"arrive_time",icon:"iconjishidaoda"},{pay_type:6,title:"开始服务",time:"start_service_time",icon:"iconjishifuwu"},{pay_type:7,title:"服务完成",time:"order_end_time",icon:"iconjishiwancheng"},{pay_type:7,title:"签字确认",time:"sign_time",icon:""}],base_bell:[{pay_type:3,title:this.$t("action.attendantName")+"接单",time:"receiving_time",icon:"iconjishijiedan"},{pay_type:6,title:"开始服务",time:"start_service_time",icon:"iconjishifuwu"},{pay_type:7,title:"服务完成",time:"order_end_time",icon:"iconjishiwancheng"}],detail:{pay_type:0},check_label:[],coach_refund_text:"",lockTap:!1,popupInfo:{title:"",type:"",param:{},imgs:[],location:{lat:0,lng:0,address:""}}}},computed:(0,l.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor},configInfo:function(e){return e.config.configInfo},recorder:function(e){return e.order.recorder},recorder_status:function(e){return e.order.recorder_status},recorder_order_id:function(e){return e.order.recorder_order_id},over_time_text:function(){return(new Date).getTime()+1e3*this.detail.end_time}}),onLoad:function(e){this.options=e,this.initIndex()},methods:(0,o.default)((0,o.default)((0,o.default)({},(0,l.mapActions)(["getConfigInfo","getCoachInfo","toPlayAudio"])),(0,l.mapMutations)(["updateOrderItem"])),{},{initIndex:function(){var e=arguments,t=this;return(0,s.default)((0,r.default)().mark((function i(){var a,n,s,o,l,c,d,u,p,f,v;return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(a=e.length>0&&void 0!==e[0]&&e[0],a||!t.$jweixin.isWechat()){i.next=5;break}return i.next=4,t.$jweixin.initJssdk();case 4:t.$jweixin.wxReady((function(){t.$jweixin.hideOptionMenu()}));case 5:if(t.configInfo.id&&!a){i.next=8;break}return i.next=8,t.getConfigInfo();case 8:return n=t.options.id,i.next=11,t.$api.technician.orderInfo({id:n});case 11:if(s=i.sent,t.$util.setNavigationBarColor({bg:t.primaryColor}),s.is_balance=1*s.balance>0?1:0,o=s.pay_type,l=s.time_long,c=s.start_service_time,d=s.is_add,u=void 0===d?0:d,p=s.store_id,f=void 0===p?0:p,6==o&&(s.start_service_time_unix=t.$util.DateToUnix(c)+60*l),v=t.$util.deepCopy(u||f?t.base_bell:t.base_service),f&&v.push({pay_type:7,title:"签字确认",time:"sign_time",icon:""}),t.lineList=v,t.detail=s,!a){i.next=22;break}return i.abrupt("return");case 22:case"end":return i.stop()}}),i)})))()},initRefresh:function(){this.initIndex(!0)},countEnd:function(){var e=this;this.$util.log("倒计时完了"),setTimeout((function(){e.initRefresh(),e.$util.back()}),1e3)},handlerOnChanger:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){var i;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:i=e.recorder_status,e.duration_time,i?e.$refs.recorder.stop():e.$refs.recorder.start(),e.updateOrderItem({key:"recorder_status",val:!i});case 3:case"end":return t.stop()}}),t)})))()},handlerOnEnd:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$refs.recorder.stop(),setTimeout((function(){e.handlerOnSave()}),200),e.updateOrderItem({key:"recorder_status",val:!1});case 3:case"end":return t.stop()}}),t)})))()},handlerOnSave:function(){var e=arguments,t=this;return(0,s.default)((0,r.default)().mark((function i(){var a,n,s,o,l,c,d;return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return e.length>0&&void 0!==e[0]?e[0]:{},"",n=parseInt((new Date).getTime()/1e3),s="服务过程录音-".concat(n,".mp3"),o=t.recorder.localUrl,a=o,i.next=8,t.$api.base.uploadFile({filePath:a,formData:{type:"audio",name:s}});case 8:return l=i.sent,c=l.attachment_path,d=t.recorder_order_id,i.next=13,t.$api.technician.recordingAdd({order_id:d,link:c});case 13:t.updateOrderItem({key:"recorder_order_id",val:0}),t.$refs.recorder.chunks=[];case 15:case"end":return i.stop()}}),i)})))()},handlerSuccess:function(e){this.updateOrderItem({key:"recorder",val:e})},handlerError:function(e){switch(e){case"101":uni.showModal({content:"当前浏览器版本较低,请更换浏览器使用,推荐在微信中打开。"});break;case"201":uni.showModal({content:"麦克风权限被拒绝,请刷新页面后授权麦克风权限。"});break;default:uni.showModal({content:"未知错误,请刷新页面重试"});break}},toCountDownEnd:function(e){var t=this.recorder_status,i=this.recorder_order_id;i==e&&t&&this.handlerOnEnd()},toLabel:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){var i;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.detail.user_id,t.next=3,e.$api.technician.userLabelList({user_id:i});case 3:e.check_label=t.sent,e.$refs.label_item.open();case 5:case"end":return t.stop()}}),t)})))()},toRefuse:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.coach_refund_text="",e.$refs.refuse_item.open();case 2:case"end":return t.stop()}}),t)})))()},confirmRefuse:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){var i;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.coach_refund_text,i=i.length>0?i.replace(/(^\s*)|(\s*$)/g,""):"",0!=i.length){t.next=5;break}return e.$util.showToast({title:"请输入拒单原因"}),t.abrupt("return");case 5:e.coach_refund_text=e.coach_refund_text.substring(0,200),e.toConfirm(-1);case 7:case"end":return t.stop()}}),t)})))()},toGetLocation:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){var i,a,n,s,o,l,c,d,u,p,f,v,m,_,h,g,w,y;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.popupInfo,a=i.lat,n=void 0===a?0:a,s=i.lng,o=void 0===s?0:s,l=i.address,c=void 0===l?"":l,!(n&&o&&c)){t.next=3;break}return t.abrupt("return");case 3:if(!e.$jweixin.isWechat()){t.next=25;break}return e.$util.showLoading(),t.next=7,e.$jweixin.wxReady2();case 7:return t.next=9,e.$jweixin.getWxLocation();case 9:if(d=t.sent,u=d.latitude,p=void 0===u?0:u,f=d.longitude,v=void 0===f?0:f,p){t.next=18;break}return e.$util.hideAll(),e.$util.showToast({title:"请授权定位当前地址"}),t.abrupt("return");case 18:if(!p||!v){t.next=25;break}return m="".concat(p,",").concat(v),t.next=22,e.$api.base.getMapInfo({location:m});case 22:_=t.sent,h=JSON.parse(_),g=h.status,w=h.result,0==g&&(e.$util.hideAll(),y=w.address,e.popupInfo.location={lat:p,lng:v,address:y});case 25:case"end":return t.stop()}}),t)})))()},imgUpload:function(e){var t=e.imagelist,i=e.imgtype;this.popupInfo[i]=t},confirmOper:function(){var e=this.$util.deepCopy(this.popupInfo),t=e.type,i=e.param,a=e.imgs,n=e.location,r=n.lat,s=void 0===r?0:r,o=n.lng,l=void 0===o?0:o,c=n.address,d=void 0===c?"":c;if([5,7].includes(t)&&0===a.length)this.$util.showToast({title:"请先拍照"});else if(s||l||d){if([5,7].includes(t)){var u=a[0].path;n.path=u}this.toConfirmUpdate(t,i,n)}else this.$util.showToast({title:"请先获取当前定位地址"})},toConfirm:function(e){var t=this;return(0,s.default)((0,r.default)().mark((function i(){var a,n,s,o;return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(a=t.detail.id,n={order_id:a,type:e},-1==e&&(n.coach_refund_text=t.coach_refund_text),![4,5,7].includes(e)){i.next=12;break}return s={4:"确认出发",5:"确认到达",7:"确认完成"},o=s[e],t.popupInfo=Object.assign({},t.popupInfo,{title:o,type:e,param:n,imgs:[],location:{lat:0,lng:0,address:""}}),i.next=9,t.toGetLocation();case 9:t.$refs.oper_item.open(),i.next=13;break;case 12:t.toConfirmUpdate(e,n);case 13:case"end":return i.stop()}}),i)})))()},toConfirmUpdate:function(e,t){var i=arguments,a=this;return(0,s.default)((0,r.default)().mark((function s(){var o,l,c,d,u,p,f,v,m,_,h,g,w,y,b,C,x,k,$,E;return(0,r.default)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(o=i.length>2&&void 0!==i[2]?i[2]:{},[4,5,7].includes(e)&&(l=o.lat,c=o.lng,d=o.address,u=o.path,4===e&&(t.serout_lat=l,t.serout_lng=c,t.serout_address=d),5==e&&(t.arrive_img=u,t.arr_lat=l,t.arr_lng=c,t.arr_address=d),7==e&&(t.end_img=u,t.end_lat=l,t.end_lng=c,t.end_address=d)),p={"-1":"已拒绝接单",3:"接单成功",4:"已成功出发",5:"已成功到达",6:"已开始服务",7:"服务已完成"},!a.lockTap){r.next=5;break}return r.abrupt("return");case 5:if(a.lockTap=!0,a.$util.showLoading(),f=a.configInfo,v=f.plugAuth,m=f.service_recording_show,_=v.recording,h=a.recorder_order_id,g=a.recorder_status,w=!0,6!==e||!h||!g){r.next=19;break}return r.next=14,uni.showModal({title:"提示",content:"已有开始的服务还未结束录音,请确认是否完成录音并开始新的服务?"});case 14:y=r.sent,b=(0,n.default)(y,2),b[0],C=b[1].confirm,C?a.handlerOnEnd():w=!1;case 19:if(w){r.next=23;break}return a.lockTap=!1,a.$util.hideAll(),r.abrupt("return");case 23:return x=t.order_id,r.prev=24,r.next=27,a.$api.technician.updateOrder(t);case 27:if(-1==e&&a.$refs.refuse_item.close(),[4,5,7].includes(e)&&a.$refs.oper_item.close(),7!=e){r.next=32;break}return r.next=32,a.getCoachInfo();case 32:if(a.$util.hideAll(),a.$util.showToast({title:p[e]}),a.lockTap=!1,a.initRefresh(),a.$util.back(),6!=e){r.next=47;break}if(a.toPlayAudio({key:"service_start_recording"}),!_||!m){r.next=47;break}return r.next=42,uni.showModal({title:"提示",content:"服务过程将自动录音,直至服务结束!",showCancel:!1,confirmText:"知道了"});case 42:k=r.sent,$=(0,n.default)(k,2),$[0],E=$[1].confirm,E&&(a.handlerOnChanger(),a.updateOrderItem({key:"recorder_order_id",val:x}));case 47:7==e&&h==x&&g&&a.handlerOnEnd(),r.next=54;break;case 50:return r.prev=50,r.t0=r["catch"](24),setTimeout((function(){a.lockTap=!1,a.$util.hideAll()}),2e3),r.abrupt("return");case 54:case"end":return r.stop()}}),s,null,[[24,50]])})))()},toTel:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){var i,a,n,s,o;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.detail,a=i.id,n=i.pay_type,![2,3,4,5,6].includes(n)){t.next=8;break}return t.next=4,e.$api.technician.getVirtualPhone({order_id:a});case 4:s=t.sent,e.$util.goUrl({url:s,openType:"call"}),t.next=10;break;case 8:o=7==n?"服务结束":"服务取消",e.$util.showToast({title:"".concat(o,"不能联系客户哦")});case 10:case"end":return t.stop()}}),t)})))()},toCopy:function(){var e=this.detail.address_info,t=e.address,i=e.address_info,a="".concat(t).concat(i);this.$util.goUrl({url:a,openType:"copy"})},toMap:function(e){var t=this;return(0,s.default)((0,r.default)().mark((function i(){var a,n,s,o,l,c;return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return a=t.detail[e],n=a.address,s=a.address_info,o=void 0===s?"":s,l=a.lat,c=a.lng,i.next=3,t.$util.checkAuth({type:"userLocation"});case 3:return i.next=5,uni.getLocation({type:"gcj02"});case 5:return i.next=7,uni.openLocation({latitude:1*l,longitude:1*c,name:o?"".concat(n," ").concat(o):n,scale:28});case 7:case"end":return i.stop()}}),i)})))()}})};t.default=u},"436a":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var a=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",{staticClass:"recorder"})},n=[]},"44f0":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return a}));var a={mumuRecorder:i("0918").default},n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.detail.id?i("v-uni-view",{staticClass:"order-pages"},[6==e.detail.pay_type?i("v-uni-view",{staticClass:"fix",staticStyle:{top:"-100%",left:"-100%"}},[i("min-countdown",{attrs:{targetTime:1e3*e.detail.start_service_time_unix,isPlay:!0},on:{end:function(t){arguments[0]=t=e.$handleEvent(t),e.toCountDownEnd(e.detail.id)}}})],1):e._e(),i("v-uni-view",{staticClass:"item-child pd-lg fill-base f-paragraph c-base",style:{background:e.primaryColor}},[i("v-uni-view",{staticClass:"text-bold"},[e._v(e._s(e.statusType[e.detail.pay_type]))]),1==e.detail.pay_type&&e.detail.end_time>0?i("v-uni-view",{staticClass:"f-caption mt-sm"},[e._v("请在"),i("min-countdown",{attrs:{targetTime:e.over_time_text},on:{callback:function(t){arguments[0]=t=e.$handleEvent(t),e.countEnd.apply(void 0,arguments)}}}),e._v("内完成支付,逾期未支付,订单将自动取消")],1):e._e(),i("v-uni-view",{staticClass:"space-lg"})],1),i("v-uni-view",{staticClass:"menu-list flex-warp rel ml-lg mr-lg pt-lg pb-lg pl-md pr-md fill-base f-paragraph c-caption radius-16",class:[{"add-bell":e.detail.is_add||e.detail.store_id}]},[i("v-uni-view",{staticClass:"menu-line abs b-1px-b"}),e._l(e.lineList,(function(t,a){return[t.icon?i("v-uni-view",{key:a+"_0",staticClass:"item-child flex-center flex-column f-icontext c-paragraph",style:{color:e.detail.pay_type>t.pay_type-1?e.primaryColor:""}},[i("v-uni-view",{staticClass:"item-img fill-base flex-center mb-sm radius",style:{borderColor:e.detail.pay_type>t.pay_type-1?e.primaryColor:""}},[i("i",{staticClass:"iconfont",class:t.icon})]),i("v-uni-view",{staticClass:"ellipsis",staticStyle:{"max-width":"100%"}},[e._v(e._s(t.title))])],1):e._e()]}))],2),i("v-uni-view",{staticClass:"item-child mt-md ml-lg mr-lg pd-lg fill-base radius-16"},[i("v-uni-view",{staticClass:"flex-between pb-lg"},[i("v-uni-view",{staticClass:"f-paragraph c-title max-380 ellipsis"},[e._v("服务内容")])],1),e._l(e.detail.order_goods,(function(t,a){return i("v-uni-view",{key:a,staticClass:"flex-warp",class:[{"mb-lg":a!=e.detail.order_goods.length-1}]},[i("v-uni-view",{staticClass:"avatar lg radius-16"},[i("v-uni-view",{staticClass:"h5-image avatar lg radius-16",style:{backgroundImage:"url('"+t.goods_cover+"')"}})],1),i("v-uni-view",{staticClass:"flex-1 ml-md"},[i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"f-mini-title c-title text-bold ellipsis",class:[{"max-300":t.refund_num>0},{"max-450":0==t.refund_num}]},[e._v(e._s(t.goods_name))]),t.refund_num>0?i("v-uni-view",{staticClass:"f-caption c-warning"},[e._v("已退x"+e._s(t.refund_num))]):e._e()],1),i("v-uni-view",{staticClass:"f-caption c-caption mt-md"},[e._v("服务时长:"+e._s(t.time_long)+"分钟")]),1*t.material_price>0?i("v-uni-view",{staticClass:"f-caption c-caption"},[e._v("物料费:¥"+e._s(t.material_price))]):e._e(),i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"flex-y-baseline f-caption c-warning"},[e._v("¥"),i("v-uni-view",{staticClass:"f-title text-bold"},[e._v(e._s(t.price))])],1),i("v-uni-view",{staticClass:"c-paragraph"},[e._v("x"+e._s(t.num))])],1)],1)],1)}))],2),e.detail.store_id?i("v-uni-view",{staticClass:"store-info mt-md ml-lg mr-lg pd-lg fill-base radius-16"},[i("v-uni-view",{staticClass:"f-mini-title c-title text-bold pb-md"},[e._v(e._s(e.detail.store_info.title))]),i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"flex-y-center",staticStyle:{color:"#303030"}},[i("i",{staticClass:"iconfont icondizhi1 mr-sm"}),i("v-uni-view",{staticClass:"c-title flex-1 mr-md"},[i("span",[e._v(e._s(e.detail.store_info.address||"暂未设置门店地址"))]),e.detail.store_info.address?i("span",{staticClass:"copy-btn span f-icontext ml-sm radius-5",style:{color:e.primaryColor,borderColor:e.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$util.goUrl({url:e.detail.store_info.address,openType:"copy"})}}},[e._v("复制")]):e._e()])],1),i("v-uni-view",{staticClass:"flex-center"},[i("v-uni-view",{staticClass:"item-icon rel flex-center radius-16",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$util.goUrl({url:e.detail.store_info.phone,openType:"call"})}}},[i("v-uni-view",{staticClass:"item-icon radius-16 abs",style:{background:e.primaryColor}}),i("i",{staticClass:"iconfont icondadianhua_1",style:{color:e.primaryColor}})],1),e.detail.store_info.address?i("v-uni-view",{staticClass:"item-icon rel flex-center radius-16 ml-md",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toMap("store_info")}}},[i("v-uni-view",{staticClass:"item-icon radius-16 abs",style:{background:e.primaryColor}}),i("i",{staticClass:"iconfont icondizhi_1",style:{color:e.primaryColor}})],1):e._e()],1)],1)],1):e._e(),i("v-uni-view",{staticClass:"mt-md ml-lg mr-lg pd-lg fill-base f-paragraph c-caption radius-16"},[i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",[e._v("下单人")]),i("v-uni-view",{staticClass:"flex-y-center"},[i("v-uni-view",{staticClass:"c-title max-350 ellipsis"},[e._v(e._s(e.detail.address_info.user_name))]),i("v-uni-view",{staticClass:"ml-sm",style:{color:e.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toLabel.apply(void 0,arguments)}}},[e._v("查看标签")])],1)],1),i("v-uni-view",{staticClass:"flex-between mt-md",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toTel.apply(void 0,arguments)}}},[i("v-uni-view",[e._v("联系方式")]),i("v-uni-view",{staticClass:"flex-y-center",style:{color:e.primaryColor}},[i("i",{staticClass:"iconfont iconbodadianhua mr-sm"}),i("v-uni-view",[e._v("拨打电话")])],1)],1),e.detail.store_id?e._e():i("v-uni-view",{staticClass:"mt-md"},[i("v-uni-view",[e._v("服务地址")]),i("v-uni-view",{staticClass:"flex-center"},[i("v-uni-view",{staticClass:"c-title mt-sm flex-1 mr-md"},[i("span",[e._v(e._s(""+e.detail.address_info.address+e.detail.address_info.address_info))]),i("span",{staticClass:"copy-btn fill radius-5 f-icontext ml-sm",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toCopy.apply(void 0,arguments)}}},[e._v("复制")])]),i("v-uni-view",{staticClass:"flex-center flex-column f-icontext",style:{color:e.primaryColor},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toMap("address_info")}}},[i("i",{staticClass:"iconfont icon-dingwei",staticStyle:{"font-size":"42rpx"}}),i("v-uni-view",[e._v("立刻导航去")])],1)],1)],1),e.detail.text?i("v-uni-view",{staticClass:"mt-md"},[i("v-uni-view",[e._v("订单备注")]),i("v-uni-view",{staticClass:"c-title mt-sm"},[e._v(e._s(e.detail.text))])],1):e._e()],1),i("v-uni-view",{staticClass:"mt-md ml-lg mr-lg pd-lg fill-base f-paragraph c-caption radius-16"},[i("v-uni-view",{staticClass:"flex-between mt-md"},[i("v-uni-view",[e._v("下单时间")]),i("v-uni-view",{staticClass:"c-title"},[e._v(e._s(e.detail.create_time))])],1),i("v-uni-view",{staticClass:"flex-between mt-md"},[i("v-uni-view",[e._v("服务时间")]),i("v-uni-view",{staticClass:"c-title"},[e._v(e._s(e.detail.start_time))])],1),i("v-uni-view",{staticClass:"flex-between mt-md"},[i("v-uni-view",[e._v("服务时长")]),i("v-uni-view",{staticClass:"c-title"},[e._v(e._s(e.detail.time_long)+"分钟")])],1),e.detail.is_add||e.detail.store_id?e._e():[i("v-uni-view",{staticClass:"flex-between mt-md"},[i("v-uni-view",[e._v("车费详情")]),i("v-uni-view",{staticClass:"flex-y-center c-title"},[e._v(e._s(e.carType[e.detail.car_type])),1==e.detail.car_type?i("v-uni-view",{staticClass:"ml-md"},[e._v("全程"+e._s(e.detail.distance))]):e._e()],1)],1),1==e.detail.car_type?i("v-uni-view",{staticClass:"flex-between mt-md"},[i("v-uni-view",[e._v("出行费用")]),i("v-uni-view",{staticClass:"c-warning"},[e._v("出租车 ¥"+e._s(e.detail.car_price))])],1):e._e()],i("v-uni-view",{staticClass:"flex-between mt-md"},[i("v-uni-view",[e._v("服务项目费用")]),i("v-uni-view",{staticClass:"c-warning"},[e._v("¥"+e._s(e.detail.init_service_price))])],1),1*e.detail.material_price>0?i("v-uni-view",{staticClass:"flex-between mt-md"},[i("v-uni-view",[e._v("物料费")]),i("v-uni-view",{staticClass:"c-warning"},[e._v("¥"+e._s(e.detail.material_price))])],1):e._e(),1*e.detail.discount>0?i("v-uni-view",{staticClass:"flex-between mt-md"},[i("v-uni-view",[e._v("卡券优惠")]),i("v-uni-view",{staticClass:"c-warning"},[e._v("-¥"+e._s(e.detail.discount))])],1):e._e(),i("v-uni-view",{staticClass:"flex-between mt-md"},[i("v-uni-view",[e._v("支付方式")]),i("v-uni-view",{staticClass:"c-title"},[e._v(e._s(e.payType[e.detail.pay_model]))])],1),i("v-uni-view",{staticClass:"flex-between mt-md pt-md b-1px-t"},[i("v-uni-view"),i("v-uni-view",{staticClass:"flex-y-baseline c-title"},[e._v("总计:"),i("v-uni-view",{staticClass:"c-warning"},[e._v("¥"+e._s(e.detail.pay_price))])],1)],1)],2),i("v-uni-view",{staticClass:"mt-md ml-lg mr-lg pd-lg fill-base f-paragraph c-caption radius-16"},[i("v-uni-view",{staticClass:" flex-y-center pb-lg flex-warp"},[i("v-uni-view",{staticClass:"flex-between c-title"},[e._v("订单编号:")]),i("v-uni-view",{staticClass:"flex-between flex-1 "},[i("v-uni-view",{staticClass:"c-title"},[e._v(e._s(e.detail.order_code))]),i("v-uni-view",{staticClass:"copy-btn flex-center text-center f-icontext radius-5",style:{borderColor:e.primaryColor,color:e.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$util.goUrl({openType:"copy",url:e.detail.order_code})}}},[e._v("复制")])],1)],1),i("timeline",{attrs:{list:e.lineList,info:e.detail}})],1),i("v-uni-view",{staticClass:"space-max-footer"}),e.statusPayType.includes(e.detail.pay_type)||7==e.detail.pay_type&&!e.detail.is_add&&!e.detail.label_time?i("v-uni-view",{staticClass:"footer-info fix fill-base"},[i("v-uni-view",{staticClass:"flex-between pd-lg"},[i("v-uni-view"),i("v-uni-view",{staticClass:"flex-center f-desc c-title"},[2==e.detail.pay_type?[i("v-uni-button",{staticClass:"clear-btn order",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toTel.apply(void 0,arguments)}}},[e._v("联系客户")]),i("v-uni-button",{staticClass:"clear-btn order",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toRefuse.apply(void 0,arguments)}}},[e._v("拒绝接单")]),i("v-uni-button",{staticClass:"clear-btn order",style:{color:"#fff",background:e.primaryColor,borderColor:e.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toConfirm(3)}}},[e._v("确认接单")])]:e._e(),[3,4,5].includes(e.detail.pay_type)?[i("v-uni-button",{staticClass:"clear-btn order",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toTel.apply(void 0,arguments)}}},[e._v("联系客户")]),i("v-uni-button",{staticClass:"clear-btn order",style:{color:"#fff",background:e.primaryColor,borderColor:e.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toConfirm(e.detail.is_add||e.detail.store_id?6:1*e.detail.pay_type+1)}}},[e._v(e._s(e.detail.is_add||e.detail.store_id?"开始服务":3==e.detail.pay_type?"已出发":4==e.detail.pay_type?"拍照确认到达":"开始服务"))])]:e._e(),6==e.detail.pay_type?[i("v-uni-button",{staticClass:"clear-btn order",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toTel.apply(void 0,arguments)}}},[e._v("联系客户")]),i("v-uni-button",{staticClass:"clear-btn order",style:{color:"#fff",background:e.primaryColor,borderColor:e.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toConfirm(7)}}},[e._v("拍照完成服务")])]:e._e(),7==e.detail.pay_type?[i("v-uni-button",{staticClass:"clear-btn order",style:{color:"#fff",background:e.primaryColor,borderColor:e.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$util.goUrl({url:"/technician/pages/order/label?id="+e.detail.id+"&uid="+e.detail.user_id})}}},[e._v("评价客户")])]:e._e()],2)],1),i("v-uni-view",{staticClass:"space-safe"})],1):e._e(),i("uni-popup",{ref:"label_item",attrs:{type:"bottom",custom:!0}},[i("v-uni-view",{staticClass:"popup-label fill-base pd-lg rel"},[i("i",{staticClass:"iconfont iconguanbi abs",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$refs.label_item.close()}}}),i("v-uni-view",{staticClass:"pb-md flex-center f-title c-title text-bold"},[e._v("客户标签")]),i("v-uni-view",{staticClass:"space-lg"}),i("v-uni-view",{staticClass:"space-lg"}),i("v-uni-scroll-view",{staticStyle:{width:"100%","max-height":"50vh"},attrs:{"scroll-y":!0}},[i("v-uni-view",{staticClass:"list-item f-caption"},[0==e.check_label.length?i("v-uni-view",{staticClass:"pb-lg f-paragraph"},[e._v("暂无评价标签")]):e._e(),e._l(e.check_label,(function(t,a){return i("v-uni-view",{key:a,staticClass:"list-child cur radius rel"},[i("v-uni-view",{staticClass:"bg-item radius abs",style:{background:e.primaryColor,borderColor:e.primaryColor}}),i("v-uni-view",{staticClass:"tag-item flex-center",style:{color:e.primaryColor}},[e._v(e._s(t.title))])],1)}))],2)],1),i("v-uni-view",{staticClass:"space-safe"})],1)],1),i("uni-popup",{ref:"refuse_item",attrs:{type:"center",custom:!0}},[i("v-uni-view",{staticClass:"common-popup-content fill-base pd-lg radius-34"},[i("v-uni-view",{staticClass:"title"},[e._v("拒绝接单")]),i("v-uni-view",{staticClass:"desc"},[e._v("请确认是否拒接接单")]),i("v-uni-textarea",{staticClass:"pd-lg textarea f-desc c-title mt-lg radius-20",attrs:{maxlength:"200",placeholder:"请输入拒单原因","placeholder-class":"f-desc c-caption"},model:{value:e.coach_refund_text,callback:function(t){e.coach_refund_text=t},expression:"coach_refund_text"}}),i("v-uni-view",{staticClass:"flex-center mt-md",staticStyle:{width:"540rpx"}},[i("v-uni-view",{staticClass:"flex-1"}),i("v-uni-view",[e._v(e._s(e.coach_refund_text.length>200?200:e.coach_refund_text.length)+"/200")])],1),i("v-uni-view",{staticClass:"button"},[i("v-uni-view",{staticClass:"item-child",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$refs.refuse_item.close()}}},[e._v("取消")]),i("v-uni-view",{staticClass:"item-child c-base",style:{background:e.primaryColor,color:"#fff"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.confirmRefuse.apply(void 0,arguments)}}},[e._v("确定")])],1)],1)],1),i("uni-popup",{ref:"oper_item",attrs:{type:"center",custom:!0}},[i("v-uni-view",{staticClass:"common-popup-content fill-base pd-lg radius-34"},[i("v-uni-view",{staticClass:"title"},[e._v(e._s(e.popupInfo.title))]),i("v-uni-view",{staticClass:"space-md"}),4!==e.popupInfo.type?i("v-uni-view",{staticClass:"flex-warp mt-md",staticStyle:{width:"100%"}},[i("v-uni-view",[e._v("拍照打卡:")]),i("v-uni-view",{staticClass:"flex-1"},[i("upload",{attrs:{imagelist:e.popupInfo.imgs,filetype:"picture",imgtype:"imgs",text:"拍摄图片",imgsize:1,sourceType:2},on:{upload:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)},del:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)}}})],1)],1):e._e(),i("v-uni-view",{staticClass:"flex-warp mt-md",staticStyle:{width:"100%"}},[i("v-uni-view",[e._v("当前地点:")]),i("v-uni-view",{staticClass:"flex-1",class:[{"c-title":e.popupInfo.location.address},{"c-caption":!e.popupInfo.location.address}],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toGetLocation.apply(void 0,arguments)}}},[e._v(e._s(e.popupInfo.location.address||"点击获取定位"))])],1),i("v-uni-view",{staticClass:"button"},[i("v-uni-view",{staticClass:"item-child",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$refs.oper_item.close()}}},[e._v("取消")]),i("v-uni-view",{staticClass:"item-child c-base",style:{background:e.primaryColor,color:"#fff"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.confirmOper.apply(void 0,arguments)}}},[e._v("确定")])],1)],1)],1),e.configInfo.plugAuth.recording&&e.configInfo.service_recording_show?[i("mumu-recorder",{ref:"recorder",on:{success:function(t){arguments[0]=t=e.$handleEvent(t),e.handlerSuccess.apply(void 0,arguments)},error:function(t){arguments[0]=t=e.$handleEvent(t),e.handlerError.apply(void 0,arguments)}}})]:e._e()],2):e._e()},r=[]},"493f":function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.popup-label[data-v-261c4ae2]{border-radius:%?16?% %?16?% 0 0}.popup-label .iconguanbi[data-v-261c4ae2]{top:%?32?%;right:%?28?%;color:#a8aeb8;font-size:%?40?%}.popup-label .list-item .list-child[data-v-261c4ae2]{width:auto;min-width:%?120?%;height:%?70?%;display:inline-block;padding:0 %?20?%;margin:0 %?20?% %?25?% 0}.popup-label .list-item .list-child .tag-item[data-v-261c4ae2]{height:%?70?%}.popup-label .list-item .list-child .tag-item .icon-add[data-v-261c4ae2]{font-size:%?24?%;margin-right:%?5?%}.popup-label .list-item .list-child .bg-item[data-v-261c4ae2]{top:0;left:0;width:100%;height:100%;opacity:.15}',""]),e.exports=t},"516d":function(e,t,i){"use strict";i.r(t);var a=i("9772"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},"6ba2":function(e,t,i){var a=i("84fd");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("967d").default;n("1e89e3b9",a,!0,{sourceMap:!1,shadowMode:!1})},"7dc4":function(e,t,i){"use strict";var a=i("6ba2"),n=i.n(a);n.a},"7e64":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("2634")),r=a(i("2fdc"));i("64aa");var s=i("8f59"),o={name:"timeline",props:{list:{type:Array,default:function(){return{}}},info:{type:Object,default:function(){return{}}},type:{type:Number,default:function(){return 0}}},data:function(){return{}},computed:(0,s.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor}}),methods:{toPreviewImage:function(e){var t=this.info[e];this.$util.previewImage({curent:t,urls:[t]})},toMap:function(e){var t=this;return(0,r.default)((0,n.default)().mark((function i(){var a;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return a=t.info,i.next=3,t.$util.checkAuth({type:"userLocation"});case 3:return i.next=5,uni.getLocation({type:"gcj02"});case 5:return i.next=7,uni.openLocation({latitude:1*a["".concat(e,"_lat")],longitude:1*a["".concat(e,"_lng")],name:a["".concat(e,"_address")],scale:28});case 7:case"end":return i.stop()}}),i)})))()},toSign:function(){var e=this.info.id,t="/user/pages/order/sign?id=".concat(e);this.$util.goUrl({url:t})}}};t.default=o},"84fd":function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.record-item[data-v-4a417ed4]{padding:0 0 %?30?% %?30?%}.record-item .item-tag[data-v-4a417ed4]{width:14px;height:14px;display:block;background:#fff;border-radius:50%;top:0;left:-7px;-webkit-transform:rotate(1turn);transform:rotate(1turn)}.record-item .item-text[data-v-4a417ed4]{line-height:%?34?%}.record-item .item-img[data-v-4a417ed4]{width:%?180?%;min-height:%?118?%}.record-item .item-btn[data-v-4a417ed4]{width:%?160?%;height:%?64?%;background:#eee}.record-item.b-1px-l[data-v-4a417ed4]::before{border-left:2px solid #ccc}.record-item[data-v-4a417ed4]:last-child{padding-bottom:0}',""]),e.exports=t},9772:function(e,t,i){"use strict";i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("5ef2"),i("bf0f"),i("2797"),i("aa9c"),i("18f7"),i("de6c"),i("dc89"),i("2425"),i("c9b5"),i("ab80"),i("dd2b"),i("e838");var a={data:function(){return{isUserMedia:!1,stream:null,audio:null,recorder:null,chunks:[],startTime:0}},mounted:function(){if(-1===origin.indexOf("https"))throw this.$emit("error","100"),"请在 https 环境中使用本插件。";if(!navigator.mediaDevices||!window.MediaRecorder)throw this.$emit("error","101"),"当前浏览器不支持";this.getRecorderManager()},methods:{getRecorderManager:function(){var e=this;this.audio=document.createElement("audio"),navigator.mediaDevices.getUserMedia({audio:!0}).then((function(t){e.isUserMedia=!0,t.getTracks().forEach((function(e){e.stop()}))})).catch((function(t){e.onErrorHandler(t)}))},start:function(){var e=this;if(!this.isUserMedia)return console.log("设备不支持");navigator.mediaDevices.getUserMedia({audio:!0}).then((function(t){e.startTime=(new Date).getTime(),e.stream=t,e.recorder=new MediaRecorder(t),e.recorder.ondataavailable=e.getRecordingData,e.recorder.onstop=e.saveRecordingData,e.recorder.start()})).catch((function(t){e.onErrorHandler(t)}))},stop:function(){this.recorder.stop(),this.stream.getTracks().forEach((function(e){e.stop()}))},getRecordingData:function(e){this.chunks.push(e.data)},saveRecordingData:function(){var e=new Blob(this.chunks,{type:"audio/mpeg"}),t=URL.createObjectURL(e),i=(new Date).getTime(),a=(i-this.startTime).toString().split("");a.splice(a.length-2),a.splice(a.length-1,0,"."),a=parseFloat(a.join(""));var n={data:e,duration:a,localUrl:t};this.$emit("success",n)},onErrorHandler:function(e){if(console.log(e,"========onErrorHandler"),"NotAllowedError"===e.name)throw this.$emit("error","201"),"用户拒绝了当前的浏览器实例的访问请求";if("NotReadableError"===e.name)throw this.$emit("error","101"),"当前浏览器不支持";throw this.$emit("error","500"),"调用失败,原因不详"}},destroyed:function(){this.stop()},clear:function(){}};t.default=a},be32:function(e,t,i){"use strict";i.r(t);var a=i("44f0"),n=i("2a34");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("c6ee");var s=i("828b"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"261c4ae2",null,!1,a["a"],void 0);t["default"]=o.exports},c6ee:function(e,t,i){"use strict";var a=i("f120b"),n=i.n(a);n.a},f120b:function(e,t,i){var a=i("493f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("967d").default;n("dd169ee2",a,!0,{sourceMap:!1,shadowMode:!1})},fb86:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("v-uni-view",{staticClass:"record-box fill-base"},e._l(e.list,(function(t,a){return i("v-uni-view",{key:a,staticClass:"record-item rel ml-sm b-1px-l",style:{padding:a==e.list.length-1?"0 0 0 30rpx":""}},[i("v-uni-text",{staticClass:"item-tag abs",class:[{cur:e.info.pay_type>t.pay_type-1&&8!=e.info.pay_type}],style:{border:"2rpx solid "+e.primaryColor,background:e.info.pay_type>t.pay_type-1&&8!=e.info.pay_type?e.primaryColor:""}}),i("v-uni-view",{staticClass:"c-title"},[i("v-uni-view",{staticClass:"item-text f-paragraph flex-y-baseline"},[e._v(e._s(t.title)),i("v-uni-view",{staticClass:"ml-md f-caption c-caption",style:{color:("签字确认"!=t.title||e.info.sign_img)&&e.info.pay_type>t.pay_type-1&&8!=e.info.pay_type?e.primaryColor:""}},[e._v(e._s("签字确认"!=t.title||e.info.sign_img?e.info.pay_type>t.pay_type-1&&8!=e.info.pay_type?"":"状态未开始":"暂未签字确认"))])],1),e.info.pay_type>1*t.pay_type-1&&e.info[t.time]?i("v-uni-view",{staticClass:"c-caption"},[e._v(e._s(e.info[t.time]))]):e._e()],1),4==t.pay_type&&!e.info.is_add&&e.info.pay_type>3?[e.info.serout_address?i("v-uni-view",{staticClass:"flex-y-center mt-md f-caption c-title",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toMap("serout")}}},[i("i",{staticClass:"iconfont iconjuli mr-sm",style:{color:e.primaryColor}}),e._v(e._s(e.info.serout_address))]):e._e()]:e._e(),5==t.pay_type&&!e.info.is_add&&e.info.pay_type>4&&(e.info.arrive_img||e.info.arr_address)?[e.info.arrive_img?[e.info.arrive_img?i("v-uni-view",{staticClass:"item-img mt-md radius-5",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toPreviewImage("arrive_img")}}},[i("v-uni-view",{staticClass:"h5-image item-img mt-md radius-5",style:{backgroundImage:"url('"+e.info.arrive_img+"')"}})],1):e._e()]:e._e(),e.info.arr_address?i("v-uni-view",{staticClass:"flex-y-center mt-md f-caption c-title",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toMap("arr")}}},[i("i",{staticClass:"iconfont iconjuli mr-sm",style:{color:e.primaryColor}}),e._v(e._s(e.info.arr_address))]):e._e()]:e._e(),"服务完成"==t.title&&7==e.info.pay_type&&(e.info.end_img||e.info.end_address)?[e.info.end_img?[i("v-uni-view",{staticClass:"item-img mt-md radius-5",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toPreviewImage("end_img")}}},[i("v-uni-view",{staticClass:"h5-image item-img mt-md radius-5",style:{backgroundImage:"url('"+e.info.end_img+"')"}})],1)]:e._e(),e.info.end_address?i("v-uni-view",{staticClass:"flex-y-center mt-md f-caption c-title",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toMap("end")}}},[i("i",{staticClass:"iconfont iconjuli mr-sm",style:{color:e.primaryColor}}),e._v(e._s(e.info.end_address))]):e._e()]:e._e(),"签字确认"==t.title&&7==e.info.pay_type?[e.info.sign_img?[i("v-uni-view",{staticClass:"item-img mt-md radius-5",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toPreviewImage("sign_img")}}},[i("v-uni-view",{staticClass:"h5-image item-img mt-md radius-5",style:{backgroundImage:"url('"+e.info.sign_img+"')"}})],1)]:e._e(),1!=e.type||e.info.is_add||e.info.sign_img?e._e():i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"item-btn flex-center mt-md c-base radius",style:{background:e.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toSign.apply(void 0,arguments)}}},[e._v("签字确认")]),i("v-uni-view")],1)]:e._e()],2)})),1)],1)},n=[]}}]);