orderDetail.js 3.3 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesMain/orderDetail"],{"0149":function(e,t,n){"use strict";var r=n("26a0"),u=n.n(r);u.a},1366:function(e,t,n){"use strict";n.r(t);var r=n("5e4a"),u=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=u.a},"1f5d":function(e,t,n){"use strict";(function(e){n("43f2");r(n("66fd"));var t=r(n("cf0b"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"26a0":function(e,t,n){},3141:function(e,t,n){},"32f1":function(e,t,n){"use strict";var r=n("3141"),u=n.n(r);u.a},"38e4":function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r}));var r={uCellGroup:function(){return n.e("uview-ui/components/u-cell-group/u-cell-group").then(n.bind(null,"6732"))},uCellItem:function(){return n.e("uview-ui/components/u-cell-item/u-cell-item").then(n.bind(null,"22af"))},uAvatar:function(){return n.e("uview-ui/components/u-avatar/u-avatar").then(n.bind(null,"5ba7"))},uTopTips:function(){return n.e("uview-ui/components/u-top-tips/u-top-tips").then(n.bind(null,"83e4"))}},u=function(){var e=this,t=e.$createElement,n=(e._self._c,e.orderInfo.giftId.map((function(e){return e.name})).join(","));e.$mp.data=Object.assign({},{$root:{g0:n}})},o=[]},"5e4a":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("2f62");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=n("bf52"),a=n("8335"),f={computed:o({},(0,r.mapGetters)(["mainColor","customStyle"])),data:function(){return{id:"",orderInfo:{url:"",coachName:"",parentsName:"",studentName:"",sex:"",age:"",birthday:"",phone:"",className:"",courseNumber:"",coursePrice:"",sumPrice:"",orderNo:"",lessonsGiveNumber:"",giftId:[],saleName:"",talkerName:"",payTypeValue:"",time:"",other:"",remark:"",contractUrl:""}}},onLoad:function(e){this.id=e.id,this.initialize()},methods:{initialize:function(){var e=this;c.request(a.getOrderInfo,{id:this.id},"POST").then((function(t){e.orderInfo=t.data})).catch((function(t){e.$refs.uTips.show({title:t.message,type:"warning"})}))},checkContract:function(){e.downloadFile({url:this.orderInfo.contractUrl,success:function(t){e.openDocument({filePath:t.tempFilePath})}})}}};t.default=f}).call(this,n("543d")["default"])},cf0b:function(e,t,n){"use strict";n.r(t);var r=n("38e4"),u=n("1366");for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o);n("32f1"),n("0149");var i,c=n("f0c5"),a=Object(c["a"])(u["default"],r["b"],r["c"],!1,null,"f0ea96a2",null,!1,r["a"],i);t["default"]=a.exports}},[["1f5d","common/runtime","common/vendor"]]]);