app.abe3448d.js 10 KB

12
  1. (function(e){function n(n){for(var r,o,i=n[0],u=n[1],l=n[2],d=0,s=[];d<i.length;d++)o=i[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);h&&h(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,o=1;o<t.length;o++){var i=t[o];0!==a[i]&&(r=!1)}r&&(c.splice(n--,1),e=u(u.s=t[0]))}return e}var r={},o={app:0},a={app:0},c=[];function i(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-6c3504c9":"e958bd31","chunk-772e7c6b":"2c0b3abb","chunk-25c7a0d8":"84a4f0ed","chunk-264d9b28":"27659f20","chunk-342105da":"b295e234","chunk-53b0bfab":"5723f441","chunk-57401dce":"81f93ef5","chunk-5d83e355":"029f39d7","chunk-7608a323":"ae1fbd26","chunk-7804adf2":"3c65e5c7","chunk-7b091ec6":"97c7e2ed","chunk-7b158990":"2cfbe6e9","chunk-cbc61eec":"5115cfc0"}[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-25c7a0d8":1,"chunk-264d9b28":1,"chunk-342105da":1,"chunk-53b0bfab":1,"chunk-57401dce":1,"chunk-5d83e355":1,"chunk-7608a323":1,"chunk-7804adf2":1,"chunk-7b091ec6":1,"chunk-7b158990":1,"chunk-cbc61eec":1};o[e]?n.push(o[e]):0!==o[e]&&t[e]&&n.push(o[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-6c3504c9":"d936d60c","chunk-772e7c6b":"31d6cfe0","chunk-25c7a0d8":"22b0a619","chunk-264d9b28":"3ad82969","chunk-342105da":"c7801bbf","chunk-53b0bfab":"90ccbe7b","chunk-57401dce":"e8d785c6","chunk-5d83e355":"155ec79c","chunk-7608a323":"2f1c14c3","chunk-7804adf2":"883d1e35","chunk-7b091ec6":"7a456a3f","chunk-7b158990":"cfd78f1f","chunk-cbc61eec":"997baa4a"}[e]+".css",a=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===a))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===a)return n()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=n,h.onerror=function(n){var r=n&&n.target&&n.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=r,delete o[e],h.parentNode.removeChild(h),t(c)},h.href=a;var f=document.getElementsByTagName("head")[0];f.appendChild(h)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)n.push(r[2]);else{var c=new Promise((function(n,t){r=a[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(h);var t=a[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",s.name="ChunkLoadError",s.type=r,s.request=o,t[1](s)}a[e]=void 0}};var h=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 h=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"),o=(t("845c"),t("f753")),a=t.n(o),c={},i=a.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={},h=Object(d["a"])(s,u,l,!1,null,null,null),f=h.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-264d9b28")]).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-7804adf2")]).then(t.bind(null,"02d1"))},children:[{path:"/runtime",name:"runtime",component:function(){return Promise.all([t.e("chunk-772e7c6b"),t.e("chunk-342105da")]).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-57401dce")]).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-7b158990")]).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-7608a323")]).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-25c7a0d8")]).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-7b091ec6")]).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(f)}}).$mount("#app")},cbb7:function(e,n,t){"use strict";t.r(n);var r=t("03a1"),o=t.n(r),a=(o.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},h=function(){var e={Code:0,Memo:"退出成功"};return e};o.a.mock("/api/testSelect","post",u()),o.a.mock("/api/testTable","post",c()),o.a.mock("/api/testTableLong","post",i()),o.a.mock("/api/worldDetail","post",a()),o.a.mock("/api/SignIn","post",l()),o.a.mock("/api/editbasicinfo","post",d()),o.a.mock("/api/modPwd","post",s()),o.a.mock("/api/logout","post",h()),n["default"]=o.a},ee52:function(e,n,t){}});
  2. //# sourceMappingURL=app.abe3448d.js.map