1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8f77afe2"],{"159b":function(t,e,n){var r=n("da84"),a=n("fdbc"),i=n("17c2"),c=n("9112");for(var o in a){var l=r[o],u=l&&l.prototype;if(u&&u.forEach!==i)try{c(u,"forEach",i)}catch(s){u.forEach=i}}},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,a=n("a640"),i=a("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"1b28":function(t,e,n){t.exports=n.p+"static/img/cloud3.925274a3.png"},"1c13":function(t,e,n){t.exports=n.p+"static/img/home_center.57be39ff.png"},"3ef08":function(t,e,n){t.exports=n.p+"static/img/title2.53383e9b.png"},"43f4":function(t,e,n){"use strict";var r=n("7a23"),a=Object(r["gb"])("data-v-41f4e5ae");Object(r["H"])("data-v-41f4e5ae");var i={ref:"echartD",style:{width:"100%",height:"100%"}};Object(r["F"])();var c=a((function(t,e,n,a,c,o){return Object(r["E"])(),Object(r["j"])("div",i,null,512)})),o=n("313e"),l={props:{dataMap:{type:Array,default:function(){return[]}},color:{type:String,default:function(){return"rgb(0,254,160)"}},borderRadius:{type:Array,default:function(){return[0,0,0,0]}}},data:function(){return{}},watch:{dataMap:function(t){this.getData(t)}},mounted:function(){this.getData()},methods:{getData:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.dataMap;document.body.clientWidth>1940?o["b"](this.$refs.echartD).setOption({grid:{top:20,left:30,right:30,bottom:30},xAxis:{type:"category",data:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],axisLabel:{color:"#FFFFFF",fontSize:"25"},axisTick:{show:!1}},tooltip:{trigger:"axis",textStyle:{color:"#FFF",fontSize:25},confine:!0,backgroundColor:"rgba(11, 12, 72, 0.8)",borderColor:"rgba(11, 12, 72, 0.4)",position:"bottom"},yAxis:{axisTick:{show:!1},type:"value",axisLabel:{color:"#FFFFFF",fontSize:"25"},splitLine:{lineStyle:{color:"rgba(255,255,255,.4)"}}},series:[{name:"当前",type:"bar",barWidth:15,itemStyle:{color:this.color,borderRadius:this.borderRadius},data:t[0]},{name:"年平均值",data:t[1],type:"line"},{name:"总年平均值",data:t[2],type:"line"}]}):o["b"](this.$refs.echartD).setOption({grid:{top:20,left:30,right:30,bottom:30},xAxis:{type:"category",data:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],axisLabel:{color:"#FFFFFF"},axisTick:{show:!1}},tooltip:{trigger:"axis",textStyle:{color:"#FFF"},confine:!0,backgroundColor:"rgba(11, 12, 72, 0.8)",borderColor:"rgba(11, 12, 72, 0.4)",position:"bottom"},yAxis:{axisTick:{show:!1},type:"value",axisLabel:{color:"#FFFFFF"},splitLine:{lineStyle:{color:"rgba(255,255,255,.4)"}}},series:[{name:"当前",type:"bar",barWidth:15,itemStyle:{color:this.color,borderRadius:this.borderRadius},data:t[0]},{name:"年平均值",data:t[1],type:"line"},{name:"总年平均值",data:t[2],type:"line"}]})},resize:function(){o["b"](this.$refs.echartD).resize()}}},u=n("6b0d"),s=n.n(u);const f=s()(l,[["render",c],["__scopeId","data-v-41f4e5ae"]]);e["a"]=f},5899:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("1d80"),a=n("5899"),i="["+a+"]",c=RegExp("^"+i+i+"*"),o=RegExp(i+i+"*$"),l=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(c,"")),2&t&&(n=n.replace(o,"")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},"5b7d":function(t,e,n){t.exports=n.p+"static/img/title1.4f8d2f89.png"},"75dc":function(t,e,n){"use strict";n("d7be")},9831:function(t,e,n){t.exports=n.p+"static/img/cloud2.56c87f0a.png"},"99af":function(t,e,n){"use strict";var r=n("23e7"),a=n("d039"),i=n("e8b5"),c=n("861d"),o=n("7b0b"),l=n("50c4"),u=n("8418"),s=n("65f0"),f=n("1dde"),d=n("b622"),b=n("2d00"),h=d("isConcatSpreadable"),p=9007199254740991,m="Maximum allowed index exceeded",g=b>=51||!a((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),j=f("concat"),O=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)},y=!g||!j;r({target:"Array",proto:!0,forced:y},{concat:function(t){var e,n,r,a,i,c=o(this),f=s(c,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?c:arguments[e],O(i)){if(a=l(i.length),d+a>p)throw TypeError(m);for(n=0;n<a;n++,d++)n in i&&u(f,d,i[n])}else{if(d>=p)throw TypeError(m);u(f,d++,i)}return f.length=d,f}})},a344:function(t,e,n){"use strict";n("159b");e["a"]={data:function(){return{resizeTime:!0,windowWidth:8448,isVsFirePie:!1,distance:300,isVsTab:!1,leftBtn:!0,rightBtn:!0,current:1,size:20}},watch:{"$store.state.typeTime":function(t){this.getData&&this.getData(t)},"$store.state.timeList":function(t){this.getData&&this.getData(t)}},mounted:function(){},methods:{resizeTimeActions:function(t){var e=this;this.resizeTime&&(this.resizeTime=!1,setTimeout((function(){t.forEach((function(t){t&&t.resize()})),e.resizeTime=!0,e.windowWidth=document.documentElement.clientWidth+document.documentElement.clientHeight}),300))},vsClick:function(t){var e=this;this[t]=!this[t],"isVsFirePie"===t&&this.$nextTick((function(){e.$refs.firePie1&&e.$refs.firePie1.resize(),e.$refs.firePie2&&e.$refs.firePie2.resize()}))},leftBtnClick:function(){this.leftBtn=!this.leftBtn},rightBtnClick:function(){this.rightBtn=!this.rightBtn}},unmount:function(){window.removeEventListener("resize",this.resizeTimeActions,!0)}}},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},a9e3:function(t,e,n){"use strict";var r=n("83ab"),a=n("da84"),i=n("94ca"),c=n("6eeb"),o=n("5135"),l=n("c6b6"),u=n("7156"),s=n("c04e"),f=n("d039"),d=n("7c73"),b=n("241c").f,h=n("06cf").f,p=n("9bf2").f,m=n("58a8").trim,g="Number",j=a[g],O=j.prototype,y=l(d(O))==g,v=function(t){var e,n,r,a,i,c,o,l,u=s(t,!1);if("string"==typeof u&&u.length>2)if(u=m(u),e=u.charCodeAt(0),43===e||45===e){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+u}for(i=u.slice(2),c=i.length,o=0;o<c;o++)if(l=i.charCodeAt(o),l<48||l>a)return NaN;return parseInt(i,r)}return+u};if(i(g,!j(" 0o1")||!j("0b1")||j("+0x1"))){for(var w,x=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof x&&(y?f((function(){O.valueOf.call(n)})):l(n)!=g)?u(new j(v(e)),n,x):v(e)},F=r?b(j):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),S=0;F.length>S;S++)o(j,w=F[S])&&!o(x,w)&&p(x,w,h(j,w));x.prototype=O,O.constructor=x,c(a,g,x)}},ade3:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},bb51:function(t,e,n){"use strict";n.r(e);n("b680"),n("b0c0");var r=n("7a23"),a=n("5b7d"),i=n.n(a),c=n("1c13"),o=n.n(c),l=n("d2d1"),u=n.n(l),s=n("9831"),f=n.n(s),d=n("1b28"),b=n.n(d),h=n("3ef08"),p=n.n(h),m=n("d452"),g=n.n(m),j=Object(r["gb"])("data-v-c22aa06c");Object(r["H"])("data-v-c22aa06c");var O={class:"home"},y=Object(r["n"])("img",{src:i.a,class:"titleLift"},null,-1),v=Object(r["n"])("h4",null,"消防执法情况",-1),w=Object(r["m"])("环比"),x=Object(r["m"])("同比"),F=Object(r["n"])("h4",null,"城市体征指数",-1),S=Object(r["n"])("h4",null,"举报投诉情况",-1),C=Object(r["n"])("img",{class:"centerTop",src:o.a},null,-1),T=Object(r["n"])("img",{src:p.a,class:"titleLift"},null,-1),k=Object(r["n"])("h4",null,"值班表",-1),D=Object(r["n"])("img",{src:g.a,alt:""},null,-1),_=Object(r["n"])("h4",null,"火灾趋势图",-1),L=Object(r["m"])("近一年"),A=Object(r["m"])("近三年"),N=Object(r["m"])("近五年"),B=Object(r["n"])("h4",null,"警情处置情况",-1),E={class:"rightBoxCon"},z=Object(r["n"])("span",null,"火灾",-1),$=Object(r["n"])("span",null,[Object(r["m"])("同比:14% "),Object(r["n"])("span",{style:{color:"green","font-wight":"800"}},"↓")],-1),R=Object(r["n"])("span",null,"社会救助",-1),M=Object(r["n"])("span",null,[Object(r["m"])("同比:14% "),Object(r["n"])("span",{style:{color:"green"}},"↓")],-1),I=Object(r["n"])("span",null,"抢险救援",-1),V=Object(r["n"])("span",null,[Object(r["m"])("同比:14% "),Object(r["n"])("span",{style:{color:"red"}},"↑")],-1);Object(r["F"])();var P=j((function(t,e,n,a,i,c){var o=Object(r["N"])("el-col"),l=Object(r["N"])("el-row"),s=Object(r["N"])("radar-chart"),d=Object(r["N"])("word-cloud"),h=Object(r["N"])("el-button"),p=Object(r["N"])("el-option"),m=Object(r["N"])("el-select"),g=Object(r["N"])("el-form-item"),P=Object(r["N"])("el-form"),W=Object(r["N"])("category-line"),J=Object(r["N"])("gauge3");return Object(r["E"])(),Object(r["j"])("div",O,[Object(r["n"])(o,{span:8,class:"boxConentSize boxLeft"},{default:j((function(){return[y,Object(r["n"])(o,{class:"flexJ leftTopBox"},{default:j((function(){return[v,Object(r["n"])(l,{class:"leftTopContent"},{default:j((function(){return[(Object(r["E"])(!0),Object(r["j"])(r["b"],null,Object(r["L"])(i.SiAeAllList,(function(t){return Object(r["E"])(),Object(r["j"])(o,{key:t.checkType},{default:j((function(){return[Object(r["n"])(o,{class:"leftTopTitle"},{default:j((function(){return[Object(r["m"])(Object(r["R"])(t.checkType),1)]})),_:2},1024),Object(r["n"])(o,{class:"leftTopCenter"},{default:j((function(){return[Object(r["m"])(Object(r["R"])(t.number),1)]})),_:2},1024),Object(r["n"])(o,{class:"leftTopBot"},{default:j((function(){return[Object(r["n"])(o,null,{default:j((function(){return[Object(r["n"])(o,null,{default:j((function(){return[w]})),_:1}),Object(r["n"])(o,{style:{color:1===t.linkRelativeStatus?"red":"green"}},{default:j((function(){return[Object(r["m"])(Object(r["R"])(2===t.linkRelativeStatus?"-":"")+Object(r["R"])((100*t.linkRelativeRatio).toFixed(0))+"% ",1)]})),_:2},1032,["style"])]})),_:2},1024),Object(r["n"])(o,null,{default:j((function(){return[Object(r["n"])(o,null,{default:j((function(){return[x]})),_:1}),Object(r["n"])(o,{style:{color:1===t.sameStatus?"red":"green"}},{default:j((function(){return[Object(r["m"])(Object(r["R"])(2===t.sameStatus?"-":"")+Object(r["R"])((100*t.sameRatio).toFixed(0))+"% ",1)]})),_:2},1032,["style"])]})),_:2},1024)]})),_:2},1024)]})),_:2},1024)})),128)),Object(r["n"])(o)]})),_:1})]})),_:1}),Object(r["n"])(o,{class:"flexJ echartsPad"},{default:j((function(){return[F,i.complaintList.length>0?(Object(r["E"])(),Object(r["j"])(s,{key:0,dataMap:i.complaintList,name:"城市体征指数",ref:"radarChart"},null,8,["dataMap"])):Object(r["k"])("",!0)]})),_:1}),Object(r["n"])(o,{class:"flexJ echartsPad"},{default:j((function(){return[S,Object(r["n"])(d,{ref:"wordCloud",dataMap:i.reportComplaintList},null,8,["dataMap"])]})),_:1})]})),_:1}),Object(r["n"])(o,{span:8,class:"boxCenter",ref:"boxCenter"},{default:j((function(){return[Object(r["n"])(l,null,{default:j((function(){return[C,Object(r["n"])(o,{class:"centerBot"},{default:j((function(){return[Object(r["n"])(o,{class:"photo_box"},{default:j((function(){return[Object(r["n"])("img",{onClick:e[1]||(e[1]=function(t){return c.imgClick(1)}),src:u.a}),Object(r["n"])("img",{onClick:e[2]||(e[2]=function(t){return c.imgClick(2)}),src:f.a}),Object(r["n"])("img",{onClick:e[3]||(e[3]=function(t){return c.imgClick(3)}),src:b.a}),Object(r["n"])("img",{onClick:e[4]||(e[4]=function(t){return c.imgClick(1)}),src:u.a}),Object(r["n"])("img",{onClick:e[5]||(e[5]=function(t){return c.imgClick(2)}),src:f.a}),Object(r["n"])("img",{onClick:e[6]||(e[6]=function(t){return c.imgClick(3)}),src:b.a}),Object(r["n"])("img",{onClick:e[7]||(e[7]=function(t){return c.imgClick(1)}),src:u.a}),Object(r["n"])("img",{onClick:e[8]||(e[8]=function(t){return c.imgClick(2)}),src:f.a}),Object(r["n"])("img",{onClick:e[9]||(e[9]=function(t){return c.imgClick(3)}),src:b.a})]})),_:1})]})),_:1})]})),_:1})]})),_:1},512),Object(r["n"])(o,{span:8,class:"boxConentSize boxRight"},{default:j((function(){return[T,Object(r["n"])(o,{class:"flexJ rightTopBox"},{default:j((function(){return[k,Object(r["n"])(l,{class:"propSituation"},{default:j((function(){return[(Object(r["E"])(!0),Object(r["j"])(r["b"],null,Object(r["L"])(i.unitBeOnDutyList,(function(t){return Object(r["E"])(),Object(r["j"])(o,{key:t.name},{default:j((function(){return[Object(r["n"])(o,null,{default:j((function(){return[D]})),_:1}),Object(r["n"])(o,{class:"rank"},{default:j((function(){return[Object(r["m"])(Object(r["R"])(t.postName),1)]})),_:2},1024),Object(r["n"])(o,{class:"propName"},{default:j((function(){return[Object(r["m"])(Object(r["R"])(t.name),1)]})),_:2},1024)]})),_:2},1024)})),128))]})),_:1})]})),_:1}),Object(r["n"])(o,{class:"flexJ"},{default:j((function(){return[_,Object(r["n"])(l,{class:"fireContent"},{default:j((function(){return[Object(r["n"])(l,{class:"selectBar"},{default:j((function(){return[Object(r["n"])(l,null,{default:j((function(){return[Object(r["n"])(h,{size:"mini",onClick:e[10]||(e[10]=function(t){return c.searchTime(1)}),class:{btnClick:1===i.timeArea}},{default:j((function(){return[L]})),_:1},8,["class"]),Object(r["n"])(h,{size:"mini",onClick:e[11]||(e[11]=function(t){return c.searchTime(3)}),class:{btnClick:3===i.timeArea}},{default:j((function(){return[A]})),_:1},8,["class"]),Object(r["n"])(h,{size:"mini",onClick:e[12]||(e[12]=function(t){return c.searchTime(5)}),class:{btnClick:5===i.timeArea}},{default:j((function(){return[N]})),_:1},8,["class"])]})),_:1}),Object(r["n"])(P,{inline:!0,size:"mini",model:i.barForm},{default:j((function(){return[Object(r["n"])(g,{label:""},{default:j((function(){return[Object(r["n"])(m,{modelValue:i.barForm.address,"onUpdate:modelValue":e[13]||(e[13]=function(t){return i.barForm.address=t}),onChange:e[14]||(e[14]=function(t){return c.getTrend()}),filterable:"",clearable:"",placeholder:"街道"},{default:j((function(){return[(Object(r["E"])(!0),Object(r["j"])(r["b"],null,Object(r["L"])(i.fireAddressList,(function(t,e){return Object(r["E"])(),Object(r["j"])(p,{label:t,value:t,key:e},null,8,["label","value"])})),128))]})),_:1},8,["modelValue"])]})),_:1}),Object(r["n"])(g,{label:""},{default:j((function(){return[Object(r["n"])(m,{onChange:e[15]||(e[15]=function(t){return c.getTrend()}),modelValue:i.barForm.fireType,"onUpdate:modelValue":e[16]||(e[16]=function(t){return i.barForm.fireType=t}),placeholder:"火灾类型",filterable:"",clearable:""},{default:j((function(){return[(Object(r["E"])(!0),Object(r["j"])(r["b"],null,Object(r["L"])(i.fireTypeList,(function(t,e){return Object(r["E"])(),Object(r["j"])(p,{value:t,key:e},null,8,["value"])})),128))]})),_:1},8,["modelValue"])]})),_:1})]})),_:1},8,["model"])]})),_:1}),Object(r["n"])(l,{class:"fireBar"},{default:j((function(){return[Object(r["n"])(W,{ref:"categoryLine",dataMap:i.timeData},null,8,["dataMap"])]})),_:1})]})),_:1})]})),_:1}),Object(r["n"])(o,{class:"flexJ echartsPad",style:{height:"200px"}},{default:j((function(){return[B,Object(r["n"])("div",E,[Object(r["n"])(l,null,{default:j((function(){return[Object(r["n"])(l,{class:"rightTopTitle"},{default:j((function(){return[z]})),_:1}),Object(r["n"])(l,{class:"rightTopChart"},{default:j((function(){return[Object(r["n"])(J,{ref:"gauge1",dataMap:.2,dataNumber:20,size:"30",with:"15",tick:!1,color:"#468EFD"},null,8,["dataMap"])]})),_:1}),Object(r["n"])(l,{class:"rightTopNumber"},{default:j((function(){return[$]})),_:1})]})),_:1}),Object(r["n"])(l,null,{default:j((function(){return[Object(r["n"])(l,{class:"rightTopTitle"},{default:j((function(){return[R]})),_:1}),Object(r["n"])(l,{class:"rightTopChart"},{default:j((function(){return[Object(r["n"])(J,{ref:"gauge2",dataMap:.3,dataNumber:30,size:"30",with:"15",tick:!1,color:"#06B1B9"},null,8,["dataMap"])]})),_:1}),Object(r["n"])(l,{class:"rightTopNumber"},{default:j((function(){return[M]})),_:1})]})),_:1}),Object(r["n"])(l,null,{default:j((function(){return[Object(r["n"])(l,{class:"rightTopTitle"},{default:j((function(){return[I]})),_:1}),Object(r["n"])(l,{class:"rightTopChart"},{default:j((function(){return[Object(r["n"])(J,{ref:"gauge3",dataMap:.5,dataNumber:50,size:"30",with:"15",tick:!1,color:"#E4951E"},null,8,["dataMap"])]})),_:1}),Object(r["n"])(l,{class:"rightTopNumber"},{default:j((function(){return[V]})),_:1})]})),_:1})])]})),_:1})]})),_:1})])})),W=n("1da1"),J=(n("d81d"),n("96cf"),n("a344")),U=n("d613"),H=n("30f4"),Y=n("43f4"),q=Object(r["gb"])("data-v-338533cb");Object(r["H"])("data-v-338533cb");var G={ref:"echartD",style:{width:"100%",height:"100%",display:"flex","justify-content":"center"}};Object(r["F"])();var X=q((function(t,e,n,a,i,c){return Object(r["E"])(),Object(r["j"])("div",G,null,512)})),Q=(n("a9e3"),n("313e")),K={props:{dataMap:{type:Number,default:function(){return 0}},dataNumber:{type:Number,default:function(){return 0}},color:{type:String,default:function(){return"#468EFD"}},size:{type:Number,default:function(){return 20}},tick:{type:Boolean,default:function(){return!0}},with:{type:Number,default:function(){return 20}}},data:function(){return{}},watch:{dataMap:function(t){this.getData(t)},dataNumber:function(t){this.getData(t)}},mounted:function(){this.getData()},methods:{getData:function(){var t=this;document.body.clientWidth>1940?Q["b"](this.$refs.echartD).setOption({grid:{},series:[{name:"仪表盘",type:"gauge",radius:"60%",startAngle:220,endAngle:-40,splitNumber:10,axisLine:{lineStyle:{color:[[this.dataMap,this.color],[1,"#111F42"]],width:10}},axisLabel:{show:!1},axisTick:{show:!1},splitLine:{show:!1},itemStyle:{show:!1},detail:{formatter:function(e){return t.dataNumber?t.dataNumber:"".concat((100*e).toFixed(0),"%")},offsetCenter:[0,"0%"],textStyle:{fontSize:26,fontWeight:"400",color:this.color,fontFamily:'"DS", "DS-B", "DS-BB", "DS-BS"'}},title:{offsetCenter:[0,"10%"]},pointer:{show:!1},data:[this.dataNumber||this.dataMap]},{type:"gauge",name:"仪表盘",radius:"100%",startAngle:220,endAngle:-40,splitNumber:5,z:2,axisTick:{show:this.tick,lineStyle:{color:"#6B9DD7",width:3},length:-1},splitLine:{show:this.tick,lineStyle:{color:"#6B9DD7",width:3},length:-1},axisLabel:{color:"rgba(255,255,255,0)",fontSize:12},pointer:{show:!1},axisLine:{show:!1},label:{show:!1},detail:{show:!1,offsetCenter:["0","0%"],color:"#A2C7F3",formatter:function(t){return t},textStyle:{fontSize:16,fontFamily:'"DS", "DS-B", "DS-BB", "DS-BS"'}}}]}):Q["b"](this.$refs.echartD).setOption({grid:{},series:[{name:"仪表盘",type:"gauge",radius:"80%",startAngle:220,endAngle:-40,splitNumber:10,axisLine:{lineStyle:{color:[[this.dataMap,this.color],[1,"#111F42"]],width:this.with}},axisLabel:{show:!1},axisTick:{show:!1},splitLine:{show:!1},itemStyle:{show:!1},detail:{formatter:function(e){return t.dataNumber?t.dataNumber:"".concat((100*e).toFixed(0),"%")},offsetCenter:[0,"0%"],textStyle:{fontSize:this.size,fontWeight:"700",color:this.color,fontFamily:'"DS", "DS-B", "DS-BB", "DS-BS"'}},title:{offsetCenter:[0,"10%"]},pointer:{show:!1},data:[this.dataNumber||this.dataMap]},{type:"gauge",name:"仪表盘",radius:"120%",startAngle:220,endAngle:-40,splitNumber:5,z:2,axisTick:{show:this.tick,lineStyle:{color:"#6B9DD7",width:3},length:-1},splitLine:{show:this.tick,lineStyle:{color:"#6B9DD7",width:3},length:-1},axisLabel:{color:"rgba(255,255,255,0)",fontSize:12},pointer:{show:!1},axisLine:{show:!1},label:{show:!1},detail:{show:!1,offsetCenter:["0","0%"],color:"#A2C7F3",formatter:function(t){return t},textStyle:{fontSize:20,fontFamily:'"DS", "DS-B", "DS-BB", "DS-BS"'}}}]})},resize:function(){Q["b"](this.$refs.echartD).resize()}}},Z=n("6b0d"),tt=n.n(Z);const et=tt()(K,[["render",X],["__scopeId","data-v-338533cb"]]);var nt=et,rt={components:{gauge3:nt,radarChart:U["a"],wordCloud:H["a"],categoryLine:Y["a"]},data:function(){return{timeData:[],fireTypeList:[],fireAddressList:[],SiAeAllList:[],reportComplaintList:[],unitBeOnDutyList:[],complaintList:[{name:"出文情况",value:341},{name:"接警处",value:155},{name:"检查数量",value:156},{name:"处罚情况",value:118},{name:"设施设备",value:322},{name:"消防隐患",value:156},{name:"整改情况",value:156},{name:"查封情况",value:156}],timeArea:1,barForm:{fireType:"",address:""}}},computed:{},watch:{},mixins:[J["a"]],created:function(){this.getData()},mounted:function(){var t=this;window.addEventListener("resize",(function(){return t.resizeTimeActions([t.$refs.categoryLine,t.$refs.wordCloud,t.$refs.radarChart,t.$refs.gauge1,t.$refs.gauge2,t.$refs.gauge3])}),!0)},methods:{getData:function(){var t=this;return Object(W["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$axios.all([t.$axios.get(t.$api.fire.fireType),t.$axios.get(t.$api.fire.fireAddress)]);case 2:n=e.sent,n[0]&&(t.fireTypeList=n[0].data),n[1]&&(t.fireAddressList=n[1].data),t.getSiAeAllCollect(),t.getReportComplaint(),t.getUnitBeOnDuty(),t.getTrend();case 9:case"end":return e.stop()}}),e)})))()},getTrend:function(){var t=this;return Object(W["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$axios.get(t.$api.fire.trendQuery+"?"+t.$qs.stringify({address:t.barForm.address,fireType:t.barForm.fireType,startTime:(new Date).getFullYear()-t.timeArea+"-"+((new Date).getMonth()+1)+"-"+(new Date).getDate()+" 00:00:00",endTime:(new Date).getFullYear()+"-"+((new Date).getMonth()+1)+"-"+(new Date).getDate()+" 00:00:00"}));case 2:n=e.sent,n&&(t.timeData=n.data);case 4:case"end":return e.stop()}}),e)})))()},getUnitBeOnDuty:function(){var t=this;return Object(W["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$axios.get(t.$api.water["unitBeOnDuty"]+"?"+t.$qs.stringify({startTime:"2020-03-03 00:00:00",endTime:"2020-03-03 23:59:59"}));case 2:n=e.sent,n&&(t.unitBeOnDutyList=n.data);case 4:case"end":return e.stop()}}),e)})))()},getSiAeAllCollect:function(){var t=this;return Object(W["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$axios.get(t.$api.siaeall.siAeAllCollect+"?"+t.$qs.stringify({startTime:t.$store.state.timeList[0]||"",endTime:t.$store.state.timeList[1]||""}));case 2:n=e.sent,n&&(t.SiAeAllList=n.data);case 4:case"end":return e.stop()}}),e)})))()},getReportComplaint:function(){var t=this;return Object(W["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$axios.get(t.$api.siaeall.reportComplaint);case 2:n=e.sent,n.data&&(t.reportComplaintList=n.data.map((function(t){return{name:t.type,value:t.number}})));case 4:case"end":return e.stop()}}),e)})))()},searchTime:function(t){t!==this.timeArea&&(this.timeArea=t,this.getTrend())},imgClick:function(t){2===t&&window.open("http://120.55.70.156:8080/YtIoT/mhxf_index.jsp")}}};n("75dc");const at=tt()(rt,[["render",P],["__scopeId","data-v-c22aa06c"]]);e["default"]=at},d2d1:function(t,e,n){t.exports=n.p+"static/img/cloud1.f7011a01.png"},d452:function(t,e,n){t.exports=n.p+"static/img/bg2.7523803e.png"},d613:function(t,e,n){"use strict";var r=n("7a23"),a=Object(r["gb"])("data-v-762af66c");Object(r["H"])("data-v-762af66c");var i={ref:"echartD",style:{width:"100%",height:"100%"}};Object(r["F"])();var c=a((function(t,e,n,a,c,o){return Object(r["E"])(),Object(r["j"])("div",i,null,512)})),o=(n("4e82"),n("fb6a"),n("d81d"),n("b0c0"),n("b680"),n("313e")),l={props:{dataMap:{type:Array,default:function(){return[]}},name:{type:String,default:function(){return""}}},data:function(){return{}},watch:{dataMap:function(t){this.getData(t)}},mounted:function(){this.getData()},methods:{getData:function(){var t=this.dataMap.slice().sort((function(t,e){return e.value-t.value}))[0].value,e=this.dataMap.map((function(e){return{name:e.name,value:e.value,max:t+ +(.1*t).toFixed(0)}}));document.body.clientWidth>1940?o["b"](this.$refs.echartD).setOption({color:["yellow"],legend:{show:!1},grid:{height:"60%"},label:{itemStyle:{color:"#FFFFFF"}},tooltip:{textStyle:{color:"#FFF"},confine:!0,backgroundColor:"rgba(11, 12, 72, 0.8)",borderColor:"rgba(11, 12, 72, 0.4)",position:"bottom"},radar:{shape:"circle",radius:["0%","40%"],axisLine:{lineStyle:{color:"#12789C"}},splitLine:{lineStyle:{color:"#12789C"}},name:{fontSize:14,color:"#FFFFFF"},indicator:e},series:[{label:{},areaStyle:{color:"#ffff0038"},type:"radar",data:[{value:this.dataMap.map((function(t){return t.value})),name:this.name}]}]}):o["b"](this.$refs.echartD).setOption({color:["yellow"],legend:{show:!1},grid:{height:"60%"},label:{itemStyle:{color:"#FFFFFF"}},tooltip:{textStyle:{color:"#FFF"},confine:!0,backgroundColor:"rgba(11, 12, 72, 0.8)",borderColor:"rgba(11, 12, 72, 0.4)",position:"bottom"},radar:{shape:"circle",radius:["0%","65%"],axisLine:{lineStyle:{color:"#12789C"}},splitLine:{lineStyle:{color:"#12789C"}},name:{fontSize:14,color:"#FFFFFF"},indicator:e},series:[{label:{},areaStyle:{color:"#ffff0038"},type:"radar",data:[{value:this.dataMap.map((function(t){return t.value})),name:this.name}]}]})},resize:function(){o["b"](this.$refs.echartD).resize()}}},u=n("6b0d"),s=n.n(u);const f=s()(l,[["render",c],["__scopeId","data-v-762af66c"]]);e["a"]=f},d7be:function(t,e,n){}}]);
|