Agriculture-front-end/dist/assets/index.1eb49ffb.js
2023-05-25 08:33:42 +08:00

2 lines
21 KiB
JavaScript

import{z as de,_ as Je,r as c,A as oe,B as Ve,C as $e,D as re,d as S,o as y,c as M,l as r,m as z,e as u,w as b,f as g,g as F,I as le,J as se,k as ie,Q as Ue,x as B,y as Ye,p as je,q as He}from"./index.b3a66a9e.js";import U from"./downloads.e955445d.js";import{_ as Y}from"./close1.45635d81.js";import{_ as Ke,a as et,b as tt,c as at,d as ot,e as rt}from"./linesGL.90f708a5.js";import{i as we}from"./index.c9f5bd8b.js";import{T as lt}from"./TimeLine.6cac5abc.js";import{u as st}from"./useEcharts.83442be8.js";import{g as it,c as nt,a as dt,b as ct}from"./classify.ee69cc46.js";import{d as ne}from"./download.a6a18203.js";function xe(w){return de({url:"equipment/damageArea",method:"get",params:w})}function Ce(w){return de({url:"equipment/proportion",method:"get",params:w})}function De(w){return de({url:"equipment/highStandard",method:"get",params:w})}const k=w=>(je("data-v-21910d1f"),w=w(),He(),w),ut={class:"center"},pt=k(()=>r("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),ft={class:"leftWra"},mt={class:"leftTop"},gt={class:"title"},vt=k(()=>r("span",null,"\u519C\u4F5C\u7269\u53D7\u707E\u9762\u79EF\u7EDF\u8BA1",-1)),ht=k(()=>r("img",{src:U,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),_t={class:"leftbottom"},yt={class:"title"},bt=k(()=>r("span",null,"\u519C\u4F5C\u7269\u53D7\u707E\u9762\u79EF\u5360\u6BD4",-1)),wt=k(()=>r("img",{src:U,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),xt={class:"tableDiv"},Ct={key:0,src:Y,alt:""},Dt={key:0,class:"imgrotate",src:Y,alt:""},St={class:"rightWra"},Mt={class:"rightTop"},kt={class:"title"},Lt=k(()=>r("span",null,"\u6D2A\u6D9D\u9762\u79EF\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530",-1)),Tt=k(()=>r("img",{src:U,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),It={class:"farmlandDiv"},Xt={class:"rightbottom"},Zt={class:"title"},Pt=k(()=>r("span",null,"\u6D2A\u6D9D\u9762\u79EF\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),Ft=k(()=>r("img",{src:U,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),At={class:"ASdivision"},zt={key:0,src:Y,alt:""},Et={key:0,class:"imgrotate",src:Y,alt:""},Wt={class:"bottom_center"},Nt=Ye('<div class="tool" data-v-21910d1f><span data-v-21910d1f><img src="'+Ke+'" alt="" data-v-21910d1f></span><span data-v-21910d1f><img src="'+et+'" alt="" data-v-21910d1f></span><span data-v-21910d1f><img src="'+tt+'" alt="" data-v-21910d1f></span><span data-v-21910d1f><img src="'+at+'" alt="" data-v-21910d1f></span><span data-v-21910d1f><img src="'+ot+'" alt="" data-v-21910d1f></span><span data-v-21910d1f><img src="'+rt+'" alt="" data-v-21910d1f></span></div>',1),Rt={class:"mt-4"},Bt={id:"popup"},qt={id:"pop"},Ot={key:0},Qt=k(()=>r("div",null,"\u6751\u540D\uFF1A",-1)),Gt={__name:"index",setup(w){let s=c(null);const ce=c(null),ue=c(null);c(null);const v=c("370211"),Se=c(null);let x=oe({arr:[],brr:[],crr:[]});const pe=c({name:"",value:""}),Me=c([]),E=c(!1);let Z=c(!1),P=c(!1);const fe=c(["false"]);let W=oe({lable:[],value:[]}),q=c([]),j=c(0),ke={\u6D2A\u6D9D\u533A:{color:"rgba(9, 187, 222, 1)",disabled:!1}},me=c([]);Ve(()=>x.arr,e=>{console.log("val:",e)});var H={title:[]};let K={\u5C0F\u9EA6:[],\u7389\u7C73:[],\u5927\u8C46:[],\u5730\u74DC:[],\u82B1\u751F:[],\u84DD\u8393:[],\u8336\u53F6:[],\u9A6C\u94C3\u85AF:[],\u767D\u83DC\u548C\u841D\u535C:[],\u5176\u4ED6:[]},O=c([]);$e(()=>{ve("370211"),he("370211"),ze(),We(),_e(),Ee(),Te(),J(),V(),Xe();let e=document.querySelector(".leftWra");e&&(e.style.transform="translate(-107%,0)");let t=document.querySelector(".rightWra");t.style.transform="translate(107%,0)"});const Le={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 Te(){s=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({...Le})}),s.cesiumWidget.creditContainer.style.display="none",ye("shuzisannong:huangdaoqu_town","tl"),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:0}),Ze(),Qe()}function ee(e,t,a){e.forEach(o=>{let l=[];o[0].forEach(n=>{l.push(n[0]),l.push(n[1])}),s.entities.add({name:t,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 Ie(e){return e>48e6?0:e>24e6?1:e>12e6?2:e>6e6?3:e>3e6?4:e>15e5?5:e>75e4?6:e>375e3?7:e>187500?8:e>93750?9:e>46875?10:e>23437.5?11:e>11718.75?12:e>5859.38?13:e>2929.69?14:e>1464.84?15:e>732.42?16:e>366.21?17:18}function Xe(){re({url:serverAPI.geoserverUrl+"/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Afarmland&maxFeatures=50&outputFormat=application%2Fjson",method:"get"}).then(e=>{console.log("\u519C\u7530\uFF1A",e),Me.value=e.data.features}).catch(e=>{})}let h=c({label:[]}),N="";function Ze(){var e=new Cesium.ScreenSpaceEventHandler(s.canvas);e.setInputAction(function(t){var a=s.camera.getPickRay(t.position),o=s.scene.globe.pick(a,s.scene);if(o){let l=Cesium.Cartographic.fromCartesian(o);if(l){let n=new Cesium.Cartesian2,p=s.camera.positionCartographic.height,m=Ie(p);const _=s.imageryLayers._layers,C=_.findIndex(d=>d._imageryProvider._layers&&d._imageryProvider._layers==="shuzisannong:huangdaoqu_town");if(C>-1){const d=_[C];let f=d._imageryProvider;if(f&&f.ready&&f._layers&&d.show===!0){n=f.tilingScheme.positionToTileXY(l,m,n);let i=f.pickFeatures(n.x,n.y,m,l.longitude,l.latitude);i&&i.then(L=>{if(L.length>0){let D=L[0];if(D.properties&&D.properties.XZDM)if(console.log("XZDM:",N),console.log("newData.properties.XZDM:",D.properties.XZDM),N!==D.properties.XZDM){E.value=!0,N=D.properties.XZDM,v.value=N,G&&G();let X=D.data;s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(X.bbox[0],X.bbox[1],X.bbox[2],X.bbox[3]),duration:2}),A("townLine"),ee(X.geometry&&X.geometry.coordinates,"townLine","yellow"),I(["village_CQL"]),ge(`XZDM=${D.properties.XZDM}`,"village_CQL");let $=s.entities._entities._array;for(var T=$.length-1;T>=0;T--)if($[T]._name&&$[T]._name==="point"+D.properties.XZDM){let Ge=$[T]._info;h.value=Ge,console.log(h.value,"------------------"),ae(t.position),s.scene.postRender.addEventListener(te)}A("villageLine"),Q=""}else Pe(_,n,m,l,t);else I(["village_CQL"]),R()}})}}}}},Cesium.ScreenSpaceEventType.LEFT_CLICK)}let Q="";function Pe(e,t,a,o,l){const n=e.findIndex(p=>p._imageryProvider._layers&&p._imageryProvider._layers==="shuzisannong:huangdaoqu_village");if(n>-1){const p=e[n];let m=p._imageryProvider;if(m&&m.ready&&m._layers&&p.show===!0){t=m.tilingScheme.positionToTileXY(o,a,t);let _=m.pickFeatures(t.x,t.y,a,o.longitude,o.latitude);_&&_.then(C=>{if(C.length>0){let d=C[0];if(console.log(d),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(d.data.bbox[0],d.data.bbox[1],d.data.bbox[2],d.data.bbox[3]),duration:2}),d.properties&&d.properties.XZQDM&&Q!==d.properties.XZQDM){Q=d.properties.XZQDM;let f=d.data;if(A("villageLine"),ee(f.geometry&&f.geometry.coordinates,"villageLine","yellow"),d.properties.XZQDM==="370211104217"){const i=Cesium.Rectangle.fromDegrees(f.bbox[0],f.bbox[1],f.bbox[2],f.bbox[3]),L=Cesium.Rectangle.center(i);let T=Cesium.Math.toDegrees(L.longitude),D=Cesium.Math.toDegrees(L.latitude),X={lon:T,lat:D,...f.properties,label:[{crop:"\u8336\u53F6",Shape_Area:2820},{crop:"\u5927\u8C46",Shape_Area:2767},{crop:"\u82B1\u751F",Shape_Area:62356},{crop:"\u84DD\u8393",Shape_Area:5443},{crop:"\u5730\u74DC",Shape_Area:897},{crop:"\u5C0F\u9EA6",Shape_Area:20111}]};h.value=X,ae(l.position),s.scene.postRender.addEventListener(te)}}}})}}}function ge(e,t){let a=new Cesium.WebMapServiceImageryProvider({url:"http://121.36.229.60:9080/geoserver/shuzisannong/wms",layers:"shuzisannong:huangdaoqu_village",parameters:{service:"WMS",format:"image/png",transparent:!0,CQL_FILTER:e}});a.customName=t,s.imageryLayers.addImageryProvider(a)}function I(e,t){if(s){const a=s.imageryLayers._layers;for(let o=a.length-1;o>=0;o--)e.forEach(l=>{a[o]._imageryProvider&&a[o]._imageryProvider.customName&&(t?a[o]._imageryProvider.customName.indexOf(l)>-1&&s.imageryLayers.remove(a[o]):a[o]._imageryProvider.customName===l&&s.imageryLayers.remove(a[o]))})}}function A(e){if(s){let a=s.entities._entities._array;for(var t=a.length-1;t>=0;t--)a[t]._name&&a[t]._name===e&&s.entities.remove(a[t])}}function Fe(){if(Z.value=!Z.value,Z.value){let e=document.querySelector(".leftWra");e&&(e.style.transform="translate(0,0)")}else{let e=document.querySelector(".leftWra");e&&(e.style.transform="translate(-107%,0)")}}function Ae(){if(P.value=!P.value,P.value){let e=document.querySelector(".rightWra");e.style.transform="translate(0,0)"}else{let e=document.querySelector(".rightWra");e.style.transform="translate(107%,0)"}}const ve=e=>{W=oe({lable:[],value:[]}),xe({divisions:e}).then(t=>{t.data.forEach(a=>{console.log(a),W.lable.push(a.type),W.value.push((a.area/666.67).toFixed(2))}),J()})},he=e=>{q=c([]),O=c([]),j=c(0),Ce({divisions:e}).then(t=>{t.data.forEach(a=>{j.value+=Number(a.area),q.value.push({name:a.type,value:(a.area/666.67).toFixed(2)}),O.value.push({date:a.type,name:`${(a.area/666.67).toFixed(2)}\u4EA9`,address:`${(a.percentage*100).toFixed(2)}%`})}),console.log(q.value),V()})},ze=()=>{De().then(e=>{e.data.forEach(t=>{t.area=(t.area/666.67).toFixed(2)}),me=e.data})},_e=()=>{it().then(e=>{x.arr=e.features.sort((o,l)=>o.properties.XZMC.length-l.properties.XZMC.length),x.arr.unshift({bbox:[119.5091,35.5671,120.3285,36.1455],properties:{XZDM:"370211",XZMC:"\u5168\u90E8"}});let t=[...e.features],a=[];t.splice(0,1),t.forEach(o=>{a.push(o.properties.XZMC)}),H.title=[...Object.values(a)]})},Ee=()=>{nt().then(e=>{x.brr=e.features})},We=()=>{dt().then(e=>{x.crr=e.features,H.title.forEach((t,a)=>{let o=e.features.map(l=>{if(t===l.properties.town)return l.properties});Object.keys(K).forEach(l=>{const n=o.findIndex(p=>p&&p.crop===l);n>-1?K[l].push(o[n].Shape_Area):K[l].push(null)})})})},G=()=>{if(x.arr.forEach(o=>{o.properties.XZDM==v.value&&(ve(v.value),he(v.value))}),v.value=="370211"){I(["village_CQL"]),N=null,I(["aaa"]),_e(),R(),ASdivision(),J(),V();return}let e=[...x.arr];console.log("arr:",e),e.forEach(o=>{o.properties.XZDM==v.value&&s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(o.bbox[0],o.bbox[1],o.bbox[2],o.bbox[3]),duration:2});let l=[...x.brr],n=[];l.forEach(p=>{p.properties.XZDM==v.value&&n.push(p.properties.XZQMC)}),H.title=[...Object.values(n)]}),J(),V();const a=[...x.arr].find(o=>o.properties.XZDM===v.value);a&&(A("townLine"),ee(a.geometry.coordinates,"townLine","yellow")),I(["aaa"]),ge(`XZDM=${v.value}`,"aaa"),ct({time:"2023-04-26",subregion:"1",parent:"\u9EC4\u5C9B\u533A"}).then(o=>{let l=[];o.data.map((n,p)=>{n.region==a.properties.XZMC&&l.push({crop:n.type,Shape_Area:n.area})}),h.value={label:l},console.log(),console.log(l),ae({x:642,y:312})})},Ne=e=>{xe({divisions:v.value,whetherToDownload:!0}).then(t=>{ne(t.data[t.data.length-1].downloadPath)})},Re=e=>{Ce({divisions:v.value,whetherToDownload:!0}).then(t=>{ne(t.data[t.data.length-1].downloadPath)})},Be=e=>{De({divisions:v.value,whetherToDownload:!0}).then(t=>{ne(t.data[t.data.length-1].downloadPath)})};function J(){const e=we(ce.value);var t={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:W.lable,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:W.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"}}}]};t&&e.setOption(t),window.addEventListener("resize",function(){e.resize()})}function V(){const e=we(ue.value);var t=q.value;let a={color:["rgba(9, 187, 222, 0.8)","rgba(255, 235, 59, 0.8)","rgba(234, 165, 93, 0.8)","rgba(215, 25, 28, 0.8)","#585247","#7F6AAD","#009D85","rgba(250,250,250,0.3)"],title:{text:"\u603B\u9762\u79EF",subtext:`${(j.value/666.67).toFixed(2)}\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:t},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:t},{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%"],label:{normal:{show:!1}},data:[{value:9,name:"",itemStyle:{normal:{borderWidth:2,borderColor:"#0b5263"}}}]}]};st(e,a)}function ye(e,t){let a=new Cesium.WebMapServiceImageryProvider({url:serverAPI.geoserverUrl+"/shuzisannong/wms?",layers:e,parameters:{service:"WMS",format:"image/png",transparent:!0}});a.customName=t;let o=s.imageryLayers.addImageryProvider(a);t.indexOf("gbznt")>-1&&(s.imageryLayers.lowerToBottom(o),s.imageryLayers.raise(o))}function qe(){delete h.value.XZQMC,I(["gbznt"],!0),I(["aaa"]),v.value="370211",G(),E.value==="1"&&(console.log(E.value),ye("shuzisannong:huangdaoqu_town","tl")),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),E.value=!1,R()}function Oe(){let e=be.value;console.log("fl:",e),re({url:serverAPI.geoserverUrl+"/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Ahuangdaoqu_town&maxFeatures=50&outputFormat=application%2Fjson"}).then(t=>{console.log("res1111:",t),t.data.features.forEach((o,l)=>{const n=Cesium.Rectangle.fromDegrees(o.bbox[0],o.bbox[1],o.bbox[2],o.bbox[3]),p=Cesium.Rectangle.center(n);let m=Cesium.Math.toDegrees(p.longitude),_=Cesium.Math.toDegrees(p.latitude);o.properties.XZDM==="370211011"?(m=120.0863,_=35.941):o.properties.XZDM==="370211003"&&(m=120.243682,_=35.97123201);const C=e[o.properties.XZMC];let d=[];C&&(d=C.map((f,i)=>f.properties)),s.entities.add({name:"point"+o.properties.XZDM,position:Cesium.Cartesian3.fromDegrees(m,_),point:new Cesium.PointGraphics({show:!0,pixelSize:10,color:Cesium.Color.fromCssColorString("rgba(255, 255, 26, 1)"),outlineColor:new Cesium.Color(0,0,0,0),outlineWidth:0,disableDepthTestDistance:Number.POSITIVE_INFINITY,heightReference:Cesium.HeightReference.CLAMP_TO_GROUND}),info:{label:d,...o.properties,lon:m,lat:_}})})}).catch(t=>{})}let be=c({});function Qe(){re({url:serverAPI.geoserverUrl+"/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Afenlei&maxFeatures=137&outputFormat=application%2Fjson"}).then(e=>{let t=e.data.features,a={};t.forEach(o=>{let l=o.properties.town;a[l]?a[l].push(o):a[l]=[o]}),be.value=a,Oe()}).catch(e=>{})}function te(){if(h.value&&h.value.lon&&h.value.lat){const t=Cesium.Cartesian3.fromDegrees(Number(h.value.lon),Number(h.value.lat),0);var e=Cesium.SceneTransforms.wgs84ToWindowCoordinates(s.scene,t);if(Cesium.defined(e)){const a=document.getElementById("pop");a&&(a.style.top=e.y-10+"px",a.style.left=e.x+10+"px")}}}function R(){delete h.value.XZQMC,Q="",I(["village_CQL"]),A("villageLine"),A("townLine");const e=document.getElementById("pop");e&&(e.style.display="none"),s.scene.postRender.removeEventListener(te)}function ae(e){if(h.value.label.length){const t=document.getElementById("pop");t&&(t.style.display="block",t.style.position="absolute",t.style.top=e.y-10+"px",t.style.left=e.x+10+"px",t.style.zIndex=99)}}return(e,t)=>{const a=S("el-table-column"),o=S("el-table"),l=S("el-tooltip"),n=S("el-option"),p=S("el-select"),m=S("el-checkbox"),_=S("el-checkbox-group"),C=S("el-collapse-item"),d=S("el-collapse"),f=S("el-button");return y(),M("div",ut,[pt,r("div",ft,[r("div",mt,[r("div",gt,[vt,r("p",{onClick:t[0]||(t[0]=i=>Ne())},[z(" \u4E0B\u8F7D \xA0 "),ht])]),r("div",{ref_key:"areaDiv",ref:ce,class:"areaDiv"},null,512),r("div",{ref_key:"leftProgressBarDiv",ref:Se,class:"ProgressBar"},null,512)]),r("div",_t,[r("div",yt,[bt,r("p",{onClick:t[1]||(t[1]=i=>Re())},[z(" \u4E0B\u8F7D \xA0 "),wt])]),r("div",{ref_key:"typesofDiv",ref:ue,class:"typesofDiv"},null,512),r("div",xt,[u(o,{data:g(O),style:{width:"100%"}},{default:b(()=>[u(a,{prop:"date",label:"\u7C7B\u578B"}),u(a,{prop:"name",label:"\u9762\u79EF"}),u(a,{prop:"address",label:"\u5360\u6BD4"})]),_:1},8,["data"])])]),r("div",{class:"leftFoldDiv",onClick:t[2]||(t[2]=i=>Fe())},[u(l,{class:"box-item","show-arrow":!1,disabled:g(Z),"hide-after":"0","show-after":"200",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:b(()=>[g(Z)?F("v-if",!0):(y(),M("img",Ct))]),_:1},8,["disabled"]),u(l,{disabled:!g(Z),"show-arrow":!1,class:"box-item","show-after":"200","hide-after":"0",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:b(()=>[g(Z)?(y(),M("img",Dt)):F("v-if",!0)]),_:1},8,["disabled"])])]),r("div",St,[r("div",Mt,[r("div",kt,[Lt,r("p",{onClick:t[3]||(t[3]=i=>Be())},[z(" \u4E0B\u8F7D \xA0 "),Tt])]),r("div",It,[u(o,{data:g(me),style:{width:"100%"}},{default:b(()=>[u(a,{prop:"region",label:"\u533A\u57DF\u540D\u79F0"}),u(a,{prop:"area",width:"130",label:"\u6D2A\u6D9D\u9762\u79EF\uFF08\u4EA9\uFF09"}),u(a,{prop:"dataTime",label:"\u76D1\u6D4B\u65F6\u95F4"})]),_:1},8,["data"])]),F(' <div ref="ProgressBarDiv" class="ProgressBar"></div> ')]),r("div",Xt,[r("div",Zt,[Pt,r("p",{onClick:t[4]||(t[4]=i=>e.Deta4())},[z(" \u4E0B\u8F7D \xA0 "),Ft])]),u(p,{"popper-class":"select_city",onChange:t[5]||(t[5]=i=>G(e.item)),modelValue:v.value,"onUpdate:modelValue":t[6]||(t[6]=i=>v.value=i),clearable:"",placeholder:"\u5168\u90E8"},{default:b(()=>[(y(!0),M(le,null,se(g(x).arr,i=>(y(),ie(n,{key:i.properties.XZDM,label:i.properties.XZMC,value:i.properties.XZDM},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),r("div",At,[u(o,{data:g(O),style:{width:"100%"}},{default:b(()=>[u(a,{prop:"date",label:"\u533A\u57DF\u540D\u79F0"}),u(a,{prop:"name",width:"130",label:"\u6D2A\u6D9D\u9762\u79EF\uFF08\u4EA9\uFF09"}),u(a,{prop:"address",label:"\u76D1\u6D4B\u65F6\u95F4"})]),_:1},8,["data"])])]),r("div",{class:"rightFoldDiv",onClick:t[7]||(t[7]=i=>Ae())},[u(l,{disabled:!g(P),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:b(()=>[g(P)?(y(),M("img",zt)):F("v-if",!0)]),_:1},8,["disabled"]),u(l,{disabled:g(P),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:b(()=>[g(P)?F("v-if",!0):(y(),M("img",Et))]),_:1},8,["disabled"])])]),r("div",Wt,[u(lt)]),Nt,u(d,{class:"legend",accordion:""},{default:b(()=>[u(C,{name:"1"},{title:b(()=>[z("\u56FE\u4F8B")]),default:b(()=>[r("div",Rt,[u(_,{modelValue:fe.value,"onUpdate:modelValue":t[8]||(t[8]=i=>fe.value=i),onChange:e.change},{default:b(()=>[(y(!0),M(le,null,se(g(ke),(i,L,T)=>(y(),ie(m,{key:T,style:Ue({backgroundColor:i.color,border:"1px solid value.color",width:"100%"}),"v-model":i.disabled,disabled:i.disabled,label:L},null,8,["style","v-model","disabled","label"]))),128))]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1}),r("div",Bt,[r("div",null,B(pe.value.name)+"\uFF1A",1),r("div",null,B(pe.value.value)+"\u4EA9",1),r("div",{class:"cancel",onClick:R},"X")]),r("div",qt,[(y(!0),M(le,null,se(g(h).label,(i,L)=>(y(),M("div",{key:L},[r("div",null,B(i.crop)+"\uFF1A",1),r("div",null,B((i.Shape_Area/666.67).toFixed(2))+" \u4EA9",1)]))),128)),g(h).XZQMC?(y(),M("div",Ot,[Qt,r("div",null,B(g(h).XZQMC),1)])):F("v-if",!0),r("div",{class:"cancel",onClick:R},"X")]),E.value?(y(),ie(f,{key:0,class:"back_button",onClick:t[9]||(t[9]=i=>qe())},{default:b(()=>[z("\u8FD4\u56DE")]),_:1})):F("v-if",!0)])}}},ta=Je(Gt,[["__scopeId","data-v-21910d1f"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/meteorological/remoteSense/FloodExtraction/index.vue"]]);export{ta as default};