express.js 2.9 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/app_admin/express/express"],{"0b73":function(e,t,n){"use strict";n.r(t);var r=n("0cfb"),o=n("42ba");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("28bc");var c,i=n("f0c5"),s=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,"03306578",null,!1,r["a"],c);t["default"]=s.exports},"0cfb":function(e,t,n){"use strict";var r,o=function(){var e=this,t=e.$createElement;e._self._c},a=[];n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r}))},"28bc":function(e,t,n){"use strict";var r=n("ab58"),o=n.n(r);o.a},"42ba":function(e,t,n){"use strict";n.r(t);var r=n("c473"),o=n.n(r);for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=o.a},"9caf":function(e,t,n){"use strict";(function(e){n("8748");r(n("66fd"));var t=r(n("0b73"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},ab58:function(e,t,n){},c473:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("2f62");function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i={data:function(){return{express:"",id:"",express_no:"",express_company:""}},computed:a({},(0,r.mapState)({theme:function(e){return e.mallConfig.theme},userInfo:function(e){return e.user.info},adminImg:function(e){return e.mallConfig.__wxapp_img.app_admin}})),methods:{copy:function(){e.setClipboardData({data:this.express_no,success:function(t){e.getClipboardData({success:function(t){e.showToast({title:"复制成功",duration:1e3}),console.log(t.data)}})}})}},onLoad:function(t){var n=this;n.$showLoading({type:"global",text:"加载中..."}),n.$request({url:n.$api.app_admin.express_detail,data:{id:t.id,express:t.express,customer_name:t.customer_name,express_no:t.express_no}}).then((function(r){n.$hideLoading(),0==r.code?(n.express=r.data.express,n.id=t.id,n.express_company=t.express,n.express_no=t.express_no):e.showToast({title:r.msg,icon:"none",duration:1e3})})).catch((function(t){n.$hideLoading(),e.showToast({title:t,icon:"none",duration:1e3})}))}};t.default=i}).call(this,n("543d")["default"])}},[["9caf","common/runtime","common/vendor"]]]);