1.修改前端页面,替换logo

This commit is contained in:
帐篷
2024-01-16 23:26:32 +08:00
parent 488a8a3e59
commit 3d44f4674c
305 changed files with 310 additions and 937 deletions

View File

@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c33a516c"],{"0122":function(t,e,n){},"93bb":function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return g}));n("5530");var r=n("c7eb"),a=n("1da1"),c=(n("d3b7"),n("99af"),n("bc3a")),s=n.n(c),i={ENC:!1,baseUrl:"http://locolhost:8888",code:401},u=i,o=(n("a18c"),u.baseUrl);s.a.CancelToken;s.a.interceptors.request.use((function(t){var e=localStorage.getItem("token");return t.headers.common["Content-Type"]="application/json;charset=utf-8",t.headers.common["token"]=e,t}),(function(t){return console.log(t),Promise.reject(t)})),s.a.interceptors.response.use((function(t){return 200!==t.status?Promise.reject(t):(t.data.code,u.code,t.data)}),(function(t){var e={success:!1,msg:"未知异常,请联系管理员!"};return Promise.reject(e)}));var p={headers:{enc:u.ENC}},b=function(t){return t},f=function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(e,n){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,n=b(n),t.next=4,s.a.get("".concat(o).concat(e),{params:n,headers:p.headers},p);case 4:return a=t.sent,t.abrupt("return",a);case 8:return t.prev=8,t.t0=t["catch"](0),t.abrupt("return",t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e,n){return t.apply(this,arguments)}}(),l=function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(e,n){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.a.get(e,{params:n});case 3:return a=t.sent,t.abrupt("return",a);case 7:return t.prev=7,t.t0=t["catch"](0),t.abrupt("return",t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(e,n){return t.apply(this,arguments)}}(),g=function(){var t=Object(a["a"])(Object(r["a"])().mark((function t(e,n){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,n=b(n),t.next=4,s.a.post("".concat(o).concat(e),n,p);case 4:return a=t.sent,t.abrupt("return",a);case 8:return t.prev=8,t.t0=t["catch"](0),t.abrupt("return",t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e,n){return t.apply(this,arguments)}}()},"9a05":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"right_bottom"},[n("dv-capsule-chart",{staticStyle:{width:"100%",height:"260px"},attrs:{config:t.config}})],1)},a=[],c=n("5530"),s=n("e100"),i={data:function(){return{gatewayno:"",config:{showValue:!0,unit:"次",data:[]}}},created:function(){this.getData()},computed:{},mounted:function(){},beforeDestroy:function(){this.clearData()},methods:{clearData:function(){this.timer&&(clearInterval(this.timer),this.timer=null)},switper:function(){var t=this;if(!this.timer){var e=function(e){t.getData()};this.timer=setInterval(e,this.$store.state.settings.echartsAutoTime)}},getData:function(){var t=this;this.pageflag=!0,Object(s["a"])("big7",{gatewayno:this.gatewayno}).then((function(e){t.timer||console.log("报警排名",e),e.success?(t.config=Object(c["a"])(Object(c["a"])({},t.config),{},{data:e.data}),t.switper()):(t.pageflag=!1,t.srcList=[],t.$Message({text:e.msg,type:"warning"}))}))}}},u=i,o=(n("c8d0"),n("2877")),p=Object(o["a"])(u,r,a,!1,null,"e5aac588",null);e["default"]=p.exports},c8d0:function(t,e,n){"use strict";n("0122")},e100:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("93bb"),a={big1:"/bigscreen/countUserNum",big2:"/bigscreen/countDeviceNum",big3:"/bigscreen/sbtx",big4:"/bigscreen/alarmNum",big5:"/bigscreen/ssyj",big6:"/bigscreen/installationPlan",big7:"/bigscreen/ranking",big8:"/bigscreen/centermap"},c=function(t,e){return r["a"](a[t],e)}}}]);