(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["orderDetail"],{"04c4":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"positionT0L0"},[a("div",{staticClass:"banner"},[a("div",{staticClass:"banner_left"},[t._m(0),a("div",{staticClass:"detail"},[a("span",[t._v("订单编号 : ")]),t._v(t._s(t.form.orderNo))]),a("div",{staticClass:"img"},[a("span",[t._v("商品封面 : ")]),a("img",{directives:[{name:"viewer",rawName:"v-viewer"}],attrs:{src:t.form.coverUrl,alt:"图片"}})]),a("div",{staticClass:"detail"},[a("span",[t._v("商品名称 : ")]),t._v(t._s(t.form.businessName)+" ")]),a("div",{staticClass:"detail"},[a("span",[t._v("商品类型 : ")]),t._v(t._s(t.form.businessType)+" ")]),a("div",{staticClass:"detail"},[a("span",[t._v("商品金额(元) : ")]),t._v(t._s(t.form.amount))]),a("div",{staticClass:"detail"},[a("span",[t._v("订单状态 : ")]),t._v(t._s(t.form.orderStatus))]),a("div",{staticClass:"detail"},[a("span",[t._v("快递单号 : ")]),t._v(t._s(t.form.expressNo)+" "),a("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.isShowExpressNo,expression:"isShowExpressNo"}],staticStyle:{"font-size":"20px"},attrs:{type:"edit"},on:{click:function(){return t.modalVisible=!0}}})],1),a("div",{staticClass:"detail"},[a("span",[t._v("下单时间 : ")]),t._v(t._s(t.form.createTime))])]),a("div",{staticClass:"banner_right"},[t._m(1),a("div",{staticClass:"detail"},[a("span",[t._v("实付金额 (元) : ")]),t._v(t._s(t.form.price))]),a("div",{staticClass:"detail"},[a("span",[t._v("支付方式 : ")]),t._v(t._s(t.form.payType))]),a("div",{staticClass:"detail"},[a("span",[t._v("支付状态 : ")]),t._v(t._s(t.form.payStatus))]),a("div",{staticClass:"detail"},[a("span",[t._v("支付时间 : ")]),t._v(t._s(t.form.payTime?t.form.payTime:t.form.createTime)+" ")])])]),a("div",{staticClass:"banner"},[a("div",{staticClass:"banner_left"},[t._m(2),a("div",{staticClass:"detail"},[a("span",[t._v("用户账号 : ")]),t._v(t._s(t.form.userName))]),a("div",{staticClass:"detail"},[a("span",[t._v("用户昵称 : ")]),t._v(t._s(t.form.nickName))]),a("div",{staticClass:"detail"},[a("span",[t._v("归属地 : ")]),t._v(t._s(t.form.region))])]),a("div",{staticClass:"banner_right"},[a("div",{staticClass:"line"},[a("span",{staticClass:"line_line"}),a("h3",[t._v("第三方信息")]),a("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.isShowThreeNews,expression:"isShowThreeNews"}],staticStyle:{"font-size":"20px"},attrs:{type:"edit"},on:{click:function(){return t.threeNewsVisible=!0}}})],1),a("div",{staticClass:"detail"},[a("span",[t._v("第三方订单号 : ")]),t._v(" "+t._s(t.form.thirdPartyOrderNo?t.form.thirdPartyOrderNo:"——")+" ")]),a("div",{staticClass:"detail"},[a("span",[t._v("第三方收件手机号 : ")]),t._v(" "+t._s(t.form.thirdPartyPhone?t.form.thirdPartyPhone:"——")+" ")]),a("div",{staticClass:"detail"},[a("span",[t._v("第三方渠道 : ")]),a("span",{directives:[{name:"show",rawName:"v-show",value:0==t.form.thirdPartyChannel,expression:"form.thirdPartyChannel == 0"}]},[t._v(" —— ")]),a("span",{directives:[{name:"show",rawName:"v-show",value:1==t.form.thirdPartyChannel,expression:"form.thirdPartyChannel == 1"}]},[t._v(" 抖店 ")]),a("span",{directives:[{name:"show",rawName:"v-show",value:2==t.form.thirdPartyChannel,expression:"form.thirdPartyChannel == 2"}]},[t._v(" 小鹅通 ")]),a("span",{directives:[{name:"show",rawName:"v-show",value:3==t.form.thirdPartyChannel,expression:"form.thirdPartyChannel == 3"}]},[t._v(" 有赞 ")]),a("span",{directives:[{name:"show",rawName:"v-show",value:4==t.form.thirdPartyChannel,expression:"form.thirdPartyChannel == 4"}]},[t._v(" 快手 ")]),a("span",{directives:[{name:"show",rawName:"v-show",value:5==t.form.thirdPartyChannel,expression:"form.thirdPartyChannel == 5"}]},[t._v(" 视频号 ")])])])]),a("div",{staticClass:"banner"},[a("div",{staticClass:"banner_left"},[t._m(3),a("div",{directives:[{name:"show",rawName:"v-show",value:0==t.form.correctFlag,expression:"form.correctFlag == 0"}],staticClass:"detail"},[a("span",[t._v("开通状态 : ")]),t._v(" 未开通 "),a("a",{directives:[{name:"show",rawName:"v-show",value:t.isShowOpen&&"已购买"==t.form.orderStatus&&"课程"==t.form.businessType,expression:"\n isShowOpen &&\n form.orderStatus == '已购买' &&\n form.businessType == '课程'\n "}],staticStyle:{"margin-left":"10px"},on:{click:t.OpenClick}},[t._v(" 开通 ")])]),a("div",{directives:[{name:"show",rawName:"v-show",value:1==t.form.correctFlag,expression:"form.correctFlag == 1"}],staticClass:"detail"},[a("span",[t._v("开通状态 : ")]),t._v(" 已开通 ")])])]),a("EditMedal",{attrs:{expressVal:t.form.expressNo,modalVisible:t.modalVisible},on:{cancel:function(){return t.modalVisible=!1},ok:t.ok}}),t.threeNewsVisible?a("ThreeNewsModal",{attrs:{modalVisible:t.threeNewsVisible,form:t.form},on:{cancel:t.threeNewsCancel,ok:t.threeNewsOk}}):t._e(),a("FooterToolBar",{attrs:{collapsed:t.sideCollapsed}},[a("a-button",{on:{click:function(){return t.$router.go(-1)}}},[t._v("返回")])],1)],1)},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"line"},[a("span",{staticClass:"line_line"}),a("h3",[t._v("基本信息")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"line"},[a("span",{staticClass:"line_line"}),a("h3",[t._v("支付信息")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"line"},[a("span",{staticClass:"line_line"}),a("h3",[t._v("用户信息")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"line"},[a("span",{staticClass:"line_line"}),a("h3",[t._v("批改服务信息")])])}],r=(a("d3b7"),a("432b")),i=a("5a70"),o=a("e80b"),c=a("7055"),d=a("6c2b"),l=a("f64c"),u=a("ed3b"),p=a("b893"),f={mixins:[r["a"]],components:{EditMedal:c["a"],ThreeNewsModal:d["a"],FooterToolBar:i["a"]},created:function(){this.GetOrdersInfoFn(),Object(p["a"])("/admin/order/info/saveExpressNo")&&(this.isShowExpressNo=!0),Object(p["a"])("/admin/order/info/third/party")&&(this.isShowThreeNews=!0),Object(p["a"])("/admin/corrects/open")&&(this.isShowOpen=!0)},data:function(){return{modalVisible:!1,threeNewsVisible:!1,currentForm:{},form:{orderNo:"",coverUrl:"",businessName:"",businessType:"",amount:"",orderStatus:"",expressNo:"",createTime:"",price:"",payType:"",payStatus:"",payTime:"",userName:"",nickName:"",region:"",thirdPartyOrderNo:"",thirdPartyPhone:"",thirdPartyChannel:"",correctFlag:""},isShowExpressNo:!1,isShowOpen:!1,isShowThreeNews:!1}},methods:{ok:function(t){var e=this;t&&Object(o["h"])({orderNo:this.$route.params.orderNo,expressNo:t}).then((function(t){var a=t.code;200==a&&(l["a"].success("修改成功"),e.GetOrdersInfoFn())})),this.modalVisible=!1},threeNewsCancel:function(){this.threeNewsVisible=!1,this.GetOrdersInfoFn()},threeNewsOk:function(t){var e=this;(t.thirdPartyOrderNo||t.thirdPartyPhone||t.thirdPartyChannel)&&Object(o["r"])({orderNo:this.$route.params.orderNo,thirdPartyChannel:t.thirdPartyChannel,thirdPartyOrderNo:t.thirdPartyOrderNo,thirdPartyPhone:t.thirdPartyPhone}).then((function(t){var a=t.code;200==a&&(l["a"].success("设置成功"),e.GetOrdersInfoFn())})),this.threeNewsVisible=!1},OpenClick:function(){var t=this;u["a"].confirm({title:"提示",content:"是否为该订单(用户)开通批改服务",okText:"确认",cancelText:"取消",width:"500px",onOk:function(){var e=[];return e.push({courseNo:t.form.businessNo,orderNo:t.form.orderNo,phone:t.form.userName}),new Promise((function(a,s){Object(o["l"])(e).then((function(e){var a=e.code;200==a&&(l["a"].success("开通成功"),t.GetOrdersInfoFn())})),setTimeout(Math.random()>.5?a:s,1e3)})).catch((function(){}))}})},GetOrdersInfoFn:function(){var t=this,e=this.$route.params.orderNo;Object(o["i"])({orderNo:e}).then((function(e){var a=e.code,s=e.data;200==a&&(t.form=s)}))}}},h=f,v=(a("4664"),a("2877")),m=Object(v["a"])(h,s,n,!1,null,"56e1ef10",null);e["default"]=m.exports},"3d43":function(t,e,a){"use strict";a("cb33")},"432b":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));var s=a("5530"),n=a("2f62"),r={computed:Object(s["a"])({},Object(n["b"])({sideCollapsed:function(t){return t.app.sideCollapsed}}))}},4664:function(t,e,a){"use strict";a("a6c2")},"4de4":function(t,e,a){"use strict";var s=a("23e7"),n=a("b727").filter,r=a("1dde"),i=r("filter");s({target:"Array",proto:!0,forced:!i},{filter:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})},5530:function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));a("b64b"),a("a4d3"),a("4de4"),a("e439"),a("159b"),a("dbb4");var s=a("ade3");function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function r(t){for(var e=1;e10?t.substring(0,10)+"...":t},imageClick:function(t){this.visible=!0,this.urlImg=t},offTheShelf:function(t){var e=this;Object(r["f"])({postNo:t.postNo,status:3}).then((function(t){t.code,t.data;e.GetListFn()}))},putOnTheShelf:function(t){var e=this;Object(r["f"])({postNo:t.postNo,status:1}).then((function(t){t.code,t.data;e.GetListFn()}))},showSizeChangeFn:function(t,e){this.pageNo=t,this.pageSize=e,this.GetListFn()},GetListFn:function(){var t=this;this.tableLoading=!0,Object(r["d"])({pageSize:this.pageSize,pageNo:this.pageNo}).then((function(e){var a=e.code,s=e.data;200==a?(t.tableLoading=!1,t.tableData=s.list,t.count=s.count):t.tableLoading=!1}))},targetFn:function(){return document.querySelector("#third_Party_order")}}},l=d,u=(a("3d43"),a("2877")),p=Object(u["a"])(l,s,n,!1,null,"f76edb50",null);e["default"]=p.exports},dbb4:function(t,e,a){var s=a("23e7"),n=a("83ab"),r=a("56ef"),i=a("fc6a"),o=a("06cf"),c=a("8418");s({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(t){var e,a,s=i(t),n=o.f,d=r(s),l={},u=0;while(d.length>u)a=n(s,e=d[u++]),void 0!==a&&c(l,e,a);return l}})},e1a4:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"a",(function(){return r})),a.d(e,"e",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"d",(function(){return c})),a.d(e,"f",(function(){return d}));var s=a("284b"),n=function(t){return s["a"].post("/adminv2/getTopicCategory",t)},r=function(t){return s["a"].post("/adminv2/addTopicCategory",t)},i=function(t){return s["a"].post("/adminv2/updateTopicCategoryStatus",t)},o=function(t){return s["a"].post("/adminv2/getTopicCategoryDetail",t)},c=function(t){return s["a"].post("/adminv2/getTopicList",t)},d=function(t){return s["a"].post("/adminv2/updateTopicStatus",t)}},e439:function(t,e,a){var s=a("23e7"),n=a("d039"),r=a("fc6a"),i=a("06cf").f,o=a("83ab"),c=n((function(){i(1)})),d=!o||c;s({target:"Object",stat:!0,forced:d,sham:!o},{getOwnPropertyDescriptor:function(t,e){return i(r(t),e)}})},e481:function(t,e,a){"use strict";a("9940")}}]); //# sourceMappingURL=orderDetail.308768a4.js.map