import{_ as ze,r as p,z as q,B as De,A as Te,C as Ie,d as C,o as d,c as v,l as s,m as P,g as D,e as T,w as S,F as Q,D as G,f as W,k as U,O as We,x as E,y as Be,p as Pe,q as Ee}from"./index.276e09af.js";import de from"./downloads.e955445d.js";import{_ as ue}from"./close1.45635d81.js";import{g as Re,a as Ae,b as Ze,c as Ne,u as ie,_ as Xe,d as Oe,e as Fe,f as qe,h as Ve,i as je}from"./linesGL.4533f4ed.js";import{i as ce,L as Je}from"./index.c9f5bd8b.js";import{T as Qe}from"./TimeLine.0e1480e0.js";const f=R=>(Pe("data-v-722f0c81"),R=R(),Ee(),R),Ge={class:"center"},Ue=f(()=>s("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Ye={class:"rightWra"},$e={class:"rightTop"},He={class:"title"},Ke=f(()=>s("span",null,"\u6482\u8352\u8015\u5730\u7C7B\u578B\u7EDF\u8BA1",-1)),eo=f(()=>s("img",{src:de,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),oo={class:"rightbottom"},to={class:"title"},ao=f(()=>s("span",null,"\u6482\u8352\u8015\u5730\u9762\u79EF\u7EDF\u8BA1",-1)),ro=f(()=>s("img",{src:de,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),lo={key:0,src:ue,alt:""},no={key:0,class:"imgrotate",src:ue,alt:""},so={class:"mt-4"},io={class:"bottom_center"},co=Be('
',1),uo={id:"popup1"},po={class:"rowWra"},fo=f(()=>s("span",null,"\u4F5C\u7269\uFF1A",-1)),go={class:"rowWra"},mo=f(()=>s("span",null,"\u9762\u79EF\uFF1A",-1)),bo={class:"rowWra"},ho=f(()=>s("span",null,"\u9547\u540D\uFF1A",-1)),yo={key:0,class:"rowWra"},vo=f(()=>s("span",null,"\u6751\u540D\uFF1A",-1)),_o={key:1,class:"rowWra"},xo=f(()=>s("span",null,"\u571F\u5730\u6240\u6709\u4EBA\uFF1A",-1)),wo={__name:"index",setup(R){let i=p(null);const Y=p(null);p(null);const $=p(null);let L=q({arr:[],brr:[],crr:[]});const _=p("370211"),M=p({info:[]}),V=p(!1);p(!0);let z=p(!0);const H=e=>{pe(e)},pe=e=>{let o=document.createElement("a");o.style.display="none",o.href=e,document.body.appendChild(o),o.click(),document.body.removeChild(o)};let x={\u5C0F\u9EA6:[],\u7389\u7C73:[],\u5927\u8C46:[],\u5730\u74DC:[],\u82B1\u751F:[],\u84DD\u8393:[],\u8336\u53F6:[],\u9A6C\u94C3\u85AF:[],\u767D\u83DC\u548C\u841D\u535C:[],\u5176\u4ED6:[]},K={\u5C0F\u9EA6:{color:"rgba(255, 141, 26, 1)",disabled:!1},\u7389\u7C73:{color:"rgba(255, 255, 26, 1)",disabled:!0},\u5927\u8C46:{color:"rgba(255, 201, 148, 1)",disabled:!1},\u5730\u74DC:{color:"rgba(255, 84, 84, 1)",disabled:!1},\u82B1\u751F:{color:"rgba(255, 140, 255, 1)",disabled:!1},\u84DD\u8393:{color:"rgba(26, 255, 255, 1)",disabled:!1},\u8336\u53F6:{color:"rgba(26, 255, 140, 1)",disabled:!1},\u9A6C\u94C3\u85AF:{color:"rgba(255, 171, 87, 1)",disabled:!0},\u767D\u83DC\u548C\u841D\u535C:{color:"rgba(140, 255, 26, 1)",disabled:!0},\u5176\u4ED6:{color:"rgba(140, 26, 255, 1)",disabled:!1}},A={\u5C0F\u9EA6:"shuzisannong:xiaomai",\u5927\u8C46:"shuzisannong:dadou",\u5730\u74DC:"shuzisannong:digua",\u82B1\u751F:"shuzisannong:huasheng",\u84DD\u8393:"shuzisannong:lanmei",\u8336\u53F6:"shuzisannong:chaye",\u5176\u4ED6:"shuzisannong:other"};q({arr:[{name:"\u5C0F\u9EA6",value:101,itemStyle:{opacity:.8,color:"rgba(110, 209, 84, 0.9)"}},{name:"\u82B1\u751F",value:156,itemStyle:{opacity:.8,color:"rgba(251, 201, 3, 1)"},label:{show:!0}},{name:"\u5927\u8C46",value:156,itemStyle:{opacity:.8,color:"rgba(240, 129, 31, 0.9)"},label:{show:!0}},{name:"\u5730\u74DC",value:156,itemStyle:{opacity:.8,color:"rgba(27, 85, 222, 1)"},label:{show:!0}},{name:"\u84DD\u8393",value:56,itemStyle:{opacity:.8,color:"rgba(72, 102, 211, 0.9)"},label:{show:!0}}]});var Z={title:["\u533A\u57DF\u4E00","\u533A\u57DF\u4E8C","\u533A\u57DF\u4E09","\u533A\u57DF\u56DB","\u533A\u57DF\u4E94","\u533A\u57DF\u516D","\u533A\u57DF\u4E03","\u533A\u57DF\u516B"],corn:[333.3,null,500,500,333.3,null,333.3,500],soybean:[333.3,null,null,null,333.3,null,333.3,null],peanut:[333.3,500,500,null,333.3,500,333.3,null],wheat:[null,500,null,500,null,500,null,null],Blueberries:[null,null,null,null,null,null,null,500]};De(()=>{fe()});function fe(){Ce(),ne(),ke(),me(),Se(),F(),le(),_e(),N.value=Object.keys(K)}const ge={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 me(){i=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({...ge})}),i.cesiumWidget.creditContainer.style.display="none",i.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:0}),ye(),X("shuzisannong:huangdaoqu_town","shuzisannong:huangdaoqu_town")}const N=p([]);function be(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 he(e,o){}Te(()=>N.value,(e,o)=>{e.length>o.length?e.filter(t=>{if(o.findIndex(n=>n===t)<0)return t}).forEach(t=>{A[t]&&X(A[t],t+"zuowu")}):e.length{if(e.findIndex(n=>n===t)<0)return t}).forEach(t=>{A[t]&&g([t+"zuowu"])})});function X(e,o,a){let t=new Cesium.WebMapServiceImageryProvider({url:serverAPI.geoserverUrl+"/shuzisannong/wms?",layers:e,parameters:{service:"WMS",format:"image/png",transparent:!0}});t.customName=o;let r=i.imageryLayers.addImageryProvider(t);a&&(i.imageryLayers.lowerToBottom(r),i.imageryLayers.raise(r))}let j="";function ye(){var e=new Cesium.ScreenSpaceEventHandler(i.canvas);e.setInputAction(async function(o){var a=i.camera.getPickRay(o.position),t=i.scene.globe.pick(a,i.scene);if(t){let r=Cesium.Cartographic.fromCartesian(t);if(r){let n=new Cesium.Cartesian2,w=i.camera.positionCartographic.height,m=be(w);const b=i.imageryLayers._layers,u=b.findIndex(l=>l._imageryProvider._layers&&l._imageryProvider._layers==="shuzisannong:huangdaoqu_town");if(u>-1){const l=b[u];let c=l._imageryProvider;if(c&&c.ready&&c._layers&&l.show===!0){n=c.tilingScheme.positionToTileXY(r,m,n);let h=c.pickFeatures(n.x,n.y,m,r.longitude,r.latitude);h&&h.then(async k=>{if(k.length>0){let y=k[0];if(y.properties&&y.properties.XZDM)if(j!==y.properties.XZDM){j=y.properties.XZDM,_.value=j,O();let I=y.data;i.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(I.bbox[0],I.bbox[1],I.bbox[2],I.bbox[3]),duration:2}),B("townLine"),oe(I.geometry.coordinates,"townLine","red"),g(["village_CQL"]),te(`XZDM=${y.properties.XZDM}`,"village_CQL"),J()}else ee(b,r,m,n,o);else g(["village_CQL"])}})}}else ee(b,r,m,n,o)}}},Cesium.ScreenSpaceEventType.LEFT_CLICK)}async function ee(e,o,a,t,r){let n=[],w=e.map(async u=>{if(u._imageryProvider._layers&&Object.values(A).findIndex(l=>l===u._imageryProvider._layers)>-1){const l=u;let c=l._imageryProvider;if(c&&c.ready&&c._layers&&l.show===!0){t=c.tilingScheme.positionToTileXY(o,a,t);let h=c.pickFeatures(t.x,t.y,a,o.longitude,o.latitude);h&&await h.then(k=>{if(k.length>0){B("landtype"),oe(k[0].data.geometry.coordinates,"landtype","red");let y=k[0].properties;n.findIndex(se=>se&&se.crop===y.crop)<0&&n.push(y)}})}}});if(await Promise.all(w),n.length>0){const u=r.position;var m=i.scene.globe.ellipsoid,b=i.camera.pickEllipsoid(u,m);if(b){let l=m.cartesianToCartographic(b),c=Cesium.Math.toDegrees(l.longitude).toFixed(6),h=Cesium.Math.toDegrees(l.latitude).toFixed(6);M.value={info:n,lon:c,lat:h}}ve(u),i.scene.postRender.addEventListener(ae)}else J()}function oe(e,o,a){e.forEach(t=>{let r=[];t[0].forEach(n=>{r.push(n[0]),r.push(n[1])}),i.entities.add({name:o,polyline:{positions:Cesium.Cartesian3.fromDegreesArray(r),width:6,material:new Cesium.PolylineGlowMaterialProperty({glowPower:.2,color:a?Cesium.Color.fromCssColorString(a):Cesium.Color.fromBytes(250,128,114)}),clampToGround:!0}})})}function te(e,o){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=o,i.imageryLayers.addImageryProvider(a)}function g(e,o){if(i){const a=i.imageryLayers._layers;for(let t=a.length-1;t>=0;t--)e.forEach(r=>{a[t]&&a[t]._imageryProvider&&a[t]._imageryProvider.customName&&(o?a[t]._imageryProvider.customName.indexOf(r)>-1&&i.imageryLayers.remove(a[t]):a[t]._imageryProvider.customName===r&&i.imageryLayers.remove(a[t]))})}}function B(e){if(i){let a=i.entities._entities._array;for(var o=a.length-1;o>=0;o--)a[o]._name&&a[o]._name===e&&i.entities.remove(a[o])}}function ae(){if(M.value&&M.value.lon&&M.value.lat){const o=Cesium.Cartesian3.fromDegrees(Number(M.value.lon),Number(M.value.lat),0);var e=Cesium.SceneTransforms.wgs84ToWindowCoordinates(i.scene,o);if(Cesium.defined(e)){const a=document.getElementById("popup1");a.style.top=e.y-10+"px",a.style.left=e.x+10+"px"}}}function J(){const e=document.getElementById("popup1");e.style.display="none",i.scene.postRender.removeEventListener(ae),B("landtype")}function ve(e){const o=document.getElementById("popup1");o.style.display="block",o.style.position="absolute",o.style.top=e.y-10+"px",o.style.left=e.x+10+"px",o.style.zIndex=99}const re=p([]);function _e(){Ie({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),re.value=e.data.features}).catch(e=>{})}function xe(){g(["huangdaoqu_town"],!0),g(["shuzisannong:farmlandgbzn"],!0),X("shuzisannong:huangdaoqu_town","shuzisannong:huangdaoqu_town"),i.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),V.value=!1}function we(){if(z.value=!z.value,z.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 le=(e,o)=>Re({time:"2023-04-19",subregion:o,parent:e}).then(a=>a.data),ne=()=>{Ae().then(e=>{L.arr=e.features,L.arr.unshift({bbox:[119.5091,35.5671,120.3285,36.1455],properties:{XZDM:"370211",XZMC:"\u5168\u90E8"}});let o=[...e.features],a=[];o.splice(0,1),o.forEach(t=>{a.push(t.properties.XZMC)}),Z.title=[...Object.values(a)],F()})},ke=()=>{Ze().then(e=>{L.brr=e.features})},Ce=()=>{Ne().then(e=>{console.log("res:",e),L.crr=e.features,Z.title.forEach((o,a)=>{let t=e.features.map(r=>{if(o===r.properties.town)return r.properties});Object.keys(x).forEach(r=>{t.findIndex(w=>w&&w.crop===r)>-1?x[r].push(1):x[r].push(null)})}),F(),O()})},O=()=>{_.value=="370211"?(ne(),B("townLine"),g(["village_CQL"]),q({arr:[{name:"\u5C0F\u9EA6",value:101,itemStyle:{opacity:.8,color:"rgba(110, 209, 84, 0.9)"}},{name:"\u82B1\u751F",value:156,itemStyle:{opacity:.8,color:"rgba(251, 201, 3, 1)"},label:{show:!0}},{name:"\u5927\u8C46",value:156,itemStyle:{opacity:.8,color:"rgba(240, 129, 31, 0.9)"},label:{show:!0}},{name:"\u5730\u74DC",value:156,itemStyle:{opacity:.8,color:"rgba(27, 85, 222, 1)"},label:{show:!0}},{name:"\u84DD\u8393",value:56,itemStyle:{opacity:.8,color:"rgba(72, 102, 211, 0.9)"},label:{show:!0}}]})):_.value&&q({arr:[{name:"\u5C0F\u9EA6",value:101,itemStyle:{opacity:.8,color:"rgba(110, 209, 84, 0.9)"}},{name:"\u82B1\u751F",value:156,itemStyle:{opacity:.8,color:"rgba(251, 201, 3, 1)"},label:{show:!0}},{name:"\u5927\u8C46",value:156,itemStyle:{opacity:.8,color:"rgba(240, 129, 31, 0.9)"},label:{show:!0}},{name:"\u5730\u74DC",value:0,itemStyle:{opacity:.8,color:"rgba(27, 85, 222, 1)"},label:{show:!1}},{name:"\u84DD\u8393",value:156,itemStyle:{opacity:.8,color:"rgba(72, 102, 211, 0.9)"},label:{show:!1}}]}),[...L.arr].forEach(o=>{o.properties.XZDM==_.value&&(le(o.properties.XZMC,"2"),i.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(o.bbox[0],o.bbox[1],o.bbox[2],o.bbox[3]),duration:2}));let a=[...L.brr],t=[];a.forEach(r=>{r.properties.XZDM==_.value&&t.push(r.properties.XZQMC)}),Z.title=[...Object.values(t)],F()}),g(["village_CQL"]),B("townLine"),te(`XZDM=${_.value}`,"village_CQL")};function Se(){const e=ce(Y.value);let o={color:["#1C86F1"],legend:{show:!0,top:"10",left:"center",textStyle:{color:"rgba(255,255,255,.9)"},itemWidth:20,itemHeight:12.5},tooltip:{},xAxis:{type:"category",data:["\u6C34\u7530","\u65F1\u5730","\u6C34\u6D47\u5730","\u5176\u4ED6","\u5176\u4ED6"],axisLine:{lineStyle:{color:"#657CA8"}},axisTick:{show:!1},axisLabel:{color:"#eeeeee",rotate:0}},yAxis:{nameTextStyle:{color:"#c0c3cd",padding:[0,0,0,0],fontSize:14},axisLabel:{color:"#c0c3cd",fontSize:14},axisTick:{lineStyle:{color:"#668092",width:1},show:!1},splitLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.7)",type:"solid"}},axisLine:{lineStyle:{color:"rgba(255, 255, 255, 0.7)",width:1},show:!1},name:"\u9762\u79EF(\u4EA9)"},series:[{type:"bar",barWidth:20,data:[100,78,56,124,67],label:{show:!0,position:"top",textStyle:{color:"#ffffff"}},itemStyle:{normal:{color:function(a){var t=[["rgba(12, 141, 211, 1)","transparent"],["rgba(67, 189, 178, 1)","transparent"],["rgba(254, 201, 107, 1)","transparent"],["rgba(255, 107, 107, 1)","transparent"],["rgba(107, 107, 255, 1)","transparent"]],r=a.dataIndex;return a.dataIndex>=t.length&&(r=a.dataIndex-t.length),new Je(0,0,0,1,[{offset:0,color:t[r][0]},{offset:.5,color:t[r][0]},{offset:1,color:t[r][1]}])}}}}]};e.on("click",a=>Le(a)),ie(e,o)}function Le(e){console.log("item:",e),g(["huangdaoqu_town"],!0),g(["shuzisannong:huangdaoqu_town"]),O();let o="shuzisannong:farmland",a=!1;const t=i.imageryLayers._layers;for(let n=t.length-1;n>=0;n--)t[n]&&t[n]._imageryProvider.customName&&t[n]._imageryProvider.customName===o+"gbznt"&&(a=!0);a||X(o,o+"gbznt",!0),re.value.forEach(n=>{console.log("it.properties.name:",n.properties.name),console.log("item.name:",e.name),n.properties.name===e.name&&(console.log("dingwei"),i.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(n.bbox[0],n.bbox[1],n.bbox[2],n.bbox[3]),duration:2}))}),V.value=!0}function F(){const e=ce($.value);var o={grid:{bottom:"8%",left:"10%",right:"6%",top:"6%",containLabel:!0},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:Z.title,inverse:!0}],series:[{type:"bar",name:"\u7389\u7C73",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"\u7389\u7C73",textStyle:{fontSize:12,fontWeight:"bolder",color:"rgba(255,255,255,1)"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:"rgba(4, 247, 227, 0.8)",color:{colorStops:[{offset:0,color:"rgba(4, 247, 227, 0.9)"},{offset:1,color:"rgba(4, 247, 227, 0.25)"}]}},data:x.\u7389\u7C73},{type:"bar",name:"\u5927\u8C46",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"inside",formatter:"\u5927\u8C46",textStyle:{fontSize:12,fontWeight:"bolder",color:"rgba(255,255,255,1)"}},itemStyle:{barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:"rgba(143, 186, 243, 0.8)",color:{colorStops:[{offset:0,color:"rgba(143, 186, 243, 0.9)"},{offset:1,color:"rgba(143, 186, 243, 0.3)"}]}},data:x.\u5927\u8C46},{type:"bar",name:"\u82B1\u751F",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"inside",formatter:"\u82B1\u751F",textStyle:{fontSize:12,fontWeight:"bolder",color:"rgba(255,255,255,1)"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:"rgba(4, 247, 227, 0.9)",color:{colorStops:[{offset:0,color:"rgba(4, 247, 227, 0.9)"},{offset:1,color:"rgba(4, 247, 227, 0.25)"}]}},data:x.\u82B1\u751F},{type:"bar",name:"\u5C0F\u9EA6",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"inside",formatter:"\u5C0F\u9EA6",textStyle:{fontSize:12,fontWeight:"bolder",color:"rgba(255,255,255,1)"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:"rgba(33, 187, 251, 0.8)",color:{colorStops:[{offset:0,color:"rgba(33, 187, 251, 0.9)"},{offset:1,color:"rgba(33, 187, 251, 0.25)"}]}},data:x.\u5C0F\u9EA6},{type:"bar",name:"\u84DD\u8393",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"inside",formatter:"\u84DD\u8393",textStyle:{fontSize:12,fontWeight:"bolder",color:"rgba(255,255,255,1)"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:"rgba(14, 223, 255, 0.8)",color:{colorStops:[{offset:0,color:"rgba(14, 223, 255, 0.9)"},{offset:1,color:"rgba(14, 223, 255, 0.25)"}]}},data:x.\u84DD\u8393}]};e.on("click",a=>Me(a)),ie(e,o)}function Me(e){console.log("\u53F3\u4E0B\u70B9\u51FB",e)}return(e,o)=>{const a=C("el-option"),t=C("el-select"),r=C("el-tooltip"),n=C("el-checkbox"),w=C("el-checkbox-group"),m=C("el-collapse-item"),b=C("el-collapse"),u=C("el-button");return d(),v("div",Ge,[Ue,s("div",Ye,[s("div",$e,[s("div",He,[Ke,s("p",{onClick:o[0]||(o[0]=l=>H("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianjishijian.xlsx"))},[P(" \u4E0B\u8F7D \xA0 "),eo])]),s("div",{ref_key:"farmlandDiv",ref:Y,class:"farmlandDiv"},null,512),D('
')]),s("div",oo,[s("div",to,[ao,s("p",{onClick:o[1]||(o[1]=l=>H("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianjishijian.xlsx"))},[P(" \u4E0B\u8F7D \xA0 "),ro])]),T(t,{"popper-class":"select_city",onChange:o[2]||(o[2]=l=>O(e.item)),modelValue:_.value,"onUpdate:modelValue":o[3]||(o[3]=l=>_.value=l),clearable:"",placeholder:"\u5168\u90E8"},{default:S(()=>[(d(!0),v(Q,null,G(W(L).arr,l=>(d(),U(a,{key:l.properties.XZDM,label:l.properties.XZMC,value:l.properties.XZDM},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),s("div",{ref_key:"ASdivisionDiv",ref:$,class:"ASdivision"},null,512)]),s("div",{class:"rightFoldDiv",onClick:o[4]||(o[4]=l=>we())},[T(r,{disabled:!W(z),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:S(()=>[W(z)?(d(),v("img",lo)):D("v-if",!0)]),_:1},8,["disabled"]),T(r,{disabled:W(z),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:S(()=>[W(z)?D("v-if",!0):(d(),v("img",no))]),_:1},8,["disabled"])])]),T(b,{class:"legend",accordion:""},{default:S(()=>[T(m,{name:"1"},{title:S(()=>[P("\u56FE\u4F8B")]),default:S(()=>[s("div",so,[T(w,{modelValue:N.value,"onUpdate:modelValue":o[6]||(o[6]=l=>N.value=l),onChange:he},{default:S(()=>[(d(!0),v(Q,null,G(W(K),(l,c,h)=>(d(),U(n,{key:h,style:We({background:l.color,border:`1px solid ${l.color}`,width:"100%"}),modelValue:e.checked3,"onUpdate:modelValue":o[5]||(o[5]=k=>e.checked3=k),disabled:l.disabled,label:c},null,8,["style","modelValue","disabled","label"]))),128)),D(` ')]),_:1},8,["modelValue"])])]),_:1})]),_:1}),s("div",io,[T(Qe)]),co,s("div",uo,[(d(!0),v(Q,null,G(M.value.info,(l,c)=>(d(),v("div",{key:c},[s("div",po,[fo,s("span",null,E(l.crop),1)]),s("div",go,[mo,s("span",null,E((l.Shape_Area/666.67).toFixed(2))+" \u4EA9",1)]),s("div",bo,[ho,s("span",null,E(l.town),1)]),l.village?(d(),v("div",yo,[vo,s("span",null,E(l.village),1)])):D("v-if",!0),l.people?(d(),v("div",_o,[xo,s("span",null,E(l.people),1)])):D("v-if",!0)]))),128)),s("div",{class:"cancel",onClick:J},"X")]),V.value?(d(),U(u,{key:0,class:"back_button",onClick:o[7]||(o[7]=l=>xe())},{default:S(()=>[P("\u8FD4\u56DE")]),_:1})):D("v-if",!0)])}}},Do=ze(wo,[["__scopeId","data-v-722f0c81"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/plough/abandonedLand/index.vue"]]);export{Do as default};