bztang-admin/addons/yun_shop/static/app/js/chunk-9b147a46.b4aeb942.js

1 line
14 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9b147a46"],{"2e81":function(t,e,i){"use strict";i("5e3f")},"5e3f":function(t,e,i){var a=i("6e3a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=i("499e").default;s("1f2b816b",a,!0,{sourceMap:!1,shadowMode:!1})},"6e3a":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".installShop[data-v-7304a3c7]{background-color:#fff;padding:.78rem .88rem .94rem .94rem;-webkit-box-sizing:border-box;box-sizing:border-box}.installShop .shopTitle[data-v-7304a3c7]{font-size:.69rem;padding-bottom:.75rem;border-bottom:1px solid #f2f2f2;color:#999}.installShop .shopList[data-v-7304a3c7],.installShop .shopTitle[data-v-7304a3c7]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.installShop .shopList[data-v-7304a3c7]{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:.66rem 0 0 0;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:.94rem}.installShop .shopList .shoplis[data-v-7304a3c7]{width:80%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.installShop .shopList .shoplis .imgbox[data-v-7304a3c7]{width:2.5rem;height:2.5rem;background-color:#c3c3c3;margin-right:.47rem}.installShop .shopList .shoplis .imgbox img[data-v-7304a3c7]{width:100%;height:100%}.installShop .shopList .shoplis .shoptxt[data-v-7304a3c7]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:.88rem;text-align:left}.installShop .shopList .total[data-v-7304a3c7]{color:#202020;font-size:.69rem}.installShop .severPrice[data-v-7304a3c7]{text-align:right;border-top:1px solid #f2f2f2;padding-top:.91rem;overflow:hidden;font-size:.94rem}.orderDetail[data-v-7304a3c7]{margin-top:.63rem;background-color:#fff;padding-top:.8rem;padding-left:.94rem;padding-right:.63rem;padding-bottom:.88rem;-webkit-box-sizing:border-box;box-sizing:border-box}.orderDetail .detailTxt[data-v-7304a3c7]{text-align:left;font-size:.88rem;margin-bottom:.7rem}.orderDetail .detailTxt .txt[data-v-7304a3c7]{color:#999}.orderDetail .detailTxt .price[data-v-7304a3c7]{color:#f15354}.orderDetail .detailTxt[data-v-7304a3c7]:last-child{margin-bottom:0}.flowPath[data-v-7304a3c7]{margin-top:.63rem;background:#fff;padding:1.59rem 0 1.63rem 0}.flowPath .pathItem[data-v-7304a3c7]:last-child{margin-bottom:0}.flowPath .pathDetail[data-v-7304a3c7]{height:2.56rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.flowPath .pathDetail .line[data-v-7304a3c7]{width:.03rem;height:1.25rem;background-color:#c8c8c8;margin-left:6.25rem}.flowPath .pathDetail .connection[data-v-7304a3c7]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin-left:1.91rem;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;color:#f15354}.flowPath .pathItem[data-v-7304a3c7]{-webkit-box-sizing:border-box;box-sizing:border-box}.flowPath .pathItem[data-v-7304a3c7],.flowPath .pathItem .pathTime[data-v-7304a3c7]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.flowPath .pathItem .pathTime[data-v-7304a3c7]{width:5.34rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.flowPath .pathItem .pathTime .time[data-v-7304a3c7]{font-size:.94rem;color:#f15354}.flowPath .pathItem .pathTime .day[data-v-7304a3c7]{font-size:.75rem;color:#f15354}.flowPath .pathItem .circle[data-v-7304a3c7]{width:1.81rem;height:1.81rem;border:.03rem solid #aaa;border-radius:100%;margin-right:1rem;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.flowPath .pathItem .circle i[data-v-7304a3c7]{color:#c9c9c9}.flowPath .pathItem .circle .icon-fontclass-kucun[data-v-7304a3c7]{font-size:1.4rem}.flowPath .pathItem span[data-v-7304a3c7]{font-size:1.06rem;color:#101010}.flowPath .color-red .circle[data-v-7304a3c7]{border-color:#f15354}.flowPath .color-red .circle i[data-v-7304a3c7],.flowPath .color-red span[data-v-7304a3c7]{color:#f15354}.posBtn[data-v-7304a3c7]{width:100%;padding:.5rem .875rem 0;position:fixed;bottom:0;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;background:#fff}.posBtn[data-v-7304a3c7],.posBtn .btn[data-v-7304a3c7]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.posBtn .btn[data-v-7304a3c7]{width:4.125rem;height:1.875rem;line-height:1.875rem;background-color:#f15354;border-radius:.31rem;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#fff;margin:0 0 .5rem .875rem}.goodbtn[data-v-7304a3c7]{position:relative;padding:0}.goodbtn .btn[data-v-7304a3c7]{margin:0}.imageBox[data-v-7304a3c7]{background:#fff;margin-top:.63rem;padding:.78rem .94rem .66rem .94rem}.imageBox .tit[data-v-7304a3c7]{text-align:left;font-size:.94rem;color:#333;padding-bottom:.75rem;border-bottom:1px solid #f2f2f2;-webkit-box-sizing:border-box;box-sizing:border-box}.imageBox .imglist[data-v-7304a3c7]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-top:.63rem;padding-bottom:.66rem}.imageBox .imglist .img[data-v-7304a3c7]{width:4.59rem;height:4.59rem;background-color:#929292;border-radius:.31rem;margin-right:.72rem;margin-bottom:.63rem}.imageBox .imglist .img img[data-v-7304a3c7]{width:100%;height:100%}.afterSale[data-v-7304a3c7]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:.91rem .97rem .94rem .91rem;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff;margin-top:.63rem}",""]),t.exports=e},b0b4:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"refund"}},[i("c-title",{attrs:{hide:!1,text:t.plugin_name}}),i("div",{staticClass:"installShop"},[i("div",{staticClass:"shopTitle"},[i("div",[t._v("订单号:"+t._s(t.info.order_sn))]),i("div",{staticStyle:{color:"#f15354"}},[t._v(t._s(t.info.state_name))])]),t._l(t.info.goods_list,(function(e,a){return i("div",{key:a,staticClass:"shopList"},[i("div",{staticClass:"shoplis"},[i("div",{staticClass:"imgbox"},[i("img",{attrs:{src:e.thumb,alt:""}})]),i("div",{staticClass:"shoptxt"},[t._v(t._s(e.title))])]),i("div",{staticClass:"total"},[e.goods_option_title?[t._v("规格:"+t._s(e.goods_option_title)),i("br")]:t._e(),t._v("数量x"+t._s(e.total))],2),i("div",{staticClass:"posBtn goodbtn"},t._l(e.button_group,(function(a){return i("div",{key:a.code,staticClass:"btn",on:{click:function(i){return i.stopPropagation(),t.clickBotton(a,e.install_order_goods_id)}}},[t._v(t._s(a.name))])})),0)])})),i("div",{staticClass:"severPrice"},[i("div",[t._v(" "+t._s(t.info.another_name&&t.info.another_name.plugin_name)+"费:"),i("span",{staticStyle:{color:"#f15354"}},[t._v(t._s(t.$i18n.t("money"))+t._s(t.info.service_amount))])]),i("div",[t._v(" 订单实付金额:"),i("span",{staticStyle:{color:"#f15354"}},[t._v(t._s(t.$i18n.t("money"))+t._s(t.info.price))])])])],2),i("div",{staticClass:"orderDetail"},[i("div",{staticClass:"detailTxt"},[i("span",{staticClass:"txt"},[t._v("订单类型:")]),i("span",[t._v(t._s(t.info.order_type_name))])]),i("div",{staticClass:"detailTxt"},[i("span",{staticClass:"txt"},[t._v("预约"+t._s(t.custom_name)+"时间:")]),i("span",[t._v(t._s(t.info.reserve_time))])]),i("div",{staticClass:"detailTxt"},[i("span",{staticClass:"txt"},[t._v("买家留言:")]),i("span",[t._v(t._s(t.info.install_comment))])])]),i("div",{staticClass:"flowPath"},[i("div",{staticClass:"pathItem",class:{"color-red":t.info.worker_time}},[i("div",{staticClass:"pathTime"},[t.info.worker_time?[i("span",{staticClass:"time"},[t._v(t._s(t.info.worker_time.slice(11,16)))]),i("span",{staticClass:"day"},[t._v(t._s(t.info.worker_time.slice(0,10)))])]:t._e()],2),t._m(0),i("span",[t._v("接单")])]),i("div",{staticClass:"pathDetail"},[i("div",{staticClass:"line"}),i("div",{staticClass:"connection"},[t.info.worker_name?i("span",[t._v(t._s(t.info.another_name.worker_name)+""+t._s(t.info.worker_name))]):t._e(),t.info.worker_mobile?i("span",[t._v("联系电话:"),i("a",{attrs:{href:"tel:"+t.info.worker_mobile}},[t._v(t._s(t.info.worker_mobile))])]):t._e()])]),i("div",{staticClass:"pathItem",class:{"color-red":t.info.take_time}},[i("div",{staticClass:"pathTime"},[t.info.take_time?[i("span",{staticClass:"time"},[t._v(t._s(t.info.take_time.slice(11,16)))]),i("span",{staticClass:"day"},[t._v(t._s(t.info.take_time.slice(0,10)))])]:t._e()],2),t._m(1),i("span",[t._v("取货")])]),t._m(2),i("div",{staticClass:"pathItem",class:{"color-red":t.info.install_start_time}},[i("div",{staticClass:"pathTime"},[t.info.install_start_time?[i("span",{staticClass:"time"},[t._v(t._s(t.info.install_start_time.slice(11,16)))]),i("span",{staticClass:"day"},[t._v(t._s(t.info.install_start_time.slice(0,10)))])]:t._e()],2),t._m(3),i("span",[t._v("上门"+t._s(t.custom_name))])]),t._m(4),i("div",{staticClass:"pathItem",class:{"color-red":t.info.finish_time}},[i("div",{staticClass:"pathTime"},[t.info.finish_time?[i("span",{staticClass:"time"},[t._v(t._s(t.info.finish_time.slice(11,16)))]),i("span",{staticClass:"day"},[t._v(t._s(t.info.finish_time.slice(0,10)))])]:t._e()],2),t._m(5),i("span",[t._v("完成"+t._s(t.custom_name))])])]),t.fun.isTextEmpty(t.info.finish_image)?t._e():i("div",{staticClass:"imageBox"},[i("div",{staticClass:"tit"},[t._v(t._s(t.custom_name)+"完成图片")]),i("div",{staticClass:"imglist"},t._l(t.info.finish_image,(function(e,a){return i("div",{key:a,staticClass:"img",on:{click:function(e){return t.imgPreview(t.info.finish_image)}}},[i("img",{attrs:{src:e,alt:""}})])})),0)]),i("div",{staticStyle:{width:"100%",height:"6rem"}}),i("div",{staticClass:"posBtn set-pc-styleLeft"},t._l(t.info.button_group,(function(e){return i("div",{key:e.code,staticClass:"btn",on:{click:function(i){return i.stopPropagation(),t.clickBotton(e,t.info.order_id)}}},[t._v(t._s(e.name))])})),0)],1)},s=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"circle"},[i("i",{staticClass:"iconfont icon-fontclass-shangpindingdan"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"circle"},[i("i",{staticClass:"iconfont icon-fontclass-kucun"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"pathDetail"},[i("div",{staticClass:"line"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"circle"},[i("i",{staticClass:"iconfont icon-fontclass-anzhuang"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"pathDetail"},[i("div",{staticClass:"line"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"circle"},[i("i",{staticClass:"iconfont icon-fontclass-shouchu"})])}],o=(i("4662"),i("28a2")),n=(i("e7e5"),i("d399")),r=(i("14d9"),i("b0c0"),{data:function(){return{plugin_name:"",custom_name:"",info:{},orderId:null}},activated:function(){this.getData()},components:{},computed:{},methods:{getData:function(){var t=this;$http.get("plugin.live-install.frontend.order.orderDetail",{order_id:this.$route.params.id},"加载中...").then((function(e){1==e.result?(t.plugin_name=e.data.another_name.plugin_name,t.custom_name=e.data.another_name.custom_name||"安装",t.fun.setWXTitle(t.plugin_name),t.info=e.data):Object(n["a"])(e.msg)})).catch((function(t){}))},imgPreview:function(t){Object(o["a"])(t)},clickBotton:function(t,e){this.fun.isTextEmpty(t.api)||(this.orderId=e,this.btnApi=t.api,"installFinish"!=t.code?"takeCode"!=t.code&&"payCode"!=t.code?"goodsApplyRefund"!=t.code?"getRefundList"!=t.code?"comment"!=t.code?"orderApplyRefund"!=t.code?"orderPay"!=t.code?this.bottonRequest(t,e):this.$router.push(this.fun.getUrl("orderpay",{order_ids:e})):this.$router.push(this.fun.getUrl("refund",{order_id:e,order_type:1},{refundType:"installationSever"})):this.$router.push(this.fun.getUrl("myEvaluation",{})):this.$router.push(this.fun.getUrl("installationSeverAftersale",{oid:e})):this.$router.push(this.fun.getUrl("installationSeverAfterApply",{id:e},{sn:this.info.order_sn})):this.getCodeImg(t,e):this.finishImgPop=!0)},bottonRequest:function(t,e){var i=this,a={order_id:e};"finishRefund"!=t.code&&"cancelRefundApply"!=t.code||(a.refund_id=e,delete a.order_id),this.$dialog.confirm({message:"确定".concat(t.name,"?")}).then((function(){var e=i;$http.get(t.api,a).then((function(i){1==i.result?(e.getData(),e.$notify({background:"#f0f9eb",message:"".concat(t.name,"成功"),color:"#67c23a"})):e.$dialog.alert({message:i.msg})}),(function(t){}))})).catch((function(){}))}}}),l=r,c=l,d=(i("2e81"),i("2877")),m=Object(d["a"])(c,a,s,!1,null,"7304a3c7",null);e["default"]=m.exports}}]);