mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 06:30:49 +00:00
2 lines
8.8 KiB
JavaScript
Vendored
2 lines
8.8 KiB
JavaScript
Vendored
(function(e){function n(n){for(var t,u,o=n[0],h=n[1],d=n[2],l=0,i=[];l<o.length;l++)u=o[l],Object.prototype.hasOwnProperty.call(a,u)&&a[u]&&i.push(a[u][0]),a[u]=0;for(t in h)Object.prototype.hasOwnProperty.call(h,t)&&(e[t]=h[t]);f&&f(n);while(i.length)i.shift()();return r.push.apply(r,d||[]),c()}function c(){for(var e,n=0;n<r.length;n++){for(var c=r[n],t=!0,u=1;u<c.length;u++){var o=c[u];0!==a[o]&&(t=!1)}t&&(r.splice(n--,1),e=h(h.s=c[0]))}return e}var t={},u={app:0},a={app:0},r=[];function o(e){return h.p+"js/"+({}[e]||e)+"."+{"chunk-63c1eac8":"59f3df74","chunk-088acbde":"4e79f6d0","chunk-0cbcaa56":"46e3dd42","chunk-26daa808":"9e326ce2","chunk-35db73ce":"ae2590c3","chunk-41cd4e14":"a0cd0f1b","chunk-4caed774":"d65d1796","chunk-52fcdd7c":"0070e388","chunk-6ae0a0d3":"ee4aa3e0","chunk-75426f71":"128f599c","chunk-086a167d":"0cb8b81f","chunk-300db14a":"84662a69","chunk-32da4b3e":"0151c647","chunk-743f0316":"d043435c","chunk-7cdb40b2":"3804e4d8","chunk-f35dfe36":"e7038b09","chunk-fc9299b8":"5fc76239","chunk-904e5abc":"e6a5edbe","chunk-a3ddd952":"0482ce75","chunk-ab4d3e40":"0c286099","chunk-e35186f0":"a9d70f92"}[e]+".js"}function h(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,h),c.l=!0,c.exports}h.e=function(e){var n=[],c={"chunk-088acbde":1,"chunk-0cbcaa56":1,"chunk-26daa808":1,"chunk-35db73ce":1,"chunk-41cd4e14":1,"chunk-4caed774":1,"chunk-52fcdd7c":1,"chunk-6ae0a0d3":1,"chunk-75426f71":1,"chunk-086a167d":1,"chunk-300db14a":1,"chunk-32da4b3e":1,"chunk-743f0316":1,"chunk-7cdb40b2":1,"chunk-f35dfe36":1,"chunk-fc9299b8":1,"chunk-904e5abc":1,"chunk-a3ddd952":1,"chunk-ab4d3e40":1,"chunk-e35186f0":1};u[e]?n.push(u[e]):0!==u[e]&&c[e]&&n.push(u[e]=new Promise((function(n,c){for(var t="css/"+({}[e]||e)+"."+{"chunk-63c1eac8":"31d6cfe0","chunk-088acbde":"902ebb66","chunk-0cbcaa56":"e05858e7","chunk-26daa808":"62429343","chunk-35db73ce":"1f9c10ff","chunk-41cd4e14":"4e6d7a5a","chunk-4caed774":"ad94328f","chunk-52fcdd7c":"51e3ffbd","chunk-6ae0a0d3":"84a02b23","chunk-75426f71":"902ebb66","chunk-086a167d":"daab9de2","chunk-300db14a":"2653662c","chunk-32da4b3e":"d9ee7431","chunk-743f0316":"fb5066fb","chunk-7cdb40b2":"e7ded070","chunk-f35dfe36":"ea52b615","chunk-fc9299b8":"6760bfdb","chunk-904e5abc":"902ebb66","chunk-a3ddd952":"902ebb66","chunk-ab4d3e40":"d941d6ef","chunk-e35186f0":"902ebb66"}[e]+".css",a=h.p+t,r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var d=r[o],l=d.getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(l===t||l===a))return n()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){d=i[o],l=d.getAttribute("data-href");if(l===t||l===a)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.onerror=function(n){var t=n&&n.target&&n.target.src||a,r=new Error("Loading CSS chunk "+e+" failed.\n("+t+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=t,delete u[e],f.parentNode.removeChild(f),c(r)},f.href=a;var k=document.getElementsByTagName("head")[0];k.appendChild(f)})).then((function(){u[e]=0})));var t=a[e];if(0!==t)if(t)n.push(t[2]);else{var r=new Promise((function(n,c){t=a[e]=[n,c]}));n.push(t[2]=r);var d,l=document.createElement("script");l.charset="utf-8",l.timeout=120,h.nc&&l.setAttribute("nonce",h.nc),l.src=o(e);var i=new Error;d=function(n){l.onerror=l.onload=null,clearTimeout(f);var c=a[e];if(0!==c){if(c){var t=n&&("load"===n.type?"missing":n.type),u=n&&n.target&&n.target.src;i.message="Loading chunk "+e+" failed.\n("+t+": "+u+")",i.name="ChunkLoadError",i.type=t,i.request=u,c[1](i)}a[e]=void 0}};var f=setTimeout((function(){d({type:"timeout",target:l})}),12e4);l.onerror=l.onload=d,document.head.appendChild(l)}return Promise.all(n)},h.m=e,h.c=t,h.d=function(e,n,c){h.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},h.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.t=function(e,n){if(1&n&&(e=h(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(h.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)h.d(c,t,function(n){return e[n]}.bind(null,t));return c},h.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return h.d(n,"a",n),n},h.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},h.p="",h.oe=function(e){throw console.error(e),e};var d=window["webpackJsonp"]=window["webpackJsonp"]||[],l=d.push.bind(d);d.push=n,d=d.slice();for(var i=0;i<d.length;i++)n(d[i]);var f=l;r.push([0,"chunk-vendors"]),c()})({0:function(e,n,c){e.exports=c("56d7")},"56d7":function(e,n,c){"use strict";c.r(n);c("e260"),c("e6cf"),c("cca6"),c("a79d");var t=c("2b0e"),u=function(){var e=this,n=e.$createElement,c=e._self._c||n;return c("div",{attrs:{id:"app"}},[c("keep-alive",[e.$route.meta.keepAlive?c("router-view"):e._e()],1),e.$route.meta.keepAlive?e._e():c("router-view")],1)},a=[],r={},o=r,h=c("2877"),d=Object(h["a"])(o,u,a,!1,null,null,null),l=d.exports,i=(c("b0c0"),c("8c4f"));t["default"].use(i["a"]);var f=function(){return new i["a"]({scrollBehavior:function(){return{y:0}}})},k=f();k.beforeEach((function(e,n,c){var t=localStorage.getItem("token");"Login"===e.name||t?c():c({name:"Login"})}));var b=k,p=c("2f62");t["default"].use(p["a"]);var m=new p["a"].Store({state:{},mutations:{},actions:{},modules:{}}),s=c("5c96"),O=c.n(s),v=(c("0fae"),c("f33e"),c("159b"),c("d3b7"),c("3ca3"),c("ddb0"),[{path:"/Login",name:"Login",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-0cbcaa56")]).then(c.bind(null,"a55b"))}},{path:"/",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-4caed774")]).then(c.bind(null,"1e4b"))},children:[{path:"GOODS_LIST",name:"商品列表",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-75426f71"),c.e("chunk-fc9299b8")]).then(c.bind(null,"ca1e"))},meta:{keepAlive:!0}},{path:"ADDGOODS",name:"新建商品",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-75426f71"),c.e("chunk-743f0316")]).then(c.bind(null,"379e"))}},{path:"EDIT_GOODS",name:"修改商品规格",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-ab4d3e40")]).then(c.bind(null,"f3ed"))}},{path:"/",redirect:"GOODS_LIST"},{path:"GOODS_TYPE",name:"商品种类",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-26daa808")]).then(c.bind(null,"f6ea"))}},{path:"GOODS_BRAND",name:"商品品牌",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-35db73ce")]).then(c.bind(null,"be26"))}},{path:"GOODS_SKU_LOCATION",name:"商品货架",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-75426f71"),c.e("chunk-32da4b3e")]).then(c.bind(null,"2f3d"))}},{path:"GOODS_COMBINATION",name:"组合商品",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-75426f71"),c.e("chunk-300db14a")]).then(c.bind(null,"095d"))}},{path:"SHOP_MANAGE",name:"店铺管理",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-41cd4e14")]).then(c.bind(null,"3e63"))}},{path:"USER_MANAGE",name:"用户管理",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-75426f71"),c.e("chunk-f35dfe36")]).then(c.bind(null,"6355"))}},{path:"ROLE_MANAGE",name:"角色管理",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-a3ddd952")]).then(c.bind(null,"f982"))}},{path:"SYSTEM_LOG",name:"系统日志",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-52fcdd7c")]).then(c.bind(null,"faa7"))}},{path:"GOODS_LOG",name:"商品记录",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-6ae0a0d3")]).then(c.bind(null,"1300"))}},{path:"PLAT_ORDER_LIST",name:"订单列表",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-75426f71"),c.e("chunk-7cdb40b2")]).then(c.bind(null,"81c7"))}},{path:"PLAT_GOODS_LIST",name:"货品列表",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-75426f71"),c.e("chunk-086a167d")]).then(c.bind(null,"106d"))}},{path:"GROUP_MANAGEMENT",name:"团购管理",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-904e5abc")]).then(c.bind(null,"548e"))}},{path:"GROUP_GOODS_ADD",name:"团购商品新增",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-e35186f0")]).then(c.bind(null,"c3b4"))}},{path:"GROUP_GOODS_EDIT",name:"团购商品修改",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-088acbde")]).then(c.bind(null,"6273"))}}]}]),g=v;g.forEach((function(e){b.addRoute(e)})),t["default"].use(O.a),t["default"].config.productionTip=!1,new t["default"]({router:b,store:m,render:function(e){return e(l)}}).$mount("#app"),document.title="春分ERP-鲜花"},f33e:function(e,n,c){}});
|
|
//# sourceMappingURL=app.7135d5e1.js.map
|