Agriculture-front-end/dist/assets/FloodExtraction.7a634b63.js
2023-09-19 14:34:21 +08:00

2 lines
37 KiB
JavaScript

import{L as B,_ as zt,u as Lt,r as s,D as Ie,t as Ct,C as Je,a5 as It,Y as Re,N as ue,d as z,o as y,c as N,k as i,K as Ue,f as g,G as X,H as $,m as M,j as O,w as m,e as v,l as q,Q as H,R as Z,I as Ft,x as K,A as Nt,p as Mt,q as Ot}from"./index.42ab3fdc.js";import pe from"./downloads.4cdbbcc5.js";import{_ as qt}from"./qx.88a5ecd3.js";import{_ as Bt,a as Tt}from"./zhankaiss.dd067ea4.js";import{_ as Gt,a as Vt,b as Wt,c as Yt}from"./position.3b2b2301.js";import{_ as Qt,a as Pt}from"./face.9a19de2e.js";import{_ as jt}from"./dow.b4b83e88.js";import"./index.b8675889.js";import{T as Jt}from"./TimeLine.7eee9c20.js";import{u as ce}from"./useEcharts.5d95df8c.js";import"./linesGL.901ceb35.js";import{d as ee}from"./download.e798abeb.js";import{u as Fe,w as Rt}from"./xlsx.86b9426e.js";import{e as ge}from"./element-resize-detector.ff2fdb0d.js";import{i as Q,ar as Xe}from"./install.5b5161c6.js";/* empty css */import"./browser-detector.e77caf03.js";function $e(_){return B({url:"equipment/damageArea",method:"get",params:_})}function He(_){return B({url:"equipment/proportion",method:"get",params:_})}function Ze(_){return B({url:"equipment/highStandard",method:"get",params:_})}function Ne(_){return B({url:"equipment/townInformation",method:"get",params:_})}function Ut(_){return B({url:"equipment/village",method:"get",params:_})}function Xt(_){return B({url:"equipment/listDroughtsDamageYear",method:"get",params:_})}function $t(_){return B({url:"equipment/listDroughtsDamage",method:"get",params:_})}function Ht(_){return B({url:"equipment/villageChun",method:"get",params:_})}const b=_=>(Mt("data-v-96d2bf90"),_=_(),Ot(),_),Zt={class:"fatherDiv"},Kt={class:"centerBox"},ea=b(()=>i("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),ta={class:"rightWra"},aa={class:"tabar"},oa={class:"leftTop"},la={class:"title"},ra=b(()=>i("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),na=b(()=>i("span",null,"\u519C\u4F5C\u7269\u53D7\u707E\u9762\u79EF\u7EDF\u8BA1",-1)),ia=b(()=>i("img",{src:pe,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),sa={class:"leftbottom"},da={class:"title"},ua=b(()=>i("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),ca=b(()=>i("span",null,"\u519C\u4F5C\u7269\u53D7\u707E\u9762\u79EF\u5360\u6BD4",-1)),ga=b(()=>i("img",{src:pe,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),pa={class:"tableDiv"},ha={class:"rightTop"},ma={class:"title"},fa=b(()=>i("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),va=b(()=>i("span",null,"\u6D2A\u6D9D\u9762\u79EF\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530",-1)),ya=b(()=>i("img",{src:pe,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ba={key:0},_a=b(()=>i("img",{src:qt},null,-1)),Sa=[_a],wa={class:"rightbottom"},xa={class:"title"},Aa=b(()=>i("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),ka=b(()=>i("span",null,"\u6D2A\u6D9D\u9762\u79EF\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),Da=b(()=>i("img",{src:pe,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Ea=b(()=>i("img",{src:Bt},null,-1)),za=b(()=>i("img",{src:Tt},null,-1)),La={class:"bottom_center"},Ca=Nt('<div class="tool" data-v-96d2bf90><span data-v-96d2bf90><img src="'+Gt+'" alt="" data-v-96d2bf90></span><span data-v-96d2bf90><img src="'+Vt+'" alt="" data-v-96d2bf90></span><span data-v-96d2bf90><img src="'+Wt+'" alt="" data-v-96d2bf90></span><span data-v-96d2bf90><img src="'+Qt+'" alt="" data-v-96d2bf90></span><span data-v-96d2bf90><img src="'+Pt+'" alt="" data-v-96d2bf90></span><span data-v-96d2bf90><img src="'+Yt+'" alt="" data-v-96d2bf90></span></div>',1),Ia={class:"mt-4"},Fa={id:"popup",class:"ol-popup"},Na=b(()=>i("div",{class:"pophead",style:{width:"100%"}},[i("div",{id:"popup-title",style:{"font-size":"20px","font-weight":"400","letter-spacing":"1px","line-height":"42px","padding-left":"20px","border-radius":"8px",margin:"20px",background:"rgba(100, 195, 164, 0.05)"}}),i("a",{href:"#",id:"popup-closer",class:"ol-popup-closer"})],-1)),Ma={id:"popup-content",style:{padding:"10px"}},Oa={class:"perform_children"},qa=b(()=>i("div",{class:"label"},"\u6D2A\u6D9D\u533A :",-1)),Ba=b(()=>i("div",{id:"popup-pagination"},null,-1)),Ta={id:"pop"},Ga={key:0},Va=b(()=>i("div",null,"\u6751\u540D\uFF1A",-1)),Wa={class:"tabulation"},Ya={class:"searchDiv"},Qa=b(()=>i("img",{src:jt,alt:""},null,-1)),Pa={class:"chartMode"},ja={__name:"FloodExtraction",setup(_){const Ke=Lt();s(null);const he=s(null),me=s(null);s(null);const fe=s(null),ve=s(null),L=s("370211");L.value=window.localStorage.getItem("divisions"),s(null);let V=Ie({arr:[],brr:[],crr:[]});s({name:"",value:""}),s([]);const et=s(!1);s(!1);let T=s(!1);const W=s([]);let P=s([]),j=Ie({lable:[],value:[]}),te=s([]),ye=s(0),be=s([]);const Y=s([]);let _e=s([]);const ae=s(0);let J=s(!0);s(1),s(12);let oe=s([]),le=s([]);const Se=s(null);let re=s([]),k=s(""),ne=s(null);s("");let tt=s([]),we=s([]),R=!(window.localStorage.getItem("divisions").length>6),xe=s([]),Ae=s(1),Me=s([]),ke=s(""),G=s(!0),ie=s(5),Oe=window.localStorage.getItem("deptName")=="\u9752\u5C9B\u897F\u6D77\u5CB8\u65B0\u533A"?"\u9EC4\u5C9B\u533A":window.localStorage.getItem("deptName"),f=s([{\u6D2A\u6D9D:0}]),h=s({time:"",statistical:"\u884C\u653F\u533A\u5212",droughtRating:"",area:ae.value}),U={\u6D2A\u6D9D\u533A:{color:"rgba(9, 187, 222, 1)",disabled:!1}},qe=s([]),I={\u6D2A\u6D9D\u533A:{setOf:"2020-05-26-honglao",name:"T2020_05_26_honglao"}},De=s([]);Ct(()=>{at()});function at(){ht(),ot(),rt(),lt(),Le(),Ce();for(const n in U)U[n].disabled!==!0&&P.value.push(n);W.value=P.value;let t=document.querySelector(".leftWra");t&&(t.style.transform="translate(-107%,0)");let e=document.querySelector(".rightWra");e.style.transform="translate(101%,0)"}Je(()=>{localStorage.getItem(Ke.currentRoute.value.path)=="false"?(document.querySelector(".mode").style.display="block",document.querySelector(".mode").innerText="\u5730\u56FE\u6A21\u5F0F"):(document.querySelector(".mode").style.display="block",document.querySelector(".mode").innerText="\u5217\u8868\u6A21\u5F0F")}),s(null),s(null);let Be=s(null),se=s(null),p=s(null);function ot(){p=new ol.Map({target:"cesiumContainer",controls:[],view:new ol.View({center:[119.86763411957472,35.88435182141938],zoom:11,maxZoom:16.5,projection:"EPSG:4326"}),layers:[new ol.layer.Tile({source:new ol.source.XYZ({url:`${serverAPI.tiandituLayers}`,projection:serverAPI.tiandituLayers=="http://59.206.203.34/tileservice/SdRasterPubMap?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=sdimg2017&STYLE=default&TILEMATRIXSET=img2017&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=application%2Fpng"?"EPSG:4326":"EPSG:3857"}),preload:20})]}),p.on("moveend",function(t){var e=p.getView().getZoom();e>=13?ne.setVisible(!0):ne.setVisible(!1)}),p.on("singleclick",function(t){var e=t.coordinate;if(R){var n=e[0],r=e[1],l=p.getView(),a=p.getView().getZoom();l.animate({center:[n,r],duration:1e3}),a>=13?de(t,"CJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u6751"):de(t,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u9547")}else{let d=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,c=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:"XJQY3702112019WGS84@huangdaoqu_bianjie",attributeFilter:`XJQYMC = '${Oe}'`},datasetNames:["huangdaoqu_bianjie:XJQY3702112019WGS84"]});new ol.supermap.FeatureService(d).getFeaturesBySQL(c,function(S){let x=new ol.format.GeoJSON().readFeatures(S.result.features),o=new ol.source.Vector;o.addFeatures(x);let C=new ol.layer.Vector({source:o}).getSource().getFeatures();for(var A=0;A<C.length;A++)if(C[A].getGeometry().intersectsCoordinate(e)){var D=e[0],F=e[1],u=p.getView(),E=p.getView().getZoom();u.animate({center:[D,F],duration:1e3}),E>=13?de(t,"CJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u6751"):de(t,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u9547")}})}}),nt(Oe)}Je(()=>{var t=document.querySelector(".centerBox"),e=document.getElementById("cesiumContainer"),n=new ResizeObserver(function(r){r.forEach(function(l){var a=l.contentRect.width,d=l.contentRect.height;e.style.width=a+"px",e.style.height=d+"px",p.updateSize()})});n.observe(t)});function de(t,e,n,r){var l=new ol.geom.Point(t.coordinate),a=new ol.supermap.QueryByGeometryParameters({queryParams:{name:e},geometry:l});let d=[],c=document.querySelector("#popup-title"),S=s(null),x=s(null);new ol.supermap.QueryService(n).queryByGeometry(a,function(o){let w="";if(x=p.getLayers().getArray().find(A=>A.get("id")==="zhezhao"),p.removeLayer(x),r=="\u9547"&&o.result.recordsets[0].features.features[0].properties.XJQYDM){let A=o.result.recordsets[0].features.features[0].properties.XJQYDM,D=[];Ne({divisions:"370211",yearMonth:k.value.name}).then(F=>{F.data.forEach(u=>{u.subregion==A&&(w=u.name,D.push(u)),we.value=D}),C()})}else if(r=="\u6751"&&o.result.recordsets[0].features.features[0].properties.CJQYDM){let A=o.result.recordsets[0].features.features[0].properties.CJQYDM,D=[];Ht({divisions:A,yearMonth:k.value.name}).then(F=>{F.data.forEach(u=>{D.push(u)}),w=F.data[0].name,we.value=D,C()})}function C(){if(o.result.currentCount>0){o.result.recordsets[0].features&&(se.setPosition(l.flatCoordinates),c.innerHTML=w),S=p.getLayers().getArray().find(E=>E.get("id")==="dianjigaoliang"),p.removeLayer(S);var A=new ol.format.GeoJSON().readFeatures(o.result.recordsets[0].features);d=o.result.recordsets[0].features.features[0].geometry.coordinates,Te(o.result.recordsets[0].features.features[0].geometry.coordinates);var D=new ol.source.Vector;D.addFeatures(A);const u=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(255, 219, 113, 1.0)",width:5})});var F=new ol.layer.Vector({id:"dianjigaoliang",source:D,zIndex:9999});F.setStyle(u),p.addLayer(F)}}}),Be.addEventListener("click",function(){x=p.getLayers().getArray().find(o=>o.get("id")==="zhezhao"),p.removeLayer(x),Ge(d),L.value=window.localStorage.getItem("divisions"),S=p.getLayers().getArray().find(o=>o.get("id")==="dianjigaoliang"),p.removeLayer(S),se.setPosition(void 0)})}const lt=()=>{document.getElementById("popup"),document.getElementById("popup-content"),Be=document.getElementById("popup-closer"),se=new ol.Overlay({element:document.getElementById("popup"),positioning:"bottom-center",stopEvent:!0,offset:[0,-10]}),p.addOverlay(se)};function rt(){It.get("/json/huangdao.json").then(({data:t})=>{new ol.format.GeoJSON().readFeatures(t)[0]})}function Te(t,e,n,r){let l=new ol.source.Vector;var a=new ol.layer.Vector({id:e||"zhezhao",source:l,zIndex:r||50,style:new ol.style.Style({fill:new ol.style.Fill({color:n||"rgba( 105, 105, 105, 0.9)"})})});const d=Ge(t),c=new ol.Feature({geometry:d});a.getSource().addFeature(c),p.addLayer(a)}function Ge(t){const e=[-180,-90,180,90],n=ol.geom.Polygon.fromExtent(e);return t.forEach(l=>{const a=new ol.geom.LinearRing(l[0]);n.appendLinearRing(a)}),n}function nt(t){let e="",n="",r="",l="",a="";n=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,e=t,r="XJQY3702112019WGS84",l="huangdaoqu_bianjie",a="XJQYMC";var d=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:`${r}@${l}`,attributeFilter:`${a} like '%${e}%'`},datasetNames:[`${l}:${r}`]});new ol.supermap.FeatureService(n).getFeaturesBySQL(d,function(c){if(c.result.featureCount!=0){var S=p.getLayers().getArray().find(D=>D.get("id")==="zhezhao");p.removeLayer(S);var x=p.getLayers().getArray().find(D=>D.get("id")==="dianjigaoliang");p.removeLayer(x);var o=new ol.format.GeoJSON().readFeatures(c.result.features);Te(c.result.features.features[0].geometry.coordinates,"qu","rgba( 105, 105, 105, 1)",9999);var w=new ol.source.Vector;w.addFeatures(o);const A=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:2})});var C=new ol.layer.Vector({id:"dianjigaoliang",source:w});C.setStyle(A),p.addLayer(C),p.getView().fit(w.getExtent())}})}const it=()=>{ne=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+"/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie",cacheEnabled:!1}),name:"CJQY3702112019WGS84",projection:"EPSG:4326",zIndex:9999}),p.addLayer(ne)},st=()=>{var t=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+"/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie",cacheEnabled:!1}),name:"XJQY3702112019WGS84",projection:"EPSG:4326",zIndex:9999});p.addLayer(t)},Ve=t=>{let e=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+`/map-${t.setOf}/rest/maps/${t.name}@${t.setOf}`,cacheEnabled:!1}),name:t.name,projection:"EPSG:4326"});p.addLayer(e)};let We=0;const dt=()=>{Ae.value=0};Re(()=>W.value,(t,e)=>{t.length>e.length&&Ae.value<1?t.filter(r=>{if(e.findIndex(a=>a===r)<0)return r}).forEach(r=>{I[r]&&Ve(I[r])}):t.length<e.length&&e.filter(r=>{if(t.findIndex(a=>a===r)<0)return r}).forEach(r=>{I[r]&&(p.getLayers().getArray().indexOf(I[r].name),p.getLayers().getArray().forEach((l,a)=>{l.A.name&&l.A.name==I[r].name&&p.getLayers().removeAt(a)}))}),We++,We==1&&(it(),st())}),Re(()=>k.value,(t,e)=>{L.value=window.localStorage.getItem("divisions"),mt(L.value,k.value.name),ft(L.value,k.value.name),vt(k.value.name),yt(L.value,k.value.name);let r=k.value.name.replace(/-/g,"_");I={\u6D2A\u6D9D\u533A:{setOf:`${k.value.name}-honglao`,name:`T${r}_honglao`}}});let Ee=s({label:[]});function ut(){if(T.value=!T.value,T.value){let t=document.querySelector(".rightWra");t.style.transform="translate(0,0)"}else{let t=document.querySelector(".rightWra");t.style.transform="translate(101%,0)"}}const ct=t=>{h.value.area=t},ze=()=>{let t=[],e=[];$t({yearMonth:h.value.time,statistical:h.value.statistical,droughtRating:h.value.droughtRating?h.value.droughtRating:"1",area:h.value.area}).then(n=>{if(h.value.statistical=="\u884C\u653F\u533A\u5212"){n.data.forEach(a=>{t.indexOf(a.typeName)==-1&&t.push(a.typeName)}),t.forEach(a=>{e.push(Object.create(null,{regio:{value:a}}))}),e.forEach(a=>{n.data.map(d=>{a.regio===d.typeName&&(a.region=d.typeName,a.\u6D2A\u6D9D=Number(d.yesFlooding).toFixed(2))})}),J.value=!1,Y.value=e,f.value[0].\u6D2A\u6D9D=0,f.value[0].region="\u5408\u8BA1",e.forEach(a=>{a.\u6D2A\u6D9D&&(f.value[0].\u6D2A\u6D9D+=Number(a.\u6D2A\u6D9D)!==NaN?Number(a.\u6D2A\u6D9D):0)});for(const a in f.value[0])f.value[0][a]!=="\u5408\u8BA1"&&(f.value[0][a]=f.value[0][a].toFixed(2))}else if(h.value.statistical=="\u4F5C\u7269\u7C7B\u578B"){n.data.forEach(a=>{t.indexOf(a.type)==-1&&t.push(a.type)}),t.forEach(a=>{e.push(Object.create(null,{regio:{value:a}}))}),e.forEach(a=>{n.data.map(d=>{a.regio===d.type&&(a.region=d.type,a.\u6D2A\u6D9D=Number(d.yesFlooding).toFixed(2))})}),J.value=!1,Y.value=e,f.value[0].\u6D2A\u6D9D=0,f.value[0].region="\u5408\u8BA1",e.forEach(a=>{a.\u6D2A\u6D9D&&(f.value[0].\u6D2A\u6D9D+=Number(a.\u6D2A\u6D9D)!==NaN?Number(a.\u6D2A\u6D9D):0)});for(const a in f.value[0])f.value[0][a]!=="\u5408\u8BA1"&&(f.value[0][a]=f.value[0][a].toFixed(2))}else if(h.value.statistical=="\u9AD8\u6807\u51C6\u519C\u7530"){n.data.forEach(a=>{t.indexOf(a.region)==-1&&t.push(a.region)}),t.forEach(a=>{e.push(Object.create(null,{regio:{value:a}}))}),e.forEach(a=>{n.data.map(d=>{a.regio===d.region&&(a.region=d.region,a.\u6D2A\u6D9D=Number(d.yesFlooding).toFixed(2))})}),J.value=!1,Y.value=e,f.value[0].\u6D2A\u6D9D=0,f.value[0].region="\u5408\u8BA1",e.forEach(a=>{a.\u6D2A\u6D9D&&(f.value[0].\u6D2A\u6D9D+=Number(a.\u6D2A\u6D9D)!==NaN?Number(a.\u6D2A\u6D9D):0)});for(const a in f.value[0])f.value[0][a]!=="\u5408\u8BA1"&&(f.value[0][a]=f.value[0][a].toFixed(2))}const r=Se.value;r.style.width=window.innerWidth-100+"px",r.style.height=window.innerHeight-100+"px";const l=Q(r);window.addEventListener("resize",()=>{r.style.width=window.innerWidth-200+"px",r.style.height=window.innerHeight-200+"px",l.resize()}),Et()})},gt=()=>{h.value.time=oe.value[oe.value.length-1],h.value.statistical="\u884C\u653F\u533A\u5212",h.value.droughtRating="",h.value.area=0,ae.value=0,J.value=!0,ze()},pt=t=>{re.value=le.value.slice((t-1)*ie.value,t*ie.value)},ht=()=>{Xt().then(t=>{k.value={name:t.data[t.data.length-1]},oe.value=t.data;let e=[];t.data.forEach(l=>{e.push({name:l})}),le.value=e,Me.value=Math.ceil(le.value.length/5),ke=Math.ceil(e.length/5),re.value=le.value.slice((ke-1)*ie.value,ke*ie.value),h.value.time=t.data[t.data.length-1],ze();let r=k.value.name.replace(/-/g,"_");I={\u6D2A\u6D9D\u533A:{setOf:`${k.value.name}-honglao`,name:`T${r}_honglao`}}})},mt=(t,e)=>{$e({divisions:t,yearMonth:e}).then(n=>{j=Ie({lable:[],value:[]}),n.data.forEach(r=>{j.lable.push(r.type),j.value.push(r.yesFlooding)}),Le()})},ft=(t,e)=>{let n=s([]);He({divisions:t,yearMonth:e}).then(r=>{te=s([]),De=s([]),ye=s(0),r.data.forEach(l=>{ye.value+=Number(l.yesFlooding),te.value.push({name:l.type,value:l.yesFlooding}),n.value.push({type:l.type,yesFlooding:`${l.yesFlooding}\u4EA9`,zb:`${(l.zb*100).toFixed(2)}%`})}),De.value=n.value,xe.value=Math.random(),Ce()})},vt=t=>{Ze({yearMonth:t}).then(e=>{qe.value=JSON.parse(JSON.stringify(e.data)),Qe()})},yt=(t,e)=>{Ne({divisions:t,yearMonth:e}).then(n=>{be=s([]);let r=[];tt.value=JSON.parse(JSON.stringify(n.data)),V.arr=n.data.sort((d,c)=>d.name.length-c.name.length),V.arr.forEach(d=>{r.push({name:d.name,subregion:d.subregion,yesFloodingPercentage:d.yesFloodingPercentage,createdTime:d.createdTime})}),be.value=r,xe.value=Math.random(),V.arr.unshift({subregion:"370211",name:"\u5168\u90E8"});let l=[],a=[];V.arr.forEach(d=>{l.indexOf(d.name)==-1&&(l.push(d.name),a.push({name:d.name,subregion:d.subregion,area:d.area,type:d.type}))}),V.arr=a,_e.value=JSON.parse(JSON.stringify(V.arr)),_e.value[0].subregion=null,Pe()})},Ye=t=>{G.value=t,t?(Le(),Ce()):(Qe(),Pe())},bt=t=>{$e({divisions:L.value,whetherToDownload:!0,yearMonth:k.value.name}).then(e=>{ee(e.data[e.data.length-1].downloadPath)})},_t=t=>{He({divisions:L.value,whetherToDownload:!0,yearMonth:k.value.name}).then(e=>{ee(e.data[e.data.length-1].downloadPath)})},St=t=>{Ze({divisions:L.value,whetherToDownload:!0,yearMonth:k.value.name}).then(e=>{ee(e.data[e.data.length-1].downloadPath)})},wt=t=>{L.value=="370211"?Ne({divisions:L.value,whetherToDownload:!0,yearMonth:k.value.name}).then(e=>{ee(e.data[e.data.length-1].downloadPath)}):Ut({divisions:L.value,whetherToDownload:!0,yearMonth:k.value.name}).then(e=>{ee(e.data[e.data.length-1].downloadPath)})},xt=()=>{let t=JSON.parse(JSON.stringify(f.value[0]));t.region="\u5408\u8BA1",Y.value.push(t),kt(Y.value,"\u6D2A\u6D9D\u9762\u79EF\u7EDF\u8BA1\u8868","Sheet1")},At=(t,e)=>t.map(r=>{const l={};for(const a in r)e[a]&&(l[e[a]]=r[a]);return l}),kt=(t,e="\u7528\u6237\u5217\u8868",n="Sheet1")=>{const l=At(t,{region:"\u533A\u57DF\u540D\u79F0",\u6D2A\u6D9D:"\u6D2A\u6D9D (\u4EA9)"}),a=Fe.json_to_sheet(l),d=Fe.book_new();Fe.book_append_sheet(d,a,n),Rt(d,`${e}.xlsx`)},Dt=t=>{P.value=[],Ae.value+=1;for(const n in U)U[n].disabled!==!0&&P.value.push(n);W.value=P.value;for(const n in I)p.getLayers().getArray().forEach((r,l)=>{r.A.name==I[n].name&&p.getLayers().removeAt(l)});k.value=t;let e=t.name.replace(/-/g,"_");I={\u6D2A\u6D9D\u533A:{setOf:`${t.name}-honglao`,name:`T${e}_honglao`}},W.value.forEach(n=>{Ve(I[n])})};function Le(){const t=Q(he.value);var e={textStyle:{fontSize:0},grid:{top:"15%",left:"5%",right:"5%",bottom:"10%",containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!0,top:"5%",data:["\u9762\u79EF"],right:"5%",bottom:5,icon:"rect",textStyle:{fontSize:14,color:"rgba(153, 153, 153, 1)"}},xAxis:{nameTextStyle:{color:"#c0c3cd",padding:[0,0,-10,0],fontSize:14},axisLabel:{color:"rgba(153, 153, 153, 1)",fontWeight:400,fontFamily:"SourceHanSansCN-Regular, SourceHanSansCN",fontSize:14},axisTick:{lineStyle:{color:"#0B1535",width:1},show:!1},splitLine:{show:!1},axisLine:{lineStyle:{color:"#384267",width:1,type:"dashed"},show:!0},data:j.lable,type:"category"},yAxis:{name:"\u9762\u79EF(\u4EA9)",nameTextStyle:{color:"rgba(153, 153, 153, 1)",fontSize:14},type:"value",axisLabel:{color:"rgba(153, 153, 153, 1)"},splitLine:{lineStyle:{type:"dashed"}},minInterval:1,axisLine:{show:!1},axisTick:{show:!1}},series:[{data:j.value,name:"\u9762\u79EF",type:"bar",barMaxWidth:"auto",barWidth:35,itemStyle:{color:{x:0,y:0,x2:0,y2:1,type:"linear",global:!1,colorStops:[{offset:0,color:"rgba(45, 204, 177, 1)"},{offset:1,color:"rgba(71, 179, 161, 0)"}]}},label:{normal:{show:!1,fontSize:14,color:"#ffffff",position:"top"}}}]};e&&t.setOption(e),ge().listenTo(he.value,()=>{ue(()=>{t.resize()})})}function Ce(){const t=Q(me.value);te.value.forEach(l=>{switch(l.itemStyle={},l.name){case"\u8336\u53F6":l.itemStyle.color="rgba(0, 209, 195, 1)";break;case"\u5927\u8C46":l.itemStyle.color="rgba(255, 184, 148, 1)";break;case"\u82B1\u751F":l.itemStyle.color="rgba(255, 140, 255, 1)";break;case"\u84DD\u8393":l.itemStyle.color="rgba(0, 153, 255, 1)";break;case"\u5730\u74DC":l.itemStyle.color="rgba(255, 18, 18, 1)";break;case"\u5C0F\u9EA6":l.itemStyle.color="rgba(25, 196, 22, 1)";break;case"\u7389\u7C73":l.itemStyle.color="rgba(255, 240, 26, 1)";break;case"\u9A6C\u94C3\u85AF":l.itemStyle.color="rgba(253, 127, 1, 1)";break;case"\u767D\u83DC\u548C\u841D\u535C":l.itemStyle.color="rgba(201, 255, 148, 1)";break;case"\u5176\u4ED6":l.itemStyle.color="rgba(166, 224, 255, 1)";break}});var e=te.value;let n={title:{text:"\u603B\u9762\u79EF",subtext:`${ye.value}\u4EA9`,textStyle:{color:"rgba(51, 51, 51, 1)",fontSize:14},subtextStyle:{fontSize:14,color:["#ff9d19"]},x:"center",y:"center"},grid:{top:0,let:"20px"},legend:{orient:"vertical",top:"middle",right:"10%",textStyle:{color:"black",fontSize:14},icon:"roundRect",data:e},tooltip:{trigger:"item",axisPointer:{type:"shadow"},formatter:"{a} <br/>{b} : {c} <br/>\u767E\u5206\u6BD4 : {d}%"},series:[{radius:["50%","71%"],center:["50%","50%"],type:"pie",label:{normal:{show:!1}},labelLine:{normal:{show:!1}},name:"\u5404\u51B7\u51BB\u7B49\u7EA7\u9762\u79EF\u5360\u6BD4",data:e},{radius:["50%","54%"],center:["50%","50%"],type:"pie",label:{normal:{show:!1},emphasis:{show:!1}},labelLine:{normal:{show:!1},emphasis:{show:!1}},animation:!1,tooltip:{show:!1},data:[{value:1,itemStyle:{color:"rgba(250,250,250,0.3)"}}]}]};ce(t,n),ge().listenTo(me.value,()=>{ue(()=>{t.resize()})})}function Qe(){const t=Q(fe.value);var e=[],n=[];let r=[];qe.value.forEach(o=>{e.push(o.region),n.push(o.yesFlooding),r.push({name:o.region,value:o.yesFlooding})});const l=r.map(o=>o.name),a=r.map(o=>o.value);ce(t,{grid:{left:10,bottom:10,right:10,top:10,containLabel:!1},tooltip:{trigger:"item",formatter:"\u9762\u79EF:{c0} \u4EA9",borderColor:"#458CDC",borderWidth:1,borderRadius:0,textStyle:{color:"#333"}},yAxis:[{inverse:!0,data:l,axisLabel:{textStyle:{fontSize:16,align:"left",fontFamily:"MiSans-Normal",color:"rgba(153, 153, 153, 1)"},padding:[-20,30,15,10],formatter:(o,w)=>w===0?`${o}`:`${o}`,rich:{icon:{width:7,height:8,backgroundColor:{image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOCAYAAAD0f5bSAAABI0lEQVQokWXSv0qdQRAF8N+93gQlQQmYzkqwsUlp4zv4KLY+kW2wsdFHkHSKoo2KgkbFP4REo/fKMbPwXTOw7H7fzpk55+z07Iyg51+0ffRuH4tBJU7UOauPIZ5rvXgHbqAP+ITPmCrQH/yq9bcLbpUn8QXLmMN+JV/hErf4XeBh6xTQLL5hFYfYwh6OcIqfeMBTl94MvhbtBczjAOuVky5P0dnvaIuW6Y7emLOINaxU0Y+R00DNwb7/I+YsFf1e65B46bjVjXts4DuOi+JoUDbmIwnXBXjEjzJjFye4K01v7gWUpBucYRub5dYFzqtYnEveMGMUHc2EiI2GRN4l1cMg1DMdefQ3TV16uUzVXDaL2zSMjVED5SLt41D+BZh9fGjxCo/fXmSu3pv5AAAAAElFTkSuQmCC"}},icon1:{width:7,height:8,backgroundColor:{image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOCAYAAAD0f5bSAAABSUlEQVQokV2Sv0oDQRDGf3u7EYNBEWJnJdjYWNr4Dj6KrU9kqzY2+gx2iqKNioJ/0QQxudztyneZlUsGlt27mW9mvm/GpeExgGNq+U5z94wFC/T21imACFR2aubAGdQBloAe0DXQCPixM2mDc+ZFYLWq2SWxHgLXFvwOvAJfwK+BY64kUJ/EdlWzHxO3IXBWOK6AO+AReAOGQNlubwXHmsrHyGZZsuE9N8Fz6FwToyqleBYtbl0Hyy2+vq7ZKksOJhV7TVJYEJ0MygoW8/Im6MXITh3p55EE80mZUZqS/zfnGATPifccAffWYgomoz4GwIcBxsFzITGAS+AB+DZOjXoCjYHPlHgqCs47gVPnGrVegGdLJuUUF7VG4qGBSgSR1YBlmouyqwMNWtuhoTec2u3JqaxyZonzNsysUQbJofJSSP8E1D27tMAfmOl6GGh2/cMAAAAASUVORK5CYII="}},num:{padding:[0,20,0,5],width:25,color:"#fff",align:"left",fontSize:12,fontFamily:"Mohave-BoldItalic",fontWeight:400}}},offset:0,splitLine:{show:!1},axisTick:{show:!1},axisLine:{show:!1}}],dataZoom:[{type:"slider",show:!1,zoomLock:!0,width:8,yAxisIndex:[0],bottom:30,top:20,right:10,startValue:0,endValue:4,handleIcon:"M-292,322.2c-3.2,0-6.4-0.6-9.3-1.9c-2.9-1.2-5.4-2.9-7.6-5.1s-3.9-4.8-5.1-7.6c-1.3-3-1.9-6.1-1.9-9.3c0-3.2,0.6-6.4,1.9-9.3c1.2-2.9,2.9-5.4,5.1-7.6s4.8-3.9,7.6-5.1c3-1.3,6.1-1.9,9.3-1.9c3.2,0,6.4,0.6,9.3,1.9c2.9,1.2,5.4,2.9,7.6,5.1s3.9,4.8,5.1,7.6c1.3,3,1.9,6.1,1.9,9.3c0,3.2-0.6,6.4-1.9,9.3c-1.2,2.9-2.9,5.4-5.1,7.6s-4.8,3.9-7.6,5.1C-285.6,321.5-288.8,322.2-292,322.2z",handleSize:"100%",handleStyle:{color:"#DBDBDB",height:"100%"},backgroundColor:"transparent",fillerColor:"#DBDBDB",textStyle:{color:"transparent"},dataBackground:{lineStyle:{color:"transparent"},areaStyle:{color:"transparent"}},borderColor:"transparent"},{type:"inside",id:"insideY",yAxisIndex:0,start:0,end:50,zoomOnMouseWheel:!1,moveOnMouseMove:!0,moveOnMouseWheel:!0}],xAxis:{show:!1},series:[{z:1,type:"bar",data:a,barWidth:7,showBackground:!0,backgroundStyle:{color:"rgba(95, 123, 149, 0.2)"},itemStyle:{color:function(o){return new Xe(0,0,1,0,[{offset:0,color:"rgba(25, 120, 229, 0)"},{offset:1,color:"rgba(0, 213, 255, 1)"}])}}},{type:"pictorialBar",data:a,z:10,symbol:"circle",symbolRotate:null,symbolSize:[8,8],symbolPosition:"end",symbolOffset:[4,0],itemStyle:{color:"rgba(255,255,255,1)"}}]}),ge().listenTo(fe.value,()=>{ue(()=>{t.resize()})})}function Pe(){const t=Q(ve.value);var e=[],n=[];let r=[];be.value.forEach(o=>{e.push(o.name),n.push(o.yesFloodingPercentage),r.push({name:o.name,value:o.yesFloodingPercentage})});const l=r.map(o=>o.name),a=r.map(o=>o.value);ce(t,{grid:{left:120,bottom:10,right:10,top:50,containLabel:!1},tooltip:{trigger:"item",formatter:"\u9762\u79EF:{c0} \u4EA9",borderColor:"#458CDC",borderWidth:1,borderRadius:0,textStyle:{color:"rgba(153, 153, 153, 1)"}},yAxis:[{inverse:!0,data:l,axisLabel:{textStyle:{fontSize:16,align:"right",fontFamily:"MiSans-Normal",color:"rgba(153, 153, 153, 1)"},padding:[20,0,15,10],formatter:(o,w)=>w===0?`${o}`:`${o}`,rich:{icon:{width:7,height:8,backgroundColor:{image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOCAYAAAD0f5bSAAABI0lEQVQokWXSv0qdQRAF8N+93gQlQQmYzkqwsUlp4zv4KLY+kW2wsdFHkHSKoo2KgkbFP4REo/fKMbPwXTOw7H7fzpk55+z07Iyg51+0ffRuH4tBJU7UOauPIZ5rvXgHbqAP+ITPmCrQH/yq9bcLbpUn8QXLmMN+JV/hErf4XeBh6xTQLL5hFYfYwh6OcIqfeMBTl94MvhbtBczjAOuVky5P0dnvaIuW6Y7emLOINaxU0Y+R00DNwb7/I+YsFf1e65B46bjVjXts4DuOi+JoUDbmIwnXBXjEjzJjFye4K01v7gWUpBucYRub5dYFzqtYnEveMGMUHc2EiI2GRN4l1cMg1DMdefQ3TV16uUzVXDaL2zSMjVED5SLt41D+BZh9fGjxCo/fXmSu3pv5AAAAAElFTkSuQmCC"}},icon1:{width:7,height:8,backgroundColor:{image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOCAYAAAD0f5bSAAABSUlEQVQokV2Sv0oDQRDGf3u7EYNBEWJnJdjYWNr4Dj6KrU9kqzY2+gx2iqKNioJ/0QQxudztyneZlUsGlt27mW9mvm/GpeExgGNq+U5z94wFC/T21imACFR2aubAGdQBloAe0DXQCPixM2mDc+ZFYLWq2SWxHgLXFvwOvAJfwK+BY64kUJ/EdlWzHxO3IXBWOK6AO+AReAOGQNlubwXHmsrHyGZZsuE9N8Fz6FwToyqleBYtbl0Hyy2+vq7ZKksOJhV7TVJYEJ0MygoW8/Im6MXITh3p55EE80mZUZqS/zfnGATPifccAffWYgomoz4GwIcBxsFzITGAS+AB+DZOjXoCjYHPlHgqCs47gVPnGrVegGdLJuUUF7VG4qGBSgSR1YBlmouyqwMNWtuhoTec2u3JqaxyZonzNsysUQbJofJSSP8E1D27tMAfmOl6GGh2/cMAAAAASUVORK5CYII="}},num:{padding:[0,20,0,5],width:25,color:"rgba(153, 153, 153, 1)",align:"left",fontSize:12,fontFamily:"Mohave-BoldItalic",fontWeight:400}}},offset:0,splitLine:{show:!1},axisTick:{show:!1},axisLine:{show:!1}}],dataZoom:[{type:"slider",show:!1,zoomLock:!0,width:8,yAxisIndex:[0],bottom:30,top:20,right:10,startValue:0,endValue:4,handleIcon:"M-292,322.2c-3.2,0-6.4-0.6-9.3-1.9c-2.9-1.2-5.4-2.9-7.6-5.1s-3.9-4.8-5.1-7.6c-1.3-3-1.9-6.1-1.9-9.3c0-3.2,0.6-6.4,1.9-9.3c1.2-2.9,2.9-5.4,5.1-7.6s4.8-3.9,7.6-5.1c3-1.3,6.1-1.9,9.3-1.9c3.2,0,6.4,0.6,9.3,1.9c2.9,1.2,5.4,2.9,7.6,5.1s3.9,4.8,5.1,7.6c1.3,3,1.9,6.1,1.9,9.3c0,3.2-0.6,6.4-1.9,9.3c-1.2,2.9-2.9,5.4-5.1,7.6s-4.8,3.9-7.6,5.1C-285.6,321.5-288.8,322.2-292,322.2z",handleSize:"100%",handleStyle:{color:"#DBDBDB",height:"100%"},backgroundColor:"transparent",fillerColor:"#DBDBDB",textStyle:{color:"transparent"},dataBackground:{lineStyle:{color:"transparent"},areaStyle:{color:"transparent"}},borderColor:"transparent"},{type:"inside",id:"insideY",yAxisIndex:0,start:0,end:50,zoomOnMouseWheel:!1,moveOnMouseMove:!0,moveOnMouseWheel:!0}],xAxis:[{position:"top",type:"value",color:"#59588D",axisLine:{show:!1},min:0,axisLabel:{color:"rgba(153, 153, 153, 1)"},splitLine:{show:!0,lineStyle:{type:"Dashed",color:"rgba(235, 238, 245, 1)"}},name:"",nameLocation:"middle",nameTextStyle:{fontSize:14,align:"center",padding:[20,0,0,0]}}],series:[{z:1,type:"bar",data:a,barWidth:7,showBackground:!0,backgroundStyle:{color:"rgba(95, 123, 149, 0.2)"},itemStyle:{color:function(o){return new Xe(0,0,1,0,[{offset:0,color:"rgba(255, 225, 104, 0)"},{offset:1,color:"rgba(255, 225, 104, 1)"}])}}},{type:"pictorialBar",data:a,z:10,symbol:"circle",symbolRotate:null,symbolSize:[8,8],symbolPosition:"end",symbolOffset:[4,0],itemStyle:{color:"rgba(255,255,255,1)"}}]}),ge().listenTo(ve.value,()=>{ue(()=>{t.resize()})})}function Et(){const t=Q(Se.value);let e=[],n=[];Y.value.forEach(c=>{e.push(c.region),c.\u6D2A\u6D9D!==void 0?n.push(c.\u6D2A\u6D9D):n.push(0)});let r=10/e.length*100,l={tooltip:{trigger:"axis",formatter:function(c){let S=c[0].axisValueLabel+"</br>",x=0;for(let o=0;o<c.length;o++)x+=c[o].value,c[o].seriesName!=="\u5408\u8BA1"&&(S+=c[o].seriesName+"\uFF1A"+c[o].value+"</br>");for(let o=0;o<c.length;o++)x+=Number(c[o].value),c[o].seriesName==="\u5408\u8BA1"&&(S+="\u5408\u8BA1\uFF1A"+x);return S},axisPointer:{type:"shadow"}},legend:{top:5,left:10,icon:"rect",itemWidth:4,itemHeight:12,data:[]},dataZoom:[{type:"slider",width:"40%",top:"90%",start:0,zoomLock:!0,end:r,showDataShadow:!1,showDetail:!1,fillerColor:"rgba(64, 158, 255)",borderRadius:"50%",moveHandleSize:0,moveHandleStyle:{},left:"30%",height:12,handleSize:"80%",handleIcon:"path://M512,512m-448,0a448,448,0,1,0,896,0a448,448,0,1,0,-896,0Z",handleStyle:{borderWidth:0,color:"rgba(64, 158, 255)"}},{type:"inside"}],grid:{left:"3%",right:"10%",bottom:"15%",top:"5%",containLabel:!0},xAxis:{type:"category",name:"\u533A\u57DF",axisLabel:{fontSize:12,interval:0,rotate:0},axisLine:{lineStyle:{}},data:e},yAxis:[{type:"value",name:"\u9762\u79EF\uFF08\u4EA9\uFF09",axisLabel:{},axisLine:{lineStyle:{}},splitLine:{lineStyle:{},show:!0}}],series:[{name:"\u6D2A\u6D9D",type:"bar",barWidth:13,stack:"\u5206\u7C7B",itemStyle:{color:{x:0,y:0,x2:0,y2:1,type:"linear",global:!1,colorStops:[{offset:0,color:"rgba(98, 161, 255, 1)"},{offset:1,color:"rgba(62, 109, 239, 1)"}]},barBorderRadius:[30,30,0,0]},data:n}]};l.series;var a=l.tooltip;function d(c){let S=c[0].axisValueLabel+"</br>",x=0;for(let o=0;o<c.length;o++)if(c[o].seriesName!=="\u5408\u8BA1"){const w=`<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:${c[o].color}"></span>`;x+=c[o].value,S+=w+c[o].seriesName+"\uFF1A"+c[o].value+"</br>"}for(let o=0;o<c.length;o++)c[o].seriesName==="\u5408\u8BA1"&&(S+="\u5408\u8BA1\uFF1A"+x);return S}a.formatter=d,ce(t,l)}return(t,e)=>{const n=z("el-table-column"),r=z("el-table"),l=z("el-icon"),a=z("el-tooltip"),d=z("el-checkbox"),c=z("el-checkbox-group"),S=z("el-collapse-item"),x=z("el-collapse"),o=z("el-button"),w=z("el-option"),C=z("el-select"),A=z("el-form-item"),D=z("el-input-number"),F=z("el-form");return y(),N("div",Zt,[i("div",Kt,[ea,i("div",ta,[i("div",aa,[i("div",{class:Ue(g(G)?"tabarS":""),onClick:e[0]||(e[0]=u=>Ye(!0))},"\u9EC4\u5C9B\u533A",2),i("div",{class:Ue(g(G)?"":"tabarS"),onClick:e[1]||(e[1]=u=>Ye(!1))},"\u884C\u653F\u533A",2)]),X(i("div",oa,[i("div",la,[ra,na,i("p",{onClick:e[2]||(e[2]=u=>bt())},[M(" \u4E0B\u8F7D \xA0 "),ia])]),i("div",{ref_key:"areaDiv",ref:he,class:"areaDiv"},null,512)],512),[[$,g(G)]]),X(i("div",sa,[i("div",da,[ua,ca,i("p",{onClick:e[3]||(e[3]=u=>_t())},[M(" \u4E0B\u8F7D \xA0 "),ga])]),i("div",{ref_key:"typesofDivs",ref:me,class:"typesofDiv"},null,512),i("div",pa,[(y(),O(r,{"cell-style":{textAlign:"center"},"header-cell-style":{"text-align":"center"},data:g(De),style:{width:"100%"},key:g(xe)},{default:m(()=>[v(n,{prop:"type",label:"\u7C7B\u578B"}),v(n,{prop:"yesFlooding",label:"\u9762\u79EF"}),v(n,{prop:"zb",label:"\u5360\u6BD4"})]),_:1},8,["data"]))])],512),[[$,g(G)]]),X(i("div",ha,[i("div",ma,[fa,va,g(R)?(y(),N("p",{key:0,onClick:e[4]||(e[4]=u=>St())},[M(" \u4E0B\u8F7D \xA0 "),ya])):q("",!0)]),X(i("div",{class:"farmlandDiv",ref_key:"farmlandDiv",ref:fe},null,512),[[$,g(R)]]),g(R)?q("",!0):(y(),N("div",ba,Sa))],512),[[$,!g(G)]]),X(i("div",wa,[i("div",xa,[Aa,ka,i("p",{onClick:e[5]||(e[5]=u=>wt())},[M(" \u4E0B\u8F7D \xA0 "),Da])]),i("div",{class:"ASdivision",ref_key:"ASdivision",ref:ve},null,512)],512),[[$,!g(G)]]),i("div",{class:"rightFoldDiv",onClick:e[6]||(e[6]=u=>ut())},[v(a,{disabled:!g(T),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:m(()=>[g(T)?(y(),O(l,{key:0},{default:m(()=>[Ea]),_:1})):q("",!0)]),_:1},8,["disabled"]),v(a,{disabled:g(T),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:m(()=>[g(T)?q("",!0):(y(),O(l,{key:0},{default:m(()=>[za]),_:1}))]),_:1},8,["disabled"])])]),i("div",La,[g(re).length>0?(y(),O(Jt,{key:0,dataSource:g(re),onDataHandle:Dt,allCount:g(Me),onGetcurrentPage:pt},null,8,["dataSource","allCount"])):q("",!0)]),Ca,v(x,{class:"legend",accordion:""},{default:m(()=>[v(S,{name:"1"},{title:m(()=>[M("\u56FE\u4F8B")]),default:m(()=>[i("div",Ia,[v(c,{modelValue:W.value,"onUpdate:modelValue":e[7]||(e[7]=u=>W.value=u),onChange:dt},{default:m(()=>[(y(!0),N(H,null,Z(g(U),(u,E,je)=>(y(),O(d,{key:je,"v-model":u.disabled,disabled:u.disabled,label:E},{default:m(()=>[i("span",{style:Ft({background:u.color,border:`1px solid ${u.color}`,width:"10px",height:"10px",display:"flex","margin-right":"5px"})},null,4),M(" "+K(E),1)]),_:2},1032,["v-model","disabled","label"]))),128))]),_:1},8,["modelValue"])])]),_:1})]),_:1}),i("div",Fa,[Na,i("div",Ma,[(y(!0),N(H,null,Z(g(we),(u,E)=>(y(),N("div",{class:"perform",key:E},[i("div",Oa,[qa,i("span",null,K(u.yesFloodingPercentage)+"(\u4EA9)",1)])]))),128))]),Ba]),i("div",Ta,[(y(!0),N(H,null,Z(g(Ee).label,(u,E)=>(y(),N("div",{key:E},[i("div",null,K(u.crop)+"\uFF1A",1),i("div",null,K(u.Shape_Area)+" \u4EA9",1)]))),128)),g(Ee).XZQMC?(y(),N("div",Ga,[Va,i("div",null,K(g(Ee).XZQMC),1)])):q("",!0),i("div",{class:"cancel",onClick:e[8]||(e[8]=(...u)=>t.hiddenOverlayChart&&t.hiddenOverlayChart(...u))},"X")]),et.value?(y(),O(o,{key:0,class:"back_button",onClick:e[9]||(e[9]=u=>t.back())},{default:m(()=>[M("\u8FD4\u56DE")]),_:1})):q("",!0)]),i("div",Wa,[i("div",Ya,[v(F,{inline:!0,model:g(h),class:"demo-form-inline"},{default:m(()=>[v(A,{label:"\u65F6\u95F4:"},{default:m(()=>[v(C,{"popper-class":"selectCity",modelValue:g(h).time,"onUpdate:modelValue":e[10]||(e[10]=u=>g(h).time=u),placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[(y(!0),N(H,null,Z(g(oe),(u,E)=>(y(),O(w,{key:E,label:t.Zitem,value:u},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),v(A,{label:"\u7EDF\u8BA1\u65B9\u5F0F:"},{default:m(()=>[v(C,{"popper-class":"selectCity",modelValue:g(h).statistical,"onUpdate:modelValue":e[11]||(e[11]=u=>g(h).statistical=u),placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[v(w,{label:"\u4F5C\u7269\u7C7B\u578B",value:"\u4F5C\u7269\u7C7B\u578B"}),v(w,{label:"\u884C\u653F\u533A\u5212",value:"\u884C\u653F\u533A\u5212"}),g(R)?(y(),O(w,{key:0,label:"\u9AD8\u6807\u51C6\u519C\u7530",value:"\u9AD8\u6807\u51C6\u519C\u7530"})):q("",!0)]),_:1},8,["modelValue"])]),_:1}),v(A,{label:"\u9547"},{default:m(()=>[v(C,{modelValue:g(h).droughtRating,"onUpdate:modelValue":e[12]||(e[12]=u=>g(h).droughtRating=u),"popper-class":"selectCity",disabled:g(h).statistical!=="\u884C\u653F\u533A\u5212",placeholder:g(h).statistical==="\u884C\u653F\u533A\u5212"?"\u5168\u90E8":"\u8BF7\u9009\u62E9"},{default:m(()=>[(y(!0),N(H,null,Z(g(_e),(u,E)=>(y(),O(w,{key:E,label:u.name,value:u.subregion},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled","placeholder"])]),_:1}),v(A,{label:"\u9762\u79EF(\u4EA9)>"},{default:m(()=>[v(D,{modelValue:ae.value,"onUpdate:modelValue":e[13]||(e[13]=u=>ae.value=u),min:0,onChange:ct},null,8,["modelValue"])]),_:1}),v(A,null,{default:m(()=>[v(o,{type:"primary",onClick:ze},{default:m(()=>[M("\u67E5\u8BE2")]),_:1}),v(o,{plain:"",onClick:gt},{default:m(()=>[M("\u91CD\u7F6E")]),_:1}),g(J)?q("",!0):(y(),O(o,{key:0,type:"primary",text:"",onClick:xt},{default:m(()=>[Qa,M(" \u4E0B\u8F7D ")]),_:1}))]),_:1})]),_:1},8,["model"])]),i("div",Pa,[i("div",{ref_key:"chartModeDiv",ref:Se,class:"chartModeDiv"},null,512)])])])}}},uo=zt(ja,[["__scopeId","data-v-96d2bf90"]]);export{uo as default};