app.907abaaf.js 8.1 KB

1
  1. (function(e){function t(t){for(var a,r,i=t[0],u=t[1],s=t[2],l=0,f=[];l<i.length;l++)r=i[l],Object.prototype.hasOwnProperty.call(c,r)&&c[r]&&f.push(c[r][0]),c[r]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);d&&d(t);while(f.length)f.shift()();return o.push.apply(o,s||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,r=1;r<n.length;r++){var i=n[r];0!==c[i]&&(a=!1)}a&&(o.splice(t--,1),e=u(u.s=n[0]))}return e}var a={},r={app:0},c={app:0},o=[];function i(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-64c94c62":"44909d5a","chunk-003812ff":"6104e712","chunk-047ab5eb":"4c14420d","chunk-2b73ac80":"931ebaf6","chunk-479de70e":"b03838d3","chunk-4fc1b5b2":"a1a3f2ae","chunk-5dbafdfc":"08d9722a","chunk-67e702a6":"33068bb0","chunk-753a6dee":"f3b054ea","chunk-96caa844":"a277d295","chunk-dc891a6c":"dfa79663","chunk-fa9a3352":"a9913628"}[e]+".js"}function u(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(e){var t=[],n={"chunk-047ab5eb":1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-64c94c62":"31d6cfe0","chunk-003812ff":"31d6cfe0","chunk-047ab5eb":"d2450608","chunk-2b73ac80":"31d6cfe0","chunk-479de70e":"31d6cfe0","chunk-4fc1b5b2":"31d6cfe0","chunk-5dbafdfc":"31d6cfe0","chunk-67e702a6":"31d6cfe0","chunk-753a6dee":"31d6cfe0","chunk-96caa844":"31d6cfe0","chunk-dc891a6c":"31d6cfe0","chunk-fa9a3352":"31d6cfe0"}[e]+".css",c=u.p+a,o=document.getElementsByTagName("link"),i=0;i<o.length;i++){var s=o[i],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===a||l===c))return t()}var f=document.getElementsByTagName("style");for(i=0;i<f.length;i++){s=f[i],l=s.getAttribute("data-href");if(l===a||l===c)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var a=t&&t.target&&t.target.src||c,o=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=a,delete r[e],d.parentNode.removeChild(d),n(o)},d.href=c;var h=document.getElementsByTagName("head")[0];h.appendChild(d)})).then((function(){r[e]=0})));var a=c[e];if(0!==a)if(a)t.push(a[2]);else{var o=new Promise((function(t,n){a=c[e]=[t,n]}));t.push(a[2]=o);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,u.nc&&l.setAttribute("nonce",u.nc),l.src=i(e);var f=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(d);var n=c[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",f.name="ChunkLoadError",f.type=a,f.request=r,n[1](f)}c[e]=void 0}};var d=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},u.m=e,u.c=a,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)u.d(n,a,function(t){return e[t]}.bind(null,a));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="",u.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var f=0;f<s.length;f++)t(s[f]);var d=l;o.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"34c4":function(e,t,n){},"458f":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("db4d");var a=n("2b0e"),r=n("a18c"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sam-body"},[e.showNav?n("div",{staticClass:"nav-header"},[n("div",{attrs:{id:"nav"}},[n("el-menu",{attrs:{mode:"horizontal","default-active":e.$route.path,router:!0}},e._l(e.navs,(function(t){return n("el-menu-item",{key:t.index,attrs:{index:t.index}},[e._v(" "+e._s(t.title)+" ")])})),1)],1)]):e._e(),n("div",{staticClass:"page-container",style:{marginTop:e.showNav?"80px":0,width:e.showNav?"1140px":"100%"}},[n("router-view")],1)])},o=[],i={data:function(){return{navs:[{index:"/overview",title:"总览"},{index:"/saSystemList",title:"系统"},{index:"/saServiceList",title:"服务"},{index:"/saConfigList",title:"配置"},{index:"/saLogList",title:"日志"},{index:"/saResultList",title:"结果"}]}},computed:{showNav:function(){return!this.$$config.defaultTheme&&window===top}},beforeMount:function(){var e="props-key";sessionStorage.setItem(e,JSON.stringify({namespace:"rmc",system:"rmc"}));var t=JSON.parse(sessionStorage.getItem(e)||"{}"),n=t.namespace,a=t.system;n&&a&&(this.$store.setNamespace(n),this.$store.setSystem(a))}},u=i,s=(n("5c0b"),n("2877")),l=Object(s["a"])(u,c,o,!1,null,null,null),f=l.exports,d=n("5c96"),h=(n("34c4"),{state:{namespace:"",system:"",isDev:!1},setNamespace:function(e){this.state.namespace=e},setSystem:function(e){this.state.system=e},setENV:function(e){this.state.isDev="development"===e}});a["default"].use(d),a["default"].prototype.$store=h,new a["default"]({el:"#app",router:r["a"],render:function(e){return e(f)}})},"5c0b":function(e,t,n){"use strict";n("458f")},a18c:function(e,t,n){"use strict";n.d(t,"b",(function(){return u}));n("d3b7"),n("3ca3"),n("ddb0"),n("99af");var a=n("2b0e"),r=n("8c4f");a["default"].use(r["a"]),a["default"].prototype.$$config=new ProjectConfig;var c=a["default"].prototype.$$config,o=c.projectContext,i=c.siteName,u=o?"/service-ability-monitor":"",s=[{path:"/saSystemList",name:"saSystemList",meta:{title:"可用性系统管理"},component:function(){return Promise.all([n.e("chunk-64c94c62"),n.e("chunk-2b73ac80")]).then(n.bind(null,"b61e"))}},{path:"/overview",name:"overview",meta:{title:"可用性总览"},component:function(){return Promise.all([n.e("chunk-64c94c62"),n.e("chunk-047ab5eb")]).then(n.bind(null,"2226"))}},{path:"/saSystemForm",name:"saSystemForm",meta:{title:"可用性系统明细"},component:function(){return Promise.all([n.e("chunk-64c94c62"),n.e("chunk-67e702a6")]).then(n.bind(null,"b373"))}},{path:"/saServiceList",name:"saServiceList",meta:{title:"可用性服务管理"},component:function(){return Promise.all([n.e("chunk-64c94c62"),n.e("chunk-4fc1b5b2")]).then(n.bind(null,"368a"))}},{path:"/saServiceForm",name:"saServiceForm",meta:{title:"可用性服务明细"},component:function(){return Promise.all([n.e("chunk-64c94c62"),n.e("chunk-003812ff")]).then(n.bind(null,"e9fc"))}},{path:"/saConfigList",name:"saConfigList",meta:{title:"检测配置管理"},component:function(){return Promise.all([n.e("chunk-64c94c62"),n.e("chunk-479de70e")]).then(n.bind(null,"39a8"))}},{path:"/saConfigForm",name:"saConfigForm",meta:{title:"检测配置明细"},component:function(){return Promise.all([n.e("chunk-64c94c62"),n.e("chunk-dc891a6c")]).then(n.bind(null,"66fd"))}},{path:"/saLogList",name:"saLogList",meta:{title:"检测日志管理"},component:function(){return Promise.all([n.e("chunk-64c94c62"),n.e("chunk-753a6dee")]).then(n.bind(null,"9a51"))}},{path:"/saLogForm",name:"saLogForm",meta:{title:"检测日志明细"},component:function(){return Promise.all([n.e("chunk-64c94c62"),n.e("chunk-fa9a3352")]).then(n.bind(null,"a40e"))}},{path:"/saResultList",name:"saResultList",meta:{title:"检测结果管理"},component:function(){return Promise.all([n.e("chunk-64c94c62"),n.e("chunk-5dbafdfc")]).then(n.bind(null,"a313"))}},{path:"/saResultForm",name:"saResultForm",meta:{title:"检测结果明细"},component:function(){return Promise.all([n.e("chunk-64c94c62"),n.e("chunk-96caa844")]).then(n.bind(null,"eae3"))}}],l=new r["a"]({mode:"history",base:o?"".concat(o,"/service-ability-monitor"):"",routes:s});l.afterEach((function(e){var t=e.meta.title;window.document.title=t?"".concat(t," - ").concat(i):i})),t["a"]=l}});