app.01dbe13b.js 8.0 KB

12
  1. (function(){"use strict";var e={9021:function(e,t,n){var o=n(6369),a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},i=[],r={data(){return{}}},u=r,c=n(1001),s=(0,c.Z)(u,a,i,!1,null,null,null),l=s.exports,f=n(1120),d=n(4239),m=n(4376),h=n.n(m),p=n(3502),b=n(9394),v=n.n(b);o["default"].prototype.$md5=v(),o["default"].use(p.Z,{directiveName:"skeleton",rows:10,radius:3}),o["default"].use(h()),o["default"].config.productionTip=!1,new o["default"]({router:f.Z,store:d.Z,render:e=>e(l)}).$mount("#app")},1120:function(e,t,n){var o=n(6369),a=n(2631),i=n(4239);o["default"].use(a.ZP);const r=[{path:"/",name:"login",meta:{title:"冷链验证报告管理系统线上版本"},component:()=>Promise.all([n.e(784),n.e(292)]).then(n.bind(n,6292))},{path:"/index",name:"index",meta:{title:"首页"},component:()=>n.e(177).then(n.bind(n,177)),children:[{path:"/home",name:"home",icons:"tubiao-",component:()=>n.e(355).then(n.bind(n,355)),meta:{title:"工作首页",authority:0}},{path:"/CompanyAccount",name:"CompanyAccount",icons:"gongsixinxi",component:()=>Promise.all([n.e(784),n.e(834),n.e(516)]).then(n.bind(n,7731)),meta:{title:"任务管理",authority:2}},{path:"/ManagingUsers",name:"ManagingUsers",icons:"icon-",component:()=>Promise.all([n.e(784),n.e(327)]).then(n.bind(n,7327)),meta:{title:"管理用户",authority:1}},{path:"/companyManagement",name:"companyManagement",icons:"fuwugongsi",component:()=>Promise.all([n.e(784),n.e(834),n.e(925)]).then(n.bind(n,652)),meta:{title:"公司管理",authority:1}},{path:"/ValidationTemplate",name:"ValidationTemplate",icons:"icon_renwumobanguanli",component:()=>Promise.all([n.e(784),n.e(119),n.e(756)]).then(n.bind(n,3251)),meta:{title:"验证模板管理",authority:1}},{path:"/calibrationCertificate",name:"calibrationCertificate",icons:"duqumoban",component:()=>Promise.all([n.e(784),n.e(834),n.e(119),n.e(246)]).then(n.bind(n,52)),meta:{title:"校准证书管理",authority:1}}]},{path:"*",component:()=>n.e(564).then(n.bind(n,564))}],u=new a.ZP({mode:"hash",base:"/",routes:r});u.beforeEach(((e,t,n)=>{e.meta.title?document.title=e.meta.title:document.title="宝智达-冷链验证",i.Z.state.userInfo.token||"/"===e.path?n():n("/"),"login"==e.name&&(i.Z.state.tabList=[{title:"工作首页",path:"/home",name:"home"}],i.Z.commit("setuserInfo",{username:i.Z.state.userInfo.username,password:i.Z.state.userInfo.password,token:"",value:"2"}),i.Z.state.includeTabs=[]),-1!=e.name&&"login"!=e.name&&i.Z.commit("addTab",{title:e.meta.title,path:e.path,name:e.name})})),t["Z"]=u},4239:function(e,t,n){n(7658);var o=n(6369),a=n(2025),i=n(3771);o["default"].use(a.ZP),t["Z"]=new a.ZP.Store({plugins:[(0,i.Z)({key:"stort",paths:["userInfo","tabList","includeTabs"]})],state:{userInfo:{username:"",password:"",token:"",value:""},tabList:[{title:"工作首页",path:"/home",name:"home"}],includeTabs:[]},mutations:{setuserInfo(e,t){e.userInfo=t},addTab:(e,t)=>{var n=e.tabList.some((e=>e.path===t.path));!1===n&&(e.tabList.push(t),e.includeTabs.push(t.name))},addinclude:(e,t)=>{var n=t.replace("/","");e.includeTabs.forEach((function(t,o){t===n&&e.includeTabs.splice(o,1)}))},delTab:(e,t)=>{e.tabList.forEach((function(n,o){n.path===t&&e.tabList.splice(o,1)}))}},getters:{getTabs:e=>e.tabList.length},actions:{},modules:{}})}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var i=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,function(){n.amdO={}}(),function(){var e=[];n.O=function(t,o,a,i){if(!o){var r=1/0;for(l=0;l<e.length;l++){o=e[l][0],a=e[l][1],i=e[l][2];for(var u=!0,c=0;c<o.length;c++)(!1&i||r>=i)&&Object.keys(n.O).every((function(e){return n.O[e](o[c])}))?o.splice(c--,1):(u=!1,i<r&&(r=i));if(u){e.splice(l--,1);var s=a();void 0!==s&&(t=s)}}return t}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[o,a,i]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,o){return n.f[o](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{119:"46dad8f2",177:"4daefa7f",246:"37a5feb4",292:"8779fb13",327:"1649691e",355:"1b97f6e6",516:"af6eac3a",564:"6af0e5a6",756:"2465e90f",784:"4e110969",834:"f6671095",925:"5812a284"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{177:"693fd974",246:"3ca69934",292:"c5fa6e42",327:"7177d1a3",516:"52af3ce7",756:"4e1fcf69",925:"24e9c29f"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="baozhida-chain-verify-online:";n.l=function(o,a,i,r){if(e[o])e[o].push(a);else{var u,c;if(void 0!==i)for(var s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var f=s[l];if(f.getAttribute("src")==o||f.getAttribute("data-webpack")==t+i){u=f;break}}u||(c=!0,u=document.createElement("script"),u.charset="utf-8",u.timeout=120,n.nc&&u.setAttribute("nonce",n.nc),u.setAttribute("data-webpack",t+i),u.src=o),e[o]=[a];var d=function(t,n){u.onerror=u.onload=null,clearTimeout(m);var a=e[o];if(delete e[o],u.parentNode&&u.parentNode.removeChild(u),a&&a.forEach((function(e){return e(n)})),t)return t(n)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=d.bind(null,u.onerror),u.onload=d.bind(null,u.onload),c&&document.head.appendChild(u)}}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){n.p="/"}(),function(){if("undefined"!==typeof document){var e=function(e,t,n,o,a){var i=document.createElement("link");i.rel="stylesheet",i.type="text/css";var r=function(n){if(i.onerror=i.onload=null,"load"===n.type)o();else{var r=n&&("load"===n.type?"missing":n.type),u=n&&n.target&&n.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+u+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=r,c.request=u,i.parentNode.removeChild(i),a(c)}};return i.onerror=i.onload=r,i.href=t,n?n.parentNode.insertBefore(i,n.nextSibling):document.head.appendChild(i),i},t=function(e,t){for(var n=document.getElementsByTagName("link"),o=0;o<n.length;o++){var a=n[o],i=a.getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(i===e||i===t))return a}var r=document.getElementsByTagName("style");for(o=0;o<r.length;o++){a=r[o],i=a.getAttribute("data-href");if(i===e||i===t)return a}},o=function(o){return new Promise((function(a,i){var r=n.miniCssF(o),u=n.p+r;if(t(r,u))return a();e(o,u,null,a,i)}))},a={143:0};n.f.miniCss=function(e,t){var n={177:1,246:1,292:1,327:1,516:1,756:1,925:1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=o(e).then((function(){a[e]=0}),(function(t){throw delete a[e],t})))}}}(),function(){var e={143:0};n.f.j=function(t,o){var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)o.push(a[2]);else{var i=new Promise((function(n,o){a=e[t]=[n,o]}));o.push(a[2]=i);var r=n.p+n.u(t),u=new Error,c=function(o){if(n.o(e,t)&&(a=e[t],0!==a&&(e[t]=void 0),a)){var i=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;u.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",u.name="ChunkLoadError",u.type=i,u.request=r,a[1](u)}};n.l(r,c,"chunk-"+t,t)}},n.O.j=function(t){return 0===e[t]};var t=function(t,o){var a,i,r=o[0],u=o[1],c=o[2],s=0;if(r.some((function(t){return 0!==e[t]}))){for(a in u)n.o(u,a)&&(n.m[a]=u[a]);if(c)var l=c(n)}for(t&&t(o);s<r.length;s++)i=r[s],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(l)},o=self["webpackChunkbaozhida_chain_verify_online"]=self["webpackChunkbaozhida_chain_verify_online"]||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var o=n.O(void 0,[998],(function(){return n(9021)}));o=n.O(o)})();
  2. //# sourceMappingURL=app.01dbe13b.js.map