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 lines
26 KiB
1 lines
26 KiB
webpackJsonp([33],{"E/Gp":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("Xxa5"),i=a.n(r),s=a("mvHQ"),l=a.n(s),n=a("exGp"),o=a.n(n),_=a("Dd8w"),c=a.n(_),m=a("PJh5"),d=a.n(m),u=a("NYxO"),p={data:function(){return{navTitle:"",carType:{0:"公交/地铁",1:"出租车"},payType:{1:"微信支付",2:"余额支付",3:"支付宝支付"},statusType:{"-1":"已取消",1:"待支付",2:"待服务",3:this.$t("action.attendantName")+"接单",4:this.$t("action.attendantName")+"出发",5:this.$t("action.attendantName")+"到达",6:"服务中",7:"已完成",8:"待转单"},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")+"到达",img:"arrive_img",time:"arrive_time",icon:"iconjishidaoda"},{pay_type:6,title:"开始服务",time:"start_service_time",icon:"iconjishifuwu"},{pay_type:7,title:"服务完成",img:"end_img",time:"order_end_time",icon:"iconjishiwancheng"},{pay_type:7,title:"签字确认",img:"sign_img",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:"服务完成",img:"end_img",time:"order_end_time",icon:"iconjishiwancheng"}],subForm:{},upRecord:{},showDialog:{label:!1,file:!1},labelList:[],fileForm:{record_url:""},loading:!1,pickerOptions:{disabledDate:function(t){return t.getTime()>1e3*(d()(d()(Date.now()).format("YYYY-MM-DD")).unix()+86400-1)}},searchForm:{page:1,limit:10,start_time:"",end_time:""},tableData:[],total:0}},created:function(){var t=this.$route.query.id;this.getDetail(t)},computed:c()({},Object(u.d)({routesItem:function(t){return t.routes}})),methods:{getDetail:function(t){var e=this;return o()(i.a.mark(function a(){var r,s,n,o,_,c;return i.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.$api.shop.orderInfo({id:t});case 2:if(r=a.sent,s=r.code,n=r.data,200===s){a.next=7;break}return a.abrupt("return");case 7:if(n.is_balance=1*n.balance>0?1:0,o=n.coach_refund_text,n.coach_refund_text=o&&o.length>0?o.replace(/\n/g,"<br>"):"没有填写原因哦",n.dispatch_record.map(function(t){t.text=0===t.now_coach_id?t.text.replace(/\n/g,"<br>"):""}),n.service_recording.map(function(t){t.record_url=t.link}),_=JSON.parse(l()(n.is_add||n.store_id?e.base_bell:e.base_service)),n.store_id&&_.push({pay_type:7,title:"签字确认",time:"sign_time",icon:""}),e.lineList=_,e.subForm=n,e.getUpRecord(t),c=e.routesItem.auth.virtual,void 0!==c&&c){a.next=20;break}return a.abrupt("return");case 20:e.getTableDataList();case 21:case"end":return a.stop()}},a,e)}))()},getUpRecord:function(t){var e=this;return o()(i.a.mark(function a(){var r,s,l;return i.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.$api.shop.orderUpRecord({order_id:t});case 2:if(r=a.sent,s=r.code,l=r.data,200===s){a.next=7;break}return a.abrupt("return");case 7:e.upRecord=l;case 8:case"end":return a.stop()}},a,e)}))()},handleSizeChange:function(t){this.searchForm.limit=t,this.handleCurrentChange(1)},handleCurrentChange:function(t){this.searchForm.page=t,this.getTableDataList()},getTableDataList:function(t){var e=this;t&&(this.searchForm.page=1),this.loading=!0;var a=JSON.parse(l()(this.searchForm));a.order_id=this.subForm.id;var r=a.start_time;r&&r.length>0?(a.start_time=r[0]/1e3,a.end_time=r[1]/1e3):(a.start_time="",a.end_time=""),this.$api.system.phoneRecordList(a).then(function(t){e.loading=!1,200===t.code&&(e.tableData=t.data.data,e.total=t.data.total)})},toShowDialog:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o()(i.a.mark(function r(){var s,l,n,o;return i.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:r.t0=t,r.next="label"===r.t0?3:"file"===r.t0?10:12;break;case 3:return s=e.subForm.user_id,r.next=6,e.$api.shop.userLabelList({user_id:s});case 6:return l=r.sent,n=l.data,e.labelList=n,r.abrupt("break",12);case 10:for(o in e.fileForm)e.fileForm[o]=a[o];return r.abrupt("break",12);case 12:e.showDialog[t]=!e.showDialog[t];case 13:case"end":return r.stop()}},r,e)}))()},toDownLoad:function(t){var e=t.record_url,a=e.includes("?Expires=")?e.split("?Expires=")[0]:e,r=a.substring(a.lastIndexOf("/")+1),i=document.createElement("a"),s=new MouseEvent("click");i.download=r,i.href=e,i.dispatchEvent(s)}},watch:{$route:function(t){var e=this;return o()(i.a.mark(function a(){var r,s;return i.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:r=t.query.id,1*(s=void 0===r?0:r)!==e.subForm.id&&e.getDetail(s);case 2:case"end":return a.stop()}},a,e)}))()},showDialog:function(t,e){!1===t&&this.$refs.audio_item.pause()}},filters:{handleTime:function(t,e){return 1===e?d()(1e3*t).format("YYYY-MM-DD"):2===e?d()(1e3*t).format("HH:mm:ss"):3===e?d()(1e3*t).format("YYYY-MM-DD HH:mm"):4===e?d()(1e3*t).format("HH:mm"):d()(1e3*t).format("YYYY-MM-DD HH:mm:ss")},handleFileName:function(t){var e="-";if(t){var a=t.includes("?Expires=")?t.split("?Expires=")[0]:t;e=a.substring(a.lastIndexOf("/")+1)}return e}}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"lb-shop-order-edit"},[a("top-nav",{attrs:{isBack:!0}}),t._v(" "),a("div",{staticClass:"page-main"},[a("lb-tips",{attrs:{isIcon:!1}},[a("div",{staticClass:"flex-warp"},[a("div",[t._v("\n "+t._s(t.statusType[t.subForm.pay_type])+"\n ")]),t._v(" "),(-1===t.subForm.pay_type||8===t.subForm.pay_type)&&1*t.subForm.coach_refund_time>0?a("div",{staticClass:"f-desc c-warning ml-md"},[a("div",{staticClass:"flex-y-center"},[t._v("\n "+t._s(t.$t("action.attendantName"))+"拒单\n "),a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"}},[a("div",{staticClass:"f-desc c-title",attrs:{slot:""},slot:"default"},[a("div",{domProps:{innerHTML:t._s(t.subForm.coach_refund_text)}}),t._v(" "),a("div",{staticClass:"f-caption c-caption mt-md"},[t._v("\n 拒单时间:"+t._s(t._f("handleTime")(t.subForm.coach_refund_time))+"\n ")])]),t._v(" "),a("div",{staticClass:"c-link cursor-pointer ml-sm",attrs:{slot:"reference"},slot:"reference"},[t._v("\n 查看拒单原因\n ")])])],1)]):t._e(),t._v(" "),t.subForm.is_show||t.subForm.coach_refund_time?t._e():a("div",{staticClass:"f-desc c-warning ml-md"},[t._v("\n 用户已删除\n ")])]),t._v(" "),t.subForm.is_show||-1!==t.subForm.pay_type&&8!==t.subForm.pay_type||!t.subForm.coach_refund_time?t._e():a("div",{staticClass:"f-desc c-warning mt-sm",staticStyle:{"margin-left":"52px"}},[t._v("\n 用户已删除\n ")])]),t._v(" "),a("div",{staticClass:"mg-lg"},[a("el-timeline",{attrs:{reverse:t.reverse}},t._l(t.lineList,function(e,r){return a("el-timeline-item",{key:r,attrs:{color:t.subForm.pay_type>e.pay_type-1&&8!==t.subForm.pay_type?"#409EFF":""}},[a("div",{staticClass:"flex-y-center"},[t._v("\n "+t._s(e.title)+"\n "),a("div",{staticClass:"ml-md f-caption c-caption",class:[{"c-link":t.subForm.pay_type>e.pay_type-1&&8!==t.subForm.pay_type&&("签字确认"===e.title&&t.subForm.sign_img||"签字确认"!==e.title)}]},[t._v("\n "+t._s("签字确认"!==e.title||t.subForm.sign_img?t.subForm.pay_type>e.pay_type-1?"":"状态未开始":"暂未签字确认")+"\n ")])]),t._v(" "),t.subForm.pay_type>1*e.pay_type-1&&1*t.subForm[e.time]>0?a("div",{staticClass:"mt-sm"},[t._v("\n "+t._s(t._f("handleTime")(t.subForm[e.time]))+"\n ")]):t._e(),t._v(" "),4===e.pay_type&&t.subForm.pay_type>3&&8!==t.subForm.pay_type||5===e.pay_type&&t.subForm.pay_type>4&&8!==t.subForm.pay_type||7===e.pay_type&&7===t.subForm.pay_type?a("div",{staticClass:"mt-md"},[[t.$t("action.attendantName")+"到达","服务完成","签字确认"].includes(e.title)&&t.subForm[e.img]?a("lb-cover",{attrs:{fileList:[{url:5===e.pay_type&&t.subForm.pay_type>4&&8!==t.subForm.pay_type?t.subForm.arrive_img:"签字确认"===e.title?t.subForm.sign_img:t.subForm.end_img}],isToDel:!1,fileType:"image",type:"more",size:"small",fileSize:1}}):t._e()],1):t._e(),t._v(" "),4===e.pay_type&&t.subForm.pay_type>3&&8!==t.subForm.pay_type&&t.subForm.serout_address||5===e.pay_type&&t.subForm.pay_type>4&&8!==t.subForm.pay_type||"服务完成"===e.title&&7===t.subForm.pay_type?a("div",{staticClass:"f-caption c-title"},[t._v("\n "+t._s(4===e.pay_type&&t.subForm.pay_type>3&&8!==t.subForm.pay_type?t.subForm.serout_address:5===e.pay_type&&t.subForm.pay_type>4&&8!==t.subForm.pay_type?t.subForm.arr_address:t.subForm.end_address)+"\n ")]):t._e()])}),1)],1),t._v(" "),a("el-form",{attrs:{model:t.subForm,"label-width":"130px",size:"mini"},nativeOn:{submit:function(t){t.preventDefault()}}},[a("lb-classify-title",{attrs:{title:"用户信息"}}),t._v(" "),a("el-form-item",{attrs:{label:"用户ID:"}},[a("div",[t._v(t._s(t.subForm.user_id))])]),t._v(" "),a("el-form-item",{attrs:{label:"下单人:"}},[a("div",{staticClass:"flex-y-center"},[t._v("\n "+t._s(t.subForm.address_info.user_name)+"\n "),a("div",{staticClass:"ml-md c-link cursor-pointer",on:{click:function(e){return t.toShowDialog("label")}}},[t._v("\n 查看标签\n ")])])]),t._v(" "),a("el-form-item",{attrs:{label:"联系方式:"}},[a("div",[t._v(t._s(t.subForm.address_info.mobile))])]),t._v(" "),t.subForm.store_id?t._e():a("el-form-item",{attrs:{label:"服务地址:"}},[a("div",[t._v("\n "+t._s(""+t.subForm.address_info.address+t.subForm.address_info.address_info)+"\n ")])]),t._v(" "),t.subForm.text?a("el-form-item",{attrs:{label:"订单备注:"}},[a("div",[t._v(t._s(t.subForm.text))])]):t._e(),t._v(" "),t.subForm.store_id?a("block",[a("lb-classify-title",{attrs:{title:"门店信息"}}),t._v(" "),a("el-form-item",{attrs:{label:"门店名称:"}},[a("div",[t._v(t._s(t.subForm.store_info.title))])]),t._v(" "),a("el-form-item",{attrs:{label:"门店头像:"}},[a("lb-cover",{attrs:{fileList:[{url:t.subForm.store_info.cover}],isToDel:!1,size:"small",type:"more",fileSize:1}})],1),t._v(" "),a("el-form-item",{attrs:{label:"联系电话:"}},[a("div",[t._v(t._s(t.subForm.store_info.phone))])]),t._v(" "),t.subForm.store_info.address?a("el-form-item",{attrs:{label:"门店地址:"}},[a("div",[t._v("\n "+t._s(t.subForm.store_info.address)+"\n ")])]):t._e()],1):t._e(),t._v(" "),a("lb-classify-title",{attrs:{title:t.$t("action.attendantName")+"信息"}}),t._v(" "),a("el-form-item",{attrs:{label:t.$t("action.attendantName")+":"}},[a("div",[t._v(t._s(t.subForm.coach_info.coach_name))])]),t._v(" "),a("el-form-item",{attrs:{label:t.$t("action.attendantName")+"头像:"}},[a("lb-cover",{attrs:{fileList:[{url:t.subForm.coach_info.work_img}],isToDel:!1,size:"small",type:"more",fileSize:1}})],1),t._v(" "),a("el-form-item",{attrs:{label:"联系电话:"}},[a("div",[t._v(t._s(t.subForm.coach_info.mobile))])]),t._v(" "),a("lb-classify-title",{attrs:{title:"订单信息"}}),t._v(" "),t.subForm.is_add?a("el-form-item",{attrs:{label:"主订单号:"}},[a("div",{staticClass:"c-warning cursor-pointer",on:{click:function(e){return t.$router.replace({query:{id:t.subForm.add_pid.id}})}}},[t._v("\n "+t._s(t.subForm.add_pid.order_code)+"\n ")])]):t._e(),t._v(" "),!t.subForm.is_add&&t.subForm.add_order_id&&t.subForm.add_order_id.length>0?a("el-form-item",{attrs:{label:"子订单号:"}},t._l(t.subForm.add_order_id,function(e,r){return a("div",{key:r,staticClass:"c-warning cursor-pointer",class:[{"mt-md":0!==r}],on:{click:function(a){return t.$router.replace({query:{id:e.id}})}}},[t._v("\n "+t._s(e.order_code)+"\n ")])}),0):t._e(),t._v(" "),a("el-form-item",{attrs:{label:"系统订单号:"}},[a("div",[t._v(t._s(t.subForm.order_code))])]),t._v(" "),t.subForm.transaction_id?a("el-form-item",{attrs:{label:"付款订单号:"}},[a("div",[t._v(t._s(t.subForm.transaction_id))])]):t._e(),t._v(" "),t.subForm.admin_id?a("el-form-item",{attrs:{label:"代理商:"}},[a("div",[t._v(t._s(t.subForm.admin_name))])]):t._e(),t._v(" "),a("el-form-item",{attrs:{label:"下单时间:"}},[a("div",[t._v(t._s(t._f("handleTime")(t.subForm.create_time)))])]),t._v(" "),a("el-form-item",{attrs:{label:"服务时间:"}},[a("div",[t._v("\n "+t._s(t._f("handleTime")(t.subForm.start_time,3))+" -\n "+t._s(t._f("handleTime")(t.subForm.end_time,4))+"\n ")])]),t._v(" "),a("el-form-item",{attrs:{label:"服务时长:"}},[a("div",[t._v(t._s(t.subForm.time_long)+"分钟")])]),t._v(" "),t.subForm.is_add||t.subForm.store_id?t._e():a("block",[a("el-form-item",{attrs:{label:"车费详情:"}},[a("div",{staticClass:"flex-y-center"},[t._v("\n "+t._s(t.carType[t.subForm.car_type])+"\n "),1==t.subForm.car_type?a("div",{staticClass:"ml-md"},[t._v("\n 全程"+t._s(t.subForm.distance)+",车费¥"+t._s(t.subForm.car_price)+"\n ")]):t._e()])]),t._v(" "),1===t.subForm.car_type?a("el-form-item",{attrs:{label:"出行费用:"}},[a("div",{staticClass:"c-warning"},[t._v("¥"+t._s(t.subForm.car_price))])]):t._e()],1),t._v(" "),a("el-form-item",{attrs:{label:"服务项目费用:"}},[a("div",{staticClass:"c-warning"},[t._v("¥"+t._s(t.subForm.init_service_price))])]),t._v(" "),1*t.subForm.material_price>0?a("el-form-item",{attrs:{label:"物料费:"}},[a("div",{staticClass:"c-warning"},[t._v("¥"+t._s(t.subForm.material_price))])]):t._e(),t._v(" "),1*t.subForm.discount>0?a("el-form-item",{attrs:{label:"卡券优惠:"}},[a("div",{staticClass:"c-warning"},[t._v("-¥"+t._s(t.subForm.discount))])]):t._e(),t._v(" "),t.subForm.is_add?t._e():a("el-form-item",{attrs:{label:"实付金额:"}},[a("div",{staticClass:"c-warning"},[t._v("¥"+t._s(t.subForm.pay_price))])]),t._v(" "),a("el-form-item",{attrs:{label:"支付方式:"}},[t._v("\n "+t._s(t.payType[t.subForm.pay_model])+"\n ")])],1),t._v(" "),t.subForm.dispatch_record.length>0?a("block",[a("lb-classify-title",{attrs:{title:"转派记录"}}),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.subForm.dispatch_record,"header-cell-style":{background:"#f5f7fa",color:"#606266"}}},[a("el-table-column",{attrs:{prop:"old_coach_name",label:"原"+t.$t("action.attendantName")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.old_coach_name)+"\n "),0===e.$index&&t.subForm.coach_refund_time?a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"}},[a("div",{staticClass:"f-desc c-title",attrs:{slot:""},slot:"default"},[a("div",{domProps:{innerHTML:t._s(t.subForm.coach_refund_text)}}),t._v(" "),a("div",{staticClass:"f-caption c-caption mt-md"},[t._v("\n 拒单时间:"+t._s(t._f("handleTime")(t.subForm.coach_refund_time))+"\n ")])]),t._v(" "),a("div",{staticClass:"c-link cursor-pointer",attrs:{slot:"reference"},slot:"reference"},[t._v("\n 查看拒单原因\n ")])]):t._e()]}}],null,!1,3475435993)}),t._v(" "),a("el-table-column",{attrs:{prop:"old_coach_img",label:"原"+t.$t("action.attendantName")+"头像"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("lb-image",{attrs:{src:t.row.old_coach_img}})]}}],null,!1,1398870509)}),t._v(" "),a("el-table-column",{attrs:{prop:"old_coach_mobile",label:"原"+t.$t("action.attendantName")+"联系电话","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{prop:"now_coach_name",label:"现"+t.$t("action.attendantName")}}),t._v(" "),a("el-table-column",{attrs:{prop:"now_coach_img",label:t.$t("action.attendantName")+"头像"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("lb-image",{attrs:{src:t.row.now_coach_img}})]}}],null,!1,4164780700)}),t._v(" "),a("el-table-column",{attrs:{prop:"now_coach_mobile",label:"现"+t.$t("action.attendantName")+"联系电话","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time",label:"转派时间","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(t._f("handleTime")(e.row.create_time,1)))]),t._v(" "),a("p",[t._v(t._s(t._f("handleTime")(e.row.create_time,2)))])]}}],null,!1,2718285459)}),t._v(" "),a("el-table-column",{attrs:{prop:"text",label:"转派备注","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{domProps:{innerHTML:t._s(e.row.text)}})]}}],null,!1,3719080649)})],1),t._v(" "),a("div",{staticClass:"space-lg"}),t._v(" "),a("div",{staticClass:"space-lg"})],1):t._e(),t._v(" "),a("lb-classify-title",{attrs:{title:"服务内容"}}),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.subForm.order_goods,"header-cell-style":{background:"#f5f7fa",color:"#606266"}}},[a("el-table-column",{attrs:{prop:"goods_cover",label:"服务项目"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("lb-image",{attrs:{src:t.row.goods_cover}})]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"goods_name",label:"服务名称"}}),t._v(" "),a("el-table-column",{attrs:{prop:"price",label:"服务价格"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" ¥"+t._s(e.row.price)+" ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"material_price",label:"物料费"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n ¥"+t._s(e.row.material_price)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"time_long",label:"服务时长"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.time_long)+"分钟\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"num",label:"服务数量"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex-y-center"},[t._v("\n x"+t._s(e.row.num)+"\n "),e.row.refund_num?a("div",{staticClass:"f-icontext c-warning ml-sm"},[t._v("\n "+t._s("已退"+e.row.refund_num)+"\n ")]):t._e()])]}}])})],1),t._v(" "),a("div",{staticClass:"space-lg mt-lg mb-lg"},[t._v("\n 合计数量:"+t._s(t.subForm.all_goods_num)+"\n ")]),t._v(" "),t.upRecord.length>0?a("block",[a("div",{staticClass:"space-lg"}),t._v(" "),a("lb-classify-title",{attrs:{title:"服务升级记录"}}),t._v(" "),a("el-timeline",t._l(t.upRecord,function(e,r){return a("el-timeline-item",{key:r},[a("div",{staticClass:"c-title text-bold mb-md"},[t._v("\n "+t._s(t._f("handleTime")(e.create_time))+"\n ")]),t._v(" "),t._l(e.order_goods,function(e,r){return a("div",{key:r,staticClass:"pd-lg f-desc c-caption",class:[{"mt-md":0!==r}],staticStyle:{width:"400px",border:"1px solid #eee"}},[e.original_order_goods&&e.original_order_goods.goods_name?a("block",[a("div",{staticClass:"flex-y-center"},[t._v("\n 原项目名称:\n "),a("div",{staticClass:"c-title"},[t._v("\n "+t._s(e.original_order_goods.goods_name)+"\n ")])]),t._v(" "),a("div",{staticClass:"flex-y-center mt-sm"},[t._v("\n 价格:\n "),a("div",{staticClass:"c-title"},[t._v("\n ¥ "+t._s(e.original_order_goods.true_price)+"\n ")])])]):t._e(),t._v(" "),a("div",{staticClass:"flex-y-center mt-sm"},[t._v("\n 升级项目名称:\n "),a("div",{staticClass:"c-title"},[t._v(t._s(e.goods_name))])]),t._v(" "),a("div",{staticClass:"flex-y-center mt-sm"},[t._v("\n 升级项目数量:\n "),a("div",{staticClass:"c-title"},[t._v("x"+t._s(e.num))])]),t._v(" "),a("div",{staticClass:"flex-y-center mt-sm"},[t._v("\n 补差价:\n "),a("div",{staticClass:"c-title"},[t._v("\n ¥\n "+t._s(1*e.true_price-1*e.original_order_goods.true_price)+"\n ")])])],1)}),t._v(" "),a("div",{staticClass:"mt-md flex-y-center"},[t._v("\n 合计补差价:\n "),a("div",{staticClass:"c-warning"},[t._v("¥"+t._s(e.pay_price))])])],2)}),1)],1):t._e(),t._v(" "),0===t.upRecord.length?a("div",{staticClass:"space-lg"}):t._e(),t._v(" "),t.routesItem.auth.virtual?a("block",[a("lb-classify-title",{attrs:{title:"电话录音文件"}}),t._v(" "),a("el-row",{staticClass:"page-search-form"},[a("el-form",{ref:"searchForm",attrs:{inline:!0,model:t.searchForm},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-form-item",{attrs:{label:"拨打时间",prop:"start_time"}},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"timestamp","picker-options":t.pickerOptions,"default-time":["00:00:00","23:59:59"]},on:{change:function(e){return t.getTableDataList(1)}},model:{value:t.searchForm.start_time,callback:function(e){t.$set(t.searchForm,"start_time",e)},expression:"searchForm.start_time"}})],1)],1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData,"header-cell-style":{background:"#f5f7fa",color:"#606266"},"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"id",label:"ID",fixed:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"record_url",label:"文件名称","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("handleFileName")(e.row.record_url))+"\n ")]}}],null,!1,1796430038)}),t._v(" "),a("el-table-column",{attrs:{prop:"call_time",label:"拨打时间","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(t._f("handleTime")(e.row.call_time,1)))]),t._v(" "),a("p",[t._v(t._s(t._f("handleTime")(e.row.call_time,2)))])]}}],null,!1,3226877139)}),t._v(" "),a("el-table-column",{attrs:{prop:"start_time",label:"接通时间","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(t._f("handleTime")(e.row.start_time,1)))]),t._v(" "),a("p",[t._v(t._s(t._f("handleTime")(e.row.start_time,2)))])]}}],null,!1,2578612083)}),t._v(" "),a("el-table-column",{attrs:{prop:"end_time",label:"挂断时间","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(t._f("handleTime")(e.row.end_time,1)))]),t._v(" "),a("p",[t._v(t._s(t._f("handleTime")(e.row.end_time,2)))])]}}],null,!1,3744910355)}),t._v(" "),a("el-table-column",{attrs:{prop:"phone_a",label:t.$t("action.attendantName")+"号码","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{prop:"phone_b",label:"客户号码","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{prop:"phone_x",label:"虚拟号码","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.record_url?a("div",{staticClass:"table-operate"},[a("lb-button",{attrs:{size:"mini",plain:"",type:"primary"},on:{click:function(a){return t.toShowDialog("file",e.row)}}},[t._v("播放")]),t._v(" "),a("lb-button",{attrs:{size:"mini",plain:"",type:"danger"},on:{click:function(a){return t.toDownLoad(e.row)}}},[t._v("下载")])],1):t._e()]}}],null,!1,863203469)})],1),t._v(" "),a("lb-page",{attrs:{batch:!1,page:t.searchForm.page,pageSize:t.searchForm.limit,total:t.total},on:{handleSizeChange:t.handleSizeChange,handleCurrentChange:t.handleCurrentChange}})],1):t._e(),t._v(" "),t.routesItem.auth.recording?a("block",[a("div",{staticClass:"space-lg"}),t._v(" "),a("lb-classify-title",{attrs:{title:"服务过程录音文件"}}),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.subForm.service_recording,"header-cell-style":{background:"#f5f7fa",color:"#606266"},"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"link",label:"文件名称","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("handleFileName")(e.row.link))+"\n ")]}}],null,!1,2824485007)}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time",label:"录音时间","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(t._f("handleTime")(e.row.create_time,1)))]),t._v(" "),a("p",[t._v(t._s(t._f("handleTime")(e.row.create_time,2)))])]}}],null,!1,2718285459)}),t._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.link?a("div",{staticClass:"table-operate"},[a("lb-button",{attrs:{size:"mini",plain:"",type:"primary"},on:{click:function(a){return t.toShowDialog("file",e.row)}}},[t._v("播放")]),t._v(" "),a("lb-button",{attrs:{size:"mini",plain:"",type:"danger"},on:{click:function(a){return t.toDownLoad(e.row)}}},[t._v("下载")])],1):t._e()]}}],null,!1,1776412532)})],1),t._v(" "),a("div",{staticClass:"space-lg"})],1):t._e(),t._v(" "),a("lb-button",{attrs:{type:"primary"},on:{click:function(e){return t.$router.back(-1)}}},[t._v(t._s(t.$t("action.back")))])],1),t._v(" "),a("el-dialog",{attrs:{title:"客户标签",visible:t.showDialog.label,width:"700px",center:""},on:{"update:visible":function(e){return t.$set(t.showDialog,"label",e)}}},[0===t.labelList.length?a("div",[t._v("暂无评价标签")]):t._e(),t._v(" "),t.labelList.length>0?a("div",{staticClass:"flex-warp"},t._l(t.labelList,function(e,r){return a("el-tag",{key:r,staticClass:"mr-md mt-sm mb-sm"},[t._v(t._s(e.title))])}),1):t._e()]),t._v(" "),a("el-dialog",{attrs:{title:"音频内容",visible:t.showDialog.file,width:"600px",center:""},on:{"update:visible":function(e){return t.$set(t.showDialog,"file",e)}}},[a("div",{staticClass:"flex-center flex-column",staticStyle:{padding:"50px"}},[a("audio",{ref:"audio_item",attrs:{controls:"",loop:"",src:t.fileForm.record_url}}),t._v(" "),a("div",{staticClass:"f-title c-title text-bold pt-lg"},[t._v("\n "+t._s(t._f("handleFileName")(t.fileForm.record_url))+"\n ")])])])],1)},staticRenderFns:[]};var b=a("VU/8")(p,v,!1,function(t){a("pC54")},"data-v-bf471b1a",null);e.default=b.exports},pC54:function(t,e){}}); |