1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
!function(e){function n(n){for(var a,t,r=n[0],h=n[1],i=n[2],d=0,l=[];d<r.length;d++)t=r[d],Object.prototype.hasOwnProperty.call(u,t)&&u[t]&&l.push(u[t][0]),u[t]=0;for(a in h)Object.prototype.hasOwnProperty.call(h,a)&&(e[a]=h[a]);for(f&&f(n);l.length;)l.shift()();return o.push.apply(o,i||[]),c()}function c(){for(var e,n=0;n<o.length;n++){for(var c=o[n],a=!0,t=1;t<c.length;t++){var h=c[t];0!==u[h]&&(a=!1)}a&&(o.splice(n--,1),e=r(r.s=c[0]))}return e}var a={},t={equipmentCenter:0},u={equipmentCenter:0},o=[];function r(n){if(a[n])return a[n].exports;var c=a[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,r),c.l=!0,c.exports}r.e=function(e){var n=[];t[e]?n.push(t[e]):0!==t[e]&&{"chunk-007cf0b1":1,"chunk-0391d86d":1,"chunk-0f54ec09":1,"chunk-1b974e1a":1,"chunk-2030bd84":1,"chunk-21d3575f":1,"chunk-d9e59b48":1,"chunk-1dcb4736":1,"chunk-46d38ff4":1,"chunk-2f8b6638":1,"chunk-3189dead":1,"chunk-34d9891c":1,"chunk-42060ee6":1,"chunk-13719b79":1,"chunk-524ed108":1,"chunk-48c804a0":1,"chunk-539a4de6":1,"chunk-5592692a":1,"chunk-5a11b7b8":1,"chunk-8e85c934":1,"chunk-7078469d":1,"chunk-75ffaaeb":1,"chunk-893adc80":1,"chunk-33f15ee7":1,"chunk-5cabbf30":1,"chunk-8c1945d6":1,"chunk-983a2f14":1,"chunk-9ed5ccf0":1,"chunk-a22bec18":1,"chunk-b1bf7b18":1,"chunk-b78f9a04":1}[e]&&n.push(t[e]=new Promise((function(n,c){for(var a="css/"+({}[e]||e)+"."+{"chunk-007cf0b1":"0a7ab1e3","chunk-0391d86d":"2b942277","chunk-0f54ec09":"86a14c33","chunk-1b974e1a":"9a7cd624","chunk-2030bd84":"47fa2b14","chunk-21d3575f":"93e61c87","chunk-f1e2a20c":"31d6cfe0","chunk-2926687f":"31d6cfe0","chunk-2d21d0c2":"31d6cfe0","chunk-7830fd42":"31d6cfe0","chunk-d9e59b48":"453b2bd1","chunk-1dcb4736":"f8e20d11","chunk-46d38ff4":"0eaba0e9","chunk-2f8b6638":"aa036ff8","chunk-2d2077b3":"31d6cfe0","chunk-3189dead":"385b40ad","chunk-34d9891c":"2d0d2892","chunk-42060ee6":"9b2ee2d2","chunk-13719b79":"eb33baeb","chunk-524ed108":"786cbf5a","chunk-20653964":"31d6cfe0","chunk-48c804a0":"39703696","chunk-4e6cfaa0":"31d6cfe0","chunk-539a4de6":"2b942277","chunk-5592692a":"c27ff054","chunk-5a11b7b8":"822b5539","chunk-8e85c934":"2edaef5e","chunk-4e6d65c7":"31d6cfe0","chunk-7078469d":"f15ea92e","chunk-75ffaaeb":"7578e2a1","chunk-893adc80":"9eb85309","chunk-33f15ee7":"86e5de93","chunk-5cabbf30":"c7a8f873","chunk-66a6d9ce":"31d6cfe0","chunk-8c1945d6":"2b942277","chunk-983a2f14":"dafaf071","chunk-9ed5ccf0":"dafaf071","chunk-a22bec18":"f15ea92e","chunk-b1bf7b18":"2b942277","chunk-b78f9a04":"7e3642ae"}[e]+".css",u=r.p+a,o=document.getElementsByTagName("link"),h=0;h<o.length;h++){var i=o[h],d=i.getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(d===a||d===u))return n()}var f=document.getElementsByTagName("style");for(h=0;h<f.length;h++)if((d=(i=f[h]).getAttribute("data-href"))===a||d===u)return n();var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=n,l.onerror=function(n){var a=n&&n.target&&n.target.src||u,o=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=a,delete t[e],l.parentNode.removeChild(l),c(o)},l.href=u,document.getElementsByTagName("head")[0].appendChild(l)})).then((function(){t[e]=0})));var c=u[e];if(0!==c)if(c)n.push(c[2]);else{var a=new Promise((function(n,a){c=u[e]=[n,a]}));n.push(c[2]=a);var o,h=document.createElement("script");h.charset="utf-8",h.timeout=120,r.nc&&h.setAttribute("nonce",r.nc),h.src=function(e){return r.p+"js/"+({}[e]||e)+"."+{"chunk-007cf0b1":"cc4e0e9b","chunk-0391d86d":"0a874051","chunk-0f54ec09":"12f9a623","chunk-1b974e1a":"e7bb73e1","chunk-2030bd84":"315c16eb","chunk-21d3575f":"86ab4482","chunk-f1e2a20c":"afbbd2c5","chunk-2926687f":"52f933da","chunk-2d21d0c2":"76a788b4","chunk-7830fd42":"e1b5391e","chunk-d9e59b48":"87c49bd5","chunk-1dcb4736":"2f1de258","chunk-46d38ff4":"13b9552a","chunk-2f8b6638":"1f9b1c95","chunk-2d2077b3":"02c2be02","chunk-3189dead":"7fad85ca","chunk-34d9891c":"9abe7d66","chunk-42060ee6":"61ec63c0","chunk-13719b79":"8f0b9ee0","chunk-524ed108":"5c3b39c6","chunk-20653964":"6866e433","chunk-48c804a0":"bc111190","chunk-4e6cfaa0":"63830ea1","chunk-539a4de6":"ff6cc776","chunk-5592692a":"cea9fb59","chunk-5a11b7b8":"1bd98e5a","chunk-8e85c934":"f3855ff2","chunk-4e6d65c7":"bd58cf24","chunk-7078469d":"3b5ae4a3","chunk-75ffaaeb":"5f702467","chunk-893adc80":"d1175712","chunk-33f15ee7":"bb2872d9","chunk-5cabbf30":"1cc464c5","chunk-66a6d9ce":"74b5598d","chunk-8c1945d6":"9d6e00c6","chunk-983a2f14":"b46f4bf3","chunk-9ed5ccf0":"1ad7953f","chunk-a22bec18":"ba944aa5","chunk-b1bf7b18":"4011cfe5","chunk-b78f9a04":"cc43a866"}[e]+".js"}(e);var i=new Error;o=function(n){h.onerror=h.onload=null,clearTimeout(d);var c=u[e];if(0!==c){if(c){var a=n&&("load"===n.type?"missing":n.type),t=n&&n.target&&n.target.src;i.message="Loading chunk "+e+" failed.\n("+a+": "+t+")",i.name="ChunkLoadError",i.type=a,i.request=t,c[1](i)}u[e]=void 0}};var d=setTimeout((function(){o({type:"timeout",target:h})}),12e4);h.onerror=h.onload=o,document.head.appendChild(h)}return Promise.all(n)},r.m=e,r.c=a,r.d=function(e,n,c){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(r.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)r.d(c,a,function(n){return e[n]}.bind(null,a));return c},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="/",r.oe=function(e){throw e};var h=window.webpackJsonp=window.webpackJsonp||[],i=h.push.bind(h);h.push=n,h=h.slice();for(var d=0;d<h.length;d++)n(h[d]);var f=i;o.push([1,"chunk-vendors","chunk-common"]),c()}({1:function(e,n,c){e.exports=c("4a5a")},"4a5a":function(e,n,c){"use strict";c.r(n),c("4160"),c("c975"),c("ac1f"),c("1276"),c("159b"),c("e260"),c("e6cf"),c("cca6"),c("a79d");var a=c("2b0e"),t={mounted:function(){},methods:{}},u=c("2877"),o=Object(u.a)(t,(function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),[],!1,null,null,null).exports,r=(c("d3b7"),c("8c4f"));a.default.use(r.a);var h=[{path:"/login",name:"login",component:function(){return Promise.all([c.e("chunk-893adc80"),c.e("chunk-5cabbf30"),c.e("chunk-66a6d9ce")]).then(c.bind(null,"2a34"))}},{path:"/sign",name:"sign",component:function(){return Promise.all([c.e("chunk-893adc80"),c.e("chunk-33f15ee7")]).then(c.bind(null,"7835"))}},{path:"/map_app",name:"map_app",component:function(){return c.e("chunk-0f54ec09").then(c.bind(null,"affb"))}},{path:"/equipmentCenter/",name:"page",component:function(){return Promise.all([c.e("chunk-2926687f"),c.e("chunk-2d21d0c2"),c.e("chunk-7830fd42"),c.e("chunk-d9e59b48"),c.e("chunk-46d38ff4")]).then(c.bind(null,"08cd"))},children:[{path:"videoAlarmList",name:"videoAlarmList",component:function(){return c.e("chunk-5a11b7b8").then(c.bind(null,"2f02"))}},{path:"cameraList",name:"视频监控_摄像机列表",component:function(){return Promise.all([c.e("chunk-5a11b7b8"),c.e("chunk-8e85c934"),c.e("chunk-4e6d65c7")]).then(c.bind(null,"75cb"))}},{path:"laborDevManage",name:"劳务管理_设备管理",component:function(){return Promise.all([c.e("chunk-b78f9a04"),c.e("chunk-2d2077b3")]).then(c.bind(null,"dfda"))}},{path:"markingRoomDevManage",name:"标养室_设备管理",component:function(){return c.e("chunk-34d9891c").then(c.bind(null,"bac5"))}},{path:"envirDevManage",name:"绿色施工_扬尘设备管理",component:function(){return Promise.all([c.e("chunk-539a4de6"),c.e("chunk-2d2077b3")]).then(c.bind(null,"09e8b"))}},{path:"sprayDevManage",name:"绿色施工_雾炮喷淋设备管理",component:function(){return Promise.all([c.e("chunk-7078469d"),c.e("chunk-2d2077b3")]).then(c.bind(null,"5dec"))}},{path:"electricDevManage",name:"电箱管理_设备管理",component:function(){return c.e("chunk-b1bf7b18").then(c.bind(null,"b7ec"))}},{path:"carCameraDev",name:"车辆管理_车辆相机管理",component:function(){return Promise.all([c.e("chunk-48c804a0"),c.e("chunk-4e6cfaa0")]).then(c.bind(null,"1fe5"))}},{path:"carGateDev",name:"车辆管理_车辆闸门管理",component:function(){return c.e("chunk-a22bec18").then(c.bind(null,"0f2c8"))}},{path:"carWashDevManage",name:"车辆冲洗_设备管理",component:function(){return c.e("chunk-8c1945d6").then(c.bind(null,"47f1"))}},{path:"towerCraneList",name:"塔吊管理_设备管理",component:function(e){return Promise.all([c.e("chunk-42060ee6"),c.e("chunk-13719b79"),c.e("chunk-524ed108"),c.e("chunk-20653964")]).then(function(){var n=[c("8ffa")];e.apply(null,n)}.bind(this)).catch(c.oe)}},{path:"lifterBasicInfo",name:"升降机管理_设备管理",component:function(e){return c.e("chunk-5592692a").then(function(){var n=[c("9f61")];e.apply(null,n)}.bind(this)).catch(c.oe)}},{path:"waterDevManage",name:"用水管理_设备管理",component:function(e){return Promise.all([c.e("chunk-983a2f14"),c.e("chunk-4e6d65c7")]).then(function(){var n=[c("0236")];e.apply(null,n)}.bind(this)).catch(c.oe)}},{path:"electricityDevManage",name:"用电管理_设备管理",component:function(e){return Promise.all([c.e("chunk-9ed5ccf0"),c.e("chunk-4e6d65c7")]).then(function(){var n=[c("439c")];e.apply(null,n)}.bind(this)).catch(c.oe)}},{path:"unloadBasicInfo",name:"卸料平台_设备管理",component:function(e){return Promise.all([c.e("chunk-75ffaaeb"),c.e("chunk-2d2077b3")]).then(function(){var n=[c("8ccc")];e.apply(null,n)}.bind(this)).catch(c.oe)}},{path:"concreteDevManage",name:"混泥土监测_设备管理",component:function(e){return Promise.all([c.e("chunk-2f8b6638"),c.e("chunk-2d2077b3")]).then(function(){var n=[c("966c")];e.apply(null,n)}.bind(this)).catch(c.oe)}},{path:"aiAnalysisDevManage",name:"AI预警中心_设备管理",component:function(){return c.e("chunk-0391d86d").then(c.bind(null,"0df1"))}},{path:"gantryCraneDevManage",name:"龙门吊_设备管理",component:function(){return Promise.all([c.e("chunk-21d3575f"),c.e("chunk-f1e2a20c")]).then(c.bind(null,"d9a3"))}},{path:"photovoltaic",name:"光伏发电_实时数据_设备管理",component:function(){return c.e("chunk-2030bd84").then(c.bind(null,"025b"))}},{path:"photovoltaicEquipment",name:"光伏发电_光伏设备_设备管理",component:function(){return c.e("chunk-1b974e1a").then(c.bind(null,"c47a"))}},{path:"bicarbonEquipment",name:"双碳设备_加油记录_设备管理",component:function(){return c.e("chunk-3189dead").then(c.bind(null,"3471"))}},{path:"bicarbonEquipmentManage",name:"双碳设备_设备管理",component:function(){return c.e("chunk-007cf0b1").then(c.bind(null,"3d17"))}}]},{path:"/equipmentCenterIndx",name:"equipmentCenterIndx",component:function(){return Promise.all([c.e("chunk-2926687f"),c.e("chunk-2d21d0c2"),c.e("chunk-7830fd42"),c.e("chunk-d9e59b48"),c.e("chunk-1dcb4736")]).then(c.bind(null,"48f5"))}}],i=new r.a({mode:"hash",base:"/",routes:h}),d=c("4360"),f=(c("7378"),c("77a0")),l=c.n(f),b=c("f010"),k=(c("57ca"),c("e597"),c("aa8c"),c("9418"),c("3c7e"),c("0d81"));if("xingxuan"==COMPANY){if(-1!=window.location.href.indexOf("?project_id="))!function(e){Object(k.a)({projectNumber:e}).then((function(e){200==e.code&&function(e){window._paq.push(["trackEvent","点击","登录","登录账号"]),axios.defaults.headers.common.Authorization="Bearer "+e.token,axios.defaults.headers.common.operateId=e.userId,d.a.commit("setUserInfo",e);var n=e.menuAuthority.moduleList?e.menuAuthority.moduleList:[],c=[];if(0==n.length&&1!=e.accountType)return Message.warning("当前账号还没分配权限"),!1;n.forEach((function(e){1==e.moduleType&&c.push(e)}));var a=[{menuName:"企业管理",id:9199,path:"/registerAudit"},{menuName:"模块菜单管理",id:9299,path:"/moduleMenuManage"},{menuName:"app版本管理",id:9297,path:"/operateManage"},{menuName:"塔吊模型管理",id:9298,path:"/brand"}];switch(e.accountType){case 1:d.a.commit("setMenuList",a),d.a.commit("setProjectManageMenuList",a),d.a.commit("setIsShowBackIndex",!1),i.push("/registerAudit");break;case 2:case 3:case 4:case 7:d.a.commit("setMenuList",c),d.a.commit("setProjectManageMenuList",c),d.a.commit("setIsShowBackIndex",!1),i.push(c[0].modulePath);break;case 5:case 6:d.a.commit("setProjectSn",e.sn)}}(e.result)}))}(window.location.href.split("?project_id=")[1].split("&")[0])}a.default.config.productionTip=!1,a.default.use(l.a,{ops:{bar:{background:"rgba(166, 166, 167, 0.6)",onlyShowBarOnScroll:!1,size:"5px",minSize:.2}}}),i.beforeEach((function(e,n,c){if("xingxuan"==COMPANY)return c();d.a.state.userInfo||d.a.state.userInfo||"/login"==e.path||"/map_app"==e.path?c():c({path:"login"})})),new a.default({router:i,store:d.a,i18n:b.a,render:function(e){return e(o)}}).$mount("#app")}}); |