erp/public/dist/js/app.65f96f26.js
2023-08-22 15:26:34 +08:00

2 lines
8.1 KiB
JavaScript
Vendored

(function(){"use strict";var e={6338:function(e,n,t){var o=t(144),r=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("keep-alive",[e.$route.meta.keepAlive?t("router-view"):e._e()],1),e.$route.meta.keepAlive?e._e():t("router-view")],1)},a=[],i={},u=i,c=t(1001),l=(0,c.Z)(u,r,a,!1,null,null,null),f=l.exports,d=t(8345);o["default"].use(d.Z);const s=()=>new d.Z({scrollBehavior:()=>({y:0})}),m=s();m.beforeEach(((e,n,t)=>{const o=localStorage.getItem("token");"Login"===e.name||o?t():t({name:"Login"})}));var p=m,h=t(629);o["default"].use(h.ZP);var b=new h.ZP.Store({state:{},mutations:{},actions:{},modules:{}}),v=t(4720),O=t.n(v);const g=[{path:"/Login",name:"Login",component:()=>Promise.all([t.e(669),t.e(629)]).then(t.bind(t,1603))},{path:"/",component:()=>Promise.all([t.e(669),t.e(509)]).then(t.bind(t,8509)),children:[{path:"GOODS_LIST",name:"商品列表",component:()=>Promise.all([t.e(669),t.e(389),t.e(802)]).then(t.bind(t,4216)),meta:{keepAlive:!0}},{path:"ADDGOODS",name:"新建商品",component:()=>Promise.all([t.e(669),t.e(469)]).then(t.bind(t,469))},{path:"EDIT_GOODS",name:"修改商品规格",component:()=>Promise.all([t.e(669),t.e(960)]).then(t.bind(t,8960))},{path:"/",redirect:"GOODS_LIST"},{path:"GOODS_TYPE",name:"商品种类",component:()=>Promise.all([t.e(669),t.e(438)]).then(t.bind(t,5438))},{path:"GOODS_BRAND",name:"商品品牌",component:()=>Promise.all([t.e(669),t.e(727)]).then(t.bind(t,9727))},{path:"GOODS_SKU_LOCATION",name:"商品货架",component:()=>Promise.all([t.e(669),t.e(877)]).then(t.bind(t,877))},{path:"GOODS_COMBINATION",name:"组合商品",component:()=>Promise.all([t.e(669),t.e(389),t.e(148)]).then(t.bind(t,235))},{path:"SHOP_MANAGE",name:"店铺管理",component:()=>Promise.all([t.e(669),t.e(395)]).then(t.bind(t,1395))},{path:"USER_MANAGE",name:"用户管理",component:()=>Promise.all([t.e(669),t.e(407)]).then(t.bind(t,5407))},{path:"ROLE_MANAGE",name:"角色管理",component:()=>Promise.all([t.e(669),t.e(712)]).then(t.bind(t,8712))},{path:"SYSTEM_LOG",name:"系统日志",component:()=>Promise.all([t.e(669),t.e(682)]).then(t.bind(t,7682))},{path:"GOODS_LOG",name:"商品记录",component:()=>Promise.all([t.e(669),t.e(731)]).then(t.bind(t,6731))},{path:"PLAT_ORDER_LIST",name:"订单列表",component:()=>Promise.all([t.e(669),t.e(713)]).then(t.bind(t,713))},{path:"PLAT_GOODS_LIST",name:"货品列表",component:()=>Promise.all([t.e(669),t.e(538)]).then(t.bind(t,5538))},{path:"GROUP_MANAGEMENT",name:"团购管理",component:()=>Promise.all([t.e(669),t.e(393)]).then(t.bind(t,8393))},{path:"GROUP_GOODS_ADD",name:"团购商品新增",component:()=>Promise.all([t.e(669),t.e(862)]).then(t.bind(t,4862))},{path:"GROUP_GOODS_EDIT",name:"团购商品修改",component:()=>Promise.all([t.e(669),t.e(551)]).then(t.bind(t,5551))},{path:"FACE_SHEET",name:"电子面单",component:()=>Promise.all([t.e(669),t.e(107)]).then(t.bind(t,5107))}]}];var P=g;P.forEach((e=>{p.addRoute(e)})),o["default"].use(O()),o["default"].config.productionTip=!1,new o["default"]({router:p,store:b,render:e=>e(f)}).$mount("#app"),document.title="春分ERP-鲜花"}},n={};function t(o){var r=n[o];if(void 0!==r)return r.exports;var a=n[o]={exports:{}};return e[o].call(a.exports,a,a.exports,t),a.exports}t.m=e,function(){var e=[];t.O=function(n,o,r,a){if(!o){var i=1/0;for(f=0;f<e.length;f++){o=e[f][0],r=e[f][1],a=e[f][2];for(var u=!0,c=0;c<o.length;c++)(!1&a||i>=a)&&Object.keys(t.O).every((function(e){return t.O[e](o[c])}))?o.splice(c--,1):(u=!1,a<i&&(i=a));if(u){e.splice(f--,1);var l=r();void 0!==l&&(n=l)}}return n}a=a||0;for(var f=e.length;f>0&&e[f-1][2]>a;f--)e[f]=e[f-1];e[f]=[o,r,a]}}(),function(){t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,{a:n}),n}}(),function(){t.d=function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})}}(),function(){t.f={},t.e=function(e){return Promise.all(Object.keys(t.f).reduce((function(n,o){return t.f[o](e,n),n}),[]))}}(),function(){t.u=function(e){return"js/"+e+"."+{107:"4ae2ec64",148:"6d03247e",389:"d4943945",393:"9a618e5b",395:"7a8d3285",407:"53ce5d26",438:"bd62a6b3",469:"a8113ca2",509:"4d4b16e9",538:"e1e25641",551:"b013f0db",629:"a081f7d7",669:"a06371cb",682:"601caf2a",712:"93ae2c1f",713:"c871bdb4",727:"03c00a35",731:"3313dd93",802:"831fe3ac",862:"462049e7",877:"5d7d7376",960:"3aaf041b"}[e]+".js"}}(),function(){t.miniCssF=function(e){return"css/"+e+"."+{107:"748b0f73",148:"32fc9cb6",393:"5c0a41ae",395:"103fb355",407:"6e3fdab5",438:"c2fac020",469:"e2c3eff0",509:"ff505d60",538:"c437d427",551:"5c0a41ae",629:"e29dc41d",682:"aa1db5a0",712:"5c0a41ae",713:"67b23896",727:"c4284d71",731:"97f84af6",802:"581510f4",862:"5c0a41ae",877:"e6e4e404",960:"70613752"}[e]+".css"}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){var e={},n="erp:";t.l=function(o,r,a,i){if(e[o])e[o].push(r);else{var u,c;if(void 0!==a)for(var l=document.getElementsByTagName("script"),f=0;f<l.length;f++){var d=l[f];if(d.getAttribute("src")==o||d.getAttribute("data-webpack")==n+a){u=d;break}}u||(c=!0,u=document.createElement("script"),u.charset="utf-8",u.timeout=120,t.nc&&u.setAttribute("nonce",t.nc),u.setAttribute("data-webpack",n+a),u.src=o),e[o]=[r];var s=function(n,t){u.onerror=u.onload=null,clearTimeout(m);var r=e[o];if(delete e[o],u.parentNode&&u.parentNode.removeChild(u),r&&r.forEach((function(e){return e(t)})),n)return n(t)},m=setTimeout(s.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=s.bind(null,u.onerror),u.onload=s.bind(null,u.onload),c&&document.head.appendChild(u)}}}(),function(){t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){t.p=""}(),function(){if("undefined"!==typeof document){var e=function(e,n,t,o,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css";var i=function(t){if(a.onerror=a.onload=null,"load"===t.type)o();else{var i=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.href||n,c=new Error("Loading CSS chunk "+e+" failed.\n("+u+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=i,c.request=u,a.parentNode&&a.parentNode.removeChild(a),r(c)}};return a.onerror=a.onload=i,a.href=n,t?t.parentNode.insertBefore(a,t.nextSibling):document.head.appendChild(a),a},n=function(e,n){for(var t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var r=t[o],a=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(a===e||a===n))return r}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){r=i[o],a=r.getAttribute("data-href");if(a===e||a===n)return r}},o=function(o){return new Promise((function(r,a){var i=t.miniCssF(o),u=t.p+i;if(n(i,u))return r();e(o,u,null,r,a)}))},r={143:0};t.f.miniCss=function(e,n){var t={107:1,148:1,393:1,395:1,407:1,438:1,469:1,509:1,538:1,551:1,629:1,682:1,712:1,713:1,727:1,731:1,802:1,862:1,877:1,960:1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=o(e).then((function(){r[e]=0}),(function(n){throw delete r[e],n})))}}}(),function(){var e={143:0};t.f.j=function(n,o){var r=t.o(e,n)?e[n]:void 0;if(0!==r)if(r)o.push(r[2]);else{var a=new Promise((function(t,o){r=e[n]=[t,o]}));o.push(r[2]=a);var i=t.p+t.u(n),u=new Error,c=function(o){if(t.o(e,n)&&(r=e[n],0!==r&&(e[n]=void 0),r)){var a=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;u.message="Loading chunk "+n+" failed.\n("+a+": "+i+")",u.name="ChunkLoadError",u.type=a,u.request=i,r[1](u)}};t.l(i,c,"chunk-"+n,n)}},t.O.j=function(n){return 0===e[n]};var n=function(n,o){var r,a,i=o[0],u=o[1],c=o[2],l=0;if(i.some((function(n){return 0!==e[n]}))){for(r in u)t.o(u,r)&&(t.m[r]=u[r]);if(c)var f=c(t)}for(n&&n(o);l<i.length;l++)a=i[l],t.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return t.O(f)},o=self["webpackChunkerp"]=self["webpackChunkerp"]||[];o.forEach(n.bind(null,0)),o.push=n.bind(null,o.push.bind(o))}();var o=t.O(void 0,[998],(function(){return t(6338)}));o=t.O(o)})();
//# sourceMappingURL=app.65f96f26.js.map