import{H as X,_ as It,r as u,A as Tt,U as He,V as Et,W as Me,d as N,o as y,c as M,l as s,m as z,e as f,w as m,f as p,g as E,L as Y,N as K,k as P,F as Ft,x as Q,G as Qe,C as Ge,D as Ue,y as Pt,p as At,q as Bt}from"./index.48137ccf.js";import fe from"./downloads.e955445d.js";import{_ as pe}from"./close1.45635d81.js";import{_ as Ot,a as Rt,b as Zt,c as Vt,d as Xt,e as qt}from"./linesGL.90f708a5.js";import{_ as $t}from"./dow.f37c8d82.js";import{i as G,L as re}from"./index.c9f5bd8b.js";import{T as jt}from"./TimeLine.74a971ad.js";import{u as ce}from"./useEcharts.5ac9cbca.js";import{d as Je}from"./download.b1d8c1b6.js";import{u as ze,w as Ht}from"./xlsx.86b9426e.js";function Ye(D){return X({url:"equipment/areaStatisticsDrought",method:"get",params:D})}function Ke(D){return X({url:"equipment/proportionOfArea",method:"get",params:D})}function et(D){return X({url:"equipment/statisticsOfArea",method:"get",params:D})}function tt(D){return X({url:"equipment/township",method:"get",params:D})}function at(D){return X({url:"equipment/administrative",method:"get",params:D})}function Qt(){return X({url:"http://139.199.98.175:9080/geoserver/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Ahuangdaoqu_town&maxFeatures=50&outputFormat=application%2Fjson",method:"get"})}function Gt(){return X({url:"equipment/listDroughtsYear",method:"get"})}function Ut(D){return X({url:"equipment/listDroughts",method:"get",params:D})}const F=D=>(At("data-v-252bfa44"),D=D(),Bt(),D),Jt={class:"fatherDiv"},Yt={class:"centerBox"},Kt=F(()=>s("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),ea={class:"leftWra"},ta={class:"leftTop"},aa={class:"title"},oa=F(()=>s("span",null,"\u5404\u5E72\u65F1\u7B49\u7EA7\u9762\u79EF\u7EDF\u8BA1",-1)),ra=F(()=>s("img",{src:fe,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),la={class:"leftbottom"},na={class:"title"},sa=F(()=>s("span",null,"\u5404\u5E72\u65F1\u7B49\u7EA7\u9762\u79EF\u5360\u6BD4",-1)),ia=F(()=>s("img",{src:fe,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),da={class:"tableDiv"},ua={key:0,src:pe,alt:""},ca={key:0,class:"imgrotate",src:pe,alt:""},fa={class:"rightWra"},pa={class:"rightTop"},ga={class:"title"},ha=F(()=>s("span",null,"\u5404\u5E72\u65F1\u7B49\u7EA7\u9762\u79EF\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530",-1)),ma=F(()=>s("img",{src:fe,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),va={class:"rightbottom"},ba={class:"title"},ya=F(()=>s("span",null,"\u5404\u5E72\u65F1\u7B49\u7EA7\u9762\u79EF\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),_a=F(()=>s("img",{src:fe,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),wa={key:0,src:pe,alt:""},xa={key:0,class:"imgrotate",src:pe,alt:""},Sa={class:"bottom_center"},Ca=Pt('
',1),ka={class:"mt-4"},Da={id:"popup"},Na={id:"pop"},La={key:0},Wa=F(()=>s("div",null,"\u6751\u540D\uFF1A",-1)),Ma={class:"tabulation"},za={class:"searchDiv"},Ia=F(()=>s("img",{src:$t,alt:""},null,-1)),Ta={class:"tableBox"},Ea={class:"tableBorder"},Fa=["onClick"],Pa=["onClick"],Aa={class:"example-pagination-block"},Ba={class:"chartMode"},Oa={__name:"Drought",setup(D){let g=u(null);const Ie=u(null),Te=u(null),Ee=u(null);u(null);const Fe=u(null),C=u("370211"),ot=u(null);let I=Tt({arr:[],brr:[],crr:[]});const A=u({}),rt=u([]),ge=u(!1);let q=u(!1),$=u(!1);const le=u(["false"]);let he=u([]),ne=u([]),me=u([]),ve=u(0),Pe=u([]),j=u(!0),be=u([]);const ye=u(1);let w=u([{\u6E7F\u6DA6:0,\u9002\u5B9C:0,\u8F7B\u5EA6\u5E72\u65F1:0,\u4E2D\u5EA6\u5E72\u65F1:0,\u91CD\u5EA6\u5E72\u65F1:0}]),_e=u([]),B=u(1),O=u(12);const se=u(null);let we=u([]),U=u(!0),k=u({time:"",statistical:"\u9547",droughtRating:"",area:ye.value});const R=u([]);let Ae=["\u9AD8\u6807\u51C6\u519C\u75301.0","\u9AD8\u6807\u51C6\u519C\u75302.0","\u9AD8\u6807\u51C6\u519C\u75303.0","\u9AD8\u6807\u51C6\u519C\u75304.0","\u9AD8\u6807\u51C6\u519C\u75305.0","\u9AD8\u6807\u51C6\u519C\u75306.0","\u9AD8\u6807\u51C6\u519C\u75307.0"],Z={\u8F7B\u5EA6\u5E72\u65F1:[],\u4E2D\u5EA6\u5E72\u65F1:[],\u91CD\u5EA6\u5E72\u65F1:[],\u9002\u5B9C:[],\u6E7F\u6DA6:[]},xe={\u6E7F\u6DA6:{color:"rgba(9, 187, 222, 0.8)",disabled:!1},\u9002\u5B9C:{color:"rgba(255, 235, 59, 0.8)",disabled:!1},\u8F7B\u5EA6\u5E72\u65F1:{color:"rgba(234, 165, 93, 0.8)",disabled:!1},\u4E2D\u5EA6\u5E72\u65F1:{color:"rgba(205, 92, 92, 1)",disabled:!1},\u91CD\u5EA6\u5E72\u65F1:{color:"red",disabled:!1}};He(()=>I.arr,t=>{console.log("val:",t)});var J={title:[]};let T={\u9002\u5B9C:[],\u6E7F\u6DA6:[],\u8F7B\u5EA6\u5E72\u65F1:[],\u4E2D\u5EA6\u5E72\u65F1:[],\u91CD\u5EA6\u5E72\u65F1:[]},Se=u([]);Et(()=>{Be("370211"),Oe("370211"),bt(),Re("370211"),vt(),nt(),Ne(),Ve(),ue(),it();for(const a in xe)xe[a].disabled!==!0&&(console.log(a),Pe.value.push(a));le.value=Pe.value;let t=document.querySelector(".leftWra");t&&(t.style.transform="translate(-107%,0)");let e=document.querySelector(".rightWra");e.style.transform="translate(107%,0)"});const lt={url:"http://{s}.tianditu.gov.cn/img_c/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=c&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=31091965e263284a501a723b8909f405",layer:"tdtCva",style:"default",format:"tiles",tileMatrixSetID:"c",subdomains:["t0","t1","t2","t3","t4","t5","t6","t7"],tilingScheme:new Cesium.GeographicTilingScheme,tileMatrixLabels:["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],maximumLevel:18};Cesium.Ion.defaultAccessToken="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiYzcwZmJmNi02MzQ5LTQ1MGEtODgzMy0yZTZiZGExY2MzMGMiLCJpZCI6MTAxOTgsInNjb3BlcyI6WyJhc2wiLCJhc3IiLCJnYyJdLCJpYXQiOjE1ODEzMDgxNTR9.NeJU4yfUi-SnLrNDOBYsQgmiSh3B4axCTi1m84Qw99c";function nt(){g=new Cesium.Viewer("cesiumContainer",{baseLayerPicker:!1,shouldAnimate:!0,infoBox:!1,animation:!1,timeline:!1,geocoder:!1,homeButton:!1,navigationHelpButton:!1,selectionIndicator:!1,fullscreenButton:!1,terrainProvider:new Cesium.EllipsoidTerrainProvider({}),sceneModePicker:!1,contextOptions:{webgl:{alpha:!0}},imageryProvider:new Cesium.WebMapTileServiceImageryProvider({...lt})}),g.cesiumWidget.creditContainer.style.display="none",Xe("shuzisannong:huangdaoqu_town","shuzisannong:huangdaoqu_town"),g.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:0}),dt(),Wt()}function Ce(t,e,a){t.forEach(r=>{let l=[];r[0].forEach(o=>{l.push(o[0]),l.push(o[1])}),g.entities.add({name:e,polyline:{positions:Cesium.Cartesian3.fromDegreesArray(l),width:6,material:new Cesium.PolylineGlowMaterialProperty({glowPower:.2,color:a?Cesium.Color.fromCssColorString(a):Cesium.Color.fromBytes(250,128,114)}),clampToGround:!0}})})}function st(t){return t>48e6?0:t>24e6?1:t>12e6?2:t>6e6?3:t>3e6?4:t>15e5?5:t>75e4?6:t>375e3?7:t>187500?8:t>93750?9:t>46875?10:t>23437.5?11:t>11718.75?12:t>5859.38?13:t>2929.69?14:t>1464.84?15:t>732.42?16:t>366.21?17:18}function it(){Me({url:serverAPI.geoserverUrl+"/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Afarmland&maxFeatures=50&outputFormat=application%2Fjson",method:"get"}).then(t=>{console.log("\u519C\u7530\uFF1A",t),rt.value=t.data.features}).catch(t=>{})}let ee=u({label:[]}),te="";function dt(){var t=new Cesium.ScreenSpaceEventHandler(g.canvas);t.setInputAction(function(e){var a=g.camera.getPickRay(e.position),r=g.scene.globe.pick(a,g.scene);if(r){let l=Cesium.Cartographic.fromCartesian(r);if(l){let o=new Cesium.Cartesian2,n=g.camera.positionCartographic.height,c=st(n);const _=g.imageryLayers._layers,v=_.findIndex(b=>b._imageryProvider._layers&&b._imageryProvider._layers==="shuzisannong:huangdaoqu_town");if(v>-1){const b=_[v];let i=b._imageryProvider;if(i&&i.ready&&i._layers&&b.show===!0){o=i.tilingScheme.positionToTileXY(l,c,o);let x=i.pickFeatures(o.x,o.y,c,l.longitude,l.latitude);x&&x.then(L=>{if(L.length>0){let W=L[0];if(W.properties&&W.properties.XZDM)if(console.log("XZDM:",te),console.log("newData.properties.XZDM:",W.properties.XZDM),te!==W.properties.XZDM){ge.value=!0,te=W.properties.XZDM,C.value=te,de&&de();let d=W.data;g.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(d.bbox[0],d.bbox[1],d.bbox[2],d.bbox[3]),duration:2}),V("townLine"),Ce(d.geometry&&d.geometry.coordinates,"townLine","yellow"),H(["village_CQL"]),console.log(W.properties.XZDM),ft(`XZDM=${W.properties.XZDM}`,"village_CQL");let S=g.entities._entities._array;for(var h=S.length-1;h>=0;h--)if(S[h]._name&&S[h]._name==="point"+W.properties.XZDM){let We=S[h]._info;ee.value=We,$e(e.position),g.scene.postRender.addEventListener(Le)}V("villageLine"),ke=""}else ut(_,o,c,l,e);else H(["village_CQL"]),oe()}})}}}}},Cesium.ScreenSpaceEventType.LEFT_CLICK)}let ke="";function ut(t,e,a,r,l){const o=t.findIndex(n=>n._imageryProvider._layers&&n._imageryProvider._layers==="shuzisannong:huangdaoqu_village");if(o>-1){const n=t[o];let c=n._imageryProvider;if(c&&c.ready&&c._layers&&n.show===!0){e=c.tilingScheme.positionToTileXY(r,a,e);let _=c.pickFeatures(e.x,e.y,a,r.longitude,r.latitude);_&&_.then(v=>{if(v.length>0){let b=v[0];if(console.log(b),g.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(b.data.bbox[0],b.data.bbox[1],b.data.bbox[2],b.data.bbox[3]),duration:2}),b.properties&&b.properties.XZQDM)if(ke!==b.properties.XZQDM){ke=b.properties.XZQDM;let i=b.data;V("villageLine"),Ce(i.geometry&&i.geometry.coordinates,"villageLine","yellow")}else ct(t,e,a,r,l)}})}}}function ct(t,e,a,r,l){console.log(r);const o=t.findIndex(n=>n._imageryProvider._layers&&n._imageryProvider._layers==="shuzisannong:TVDI");if(o>-1){const n=t[o];let c=n._imageryProvider;if(c&&c.ready&&c._layers&&n.show===!0){e=c.tilingScheme.positionToTileXY(r,a,e);let _=c.pickFeatures(e.x,e.y,a,r.longitude,r.latitude);_&&_.then(v=>{if(v.length>0){let b=v[0],i="";switch(b.properties.value){case 2:i="\u6E7F\u6DA6";break;case 3:i="\u9002\u5B9C";break;case 4:i="\u8F7B\u5EA6\u5E72\u65F1";break;case 4:i="\u4E2D\u5EA6\u5E72\u65F1";break;case 4:i="\u91CD\u5EA6\u5E72\u65F1";break}let x=Cesium.Math.toDegrees(r.longitude).toFixed(6),L=Cesium.Math.toDegrees(r.latitude).toFixed(6);A.value={lon:x,lat:L,grade:i},console.log(A.value),$e(l.position),g.scene.postRender.addEventListener(Le)}})}}}function ft(t,e){let a=new Cesium.WebMapServiceImageryProvider({url:`${serverAPI.geoserverUrl}/shuzisannong/wms`,layers:"shuzisannong:huangdaoqu_village",parameters:{service:"WMS",format:"image/png",transparent:!0,CQL_FILTER:t}});a.customName=e,g.imageryLayers.addImageryProvider(a)}function ae(t,e){let a=new Cesium.WebMapServiceImageryProvider({url:`${serverAPI.geoserverUrl}/shuzisannong/wms`,layers:"shuzisannong:TVDI",parameters:{service:"WMS",format:"image/png",transparent:!0,CQL_FILTER:`value in (${t})`}});a.customName=e,g.imageryLayers.addImageryProvider(a)}function H(t,e){if(g){const a=g.imageryLayers._layers;for(let r=a.length-1;r>=0;r--)t.forEach(l=>{a[r]._imageryProvider&&a[r]._imageryProvider.customName&&(e?a[r]._imageryProvider.customName.indexOf(l)>-1&&g.imageryLayers.remove(a[r]):a[r]._imageryProvider.customName===l&&g.imageryLayers.remove(a[r]))})}}function V(t){if(g){let a=g.entities._entities._array;for(var e=a.length-1;e>=0;e--)a[e]._name&&a[e]._name===t&&g.entities.remove(a[e])}}const pt=(t,e)=>t.map(r=>{const l={};for(const o in r)e[o]&&(l[e[o]]=r[o]);return l}),ie=(t,e="\u7528\u6237\u5217\u8868",a="Sheet1")=>{const l=pt(t,{region:"\u533A\u57DF\u540D\u79F0",\u6E7F\u6DA6:"\u6E7F\u6DA6 (\u4EA9)",\u9002\u5B9C:"\u9002\u5B9C(\u4EA9)",\u8F7B\u5EA6\u5E72\u65F1:"\u8F7B\u5EA6\u5E72\u65F1(\u4EA9)",\u4E2D\u5EA6\u5E72\u65F1:"\u4E2D\u5EA6\u5E72\u65F1(\u4EA9)",\u91CD\u5EA6\u5E72\u65F1:"\u91CD\u5EA6\u5E72\u65F1(\u4EA9)",area:"\u9762\u79EF(\u4EA9)"}),o=ze.json_to_sheet(l),n=ze.book_new();ze.book_append_sheet(n,o,a),Ht(n,`${e}.xlsx`)};function gt(){if(q.value=!q.value,q.value){let t=document.querySelector(".leftWra");t&&(t.style.transform="translate(0,0)")}else{let t=document.querySelector(".leftWra");t&&(t.style.transform="translate(-107%,0)")}}function ht(){if($.value=!$.value,$.value){let t=document.querySelector(".rightWra");t.style.transform="translate(0,0)"}else{let t=document.querySelector(".rightWra");t.style.transform="translate(107%,0)"}}He(()=>le.value,(t,e)=>{t.length>e.length?(t.filter(r=>{if(e.findIndex(o=>o===r)<0)return r}).forEach(r=>{switch(r){case"\u6E7F\u6DA6":ae(2,r);break;case"\u9002\u5B9C":ae(3,r);break;case"\u8F7B\u5EA6\u5E72\u65F1":ae(4,r);break;case"\u4E2D\u5EA6\u5E72\u65F1":ae(5,r);break;case"\u91CD\u5EA6\u5E72\u65F1":ae(6,r);break}}),Xe("shuzisannong:huangdaoqu_town","tl")):t.length{if(t.findIndex(o=>o===r)<0)return r}).forEach(r=>{console.log(r),H([r])})});const De=()=>{let t=[],e=[];B.value=1,Ut({time:k.value.time,statistical:k.value.statistical,droughtRating:k.value.droughtRating,area:k.value.area}).then(a=>{we.value=[{lable:"",value:"region"},{lable:"\u9002\u5B9C",value:"\u9002\u5B9C"},{lable:"\u6E7F\u6DA6",value:"\u6E7F\u6DA6"},{lable:"\u8F7B\u5EA6\u5E72\u65F1",value:"\u8F7B\u5EA6\u5E72\u65F1"},{lable:"\u4E2D\u5EA6\u5E72\u65F1",value:"\u4E2D\u5EA6\u5E72\u65F1"},{lable:"\u91CD\u5EA6\u5E72\u65F1",value:"\u91CD\u5EA6\u5E72\u65F1"}],a.data.forEach(o=>{t.indexOf(o.region)==-1&&t.push(o.region)}),t.forEach(o=>{e.push(Object.create(null,{regio:{value:o}}))}),e.forEach(o=>{a.data.map(n=>{o.regio===n.region&&(o.region=n.region,o[n.level]=Number(n.area).toFixed(2))})}),U.value=!1,R.value=e,_e.value=e.slice((B.value-1)*O.value,(B.value-1)*O.value+O.value),w.value[0].\u9002\u5B9C=0,w.value[0].\u6E7F\u6DA6=0,w.value[0].\u8F7B\u5EA6\u5E72\u65F1=0,w.value[0].\u4E2D\u5EA6\u5E72\u65F1=0,w.value[0].\u91CD\u5EA6\u5E72\u65F1=0,w.value[0].region="\u5408\u8BA1",e.forEach(o=>{o.\u9002\u5B9C&&(w.value[0].\u9002\u5B9C+=Number(o.\u9002\u5B9C)!==NaN?Number(o.\u9002\u5B9C):0),o.\u6E7F\u6DA6&&(w.value[0].\u6E7F\u6DA6+=Number(o.\u6E7F\u6DA6)!==NaN?Number(o.\u6E7F\u6DA6):0),o.\u8F7B\u5EA6\u5E72\u65F1&&(w.value[0].\u8F7B\u5EA6\u5E72\u65F1+=Number(o.\u8F7B\u5EA6\u5E72\u65F1)!==NaN?Number(o.\u8F7B\u5EA6\u5E72\u65F1):0),o.\u4E2D\u5EA6\u5E72\u65F1&&(w.value[0].\u4E2D\u5EA6\u5E72\u65F1+=Number(o.\u4E2D\u5EA6\u5E72\u65F1)!==NaN?Number(o.\u4E2D\u5EA6\u5E72\u65F1):0),o.\u91CD\u5EA6\u5E72\u65F1&&(w.value[0].\u91CD\u5EA6\u5E72\u65F1+=Number(o.\u91CD\u5EA6\u5E72\u65F1)!==NaN?Number(o.\u91CD\u5EA6\u5E72\u65F1):0)});for(const o in w.value[0])console.log(w.value[0][o]),w.value[0][o]!=="\u5408\u8BA1"&&(w.value[0][o]=w.value[0][o].toFixed(2));const r=se.value;r.style.width=window.innerWidth-100+"px",r.style.height=window.innerHeight-100+"px";const l=G(r);window.addEventListener("resize",()=>{r.style.width=window.innerWidth-200+"px",r.style.height=window.innerHeight-200+"px",l.resize()}),je()})},mt=()=>{k.value.time=be.value[0],k.value.statistical="\u9547",k.value.droughtRating="",k.value.area=1,U.value=!0,De()},vt=()=>{Gt().then(t=>{be.value=t.data,k.value.time=t.data[0],De()})},Be=t=>{he=u([]),ne=u([]),Ye({divisions:t}).then(e=>{e.data.forEach(a=>{he.value.push(a.level),ne.value.push(a.area)}),Ze()})},Oe=t=>{me=u([]),Se=u([]),ve=u(0),Ke({divisions:t}).then(e=>{e.data.forEach(a=>{ve.value+=Number(a.area),me.value.push({name:a.level,value:Number(a.area).toFixed(2)}),Se.value.push({date:a.level,name:`${Number(a.area).toFixed(2)}`,address:`${(a.percentage*100).toFixed(2)}%`})}),Ne()})};u([{}]);const bt=()=>{et().then(t=>{Ae.forEach((e,a)=>{let r=t.data.map(l=>{if(e===l.region)return l});Object.keys(Z).forEach(l=>{let o=0;r.findIndex(c=>(c&&c.level===l&&(o=c.area),c&&c.level===l))>-1?Z[l].push(o):Z[l].push(0)})}),Ve()})},Re=t=>{tt({divisions:t}).then(e=>{I.brr=e.data,I.arr=e.data.sort((n,c)=>n.streetName.length-c.streetName.length),I.arr.unshift({streetCode:"370211",streetName:"\u5168\u90E8"});let a=[],r=[];I.arr.forEach(n=>{a.indexOf(n.streetName)==-1&&(a.push(n.streetName),r.push({streetName:n.streetName,streetCode:n.streetCode,area:n.area,type:n.type}))}),I.arr=r;let l=[...e.data],o=[];l.splice(0,1),l.forEach(n=>{o.indexOf(n.streetName)==-1&&o.push(n.streetName)}),J.title=[...Object.values(o)],J.title.forEach((n,c)=>{let _=e.data.map(v=>{if(n===v.streetName)return v});Object.keys(T).forEach(v=>{_.findIndex(i=>i&&i.type===v)>-1?T[v].push(1):T[v].push(null)})}),ue()})},yt=t=>{at({divisions:t}).then(e=>{I.brr=e.data;let a=[...e.data],r=[];a.forEach(l=>{r.indexOf(l.streetName)==-1&&r.push(l.streetName)}),J.title=[...Object.values(r)],console.log(e),J.title.forEach((l,o)=>{let n=e.data.map(c=>{if(l===c.streetName)return c});Object.keys(T).forEach(c=>{n.findIndex(v=>v&&v.type===c)>-1?T[c].push(1):T[c].push(null)})}),ue()})},de=()=>{if(Qt().then(t=>{console.log(t),t.features.forEach(e=>{e.properties.XZDM==C.value&&(V("townLine"),Ce(e.geometry.coordinates,"townLine","yellow"),g.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(e.bbox[0],e.bbox[1],e.bbox[2],e.bbox[3]),duration:0}))})}),g.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),V("townLine"),Be(C.value),Oe(C.value),C.value=="370211"){H(["village_CQL"]),te=null,H(["aaa"]),Re(),oe(),ue(),Ze(),Ne(),V("townLine"),V("villageLine");return}yt(C.value)},_t=t=>{Ye({divisions:C.value,whetherToDownload:!0}).then(e=>{console.log(e),Je(e.data[e.data.length-1].downloadPath)})},wt=t=>{Ke({divisions:C.value,whetherToDownload:!0}).then(e=>{Je(e.data[e.data.length-1].downloadPath)})},xt=t=>{et({divisions:C.value,whetherToDownload:!1}).then(e=>{let a=[],r=[];e.data.forEach(l=>{a.indexOf(l.region)==-1&&a.push(l.region)}),a.forEach(l=>{r.push(Object.create(null,{regio:{value:l}}))}),r.forEach(l=>{e.data.map(o=>{l.regio===o.region&&(l.region=o.region,l[o.level]=Number(o.area).toFixed(2))})}),ie(r,"\u5404\u5E72\u65F1\u7B49\u7EA7\u9762\u79EF\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530","Sheet1")})},St=t=>{if(C.value==="370211"){let e="";I.arr.forEach(a=>{a.subregion==C.value&&(e=a.subregionName=="\u5168\u90E8"?"\u9EC4\u5C9B\u533A":a.subregionName)}),tt({divisions:C.value}).then(a=>{let r=[],l=[];a.data.forEach(o=>{r.indexOf(o.streetName)==-1&&r.push(o.streetName)}),r.forEach(o=>{l.push(Object.create(null,{regio:{value:o}}))}),l.forEach(o=>{a.data.map(n=>{o.regio===n.streetName&&(o.region=n.streetName,o[n.type]=Number(n.area).toFixed(2))})}),l=l.sort((o,n)=>o.region.length-n.region.length),ie(l,`${e}\u5E72\u65F1\u7B49\u7EA7\u9762\u79EF-\u884C\u653F\u533A\u5212`,"Sheet1")})}else{let e="";I.arr.forEach(a=>{a.subregion==C.value&&(e=a.subregionName=="\u5168\u90E8"?"\u9EC4\u5C9B\u533A":a.subregionName)}),at({divisions:C.value,whetherToDownload:!1}).then(a=>{let r=[],l=[];a.data.forEach(o=>{r.indexOf(o.streetName)==-1&&r.push(o.streetName)}),r.forEach(o=>{l.push(Object.create(null,{regio:{value:o}}))}),l.forEach(o=>{a.data.map(n=>{o.regio===n.streetName&&(o.region=n.streetName,o[n.type]=Number(n.area).toFixed(2))})}),ie(l,`${e}\u4F5C\u7269\u5E72\u65F1\u7B49\u7EA7\u7EDF\u8BA1-\u884C\u653F\u533A\u5212`,"Sheet1")})}},Ct=()=>{console.log(R);let t=JSON.parse(JSON.stringify(w.value[0]));t.region="\u5408\u8BA1",R.value.push(t),ie(R.value,"\u5E72\u65F1\u9762\u79EF\u7EDF\u8BA1\u8868","Sheet1")};function Ze(){console.log(ne.value);const t=G(Ie.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%",icon:"rect",textStyle:{fontSize:14,color:"rgba(255, 255, 255, 0.7)"}},xAxis:{nameTextStyle:{color:"#c0c3cd",padding:[0,0,-10,0],fontSize:14},axisLabel:{color:"rgba(255, 255, 255, 0.7)",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:he.value,type:"category"},yAxis:{name:"\u9762\u79EF(\u4EA9)",nameTextStyle:{color:"rgba(255, 255, 255, 0.8)",fontSize:14},type:"value",axisLabel:{color:"rgba(255,255,255,0.7)"},splitLine:{lineStyle:{type:"dashed"}},minInterval:1,axisLine:{show:!1},axisTick:{show:!1}},series:[{data:ne.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),window.addEventListener("resize",function(){t.resize()})}function Ne(){const t=G(Te.value);var e=me.value;let a={color:["rgba(255, 235, 59, 0.8)","rgba(9, 187, 222, 0.8)","rgba(234, 165, 93, 0.8)","rgba(205, 92, 92, 1)","red"],title:{text:"\u603B\u9762\u79EF",subtext:`${(ve.value/1e4).toFixed(2)}\u4E07\u4EA9`,textStyle:{color:"#f2f2f2",fontSize:14},subtextStyle:{fontSize:14,color:["#ff9d19"]},x:"center",y:"center"},grid:{top:0},legend:{orient:"vertical",top:"middle",right:"2%",textStyle:{color:"#f2f2f2",fontSize:14},icon:"roundRect",data:e},tooltip:{trigger:"item",axisPointer:{type:"shadow"},formatter:"{a}
{b} : {c}\u4EA9
\u767E\u5206\u6BD4 : {d}%"},series:[{radius:["50%","71%"],center:["50%","50%"],type:"pie",label:{normal:{show:!1}},labelLine:{normal:{show:!1}},name:"\u5404\u5E72\u65F1\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)"}}]},{name:"\u5916\u8FB9\u6846",type:"pie",clockWise:!1,hoverAnimation:!1,center:["50%","50%"],radius:["85%","85%"],tooltip:{show:!1},label:{normal:{show:!1}},data:[{value:9,name:"",itemStyle:{normal:{borderWidth:2,borderColor:"#0b5263"}}}]}]};ce(t,a)}function Ve(){const t=G(Ee.value);let e={title:{text:"",subtext:""},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{top:"15%",left:"5%",right:"5%",bottom:"10%",containLabel:!0},xAxis:{type:"category",data:Ae,axisLine:{lineStyle:{color:"rgba(255, 255, 255, 0.3)",width:1,type:"solid"},axisLabel:{color:"rgba(255, 255, 255, 0.7)",fontWeight:400,fontFamily:"SourceHanSansCN-Regular, SourceHanSansCN",fontSize:14}}},yAxis:{name:"\u9762\u79EF(\u4EA9)",nameTextStyle:{color:"rgba(255, 255, 255, 0.8)",fontSize:14},type:"value",axisLabel:{color:"rgba(255, 255, 255, 0.7)"},splitLine:{lineStyle:{type:"solid",color:"rgba(255, 255, 255, 0.3)"}},minInterval:1,axisLine:{show:!1},axisTick:{show:!1}},series:[{name:"\u6E7F\u6DA6",type:"bar",barWidth:14,stack:"\u6570\u91CF",data:Z.\u6E7F\u6DA6,itemStyle:{normal:{borderWidth:1,borderColor:"rgba(9, 187, 222, 0.8)",color:new re(0,0,0,1,[{offset:0,color:"rgba(9, 187, 222, 0.8)"},{offset:1,color:"rgba(9, 187, 222, 0.8)"}])}}},{name:"\u9002\u5B9C",type:"bar",barWidth:14,stack:"\u6570\u91CF",data:Z.\u9002\u5B9C,itemStyle:{normal:{borderWidth:1,borderColor:"rgba(255, 235, 59, 0.8)",color:new re(0,0,0,1,[{offset:0,color:"rgba(255, 235, 59, 0.8)"},{offset:1,color:"rgba(255, 235, 59, 0.8)"}])}}},{name:"\u8F7B\u5EA6\u5E72\u65F1",type:"bar",barWidth:14,stack:"\u6570\u91CF",data:Z.\u8F7B\u5EA6\u5E72\u65F1,itemStyle:{normal:{borderWidth:1,borderColor:"rgba(234, 165, 93, 1)",color:new re(0,0,0,1,[{offset:0,color:"rgba(234, 165, 93, 0.8)"},{offset:1,color:"rgba(234, 165, 93, 0.8)"}])}}},{name:"\u4E2D\u5EA6\u5E72\u65F1",type:"bar",barWidth:14,stack:"\u6570\u91CF",data:Z.\u4E2D\u5EA6\u5E72\u65F1,itemStyle:{normal:{borderWidth:1,borderColor:"rgba(205, 92, 92, 0.8)",color:new re(0,0,0,1,[{offset:0,color:"rgba(205, 92, 92, 1)"},{offset:1,color:"rgba(205, 92, 92, 1)"}])}}},{name:"\u91CD\u5EA6\u5E72\u65F1",type:"bar",barWidth:14,stack:"\u6570\u91CF",data:Z.\u91CD\u5EA6\u5E72\u65F1,itemStyle:{normal:{borderWidth:1,borderColor:"red",color:new re(0,0,0,1,[{offset:0,color:"red"},{offset:1,color:"red"}])}}}]};t.on("click",function(a){console.log(a.name)}),e&&t.setOption(e,{notMerge:!0,grid:{bottom:20}}),ce(t,e)}function Xe(t,e){let a=new Cesium.WebMapServiceImageryProvider({url:serverAPI.geoserverUrl+"/shuzisannong/wms?",layers:t,parameters:{service:"WMS",format:"image/png",transparent:!0}});a.customName=e;let r=g.imageryLayers.addImageryProvider(a);e.indexOf("gbznt")>-1&&(g.imageryLayers.lowerToBottom(r),g.imageryLayers.raise(r))}const kt=t=>{B.value=t,_e.value=R.value.slice((B.value-1)*O.value,(B.value-1)*O.value+O.value)},Dt=t=>{const e=B.value,a=O.value;return t+1+(e-1)*a};function Nt(){V("townLine"),delete ee.value.XZQMC,H(["gbznt"],!0),H(["aaa"]),C.value="370211",de(),g.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),ge.value=!1,oe()}function ue(){const t=G(Fe.value);console.log(J.title);var e={grid:{bottom:"8%",left:"10%",right:"6%",top:"12%",containLabel:!0},tooltip:{formatter:function(a){let r=0;return I.brr.forEach(l=>{l.type==a.seriesName&&l.streetName==a.name&&(console.log(l.area),r=Number(l.area).toFixed(2))}),a.seriesName+''+r+"\u4EA9"}},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:{type:"value",axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1},axisLabel:{show:!1}},yAxis:[{type:"category",axisTick:{show:!1},axisLine:{show:!1,lineStyle:{color:"#cdd3ee"}},splitLine:{show:!1},axisLabel:{show:!0,fontSize:12,color:"rgba(255, 255, 255, 1)",formatter:"{value}"},data:J.title,inverse:!0}],series:[{type:"bar",name:"\u6E7F\u6DA6",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!1,position:"\u6E7F\u6DA6",textStyle:{fontSize:12,fontWeight:"bolder",color:"rgba(255,255,255,1)"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],color:{colorStops:[{offset:0,color:"rgba(9, 187, 222, 0.8)"},{offset:1,color:"rgba(9, 187, 222, 0.8)"}]}},data:T.\u6E7F\u6DA6},{type:"bar",name:"\u9002\u5B9C",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!1,position:"inside",formatter:"\u9002\u5B9C",textStyle:{fontSize:12,fontWeight:"bolder",color:"rgba(255,255,255,1)"}},itemStyle:{barBorderRadius:[0,0,0,0],color:{colorStops:[{offset:0,color:"rgba(255, 235, 59, 0.8)"},{offset:1,color:"rgba(255, 235, 59, 0.8)"}]}},data:T.\u9002\u5B9C},{type:"bar",name:"\u8F7B\u5EA6\u5E72\u65F1",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!1,position:"inside",formatter:"\u8F7B\u5EA6\u5E72\u65F1",textStyle:{fontSize:12,fontWeight:"bolder",color:"rgba(255,255,255,1)"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],color:{colorStops:[{offset:0,color:"rgba(234, 165, 93, 0.8)"},{offset:1,color:"rgba(234, 165, 93, 0.8)"}]}},data:T.\u8F7B\u5EA6\u5E72\u65F1},{type:"bar",name:"\u4E2D\u5EA6\u5E72\u65F1",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!1,position:"inside",formatter:"\u4E2D\u5EA6\u5E72\u65F1",textStyle:{fontSize:12,fontWeight:"bolder",color:"rgba(255,255,255,1)"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],color:{colorStops:[{offset:0,color:"rgba(205, 92, 92, 1)"},{offset:1,color:"rgba(205, 92, 92, 1)"}]}},data:T.\u4E2D\u5EA6\u5E72\u65F1},{type:"bar",name:"\u91CD\u5EA6\u5E72\u65F1",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!1,position:"inside",formatter:"\u91CD\u5EA6\u5E72\u65F1",textStyle:{fontSize:12,fontWeight:"bolder",color:"rgba(255,255,255,1)"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],color:{colorStops:[{offset:0,color:"red"},{offset:1,color:"red"}]}},data:T.\u91CD\u5EA6\u5E72\u65F1}]};ce(t,e)}function Lt(){let t=qe.value;console.log("fl:",t),Me({url:serverAPI.geoserverUrl+"/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Ahuangdaoqu_town&maxFeatures=50&outputFormat=application%2Fjson"}).then(e=>{console.log("res1111:",e),e.data.features.forEach((r,l)=>{const o=Cesium.Rectangle.fromDegrees(r.bbox[0],r.bbox[1],r.bbox[2],r.bbox[3]),n=Cesium.Rectangle.center(o);Cesium.Math.toDegrees(n.longitude),Cesium.Math.toDegrees(n.latitude),r.properties.XZDM==="370211011"||r.properties.XZDM;const c=t[r.properties.XZMC];c&&c.map((_,v)=>_.properties)})}).catch(e=>{})}let qe=u({});function Wt(){Me({url:serverAPI.geoserverUrl+"/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Afenlei&maxFeatures=137&outputFormat=application%2Fjson"}).then(t=>{let e=t.data.features,a={};e.forEach(r=>{let l=r.properties.town;a[l]?a[l].push(r):a[l]=[r]}),qe.value=a,Lt()}).catch(t=>{})}function Le(){if(A.value.lon&&A.value.lat){const e=Cesium.Cartesian3.fromDegrees(Number(A.value.lon),Number(A.value.lat),0);var t=Cesium.SceneTransforms.wgs84ToWindowCoordinates(g.scene,e);if(Cesium.defined(t)){const a=document.getElementById("popup");a&&(a.style.top=t.y-10+"px",a.style.left=t.x+10+"px")}}}function oe(){const t=document.getElementById("popup");t&&(t.style.display="none"),g.scene.postRender.removeEventListener(Le)}function $e(t){const e=document.getElementById("popup");e&&(e.style.display="block",e.style.position="absolute",e.style.top=t.y-10+"px",e.style.left=t.x+10+"px",e.style.zIndex=99)}const Mt=()=>{j.value=!j.value;const t=se.value;t.style.width=window.innerWidth-200+"px",t.style.height=window.innerHeight-200+"px";const e=G(t);window.addEventListener("resize",()=>{t.style.width=window.innerWidth-200+"px",t.style.height=window.innerHeight-200+"px",e.resize()}),je()},zt=t=>{k.value.area=t};function je(){const t=G(se.value);let e=[],a=[],r=[],l=[],o=[],n=[];R.value.forEach(i=>{console.log(i.\u91CD\u5EA6\u5E72\u65F1),e.push(i.region),i.\u6E7F\u6DA6!==void 0?a.push(i.\u6E7F\u6DA6):a.push(0),i.\u9002\u5B9C!==void 0?r.push(i.\u9002\u5B9C):r.push(0),i.\u8F7B\u5EA6\u5E72\u65F1!==void 0?l.push(i.\u8F7B\u5EA6\u5E72\u65F1):l.push(0),i.\u4E2D\u5EA6\u5E72\u65F1!==void 0?o.push(i.\u4E2D\u5EA6\u5E72\u65F1):o.push(0),i.\u91CD\u5EA6\u5E72\u65F1!==void 0?n.push(i.\u91CD\u5EA6\u5E72\u65F1):n.push(0)});let c=10/e.length*100,_={tooltip:{trigger:"axis",formatter:function(i){let x=i[0].axisValueLabel+"",L=0;for(let h=0;h");for(let h=0;h",L=0;for(let h=0;h`;L+=i[h].value,x+=W+i[h].seriesName+"\uFF1A"+i[h].value+""}for(let h=0;h{const a=N("el-table-column"),r=N("el-table"),l=N("el-tooltip"),o=N("el-option"),n=N("el-select"),c=N("el-checkbox"),_=N("el-checkbox-group"),v=N("el-collapse-item"),b=N("el-collapse"),i=N("el-button"),x=N("el-form-item"),L=N("el-input-number"),h=N("el-form"),W=N("el-pagination");return y(),M("div",Jt,[s("div",Yt,[Kt,s("div",ea,[s("div",ta,[s("div",aa,[oa,s("p",{onClick:e[0]||(e[0]=d=>_t())},[z(" \u4E0B\u8F7D \xA0 "),ra])]),s("div",{ref_key:"areaDiv",ref:Ie,class:"areaDiv"},null,512),s("div",{ref_key:"leftProgressBarDiv",ref:ot,class:"ProgressBar"},null,512)]),s("div",la,[s("div",na,[sa,s("p",{onClick:e[1]||(e[1]=d=>wt())},[z(" \u4E0B\u8F7D \xA0 "),ia])]),s("div",{ref_key:"typesofDiv",ref:Te,class:"typesofDiv"},null,512),s("div",da,[f(r,{data:p(Se),style:{width:"100%"}},{default:m(()=>[f(a,{prop:"date",label:"\u7C7B\u578B"}),f(a,{prop:"name",label:"\u9762\u79EF(\u4EA9)"}),f(a,{prop:"address",label:"\u5360\u6BD4"})]),_:1},8,["data"])])]),s("div",{class:"leftFoldDiv",onClick:e[2]||(e[2]=d=>gt())},[f(l,{class:"box-item","show-arrow":!1,disabled:p(q),"hide-after":"0","show-after":"200",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:m(()=>[p(q)?E("v-if",!0):(y(),M("img",ua))]),_:1},8,["disabled"]),f(l,{disabled:!p(q),"show-arrow":!1,class:"box-item","show-after":"200","hide-after":"0",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:m(()=>[p(q)?(y(),M("img",ca)):E("v-if",!0)]),_:1},8,["disabled"])])]),s("div",fa,[s("div",pa,[s("div",ga,[ha,s("p",{onClick:e[3]||(e[3]=d=>xt())},[z(" \u4E0B\u8F7D \xA0 "),ma])]),s("div",{ref_key:"farmlandDiv",ref:Ee,class:"farmlandDiv"},null,512),E(' ')]),s("div",va,[s("div",ba,[ya,s("p",{onClick:e[4]||(e[4]=d=>St())},[z(" \u4E0B\u8F7D \xA0 "),_a])]),f(n,{"popper-class":"select_city",onChange:e[5]||(e[5]=d=>de(t.item)),modelValue:C.value,"onUpdate:modelValue":e[6]||(e[6]=d=>C.value=d),placeholder:"\u5168\u90E8"},{default:m(()=>[(y(!0),M(Y,null,K(p(I).arr,d=>(y(),P(o,{key:d.streetCode,label:d.streetName,value:d.streetCode},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),s("div",{ref_key:"ASdivisionDiv",ref:Fe,class:"ASdivision"},null,512)]),s("div",{class:"rightFoldDiv",onClick:e[7]||(e[7]=d=>ht())},[f(l,{disabled:!p($),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:m(()=>[p($)?(y(),M("img",wa)):E("v-if",!0)]),_:1},8,["disabled"]),f(l,{disabled:p($),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:m(()=>[p($)?E("v-if",!0):(y(),M("img",xa))]),_:1},8,["disabled"])])]),s("div",Sa,[f(jt)]),Ca,f(b,{class:"legend",accordion:""},{default:m(()=>[f(v,{name:"1"},{title:m(()=>[z("\u56FE\u4F8B")]),default:m(()=>[s("div",ka,[f(_,{modelValue:le.value,"onUpdate:modelValue":e[8]||(e[8]=d=>le.value=d),onChange:t.change},{default:m(()=>[(y(!0),M(Y,null,K(p(xe),(d,S,We)=>(y(),P(c,{key:We,style:Ft({backgroundColor:d.color,border:"1px solid value.color",width:"100%"}),"v-model":d.disabled,disabled:d.disabled,label:S},null,8,["style","v-model","disabled","label"]))),128))]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1}),s("div",Da,[s("div",null,[z(" \u7B49\u7EA7\uFF1A "),s("p",null,Q(A.value.grade),1)]),s("div",null,[z(" \u7ECF\u5EA6\uFF1A "),s("p",null,Q(A.value.lon),1)]),s("div",null,[z(" \u7EAC\u5EA6\uFF1A "),s("p",null,Q(A.value.lat),1)]),s("div",{class:"cancel",onClick:oe},"X")]),s("div",Na,[(y(!0),M(Y,null,K(p(ee).label,(d,S)=>(y(),M("div",{key:S},[s("div",null,Q(d.crop)+"\uFF1A",1),s("div",null,Q(d.Shape_Area)+" \u4EA9",1)]))),128)),p(ee).XZQMC?(y(),M("div",La,[Wa,s("div",null,Q(p(ee).XZQMC),1)])):E("v-if",!0),s("div",{class:"cancel",onClick:oe},"X")]),ge.value?(y(),P(i,{key:0,class:"back_button",onClick:e[9]||(e[9]=d=>Nt())},{default:m(()=>[z("\u8FD4\u56DE")]),_:1})):E("v-if",!0)]),s("div",Ma,[s("div",za,[f(h,{inline:!0,model:p(k),class:"demo-form-inline"},{default:m(()=>[f(x,{label:"\u65F6\u95F4:"},{default:m(()=>[f(n,{"popper-class":"selectCity",modelValue:p(k).time,"onUpdate:modelValue":e[10]||(e[10]=d=>p(k).time=d),placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[(y(!0),M(Y,null,K(p(be),(d,S)=>(y(),P(o,{key:S,label:t.Zitem,value:d},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),f(x,{label:"\u7EDF\u8BA1\u65B9\u5F0F:"},{default:m(()=>[f(n,{"popper-class":"selectCity",modelValue:p(k).statistical,"onUpdate:modelValue":e[11]||(e[11]=d=>p(k).statistical=d),placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[f(o,{label:"\u9547\u7EA7",value:"\u9547"}),f(o,{label:"\u6751\u7EA7",value:"\u6751"}),f(o,{label:"\u9AD8\u6807\u51C6\u519C\u7530",value:"\u9AD8\u6807\u51C6\u519C\u7530"})]),_:1},8,["modelValue"])]),_:1}),f(x,{label:"\u5E72\u65F1\u7B49\u7EA7"},{default:m(()=>[f(n,{modelValue:p(k).droughtRating,"onUpdate:modelValue":e[12]||(e[12]=d=>p(k).droughtRating=d),"popper-class":"selectCity",placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[f(o,{label:"\u5168\u90E8",value:""}),f(o,{label:"\u6E7F\u6DA6",value:"\u6E7F\u6DA6"}),f(o,{label:"\u9002\u5B9C",value:"\u9002\u5B9C"}),f(o,{label:"\u8F7B\u5EA6\u5E72\u65F1",value:"\u8F7B\u5EA6\u5E72\u65F1"}),f(o,{label:"\u4E2D\u5EA6\u5E72\u65F1",value:"\u4E2D\u5EA6\u5E72\u65F1"}),f(o,{label:"\u91CD\u5EA6\u5E72\u65F1",value:"\u91CD\u5EA6\u5E72\u65F1"})]),_:1},8,["modelValue"])]),_:1}),f(x,{label:"\u9762\u79EF(\u4EA9)>"},{default:m(()=>[f(L,{modelValue:ye.value,"onUpdate:modelValue":e[13]||(e[13]=d=>ye.value=d),min:1,onChange:zt},null,8,["modelValue"])]),_:1}),f(x,null,{default:m(()=>[f(i,{type:"primary",onClick:De},{default:m(()=>[z("\u67E5\u8BE2")]),_:1}),f(i,{plain:"",onClick:mt,disabled:!p(j)},{default:m(()=>[z(" \u91CD\u7F6E ")]),_:1},8,["disabled"]),p(U)?E("v-if",!0):(y(),P(i,{key:0,type:"primary",text:"",onClick:Ct},{default:m(()=>[Ia,z(" \u4E0B\u8F7D ")]),_:1}))]),_:1})]),_:1},8,["model"]),s("div",{class:"modeDiv",onClick:Mt},[s("div",{class:Qe(p(j)?"Selected":"")},"\u8868\u683C\u6A21\u5F0F",2),s("div",{class:Qe(p(j)?"":"Selecteds")},"\u56FE\u8868\u6A21\u5F0F",2)])]),Ge(s("div",Ta,[s("div",Ea,[p(U)?E("v-if",!0):(y(),P(r,{key:0,data:p(w),"header-cell-style":{"text-align":"center"},style:{width:"100%"},"highlight-current-row":"","header-row-class-name":"tabth"},{default:m(()=>[f(a,{align:"center",prop:"\u5408\u8BA1",width:"80"}),(y(!0),M(Y,null,K(p(we),(d,S)=>(y(),P(a,{key:S,prop:d.value,label:S==0?d.lable:d.lable+"(\u4EA9)",align:"center"},null,8,["prop","label"]))),128)),p(U)?(y(),P(a,{key:0,prop:"address",align:"center",label:"\u64CD\u4F5C"},{default:m(d=>[s("span",{style:{color:"rgba(67, 181, 143, 1)",cursor:"pointer"},onClick:S=>t.download(d.row)}," \u4E0B\u8F7D ",8,Fa)]),_:1})):E("v-if",!0)]),_:1},8,["data"]))]),f(r,{data:p(_e),"header-cell-style":{"text-align":"center"},height:"70%","highlight-current-row":"","header-row-class-name":"tabth"},{default:m(()=>[f(a,{type:"index",width:"80",align:"center",label:"\u5E8F\u53F7",index:Dt}),(y(!0),M(Y,null,K(p(we),(d,S)=>(y(),P(a,{key:S,prop:d.value,label:S==0?d.lable:d.lable+"(\u4EA9)",align:"center"},null,8,["prop","label"]))),128)),p(U)?(y(),P(a,{key:0,prop:"address",align:"center",label:"\u64CD\u4F5C"},{default:m(d=>[s("span",{style:{color:"rgba(67, 181, 143, 1)",cursor:"pointer"},onClick:S=>t.download(d.row)}," \u4E0B\u8F7D ",8,Pa)]),_:1})):E("v-if",!0)]),_:1},8,["data"]),s("div",Aa,[z(" \u5171"+Q(R.value.length)+"\u6761 ",1),f(W,{background:"",layout:"prev, pager, next",total:R.value.length,"current-page":p(B),"page-size":p(O),onCurrentChange:kt},null,8,["total","current-page","page-size"])])],512),[[Ue,p(j)]]),Ge(s("div",Ba,[s("div",{ref_key:"chartModeDiv",ref:se,class:"chartModeDiv"},null,512)],512),[[Ue,!p(j)]])])])}}},Ua=It(Oa,[["__scopeId","data-v-252bfa44"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/meteorological/remoteSense/drought/Drought.vue"]]);export{Ua as default};