app.9c5d7ab3.js
21.1 KB
(function(t){function e(e){for(var n,o,s=e[0],l=e[1],c=e[2],d=0,f=[];d<s.length;d++)o=s[d],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&f.push(i[o][0]),i[o]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(t[n]=l[n]);u&&u(e);while(f.length)f.shift()();return r.push.apply(r,c||[]),a()}function a(){for(var t,e=0;e<r.length;e++){for(var a=r[e],n=!0,s=1;s<a.length;s++){var l=a[s];0!==i[l]&&(n=!1)}n&&(r.splice(e--,1),t=o(o.s=a[0]))}return t}var n={},i={app:0},r=[];function o(e){if(n[e])return n[e].exports;var a=n[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,o),a.l=!0,a.exports}o.m=t,o.c=n,o.d=function(t,e,a){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(a,n,function(e){return t[e]}.bind(null,n));return a},o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=e,s=s.slice();for(var c=0;c<s.length;c++)e(s[c]);var u=l;r.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("56d7")},"02a2":function(t,e,a){"use strict";a("42cc")},"04a8":function(t,e,a){},"0901":function(t,e,a){},"139e":function(t,e,a){},"28d2":function(t,e,a){"use strict";a("a7a6")},"3db4":function(t,e,a){"use strict";a("df2e")},"42cc":function(t,e,a){},49420:function(t,e){var a=16;function n(){var t=document.documentElement.clientWidth/1920;document.documentElement.style.fontSize=a*Math.min(t,2)+"px"}n(),window.onresize=function(){n()}},"4eb0":function(t,e,a){"use strict";a("83de")},"53de":function(t,e,a){"use strict";a("139e")},"56d7":function(t,e,a){"use strict";a.r(e);a("e623"),a("e379"),a("5dc8"),a("37e1");var n=a("2b0e"),i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"app"}},[a("router-view")],1)},r=[],o=(a("b0c0"),a("e9c4"),a("bc3a")),s=a.n(o);function l(t){var e=s.a.create({baseURL:"https://yaduohe.xp.yn.cn/api/",timeout:5e3});return s.a.defaults.withCredentials=!0,e.interceptors.request.use((function(t){return t}),(function(t){console.log(t)})),e.interceptors.response.use((function(t){return t.data}),(function(t){console.log(t),console.log("请求出问题了")})),e(t)}function c(){var t=JSON.parse(localStorage.getItem("gid"));return t}function u(t){return l({url:"safeoperation/inspection/Reservoirname?id="+t})}var d={beforeCreate:function(){document.title="雨水情大屏",this.$route.query.gid&&u(this.$route.query.gid).then((function(t){1==t.code&&(document.title=t.data.name+"雨水情大屏")}))},created:function(){console.log(this.$route.query);var t=JSON.stringify(this.$route.query.gid);localStorage.setItem("gid",t)}},f=d,m=(a("5c0b"),a("2877")),h=Object(m["a"])(f,i,r,!1,null,null,null),v=h.exports,p=a("8c4f"),_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Moment"),a("HeaderIndex"),a("twoModule"),a("leftIndex"),a("Middle"),a("rightIndex"),a("boxBg")],1)},b=[],g=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"headerIndex"},[a("div",{staticClass:"bg_img"},[a("span",[t._v(t._s(t.name))])])])},y=[],x={name:"HeaderIndex",data:function(){return{name:""}},created:function(){var t=this;console.log(this.$route.query),u(this.$route.query.gid).then((function(e){console.log(e.data.name),t.name=e.data.name+"雨水情实时监测平台",console.log(e)}))}},C=x,w=(a("802c"),Object(m["a"])(C,g,y,!1,null,"0a890a6a",null)),S=w.exports,D=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left_box"},[a("leftStatistical"),a("leftRanking")],1)},O=[],$=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"statistical_box"},[t._m(0),a("div",{staticClass:"charts-data"},[a("div",{staticClass:"rain-time-report"},[a("ul",[a("li",[a("span",{staticClass:"rain-title"},[t._v("降水量日报")]),a("span",{staticClass:"rain-number"},[t._v(" "+t._s(t.data.rain_day||0)+" ")]),a("span",{staticClass:"unit"},[t._v("mm")])]),a("li",[a("span",{staticClass:"rain-title"},[t._v("降水量旬报")]),a("span",{staticClass:"rain-number"},[t._v(" "+t._s(t.data.rain_10_day||0)+" ")]),a("span",{staticClass:"unit"},[t._v("mm")])]),a("li",[a("span",{staticClass:"rain-title"},[t._v("降水量月报")]),a("span",{staticClass:"rain-number"},[t._v(" "+t._s(t.data.rain_1_mth||0)+" ")]),a("span",{staticClass:"unit"},[t._v("mm")])])])]),a("div",{attrs:{id:"rain-charts"}},[t._v(" ")])])])},I=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"title"},[a("div",{staticClass:"rain-title"},[t._v("降水量统计")]),a("div",{staticClass:"left-block"})])}];a("d81d"),a("4795");function L(){return l({url:"Resvranindate/resvRainNewList?rid="+c()})}function R(){return l({url:"Resvranindate/resvRain7DayCt?rid="+c()})}var E=a("313e"),j=a.n(E),M={name:"leftStatistical",data:function(){return{timer:null,data:[],rainChart:null}},created:function(){},methods:{update:function(){var t,e=(null===(t=this.data)||void 0===t?void 0:t.rainList)||[],a=e.map((function(t){return t.total_rainfall}));this.rainChart.clear(),this.rainChart.setOption({grid:{left:"5%",top:"15%",bottom:"15%",right:"10%"},tooltip:{trigger:"axis",renderMode:"html",backgroundColor:"rgba(255,255,255,0.7)",borderColor:"#333",borderWidth:0,padding:5,textStyle:{color:"#333",fontStyle:"normal",fontWeight:"normal",fontFamily:"sans-serif",fontSize:10},extraCssText:"box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);",confine:!1},xAxis:{data:e.map((function(t){return t.dayTime})),axisLabel:{padding:[0,12,0,0],color:"#fff",fontSize:8}},yAxis:{show:!1,axisLine:{show:!1}},series:[{type:"bar",name:"降水量",barWidth:12,data:a,label:{show:!0,formatter:function(t){return 0!==t.data?t.data:""},position:"top",color:"white",textBorderWidth:0,fontSize:8,offset:[-5,0]},itemStyle:{color:new E["graphic"].LinearGradient(0,0,0,1,[{offset:.2,color:"#FABE54"},{offset:1,color:"#4584DB"}])}},{type:"line",name:"line",smooth:!0,data:a,axisPointer:{show:!1},itemStyle:{color:"rgba(90, 163, 237, 1)"}}]})},getData:function(){var t=this;R().then((function(e){1===e.code&&(console.log(e.data),t.data=e.data)}))},initCharts:function(){var t=this;this.rainChart=E["init"](document.getElementById("rain-charts"),{width:"100%"}),setTimeout((function(){window.onresize=function(){t.rainChart.resize({width:"auto",heigth:"auto"})}}),1e3)}},watch:{data:function(t,e){var a,n=(null===(a=this.data)||void 0===a?void 0:a.rainList)||[],i=n.map((function(t){return t.total_rainfall})),r={grid:{left:"5%",top:"15%",bottom:"15%",right:"10%"},tooltip:{trigger:"axis",renderMode:"html",backgroundColor:"rgba(255,255,255,0.7)",borderColor:"#333",borderWidth:0,padding:5,textStyle:{color:"#333",fontStyle:"normal",fontWeight:"normal",fontFamily:"sans-serif",fontSize:10},extraCssText:"box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);",confine:!1},xAxis:{data:n.map((function(t){return t.dayTime})),axisLabel:{padding:[0,12,0,0],color:"#fff",fontSize:8}},yAxis:{show:!1,axisLine:{show:!1}},series:[{type:"bar",name:"降水量",barWidth:12,data:i,label:{show:!0,formatter:function(t){return 0!==t.data?t.data:""},position:"top",color:"white",textBorderWidth:0,fontSize:8,offset:[-5,0]},itemStyle:{color:new E["graphic"].LinearGradient(0,0,0,1,[{offset:.2,color:"#FABE54"},{offset:1,color:"#4584DB"}])}},{type:"line",name:"line",smooth:!0,data:i,axisPointer:{show:!1},itemStyle:{color:"rgba(90, 163, 237, 1)"}}]};this.rainChart.setOption(r)}},mounted:function(){var t=this;this.getData(),this.initCharts(),this.timer=setInterval((function(){console.log("更新左侧图表"),t.getData(),t.update()}),36e4)},unmounted:function(){this.rainChar&&!this.rainChart.isDisposed()&&this.rainChart.dispose()}},A=M,z=(a("02a2"),Object(m["a"])(A,$,I,!1,null,"e0bc6fc6",null)),T=z.exports,k=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ranking"},[t._v(" 实时报告 "),a("el-table",{ref:"table",attrs:{data:t.listData,height:"92%","header-cell-class-name":"head-table"}},[a("el-table-column",{attrs:{prop:"name",label:"水库名称"}}),a("el-table-column",{attrs:{prop:"water_level",label:"库水位"}}),a("el-table-column",{attrs:{prop:"total_rainfall",label:"降水量"}}),a("el-table-column",{attrs:{prop:"createtime",label:"采集时间"}})],1)],1)},W=[],H={name:"leftRanking",intervalId:0,data:function(){return{timer:null,listData:[],loading:!1}},methods:{getData:function(){var t=this;L().then((function(e){1===e.code&&(t.listData=e.data)}))},tableScroll:function(){var t=this,e=this.$refs.table,a=e.bodyWrapper;this.intervalId=setInterval((function(){a.scrollTop+=1,a.clientHeight+a.scrollTop+1>a.scrollHeight&&(a.scrollTop=0,t.loading||(t.loading=!0,t.getData()))}),50);var n=this;window.onresize=function(){return function(){window.screenHeight=document.body.clientHeight,n.clientHeight=window.screenHeight}()}},clearScroll:function(){this.loading=!1,this.intervalId&&clearInterval(this.intervalId)}},created:function(){this.getData()},mounted:function(){var t=this;this.tableScroll(),this.timer=setInterval((function(){console.log("左侧实时报告刷新"),t.listData=[],t.getData(),t.clearScroll(),t.tableScroll()}),3e5)},beforeUpdate:function(){this.clearScroll()},updated:function(){this.tableScroll()},unmounted:function(){this.clearScroll()}},P=H,B=(a("e33f"),Object(m["a"])(P,k,W,!1,null,"767cad33",null)),q=B.exports,F={components:{leftStatistical:T,leftRanking:q},data:function(){return{}},created:function(){console.log(this.$route.query);var t=JSON.stringify(this.$route.query.gid);localStorage.setItem("gid",t)},methods:{}},J=F,G=(a("5793"),Object(m["a"])(J,D,O,!1,null,"58a37ebc",null)),N=G.exports,U=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"right_box"},[a("Trend"),a("AnalysisThe")],1)},Y=[],V=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},K=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"trend_box"},[a("div",{staticClass:"trend_title"},[t._v(" 库容跟随水位趋势图 ")]),a("div",{staticClass:"tag"}),a("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:"myChart"}})])}];function Q(){return console.log(c()),l({url:"Resvranindate/resvRainLvList?rid="+c()})}function X(){return l({url:"Resvranindate/resvRainInfo?rid="+c()})}function Z(){return l({url:"Resvranindate/topCount?rid="+c()})}var tt={name:"hello",data:function(){return{timer:null,msg:"Welcome to Your Vue.js App",myechars:null,chartsData:null}},created:function(){},mounted:function(){var t=this;setTimeout((function(){Q().then((function(e){t.chartsData=e.data,console.log("12345678",t.chartsData),t.drawLine()}))}),200),this.timer=setInterval((function(){Q().then((function(e){t.chartsData=e.data,t.upDrawLine()}))}),3e5)},methods:{upDrawLine:function(){this.myechars.clear(),this.myechars.setOption({type:"category",title:{text:""},legend:{show:!0,type:"plain",data:["库水位","库容量"],textStyle:{color:"#fff",fontSize:8},top:"5%",right:"1%",orient:"horizontal",align:"auto"},tooltip:{show:!0,trigger:"axis",axisPointer:{type:"line",axis:"auto",snap:!0},renderMode:"html",backgroundColor:"rgba(255,255,255,0.7)",borderColor:"#333",borderWidth:0,padding:5,textStyle:{color:"#333",fontStyle:"normal",fontWeight:"normal",fontFamily:"sans-serif",fontSize:12},extraCssText:"box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);",confine:!1,formatter:function(t){return"时间:"+t[0].name+"<br />水位:"+t[0].data+"m<br />库容量:"+t[1].data+"万立方米"}},grid:{left:0,right:0},xAxis:{data:this.chartsData.timelist,boundaryGap:["20%","20%"],axisLabel:{show:!0,color:"rgba(255, 255, 255, 1)"}},yAxis:[{type:"value",show:!1,min:function(t){return t.min}},{type:"value",show:!1,min:function(t){return t.min}}],series:[{name:"库水位",itemStyle:{color:"rgba(49, 227, 128, 1)"},areaStyle:{color:"rgba(255, 255, 255, .1)"},data:this.chartsData.lvList,type:"line",smooth:!0,symbol:"none"},{name:"库容量",itemStyle:{color:"rgba(90, 163, 237, 1)"},areaStyle:{color:"rgba(255, 255, 255, .1)"},yAxisIndex:1,data:this.chartsData.rlList,type:"line",smooth:!0,symbol:"none"}]})},drawLine:function(){this.myechars=this.$echarts.init(document.getElementById("myChart")),this.myechars.setOption({type:"category",title:{text:""},legend:{show:!0,type:"plain",data:["库水位","库容量"],textStyle:{color:"#fff",fontSize:8},top:"5%",right:"1%",orient:"horizontal",align:"auto"},tooltip:{show:!0,trigger:"axis",axisPointer:{type:"line",axis:"auto",snap:!0},renderMode:"html",backgroundColor:"rgba(255,255,255,0.7)",borderColor:"#333",borderWidth:0,padding:5,textStyle:{color:"#333",fontStyle:"normal",fontWeight:"normal",fontFamily:"sans-serif",fontSize:12},extraCssText:"box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);",confine:!1,formatter:function(t){return"时间:"+t[0].name+"<br />水位:"+t[0].data+"m<br />库容量:"+t[1].data+"万立方米"}},grid:{left:0,right:0},xAxis:{data:this.chartsData.timelist,boundaryGap:["20%","20%"],axisLabel:{show:!0,color:"rgba(255, 255, 255, 1)"}},yAxis:[{type:"value",show:!1,min:function(t){return t.min}},{type:"value",show:!1,min:function(t){return t.min}}],series:[{name:"库水位",itemStyle:{color:"rgba(49, 227, 128, 1)"},areaStyle:{color:"rgba(255, 255, 255, .1)"},data:this.chartsData.lvList,type:"line",smooth:!0,symbol:"none"},{name:"库容量",itemStyle:{color:"rgba(90, 163, 237, 1)"},areaStyle:{color:"rgba(255, 255, 255, .1)"},yAxisIndex:1,data:this.chartsData.rlList,type:"line",smooth:!0,symbol:"none"}]})}}},et=tt,at=(a("3db4"),Object(m["a"])(et,V,K,!1,null,"49607759",null)),nt=at.exports,it=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"analysis_box"},[a("div",[a("div",{staticClass:"analysis_title"},[t._v(" 水情分析 ")]),a("div",{staticClass:"analysis_partition"},[a("div",{staticClass:"partition_box"},[a("div",[t._m(0),a("div",{staticClass:"value"},[t._v(t._s(t.Rainfall.max_rain||"0"))])])]),a("div",{staticClass:"partition_box"},[a("div",[t._m(1),a("div",{staticClass:"value"},[t._v(t._s(t.Rainfall.min_rain||"0"))])])]),a("div",{staticClass:"partition_box"},[a("div",[t._m(2),a("div",{staticClass:"value"},[t._v(t._s(t.Rainfall.max_rain_10||"0"))])])]),a("div",{staticClass:"partition_box"},[a("div",[t._m(3),a("div",{staticClass:"value"},[t._v(t._s(t.Rainfall.min_rain_10||"0"))])])])])])])},rt=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pi_bond"},[a("div",[t._v("近12小时")]),a("div",[t._v("降水量最大值")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pi_bond"},[a("div",[t._v("近12小时")]),a("div",[t._v("降水量最小值")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pi_bond"},[a("div",[t._v("近10天")]),a("div",[t._v("降水量最大值")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pi_bond"},[a("div",[t._v("近10天")]),a("div",[t._v("降水量最小值")])])}],ot={name:"AnalysisThe",data:function(){return{timer:null,Rainfall:{max_rain:0,min_rain:0,max_rain_10:6.54,min_rain_10:0}}},created:function(){var t=this;X().then((function(e){console.log(e),t.Rainfall=e.data}))},mounted:function(){var t=this;this.timer=setInterval((function(){X().then((function(e){t.Rainfall=e.data}))}),24e4)}},st=ot,lt=(a("c4f8"),Object(m["a"])(st,it,rt,!1,null,"331190b9",null)),ct=lt.exports,ut={components:{Trend:nt,AnalysisThe:ct},data:function(){return{}},methods:{}},dt=ut,ft=(a("e1fb"),Object(m["a"])(dt,U,Y,!1,null,"2cc37f4e",null)),mt=ft.exports,ht=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bg_box"})},vt=[],pt={data:function(){return{}},methods:{}},_t=pt,bt=(a("4eb0"),Object(m["a"])(_t,ht,vt,!1,null,"058a936a",null)),gt=bt.exports,yt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"two_box"},[a("twoLeft",{attrs:{allD:t.allData}}),a("middleModule",{attrs:{allD:t.allData}})],1)},xt=[],Ct=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"two_left_box"},[a("div",{staticClass:"main_box"},[t._m(0),a("div",{staticClass:"main_body"},[a("div",{staticClass:"main_body_a"},[t._v(" "+t._s(t.allD.rainAll)),a("span",{staticStyle:{"font-size":"14px"}},[t._v("mm")])]),a("div",{staticClass:"main_body_b"},[a("span",{staticClass:"mm_data"},[t._v(t._s(t.allD.dayRain)),a("span",{staticStyle:{"font-size":"14px"}},[t._v("mm")])])])])])])},wt=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"title"},[a("span",{staticClass:"cumulative"},[t._v("累计降水量")]),a("span",{staticClass:"today"},[t._v("今日降水量")])])}],St={name:"twoLeft",data:function(){return{dataa:{}}},props:{allD:{type:Object,default:function(){return{rainAll:1370.4,dayRain:0,nowRain:0,nowLevel:1321.96,krong:"105"}}}}},Dt=St,Ot=(a("6137"),Object(m["a"])(Dt,Ct,wt,!1,null,"4bd583ba",null)),$t=Ot.exports,It=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"middle_box"},[a("div",{staticClass:"three_box"},[a("div",{staticClass:"detailed_msg"},[a("div",[a("div",{staticClass:"detailed_data"},[t._v(" "+t._s(t.allD.dayRain)+" "),a("span",[t._v("mm")])]),a("div",{staticClass:"detailed_title"},[t._v(" 当前降水量 ")])])]),a("div",{staticClass:"detailed_msg"},[a("div",[a("div",{staticClass:"detailed_data"},[t._v(" "+t._s(t.allD.nowLevel)+" "),a("span",[t._v("m")])]),a("div",{staticClass:"detailed_title"},[t._v(" 当前水位 ")])])]),a("div",{staticClass:"detailed_msg"},[a("div",[a("div",{staticClass:"detailed_data"},[t._v(" "+t._s(t.allD.krong)+" "),a("span",[t._v("万方")])]),a("div",{staticClass:"detailed_title"},[t._v(" 库容量 ")])])])])])},Lt=[],Rt={name:"middleModule",props:{allD:{type:Object,default:function(){return{rainAll:1370.4,dayRain:0,nowRain:0,nowLevel:1321.96,krong:"105"}}}}},Et=Rt,jt=(a("53de"),Object(m["a"])(Et,It,Lt,!1,null,"70d1e00f",null)),Mt=jt.exports,At={name:"twoModule",components:{twoLeft:$t,middleModule:Mt},data:function(){return{allData:{rainAll:1370.4,dayRain:0,nowRain:0,nowLevel:1321.96,krong:"105"},timer:null}},created:function(){this.loadData()},mounted:function(){var t=this;this.timer?clearInterval(this.timer):this.timer=setInterval((function(){t.loadData()}),24e4)},destroyed:function(){clearInterval(this.timer)},methods:{loadData:function(){var t=this;Z().then((function(e){console.log(e),t.allData=e.data}))}}},zt=At,Tt=(a("28d2"),Object(m["a"])(zt,yt,xt,!1,null,"a66c8970",null)),kt=Tt.exports,Wt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"middle_box"})},Ht=[],Pt={name:"Middle"},Bt=Pt,qt=(a("a572"),Object(m["a"])(Bt,Wt,Ht,!1,null,"1f4e70f4",null)),Ft=qt.exports,Jt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"date_box"},[a("div",{staticClass:"moment"},[a("div"),a("span",[t._v(t._s(t.dateFormat(t.newDate)))])])])},Gt=[],Nt=(a("0d03"),{name:"Moment",data:function(){return{newDate:new Date,date:"1999.12.28",moment:"",timer:null}},mounted:function(){var t=this;this.timer=setInterval((function(){t.newDate=(new Date).toLocaleString()}))},beforeDestroy:function(){this.timer&&clearInterval(this.timer)},methods:{dateFormat:function(){var t=new Date,e=t.getFullYear(),a=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),i=t.getHours()<10?"0"+t.getHours():t.getHours(),r=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),o=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();t.getDay();return e+"年"+a+"月"+n+"日 "+i+":"+r+":"+o+" "}}}),Ut=Nt,Yt=(a("765e"),Object(m["a"])(Ut,Jt,Gt,!1,null,"7fd319be",null)),Vt=Yt.exports,Kt={name:"home",components:{HeaderIndex:S,leftIndex:N,rightIndex:mt,boxBg:gt,twoModule:kt,Middle:Ft,Moment:Vt}},Qt=Kt,Xt=Object(m["a"])(Qt,_,b,!1,null,"7230e672",null),Zt=Xt.exports;n["default"].use(p["a"]);var te=[{path:"/",name:"首页",redirect:"/home"},{path:"/home",name:"home",component:Zt}],ee=new p["a"]({base:"",routes:te}),ae=ee,ne=a("2f62");n["default"].use(ne["a"]);var ie=new ne["a"].Store({state:{},mutations:{},actions:{},modules:{}}),re=(a("918d"),a("49420"),a("5c96")),oe=a.n(re);a("0fae");n["default"].prototype.$echarts=j.a,n["default"].use(oe.a),n["default"].config.productionTip=!1,new n["default"]({router:ae,store:ie,render:function(t){return t(v)}}).$mount("#app")},5793:function(t,e,a){"use strict";a("0901")},"5c0b":function(t,e,a){"use strict";a("9c0c")},6137:function(t,e,a){"use strict";a("a184")},"648e":function(t,e,a){},"765e":function(t,e,a){"use strict";a("daf2")},"802c":function(t,e,a){"use strict";a("ee0a")},"83de":function(t,e,a){},"918d":function(t,e,a){},"9c0c":function(t,e,a){},a184:function(t,e,a){},a572:function(t,e,a){"use strict";a("e632")},a7a6:function(t,e,a){},a901:function(t,e,a){},c4f8:function(t,e,a){"use strict";a("04a8")},daf2:function(t,e,a){},df2e:function(t,e,a){},e1fb:function(t,e,a){"use strict";a("648e")},e33f:function(t,e,a){"use strict";a("a901")},e632:function(t,e,a){},ee0a:function(t,e,a){}});
//# sourceMappingURL=app.9c5d7ab3.js.map