1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-252a6d5a"],{"04d1":function(t,e,n){var a=n("342f"),r=a.match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},1148:function(t,e,n){"use strict";var a=n("a691"),r=n("1d80");t.exports=function(t){var e=String(r(this)),n="",i=a(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},1276:function(t,e,n){"use strict";var a=n("d784"),r=n("44e7"),i=n("825a"),o=n("1d80"),l=n("4840"),c=n("8aa5"),s=n("50c4"),u=n("14c3"),f=n("9263"),d=n("9f7f"),h=n("d039"),b=d.UNSUPPORTED_Y,p=[].push,m=Math.min,g=4294967295,O=!h((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(t,e,n){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var a=String(o(this)),i=void 0===n?g:n>>>0;if(0===i)return[];if(void 0===t)return[a];if(!r(t))return e.call(a,t,i);var l,c,s,u=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,b=new RegExp(t.source,d+"g");while(l=f.call(b,a)){if(c=b.lastIndex,c>h&&(u.push(a.slice(h,l.index)),l.length>1&&l.index<a.length&&p.apply(u,l.slice(1)),s=l[0].length,h=c,u.length>=i))break;b.lastIndex===l.index&&b.lastIndex++}return h===a.length?!s&&b.test("")||u.push(""):u.push(a.slice(h)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=o(this),i=void 0==e?void 0:e[t];return void 0!==i?i.call(e,r,n):a.call(String(r),e,n)},function(t,r){var o=n(a,this,t,r,a!==e);if(o.done)return o.value;var f=i(this),d=String(t),h=l(f,RegExp),p=f.unicode,O=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(b?"g":"y"),j=new h(b?"^(?:"+f.source+")":f,O),w=void 0===r?g:r>>>0;if(0===w)return[];if(0===d.length)return null===u(j,d)?[d]:[];var v=0,y=0,S=[];while(y<d.length){j.lastIndex=b?0:y;var x,D=u(j,b?d.slice(y):d);if(null===D||(x=m(s(j.lastIndex+(b?y:0)),d.length))===v)y=c(d,y,p);else{if(S.push(d.slice(v,y)),S.length===w)return S;for(var B=1;B<=D.length-1;B++)if(S.push(D[B]),S.length===w)return S;y=v=x}}return S.push(d.slice(v)),S}]}),!O,b)},"408a":function(t,e,n){var a=n("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=a(t))throw TypeError("Incorrect invocation");return+t}},"4e82":function(t,e,n){"use strict";var a=n("23e7"),r=n("1c0b"),i=n("7b0b"),o=n("50c4"),l=n("d039"),c=n("addb"),s=n("a640"),u=n("04d1"),f=n("d998"),d=n("2d00"),h=n("512c"),b=[],p=b.sort,m=l((function(){b.sort(void 0)})),g=l((function(){b.sort(null)})),O=s("sort"),j=!l((function(){if(d)return d<70;if(!(u&&u>3)){if(f)return!0;if(h)return h<603;var t,e,n,a,r="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(a=0;a<47;a++)b.push({k:e+a,v:n})}for(b.sort((function(t,e){return e.v-t.v})),a=0;a<b.length;a++)e=b[a].k.charAt(0),r.charAt(r.length-1)!==e&&(r+=e);return"DGBEFHACIJK"!==r}})),w=m||!g||!O||!j,v=function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:String(e)>String(n)?1:-1}};a({target:"Array",proto:!0,forced:w},{sort:function(t){void 0!==t&&r(t);var e=i(this);if(j)return void 0===t?p.call(e):p.call(e,t);var n,a,l=[],s=o(e.length);for(a=0;a<s;a++)a in e&&l.push(e[a]);l=c(l,v(t)),n=l.length,a=0;while(a<n)e[a]=l[a++];while(a<s)delete e[a++];return e}})},"512c":function(t,e,n){var a=n("342f"),r=a.match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},6062:function(t,e,n){"use strict";var a=n("6d61"),r=n("6566");t.exports=a("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r)},6566:function(t,e,n){"use strict";var a=n("9bf2").f,r=n("7c73"),i=n("e2cc"),o=n("0366"),l=n("19aa"),c=n("2266"),s=n("7dd0"),u=n("2626"),f=n("83ab"),d=n("f183").fastKey,h=n("69f3"),b=h.set,p=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var u=t((function(t,a){l(t,u,e),b(t,{type:e,index:r(null),first:void 0,last:void 0,size:0}),f||(t.size=0),void 0!=a&&c(a,t[s],{that:t,AS_ENTRIES:n})})),h=p(e),m=function(t,e,n){var a,r,i=h(t),o=g(t,e);return o?o.value=n:(i.last=o={index:r=d(e,!0),key:e,value:n,previous:a=i.last,next:void 0,removed:!1},i.first||(i.first=o),a&&(a.next=o),f?i.size++:t.size++,"F"!==r&&(i.index[r]=o)),t},g=function(t,e){var n,a=h(t),r=d(e);if("F"!==r)return a.index[r];for(n=a.first;n;n=n.next)if(n.key==e)return n};return i(u.prototype,{clear:function(){var t=this,e=h(t),n=e.index,a=e.first;while(a)a.removed=!0,a.previous&&(a.previous=a.previous.next=void 0),delete n[a.index],a=a.next;e.first=e.last=void 0,f?e.size=0:t.size=0},delete:function(t){var e=this,n=h(e),a=g(e,t);if(a){var r=a.next,i=a.previous;delete n.index[a.index],a.removed=!0,i&&(i.next=r),r&&(r.previous=i),n.first==a&&(n.first=r),n.last==a&&(n.last=i),f?n.size--:e.size--}return!!a},forEach:function(t){var e,n=h(this),a=o(t,arguments.length>1?arguments[1]:void 0,3);while(e=e?e.next:n.first){a(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!g(this,t)}}),i(u.prototype,n?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),f&&a(u.prototype,"size",{get:function(){return h(this).size}}),u},setStrong:function(t,e,n){var a=e+" Iterator",r=p(e),i=p(a);s(t,e,(function(t,e){b(this,{type:a,target:t,state:r(t),kind:e,last:void 0})}),(function(){var t=i(this),e=t.kind,n=t.last;while(n&&n.removed)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(e)}}},"6d61":function(t,e,n){"use strict";var a=n("23e7"),r=n("da84"),i=n("94ca"),o=n("6eeb"),l=n("f183"),c=n("2266"),s=n("19aa"),u=n("861d"),f=n("d039"),d=n("1c7e"),h=n("d44e"),b=n("7156");t.exports=function(t,e,n){var p=-1!==t.indexOf("Map"),m=-1!==t.indexOf("Weak"),g=p?"set":"add",O=r[t],j=O&&O.prototype,w=O,v={},y=function(t){var e=j[t];o(j,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(m&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!u(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!u(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})},S=i(t,"function"!=typeof O||!(m||j.forEach&&!f((function(){(new O).entries().next()}))));if(S)w=n.getConstructor(e,t,p,g),l.REQUIRED=!0;else if(i(t,!0)){var x=new w,D=x[g](m?{}:-0,1)!=x,B=f((function(){x.has(1)})),W=d((function(t){new O(t)})),z=!m&&f((function(){var t=new O,e=5;while(e--)t[g](e,e);return!t.has(-0)}));W||(w=e((function(e,n){s(e,w,t);var a=b(new O,e,w);return void 0!=n&&c(n,a[g],{that:a,AS_ENTRIES:p}),a})),w.prototype=j,j.constructor=w),(B||z)&&(y("delete"),y("has"),p&&y("get")),(z||D)&&y(g),m&&j.clear&&delete j.clear}return v[t]=w,a({global:!0,forced:w!=O},v),h(w,t),m||n.setStrong(w,t,p),w}},"7fb7":function(t,e,n){},"8e73":function(t,e,n){"use strict";n("d7c0")},"942a":function(t,e,n){"use strict";n.r(e);n("b0c0");var a=n("7a23"),r=n("d452"),i=n.n(r),o=Object(a["gb"])("data-v-1dc252d2");Object(a["H"])("data-v-1dc252d2");var l=Object(a["n"])("h4",null,"支队值班情况",-1),c={class:"leftTopSearch"},s=Object(a["m"])("日"),u=Object(a["m"])("月"),f=Object(a["n"])("img",{src:i.a,alt:""},null,-1),d=Object(a["n"])("h4",null,"消防水源数量",-1),h=Object(a["n"])("span",null,"市政消火栓",-1),b=Object(a["n"])("span",null,"社区消火栓",-1),p=Object(a["n"])("span",null,"单位消火栓",-1),m=Object(a["n"])("span",null,"天然水源",-1),g=Object(a["m"])("市政取水点"),O=Object(a["m"])("社区取水点"),j=Object(a["m"])("单位取水点"),w=Object(a["n"])("h4",null,"水源性质占比",-1),v={class:"rightBoxCon"},y={style:{color:"#1af3fd"}},S=Object(a["n"])("span",null,"市政取水",-1),x={style:{color:"#fdc51a"}},D=Object(a["n"])("span",null,"地下取水",-1),B=Object(a["n"])("h4",null,"水源情况",-1),W={class:"tableTooltip"},z={class:"tableTitle"};Object(a["F"])();var F=o((function(t,e,n,r,i,F){var _=Object(a["N"])("el-button"),k=Object(a["N"])("el-col"),C=Object(a["N"])("se-table"),L=Object(a["N"])("el-row"),A=Object(a["N"])("water-gauge"),R=Object(a["N"])("funnel"),N=Object(a["N"])("gauge"),E=Object(a["N"])("el-popover"),T=Object(a["N"])("el-table-column"),M=Object(a["N"])("el-table");return Object(a["E"])(),Object(a["j"])(L,{class:"contentBox"},{default:o((function(){return[Object(a["n"])(a["e"],{name:"el-fade-in-linear"},{default:o((function(){return[Object(a["db"])(Object(a["n"])(k,{class:"leftBox"},{default:o((function(){return[Object(a["n"])(k,{class:"leftTop"},{default:o((function(){return[l,Object(a["n"])("div",c,[Object(a["n"])(_,{size:"mini",onClick:e[1]||(e[1]=function(t){return F.searchTime("day")}),class:{btnClick:"day"===i.timeArea}},{default:o((function(){return[s]})),_:1},8,["class"]),Object(a["n"])(_,{size:"mini",onClick:e[2]||(e[2]=function(t){return F.searchTime("month")}),class:{btnClick:"month"===i.timeArea}},{default:o((function(){return[u]})),_:1},8,["class"])]),Object(a["n"])(L,{class:"propSituation"},{default:o((function(){return["day"===i.timeArea?(Object(a["E"])(!0),Object(a["j"])(a["b"],{key:0},Object(a["L"])(i.unitBeOnDutyList,(function(t){return Object(a["E"])(),Object(a["j"])(k,{key:t.name},{default:o((function(){return[Object(a["n"])(k,{class:"rank"},{default:o((function(){return[Object(a["m"])(Object(a["R"])(t.postName),1)]})),_:2},1024),Object(a["n"])(k,null,{default:o((function(){return[f]})),_:1}),Object(a["n"])(k,{class:"propName"},{default:o((function(){return[Object(a["m"])(Object(a["R"])(t.name),1)]})),_:2},1024)]})),_:2},1024)})),128)):(Object(a["E"])(),Object(a["j"])(C,{ref:"seTable",dataMap:i.unitBeOnDutyListData,headerData:i.unitBeOnDutyHeaderList,key:t.windowWidth},null,8,["dataMap","headerData"]))]})),_:1})]})),_:1}),Object(a["n"])(k,{class:"leftBot"},{default:o((function(){return[d,Object(a["n"])(L,{class:"leftBotTop"},{default:o((function(){return[Object(a["n"])(A,{ref:"waterGauge",dataMap:i.fireWaterStatisticsObj.waterIntact||0},null,8,["dataMap"])]})),_:1}),Object(a["n"])(L,null,{default:o((function(){return[Object(a["n"])(k,null,{default:o((function(){return[h,Object(a["n"])("span",null,Object(a["R"])(i.fireWaterStatisticsObj.municipalFireCode),1)]})),_:1}),Object(a["n"])(k,null,{default:o((function(){return[b,Object(a["n"])("span",null,Object(a["R"])(i.fireWaterStatisticsObj.communityFireCode),1)]})),_:1}),Object(a["n"])(k,null,{default:o((function(){return[p,Object(a["n"])("span",null,Object(a["R"])(i.fireWaterStatisticsObj.unitFireCode),1)]})),_:1}),Object(a["n"])(k,null,{default:o((function(){return[m,Object(a["n"])("span",null,Object(a["R"])(i.fireWaterStatisticsObj.naturalWater),1)]})),_:1})]})),_:1})]})),_:1})]})),_:1},512),[[a["Z"],t.leftBtn]])]})),_:1}),Object(a["n"])(a["e"],{name:"el-fade-in-linear"},{default:o((function(){return[Object(a["n"])(k,{class:"centerBox",style:{"max-width":t.leftBtn&&t.rightBtn?"8rem":t.leftBtn||t.rightBtn?t.leftBtn||t.rightBtn?"16rem":"8rem":"100%"}},{default:o((function(){return[Object(a["n"])(L,{class:"leftBtn btnW",onClick:e[3]||(e[3]=function(e){return t.leftBtnClick()})},{default:o((function(){return[Object(a["n"])("i",{class:t.leftBtn?"el-icon-arrow-left":"el-icon-arrow-right"},null,2)]})),_:1}),Object(a["n"])(L,{class:"centerContent",id:"mapF",ref:"mapF"},null,512),Object(a["n"])(L,{class:"rightBtn btnW",onClick:e[4]||(e[4]=function(e){return t.rightBtnClick()})},{default:o((function(){return[Object(a["n"])("i",{class:t.rightBtn?"el-icon-arrow-right":"el-icon-arrow-left"},null,2)]})),_:1}),Object(a["n"])(L,{class:"mapTips"},{default:o((function(){return[Object(a["n"])(k,{class:"greenImage"},{default:o((function(){return[g]})),_:1}),Object(a["n"])(k,{class:"yellowImage"},{default:o((function(){return[O]})),_:1}),Object(a["n"])(k,{class:"redImage"},{default:o((function(){return[j]})),_:1})]})),_:1})]})),_:1},8,["style"])]})),_:1}),Object(a["n"])(a["e"],{name:"el-fade-in-linear"},{default:o((function(){return[Object(a["db"])(Object(a["n"])(k,{class:"rightBox"},{default:o((function(){return[Object(a["n"])(k,{class:"rightTop"},{default:o((function(){return[w,Object(a["n"])("div",v,[Object(a["n"])(L,{class:"funnelCon"},{default:o((function(){return[Object(a["n"])(k,{span:16},{default:o((function(){return[Object(a["n"])(R,{ref:"funnel",dataMap:i.fireWaterStatisticsObj.funnelList||[]},null,8,["dataMap"])]})),_:1}),Object(a["n"])(k,{span:8},{default:o((function(){return[(Object(a["E"])(!0),Object(a["j"])(a["b"],null,Object(a["L"])(i.fireWaterStatisticsObj.funnelList||[],(function(t){return Object(a["E"])(),Object(a["j"])(k,{key:t.name},{default:o((function(){return[Object(a["n"])("span",null,Object(a["R"])(t.name),1),Object(a["n"])("span",null,Object(a["R"])(t.data),1)]})),_:2},1024)})),128))]})),_:1})]})),_:1}),Object(a["n"])(L,{class:"gaugeCon"},{default:o((function(){return[Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["n"])(L,null,{default:o((function(){return[Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["n"])(N,{ref:"gauge1",dataMap:i.fireWaterStatisticsObj.municipalGetWaterRadio||0,color:"#1AF3FD",size:21,with:10,tick:!1},null,8,["dataMap"])]})),_:1}),Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["n"])("span",y,Object(a["R"])(i.fireWaterStatisticsObj.municipalGetWater),1),S]})),_:1})]})),_:1})]})),_:1}),Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["n"])(L,null,{default:o((function(){return[Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["n"])(N,{ref:"gauge2",dataMap:i.fireWaterStatisticsObj.landGetWaterRadio||0,color:"#FDC51A",size:21,with:10,tick:!1},null,8,["dataMap"])]})),_:1}),Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["n"])("span",x,Object(a["R"])(i.fireWaterStatisticsObj.landGetWater),1),D]})),_:1})]})),_:1})]})),_:1})]})),_:1})])]})),_:1}),Object(a["n"])(k,{class:"rightBot"},{default:o((function(){return[B,Object(a["n"])(M,{data:i.tableData,class:"transparentTableRow",height:"100%","row-style":"height:.425rem;","cell-style":"height:.425rem;box-sizing: border-box;",style:{width:"100%",margin:"0 auto"},onRowClick:F.FireWaterListClick},{default:o((function(){return[(Object(a["E"])(!0),Object(a["j"])(a["b"],null,Object(a["L"])(i.headerData,(function(t){return Object(a["E"])(),Object(a["j"])(T,{"show-overflow-tooltip":"",key:t.prop,prop:t.prop,align:"center","min-width":"20",label:t.name},Object(a["l"])({_:2},["type"===t.prop?{name:"default",fn:o((function(e){return[Object(a["n"])(E,{effect:"dark",trigger:"hover",placement:"left"},{default:o((function(){return[Object(a["n"])("div",W,[Object(a["n"])("div",z,[Object(a["n"])("div",null,Object(a["R"])(e.row.type),1)]),Object(a["n"])(L,{class:"tableContent"},{default:o((function(){return[Object(a["n"])(k,{span:24},{default:o((function(){return[Object(a["m"])("水源位置:"+Object(a["R"])(e.row.address),1)]})),_:2},1024),Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["m"])("电话:"+Object(a["R"])(e.row.phone),1)]})),_:2},1024),Object(a["n"])(k,{span:24},{default:o((function(){return[Object(a["m"])("支队名称:"+Object(a["R"])(e.row.detachmentName),1)]})),_:2},1024),Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["m"])("管辖机构:"+Object(a["R"])(e.row.jurisdictionalAgency),1)]})),_:2},1024),Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["m"])("水源类型:"+Object(a["R"])(e.row.type),1)]})),_:2},1024),Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["m"])("取水形式:"+Object(a["R"])(e.row.getWaterType),1)]})),_:2},1024),Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["m"])("水源性质:"+Object(a["R"])(e.row.waterAdministrative),1)]})),_:2},1024),Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["m"])("状态:"+Object(a["R"])(1==e.row.status?"可用":"不可用"),1)]})),_:2},1024),Object(a["n"])(k,{span:12},{default:o((function(){return[Object(a["m"])("供水单位:"+Object(a["R"])(e.row.waterUnit),1)]})),_:2},1024)]})),_:2},1024)])]})),reference:o((function(){return[Object(a["n"])("div",null,Object(a["R"])("status"===t.prop?1==e.row[t.prop]?"可用":"不可用":e.row[t.prop]),1)]})),_:2},1024)]}))}:{name:"default",fn:o((function(e){return[Object(a["m"])(Object(a["R"])("status"===t.prop?1==e.row[t.prop]?"可用":"不可用":e.row[t.prop]),1)]}))}]),1032,["prop","label"])})),128))]})),_:1},8,["data","onRowClick"])]})),_:1})]})),_:1},512),[[a["Z"],t.rightBtn]])]})),_:1})]})),_:1})})),_=n("5530"),k=n("1da1"),C=(n("d81d"),n("a630"),n("3ca3"),n("d3b7"),n("6062"),n("ddb0"),n("ac1f"),n("1276"),n("a15b"),n("4de4"),n("b680"),n("4e82"),n("96cf"),n("a344")),L=n("311d"),A=Object(a["gb"])("data-v-1556e734");Object(a["H"])("data-v-1556e734");var R={ref:"echartD",style:{width:"100%",height:"100%",display:"flex","justify-content":"center"}};Object(a["F"])();var N=A((function(t,e,n,r,i,o){return Object(a["E"])(),Object(a["j"])("div",R,null,512)})),E=(n("a9e3"),n("313e")),T={props:{dataMap:{type:Number,default:function(){return 0}}},data:function(){return{}},watch:{dataMap:function(t){this.getData(t)}},mounted:function(){this.getData()},methods:{getData:function(){document.body.clientWidth>1940?E["b"](this.$refs.echartD).setOption({title:{show:!0,text:"水源完好率",left:"center",right:"center",bottom:"center",top:"52%",center:20,textStyle:{color:"#FFF",fontSize:50,align:"center",fontWeight:"100",fontFamily:'"DS", "DS-B", "DS-BB", "DS-BS"'}},series:[{name:"刻度",type:"gauge",radius:"80%",min:0,max:100,startAngle:225,endAngle:-135,z:4,splitNumber:10,axisLine:{show:!0,lineStyle:{width:1,color:[[1,"rgba(0,0,0,0)"]]}},axisLabel:{show:!1,color:"#00faff",fontSize:50,distance:20,formatter:function(t){return t}},axisTick:{show:!0,splitNumber:6,lineStyle:{color:"#00faff",width:1},length:5},splitLine:{show:!0,length:-10,lineStyle:{color:"#00faff",width:1}}},{type:"gauge",radius:"60%",splitNumber:5,startAngle:225,endAngle:-135,z:4,axisLine:{show:!0,roundCap:!0,lineStyle:{width:10,color:[[this.dataMap>1?1:this.dataMap,new E["a"].LinearGradient(0,0,1,0,[{offset:0,color:"#0099ff"},{offset:1,color:"#00d5ff"}])]]}},splitLine:{show:!1},axisLabel:{show:!1},axisTick:{show:!1},pointer:{show:!1,length:"70%",width:"2%"},title:{show:!1,offsetCenter:[0,0],textStyle:{fontWeight:"100",color:"#0ab7ff",fontSize:50}},detail:{show:!0,offsetCenter:[0,"-20%"],color:"#ffffff",textStyle:{fontSize:90,color:"#FFF",fontWeight:"500",fontFamily:'"DS", "DS-B", "DS-BB", "DS-BS"'},formatter:function(t){return 100*t+"%"}},data:[{value:this.dataMap}]},{type:"pie",radius:"46%",center:["50%","50%"],z:3,itemStyle:{normal:{color:new E["a"].RadialGradient(.5,.5,.8,[{offset:0,color:"#00b8f8"},{offset:.5,color:"#0068d4"},{offset:1,color:"#0068d3"}],!1),label:{show:!1},labelLine:{show:!1}}},hoverAnimation:!1,label:{show:!1},tooltip:{show:!1},data:[100]},{type:"pie",radius:["0%","90%"],center:["50%","50%"],avoidLabelOverlap:!1,z:3,label:{normal:{show:!1,position:"center"},emphasis:{show:!1,textStyle:{fontWeight:"bold"}}},itemStyle:{normal:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#122c7a"},{offset:1,color:"#122c7a"}]}}},labelLine:{normal:{show:!1}},data:[{value:100}]},{type:"pie",radius:["0%","100%"],center:["50%","50%"],avoidLabelOverlap:!1,z:2,hoverAnimation:!1,label:{normal:{show:!1,position:"center"},emphasis:{show:!1,textStyle:{fontWeight:"bold"}}},itemStyle:{normal:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#0b1f61"},{offset:1,color:"#0b1f61"}]}}},labelLine:{normal:{show:!1}},data:[{value:100}]}]}):E["b"](this.$refs.echartD).setOption({title:{show:!0,text:"水源完好率",left:"center",right:"center",bottom:"center",top:"52%",center:20,textStyle:{color:"#FFF",fontSize:18,align:"center",fontWeight:"100",fontFamily:'"DS", "DS-B", "DS-BB", "DS-BS"'}},series:[{name:"刻度",type:"gauge",radius:"80%",min:0,max:100,startAngle:225,endAngle:-135,z:4,splitNumber:10,axisLine:{show:!0,lineStyle:{width:1,color:[[1,"rgba(0,0,0,0)"]]}},axisLabel:{show:!1,color:"#00faff",fontSize:14,distance:20,formatter:function(t){return t}},axisTick:{show:!0,splitNumber:6,lineStyle:{color:"#00faff",width:1},length:5},splitLine:{show:!0,length:-10,lineStyle:{color:"#00faff",width:1}}},{type:"gauge",radius:"60%",splitNumber:5,startAngle:225,endAngle:-135,z:4,axisLine:{show:!0,roundCap:!0,lineStyle:{width:10,color:[[this.dataMap>1?1:this.dataMap,new E["a"].LinearGradient(0,0,1,0,[{offset:0,color:"#0099ff"},{offset:1,color:"#00d5ff"}])]]}},splitLine:{show:!1},axisLabel:{show:!1},axisTick:{show:!1},pointer:{show:!1,length:"70%",width:"2%"},title:{show:!1,offsetCenter:[0,0],textStyle:{fontWeight:"100",color:"#0ab7ff",fontSize:30}},detail:{show:!0,offsetCenter:[0,"-20%"],color:"#ffffff",textStyle:{fontSize:60,color:"#FFF",fontWeight:"500",fontFamily:'"DS", "DS-B", "DS-BB", "DS-BS"'},formatter:function(t){return 100*t+"%"}},data:[{value:this.dataMap}]},{type:"pie",radius:"46%",center:["50%","50%"],z:3,itemStyle:{normal:{color:new E["a"].RadialGradient(.5,.5,.8,[{offset:0,color:"#00b8f8"},{offset:.5,color:"#0068d4"},{offset:1,color:"#0068d3"}],!1),label:{show:!1},labelLine:{show:!1}}},hoverAnimation:!1,label:{show:!1},tooltip:{show:!1},data:[100]},{type:"pie",radius:["0%","90%"],center:["50%","50%"],avoidLabelOverlap:!1,z:3,label:{normal:{show:!1,position:"center"},emphasis:{show:!1,textStyle:{fontWeight:"bold"}}},itemStyle:{normal:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#122c7a"},{offset:1,color:"#122c7a"}]}}},labelLine:{normal:{show:!1}},data:[{value:100}]},{type:"pie",radius:["0%","100%"],center:["50%","50%"],avoidLabelOverlap:!1,z:2,hoverAnimation:!1,label:{normal:{show:!1,position:"center"},emphasis:{show:!1,textStyle:{fontWeight:"bold"}}},itemStyle:{normal:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#0b1f61"},{offset:1,color:"#0b1f61"}]}}},labelLine:{normal:{show:!1}},data:[{value:100}]}]})},resize:function(){E["b"](this.$refs.echartD).resize()}}},M=n("6b0d"),I=n.n(M);const $=I()(T,[["render",N],["__scopeId","data-v-1556e734"]]);var G=$,V=Object(a["gb"])("data-v-70d3cdbc");Object(a["H"])("data-v-70d3cdbc");var H={ref:"echartD",style:{width:"100%",height:"100%",display:"flex","justify-content":"center"}};Object(a["F"])();var P=V((function(t,e,n,r,i,o){return Object(a["E"])(),Object(a["j"])("div",H,null,512)})),U={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?E["b"](this.$refs.echartD).setOption({grid:{},series:[{name:"仪表盘",type:"gauge",radius:"90%",startAngle:220,endAngle:-40,splitNumber:8,axisLine:{lineStyle:{color:[[this.dataMap,this.color],[1,"#111F42"]],width:40}},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:80,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:"60%",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"'}}}]}):E["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(){E["b"](this.$refs.echartD).resize()}}};const K=I()(U,[["render",P],["__scopeId","data-v-70d3cdbc"]]);var q=K;function J(t,e,n,r,i,o){var l=Object(a["N"])("el-table-column"),c=Object(a["N"])("el-table");return Object(a["E"])(),Object(a["j"])(c,{data:n.dataMap,class:"transparentTableRow",height:"100%","row-style":{height:".425rem"},style:{width:"100%",margin:"0 auto"},"cell-class-name":o.tableRowClassName,"cell-style":o.cellStyle},{default:Object(a["cb"])((function(){return[(Object(a["E"])(!0),Object(a["j"])(a["b"],null,Object(a["L"])(n.headerData,(function(t){return Object(a["E"])(),Object(a["j"])(l,{"show-overflow-tooltip":"","min-width":"20",key:t.prop,prop:t.prop,align:"center",label:t.name},null,8,["prop","label"])})),128))]})),_:1},8,["data","row-style","cell-class-name","cell-style"])}var Q={props:{dataMap:{type:Array,default:function(){return[]}},headerData:{type:Array,default:function(){return[]}}},data:function(){return{time:void 0}},mounted:function(){},methods:{day:function(){var t=new Date,e=t.getMonth()+1,n=t.getDate();e<10&&(e="0"+e),n<10&&(n="0"+n),this.time=e+"-"+n},tableRowClassName:function(t){var e=t.row,n=t.column,a=(t.rowIndex,t.columnIndex,this);return"deathToll"===n.property&&e.deathToll>0?"death":(a.day(),e.time==a.time?"green-row":void 0)},cellStyle:function(t,e,n,a){if("告警"===t.column.label||"离线"===t.column.label)return"color:#2280D9"}}};n("c144");const Z=I()(Q,[["render",J]]);var Y=Z,X=Object(a["gb"])("data-v-1a5a96a9");Object(a["H"])("data-v-1a5a96a9");var tt={ref:"echartD",style:{width:"100%",height:"100%",display:"flex","justify-content":"center"}};Object(a["F"])();var et=X((function(t,e,n,r,i,o){return Object(a["E"])(),Object(a["j"])("div",tt,null,512)})),nt={props:{dataMap:{type:Array,default:function(){return[]}},color:{type:String,default:function(){return"#468EFD"}}},data:function(){return{}},watch:{dataMap:function(t){this.getData(t)}},mounted:function(){this.getData()},methods:{getData:function(){document.body.clientWidth>1940?E["b"](this.$refs.echartD).setOption({backgroundColor:"transparent",color:["rgba(255,199,6,1)","rgba(11,255,109,1)","rgba(10,218,255,1)","rgba(12,210,0,1)"],series:[{zlevel:1,name:"漏斗图",type:"funnel",left:30,top:0,bottom:0,width:"100%",min:0,max:120,minSize:"3%",maxSize:"100%",sort:"ascending",gap:15,label:{show:!0,position:"left",align:"left",textBorderColor:"transparent",formatter:function(t){return t.data.reaVal+"%"},fontSize:100,opacity:1,fontFamily:'"DS", "DS-B", "DS-BB", "DS-BS"'},labelLine:{show:!0,length:50,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"transparent",borderWidth:0,opacity:.5,shadowColor:"#CCC"},emphasis:{label:{fontSize:30}},data:this.dataMap}]}):E["b"](this.$refs.echartD).setOption({backgroundColor:"transparent",color:["rgba(255,199,6,1)","rgba(11,255,109,1)","rgba(10,218,255,1)","rgba(12,210,0,1)"],series:[{zlevel:1,name:"漏斗图",type:"funnel",left:30,top:0,bottom:0,width:"100%",min:0,max:120,minSize:"3%",maxSize:"100%",sort:"ascending",gap:15,label:{show:!0,position:"left",align:"left",textBorderColor:"transparent",formatter:function(t){return t.data.reaVal+"%"},fontSize:25,opacity:1,fontFamily:'"DS", "DS-B", "DS-BB", "DS-BS"'},labelLine:{show:!0,length:50,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"transparent",borderWidth:0,opacity:.5,shadowColor:"#CCC"},emphasis:{label:{fontSize:30}},data:this.dataMap}]})},resize:function(){E["b"](this.$refs.echartD).resize()}}};const at=I()(nt,[["render",et],["__scopeId","data-v-1a5a96a9"]]);var rt=at,it=n("a193"),ot={mixins:[C["a"],L["a"]],components:{waterGauge:G,funnel:rt,gauge:q,seTable:Y},data:function(){return{timeArea:"day",unitBeOnDutyList:[],unitBeOnDutyHeaderList:[],unitBeOnDutyListData:[],tableData:[],headerData:[{prop:"type",name:"类型"},{prop:"address",name:"位置"},{prop:"jurisdictionalAgency",name:"管辖机构"},{prop:"getWaterType",name:"取水形式"},{prop:"waterGage",name:"水压(Mpa)"},{prop:"status",name:"状态"}],fireWaterStatisticsObj:{funnelList:[{data:0,reaVal:0,value:20},{data:0,reaVal:0,value:40},{data:0,reaVal:0,value:60},{data:0,reaVal:0,value:80}]}}},created:function(){this.getData()},mounted:function(){var t=this;window.addEventListener("resize",(function(){return t.resizeTimeActions([t.$refs.funnel,t.$refs.waterGauge,t.$refs.gauge1,t.$refs.gauge2])}),!0),this.initMap()},methods:{getData:function(){var t=this;return Object(k["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.getSiAeAllCollect(),t.getFireWaterStatistics(),t.getFireWater();case 3:case"end":return e.stop()}}),e)})))()},getSiAeAllCollect:function(){var t=this;return Object(k["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["day"===t.timeArea?"unitBeOnDuty":"unitBeOnDutyList"]+"?"+t.$qs.stringify({startTime:"day"===t.timeArea?(new Date).Format("yyyy-MM-dd")+" 00:00:00":Object(it["d"])(),endTime:"day"===t.timeArea?(new Date).Format("yyyy-MM-dd")+" 23:59:59":Object(it["c"])()}));case 2:n=e.sent,n&&"day"===t.timeArea&&(t.unitBeOnDutyList=n.data),n&&"month"===t.timeArea&&n.data[0]?(t.unitBeOnDutyHeaderList=Array.from(new Set(n.data[0].map((function(t){return t.postName})))).map((function(t){return{name:t,prop:t}})),t.unitBeOnDutyHeaderList.unshift({name:"日期",prop:"time"}),t.unitBeOnDutyListData=n.data.map((function(e){var n={},a=e[0].time.split(" ")[0].split("-");return a.shift(),n.time=a.join("-"),t.unitBeOnDutyHeaderList.map((function(t){var a=e.filter((function(e){return e.postName===t.name}));n[t.name]=a.length>0?a.map((function(t){return t.name})).join(","):""})),n}))):t.unitBeOnDutyListData=[];case 5:case"end":return e.stop()}}),e)})))()},getFireWater:function(){var t=this;return Object(k["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.fireWater+"?"+t.$qs.stringify({current:1,size:100}));case 2:n=e.sent,n&&(t.tableData=n.data.records.map((function(t){return Object(_["a"])(Object(_["a"])({},t),{},{waterGage:(+t.waterGage).toFixed(2)||0})})));case 4:case"end":return e.stop()}}),e)})))()},FireWaterListClick:function(t,e,n){var a=[];a.push(t)},getFireWaterStatistics:function(){var t=this;return Object(k["a"])(regeneratorRuntime.mark((function e(){var n,a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$axios.get(t.$api.water.fireWaterStatistics+"?"+t.$qs.stringify({}));case 2:n=e.sent,n&&(t.fireWaterStatisticsObj=n.data,t.fireWaterStatisticsObj.waterIntact=n.data.waterIntact.toFixed(2),a=n.data.municipalWater+n.data.residentWater+n.data.unitWater,r=[{name:"市政水源",reaVal:100*(t.fireWaterStatisticsObj.municipalWater/a).toFixed(2),data:t.fireWaterStatisticsObj.municipalWater},{name:"居民水源",reaVal:100*(t.fireWaterStatisticsObj.residentWater/a).toFixed(2),data:t.fireWaterStatisticsObj.residentWater},{name:"单位水源",reaVal:100*(t.fireWaterStatisticsObj.unitWater/a).toFixed(2),data:t.fireWaterStatisticsObj.unitWater},{name:"天然水源",reaVal:100*(t.fireWaterStatisticsObj.unitWater/a).toFixed(2),data:t.fireWaterStatisticsObj.unitWater}].sort((function(t,e){return t.data-e.data})),r.map((function(t,e){return t.value=20*e+20})),t.fireWaterStatisticsObj.funnelList=r);case 4:case"end":return e.stop()}}),e)})))()},searchTime:function(t){this.timeArea=t,this.getSiAeAllCollect()}}};n("8e73");const lt=I()(ot,[["render",F],["__scopeId","data-v-1dc252d2"]]);e["default"]=lt},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)}}},addb:function(t,e){var n=Math.floor,a=function(t,e){var o=t.length,l=n(o/2);return o<8?r(t,e):i(a(t.slice(0,l),e),a(t.slice(l),e),e)},r=function(t,e){var n,a,r=t.length,i=1;while(i<r){a=i,n=t[i];while(a&&e(t[a-1],n)>0)t[a]=t[--a];a!==i++&&(t[a]=n)}return t},i=function(t,e,n){var a=t.length,r=e.length,i=0,o=0,l=[];while(i<a||o<r)i<a&&o<r?l.push(n(t[i],e[o])<=0?t[i++]:e[o++]):l.push(i<a?t[i++]:e[o++]);return l};t.exports=a},b680:function(t,e,n){"use strict";var a=n("23e7"),r=n("a691"),i=n("408a"),o=n("1148"),l=n("d039"),c=1..toFixed,s=Math.floor,u=function(t,e,n){return 0===e?n:e%2===1?u(t,e-1,n*t):u(t*t,e/2,n)},f=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e},d=function(t,e,n){var a=-1,r=n;while(++a<6)r+=e*t[a],t[a]=r%1e7,r=s(r/1e7)},h=function(t,e){var n=6,a=0;while(--n>=0)a+=t[n],t[n]=s(a/e),a=a%e*1e7},b=function(t){var e=6,n="";while(--e>=0)if(""!==n||0===e||0!==t[e]){var a=String(t[e]);n=""===n?a:n+o.call("0",7-a.length)+a}return n},p=c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!l((function(){c.call({})}));a({target:"Number",proto:!0,forced:p},{toFixed:function(t){var e,n,a,l,c=i(this),s=r(t),p=[0,0,0,0,0,0],m="",g="0";if(s<0||s>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(m="-",c=-c),c>1e-21)if(e=f(c*u(2,69,1))-69,n=e<0?c*u(2,-e,1):c/u(2,e,1),n*=4503599627370496,e=52-e,e>0){d(p,0,n),a=s;while(a>=7)d(p,1e7,0),a-=7;d(p,u(10,a,1),0),a=e-1;while(a>=23)h(p,1<<23),a-=23;h(p,1<<a),d(p,1,1),h(p,2),g=b(p)}else d(p,0,n),d(p,1<<-e,0),g=b(p)+o.call("0",s);return s>0?(l=g.length,g=m+(l<=s?"0."+o.call("0",s-l)+g:g.slice(0,l-s)+"."+g.slice(l-s))):g=m+g,g}})},bb2f:function(t,e,n){var a=n("d039");t.exports=!a((function(){return Object.isExtensible(Object.preventExtensions({}))}))},c144:function(t,e,n){"use strict";n("7fb7")},d452:function(t,e,n){t.exports=n.p+"static/img/bg2.7523803e.png"},d7c0:function(t,e,n){},d998:function(t,e,n){var a=n("342f");t.exports=/MSIE|Trident/.test(a)},f183:function(t,e,n){var a=n("d012"),r=n("861d"),i=n("5135"),o=n("9bf2").f,l=n("90e3"),c=n("bb2f"),s=l("meta"),u=0,f=Object.isExtensible||function(){return!0},d=function(t){o(t,s,{value:{objectID:"O"+ ++u,weakData:{}}})},h=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!f(t))return"F";if(!e)return"E";d(t)}return t[s].objectID},b=function(t,e){if(!i(t,s)){if(!f(t))return!0;if(!e)return!1;d(t)}return t[s].weakData},p=function(t){return c&&m.REQUIRED&&f(t)&&!i(t,s)&&d(t),t},m=t.exports={REQUIRED:!1,fastKey:h,getWeakData:b,onFreeze:p};a[s]=!0}}]);
|