app.c0dcce25.js 10 KB

12
  1. (function(e){function n(n){for(var r,a,i=n[0],u=n[1],l=n[2],d=0,s=[];d<i.length;d++)a=i[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);f&&f(n);while(s.length)s.shift()();return c.push.apply(c,l||[]),t()}function t(){for(var e,n=0;n<c.length;n++){for(var t=c[n],r=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(r=!1)}r&&(c.splice(n--,1),e=u(u.s=t[0]))}return e}var r={},a={app:0},o={app:0},c=[];function i(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-6c3504c9":"e958bd31","chunk-772e7c6b":"2c0b3abb","chunk-1f33f950":"0eba429d","chunk-35c1f81b":"291a0635","chunk-53b0bfab":"5723f441","chunk-5b229b64":"c5c99804","chunk-5d83e355":"029f39d7","chunk-6fee6035":"95c40b2c","chunk-8a4055da":"22479390","chunk-b835c6d2":"c3540340","chunk-cbc61eec":"5115cfc0","chunk-d37fbe50":"fe376e8d","chunk-ea93c3a4":"a79564d7"}[e]+".js"}function u(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.e=function(e){var n=[],t={"chunk-6c3504c9":1,"chunk-1f33f950":1,"chunk-35c1f81b":1,"chunk-53b0bfab":1,"chunk-5b229b64":1,"chunk-5d83e355":1,"chunk-6fee6035":1,"chunk-8a4055da":1,"chunk-b835c6d2":1,"chunk-cbc61eec":1,"chunk-d37fbe50":1,"chunk-ea93c3a4":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-6c3504c9":"d936d60c","chunk-772e7c6b":"31d6cfe0","chunk-1f33f950":"032c2500","chunk-35c1f81b":"f92d7ab0","chunk-53b0bfab":"90ccbe7b","chunk-5b229b64":"9b2fe91c","chunk-5d83e355":"155ec79c","chunk-6fee6035":"34e9c162","chunk-8a4055da":"7013ad3e","chunk-b835c6d2":"0ab49ea7","chunk-cbc61eec":"997baa4a","chunk-d37fbe50":"5146a280","chunk-ea93c3a4":"0a1ade13"}[e]+".css",o=u.p+r,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var l=c[i],d=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(d===r||d===o))return n()}var s=document.getElementsByTagName("style");for(i=0;i<s.length;i++){l=s[i],d=l.getAttribute("data-href");if(d===r||d===o)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.onerror=function(n){var r=n&&n.target&&n.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=r,delete a[e],f.parentNode.removeChild(f),t(c)},f.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(f)})).then((function(){a[e]=0})));var r=o[e];if(0!==r)if(r)n.push(r[2]);else{var c=new Promise((function(n,t){r=o[e]=[n,t]}));n.push(r[2]=c);var l,d=document.createElement("script");d.charset="utf-8",d.timeout=120,u.nc&&d.setAttribute("nonce",u.nc),d.src=i(e);var s=new Error;l=function(n){d.onerror=d.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",s.name="ChunkLoadError",s.type=r,s.request=a,t[1](s)}o[e]=void 0}};var f=setTimeout((function(){l({type:"timeout",target:d})}),12e4);d.onerror=d.onload=l,document.head.appendChild(d)}return Promise.all(n)},u.m=e,u.c=r,u.d=function(e,n,t){u.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},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,n){if(1&n&&(e=u(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)u.d(t,r,function(n){return e[n]}.bind(null,r));return t},u.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(n,"a",n),n},u.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},u.p="/",u.oe=function(e){throw console.error(e),e};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],d=l.push.bind(l);l.push=n,l=l.slice();for(var s=0;s<l.length;s++)n(l[s]);var f=d;c.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"034f":function(e,n,t){"use strict";t("ee52")},"56d7":function(e,n,t){"use strict";t.r(n);t("6a04"),t("371b"),t("1fa9"),t("2419");var r=t("a593"),a=(t("845c"),t("f753")),o=t.n(a),c={},i=o.a.create(c);i.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),i.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)})),Plugin.install=function(e,n){e.axios=i,window.axios=i,Object.defineProperties(e.prototype,{axios:{get:function(){return i}},$axios:{get:function(){return i}}})},r["default"].use(Plugin);Plugin;var u=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},l=[],d=(t("034f"),t("c701")),s={},f=Object(d["a"])(s,u,l,!1,null,null,null),h=f.exports,p=t("a81e"),m=t("38bc"),b=t.n(m);t("70e7");r["default"].use(p["a"]);var g=[{path:"/",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-35c1f81b")]).then(t.bind(null,"d504"))},children:[{path:"/",name:"Main",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-5d83e355")]).then(t.bind(null,"cd56"))},meta:{title:"首页",clmid:"1"}}]},{path:"/iframe",name:"iframe",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-b835c6d2")]).then(t.bind(null,"02d1"))},children:[{path:"/runtime",name:"runtime",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-ea93c3a4")]).then(t.bind(null,"7973"))},meta:{title:"实时监控",clmid:"2"}},{path:"/warning",name:"warning",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-8a4055da")]).then(t.bind(null,"cda9"))},meta:{title:"报警记录",clmid:"3"}},{path:"/warningDetail",name:"warningDetail",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-1f33f950")]).then(t.bind(null,"b112"))},meta:{title:"报警详情",clmid:"3"}},{path:"/white",name:"white",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-6fee6035")]).then(t.bind(null,"3dfe"))},meta:{title:"白名单",clmid:"4"}},{path:"/equip",name:"Equip",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-53b0bfab")]).then(t.bind(null,"9bf1"))},meta:{title:"防护盾",clmid:"5"}},{path:"/netDevice",name:"netDevice",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-5b229b64")]).then(t.bind(null,"4359"))},meta:{title:"网络设备",clmid:"6"}},{path:"/charts",name:"charts",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-cbc61eec")]).then(t.bind(null,"2d76"))},meta:{title:"图表统计",clmid:"7"}}]},{path:"/login",name:"Login",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-d37fbe50")]).then(t.bind(null,"a55b"))}},{path:"*",name:"404",component:function(){return t.e("chunk-6c3504c9").then(t.bind(null,"8cdb"))}}],k=p["a"].prototype.push;p["a"].prototype.push=function(e){return k.call(this,e).catch((function(e){return e}))};var v=new p["a"]({mode:"history",base:"/",routes:g});v.beforeEach((function(e,n,t){b.a.start();var r=!!localStorage.token;"/login"==e.path||"/register"==e.path||r?t():t("/login")})),v.afterEach((function(){b.a.done()}));var y=v,w=t("9f3a");r["default"].use(w["a"]);var P=new w["a"].Store({state:{userLevel:0},mutations:{setUserLevel:function(e){console.log(e)}},actions:{},modules:{}}),C=t("e1fd"),T=t.n(C),x=(t("f56d"),t("7d2c")),S=t.n(x);r["default"].config.productionTip=!1,r["default"].use(S.a),r["default"].use(T.a),t("cbb7"),new r["default"]({router:y,store:P,render:function(e){return e(h)}}).$mount("#app")},cbb7:function(e,n,t){"use strict";t.r(n);var r=t("03a1"),a=t.n(r),o=(a.a.Random,function(){for(var e=[],n=0;n<30;n++)e.push({id:"@guid",name:"@region",Confirmed:"@integer(36844, 368449)",Deaths:"@integer(1099, 10993)",Recovered:"@integer(1986, 19865)"});var t={Rs:e,Code:0,Memo:""};return t}),c=function(){for(var e=[],n=[{id:1,name:"霍元甲",userCode:"15253135600",vipType:1},{id:2,name:"陈真",userCode:"15253135602",vipType:2},{id:3,name:"成龙",userCode:"15253135604",vipType:1}],t=0;t<6;t++)e.push({id:"@guid",userCode:"@integer(15253135600, 15253135699)",name:"@region",tel:"@integer(15253135600, 15253135699)",phone:"@integer(15253135600, 15253135699)",shop:"@region",create:"@datetime",expTime:"@datetime",valid:"@datetime",Confirmed:"@integer(36844, 368449)",Deaths:"@integer(1099, 10993)",Recovered:"@integer(1986, 9999)",kick:"@integer(1986, 9999)",Status:"@integer(1, 2)",color:"@hex",memo:"@paragraph(1, 1)",dialogValue:"@range(1, 3)",vipType:"@integer(1, 2)",members:n,wxVisible:"@integer(0, 1)",timeLong:"12:00-14:00",timeScope:[new Date(2016,9,10,8,40),new Date(2016,9,10,9,40)]});var r={Rs:e,Code:0,Memo:""};return r},i=function(){for(var e=[],n=[{id:1,name:"霍元甲",userCode:"15253135600",vipType:1},{id:2,name:"陈真",userCode:"15253135602",vipType:2},{id:3,name:"成龙",userCode:"15253135604",vipType:1}],t=0;t<70;t++)e.push({id:"@guid",userCode:"@integer(15253135600, 15253135699)",name:"@region",tel:"@integer(15253135600, 15253135699)",shop:"@region",create:"@datetime",expTime:"@datetime",valid:"@datetime",Confirmed:"@integer(36844, 368449)",Deaths:"@integer(1099, 10993)",Recovered:"@integer(1986, 9999)",kick:"@integer(1986, 9999)",Status:"@integer(1, 2)",color:"@hex",memo:"@paragraph(1, 1)",dialogValue:"@range(1, 3)",vipType:"@integer(1, 2)",members:n,wxVisible:"@integer(0, 1)",timeLong:"12:00-14:00",timeScope:[new Date(2016,9,10,8,40),new Date(2016,9,10,9,40)]});var r={Rs:e,Code:0,Memo:""};return r},u=function(){for(var e=[],n=0;n<30;n++)e.push({key:n+1,value:n+1,label:"@region"});var t={Rs:e,Code:0,Memo:""};return t},l=function(){var e={token:"@guid"},n={Rs:e,Code:0,Memo:"登陆成功"};return n},d=function(){var e={Code:0,Memo:"修改成功"};return e},s=function(){var e={Code:0,Memo:"修改成功"};return e},f=function(){var e={Code:0,Memo:"退出成功"};return e};a.a.mock("/api/testSelect","post",u()),a.a.mock("/api/testTable","post",c()),a.a.mock("/api/testTableLong","post",i()),a.a.mock("/api/worldDetail","post",o()),a.a.mock("/api/SignIn","post",l()),a.a.mock("/api/editbasicinfo","post",d()),a.a.mock("/api/modPwd","post",s()),a.a.mock("/api/logout","post",f()),n["default"]=a.a},ee52:function(e,n,t){}});
  2. //# sourceMappingURL=app.c0dcce25.js.map