workspace-1.3.10.js 6.6 KB

1
  1. (function(e){function t(t){for(var o,r,a=t[0],s=t[1],u=t[2],l=0,m=[];l<a.length;l++)r=a[l],c[r]&&m.push(c[r][0]),c[r]=0;for(o in s)Object.prototype.hasOwnProperty.call(s,o)&&(e[o]=s[o]);p&&p(t);while(m.length)m.shift()();return i.push.apply(i,u||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],o=!0,r=1;r<n.length;r++){var a=n[r];0!==c[a]&&(o=!1)}o&&(i.splice(t--,1),e=s(s.s=n[0]))}return e}var o={},r={workspace:0},c={workspace:0},i=[];function a(e){return s.p+"common-assets/js/chunk/"+e+"-1.3.10.js"}function s(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.e=function(e){var t=[],n={"async-commons":1,sODeviceList:1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="common-assets/css/chunk/"+e+"-1.3.10.css",c=s.p+o,i=document.getElementsByTagName("link"),a=0;a<i.length;a++){var u=i[a],l=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(l===o||l===c))return t()}var m=document.getElementsByTagName("style");for(a=0;a<m.length;a++){u=m[a],l=u.getAttribute("data-href");if(l===o||l===c)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=t,p.onerror=function(t){var o=t&&t.target&&t.target.src||c,i=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=o,delete r[e],p.parentNode.removeChild(p),n(i)},p.href=c;var f=document.getElementsByTagName("head")[0];f.appendChild(p)})).then((function(){r[e]=0})));var o=c[e];if(0!==o)if(o)t.push(o[2]);else{var i=new Promise((function(t,n){o=c[e]=[t,n]}));t.push(o[2]=i);var u,l=document.createElement("script");l.charset="utf-8",l.timeout=120,s.nc&&l.setAttribute("nonce",s.nc),l.src=a(e),u=function(t){l.onerror=l.onload=null,clearTimeout(m);var n=c[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src,i=new Error("Loading chunk "+e+" failed.\n("+o+": "+r+")");i.type=o,i.request=r,n[1](i)}c[e]=void 0}};var m=setTimeout((function(){u({type:"timeout",target:l})}),12e4);l.onerror=l.onload=u,document.head.appendChild(l)}return Promise.all(t)},s.m=e,s.c=o,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)s.d(n,o,function(t){return e[t]}.bind(null,o));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="/scm-app/",s.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp_direwolf"]=window["webpackJsonp_direwolf"]||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var m=0;m<u.length;m++)t(u[m]);var p=l;i.push([11,"chunk-vendors","chunk-common"]),n()})({11:function(e,t,n){e.exports=n("c6e4")},"5f72":function(e,t){e.exports=ELEMENT},"796d":function(e,t){e.exports=Qs},"8bbf":function(e,t){e.exports=Vue},c6e4:function(e,t,n){"use strict";n.r(t);n("14c6"),n("08c1"),n("4842"),n("d9fc"),n("db4d");var o=n("8bbf"),r=n.n(o),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-view")},i=[],a=n("2877"),s={},u=Object(a["a"])(s,c,i,!1,null,null,null),l=u.exports,m=n("e6a9"),p=n("5f72"),f=n.n(p);n("34c4");r.a.config.productionTip=!1,r.a.use(f.a);var d=window.getDirewolfLibrary();r.a.prototype.$$config=d.$$config,r.a.prototype.$$utils=d.$$utils,new r.a({el:"#app",router:m["a"],render:function(e){return e(l)}})},e6a9:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return u}));var o=window.VueRouter;window.Vue.use(o);var r=window.getDirewolfLibrary(),c=r.$$config,i=c.projectContext,a=c.siteName,s="/workspace",u="workspace:sODeviceGroup:",l="workspace:sODevice:",m="workspace:sOWorkspace:",p="workspace:sPRoleDevice:",f=[{path:"".concat(s,"/sODeviceGroupList"),name:"sODeviceGroupList",meta:{title:"设备分组表管理",permission:"".concat(u,"list")},component:function(){return Promise.all([n.e("async-commons"),n.e("sODeviceGroupList")]).then(n.bind(null,"5e2e"))}},{path:"".concat(s,"/sODeviceGroupForm"),name:"sODeviceGroupForm",meta:{title:"设备分组表明细",permission:"".concat(u,"add,").concat(u,"view,").concat(u,"edit")},component:function(){return Promise.all([n.e("async-commons"),n.e("sODeviceGroupForm")]).then(n.bind(null,"f38b"))}},{path:"".concat(s,"/sODeviceList"),name:"sODeviceList",meta:{title:"设备表管理",permission:"".concat(l,"list")},component:function(){return Promise.all([n.e("async-commons"),n.e("sODeviceList")]).then(n.bind(null,"810c"))}},{path:"".concat(s,"/sODeviceListForGroup"),name:"sODeviceListForGroup",meta:{title:"设备表管理",permission:"".concat(l,"list")},component:function(){return Promise.all([n.e("async-commons"),n.e("sODeviceList")]).then(n.bind(null,"ee10"))}},{path:"".concat(s,"/sODeviceForm"),name:"sODeviceForm",meta:{title:"设备表明细",permission:"".concat(l,"add,").concat(l,"view,").concat(l,"edit")},component:function(){return Promise.all([n.e("async-commons"),n.e("sODeviceForm")]).then(n.bind(null,"a988"))}},{path:"".concat(s,"/deviceRoleResource"),name:"deviceRoleResource",meta:{title:"设备角色权限列表管理"},component:function(){return Promise.all([n.e("async-commons"),n.e("sODeviceList")]).then(n.bind(null,"962d"))}},{path:"".concat(s,"/sPRoleDeviceForm"),name:"sPRoleDeviceForm",meta:{title:"角色设备关联表明细",permission:"".concat(p,"add,").concat(p,"view,").concat(p,"edit")},component:function(){return Promise.all([n.e("async-commons"),n.e("sPRoleDeviceForm")]).then(n.bind(null,"3125"))}},{path:"".concat(s,"/sOWorkspaceList"),name:"sOWorkspaceList",meta:{title:"工作空间表管理",permission:"".concat(m,"list")},component:function(){return Promise.all([n.e("async-commons"),n.e("sOWorkspaceList")]).then(n.bind(null,"0ca2"))}},{path:"".concat(s,"/sOWorkspaceForm"),name:"sOWorkspaceForm",meta:{title:"工作空间表明细",permission:"".concat(m,"add,").concat(m,"view,").concat(m,"edit")},component:function(){return Promise.all([n.e("async-commons"),n.e("sOWorkspaceForm")]).then(n.bind(null,"8755"))}}],d=new o({mode:"history",base:i,routes:f});d.beforeEach((function(e,t,n){r.$$utils.router.beforeEachRoute({to:e,from:t,next:n})})),d.afterEach((function(e){var t=e.meta.title;window.document.title=t?"".concat(t," - ").concat(a):a})),t["a"]=d}});