import{_ as ze,r as p,B as O,D as Me,C as Ie,F as Ee,d as C,o as d,c as v,l as i,m as P,g as D,e as z,w as k,G as Q,H as V,f as I,k as U,S as Pe,x as N,y as Ne,p as We,q as Ae}from"./index.be11ec00.js";import ue from"./downloads.e955445d.js";import{_ as pe}from"./close1.45635d81.js";import{i as Be,g as Fe,a as Xe,b as Ze,_ as Oe,c as Re,d as qe,e as je,f as Ge,h as Je}from"./linesGL.7d091c0b.js";import{i as se,L as ce}from"./index.7fec779c.js";import{T as Qe}from"./TimeLine.00a17ad7.js";import{u as de}from"./useEcharts.7c77fa00.js";const m=W=>(We("data-v-722f0c81"),W=W(),Ae(),W),Ve={class:"center"},Ue=m(()=>i("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),$e={class:"rightWra"},Ye={class:"rightTop"},He={class:"title"},Ke=m(()=>i("span",null,"\u6482\u8352\u8015\u5730\u7C7B\u578B\u7EDF\u8BA1",-1)),et=m(()=>i("img",{src:ue,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),tt={class:"rightbottom"},at={class:"title"},ot=m(()=>i("span",null,"\u6482\u8352\u8015\u5730\u9762\u79EF\u7EDF\u8BA1",-1)),rt=m(()=>i("img",{src:ue,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),lt={key:0,src:pe,alt:""},nt={key:0,class:"imgrotate",src:pe,alt:""},it={class:"mt-4"},st={class:"bottom_center"},ct=Ne('
',1),dt={id:"popup1"},ut={class:"rowWra"},pt=m(()=>i("span",null,"\u4F5C\u7269\uFF1A",-1)),mt={class:"rowWra"},gt=m(()=>i("span",null,"\u9762\u79EF\uFF1A",-1)),ft={class:"rowWra"},bt=m(()=>i("span",null,"\u9547\u540D\uFF1A",-1)),yt={key:0,class:"rowWra"},ht=m(()=>i("span",null,"\u6751\u540D\uFF1A",-1)),vt={key:1,class:"rowWra"},_t=m(()=>i("span",null,"\u571F\u5730\u6240\u6709\u4EBA\uFF1A",-1)),xt={__name:"index",setup(W){let s=p(null);const $=p(null);p(null);const Y=p(null);let S=O({arr:[],brr:[],crr:[]});const _=p("370211"),L=p({info:[]}),R=p(!1);p(!0);let T=p(!0);const H=e=>{me(e)},me=e=>{let t=document.createElement("a");t.style.display="none",t.href=e,document.body.appendChild(t),t.click(),document.body.removeChild(t)};let q={\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"};O({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 j={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]};Me(()=>{ge()});function ge(){Se(),ne(),ke(),be(),Le(),Z(),le(),xe(),B.value=Object.keys(K)}const fe={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 be(){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({...fe})}),s.cesiumWidget.creditContainer.style.display="none",s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:0}),ve(),F("shuzisannong:huangdaoqu_town","shuzisannong:huangdaoqu_town")}const B=p([]);function ye(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,t){}Ie(()=>B.value,(e,t)=>{e.length>t.length?e.filter(a=>{if(t.findIndex(l=>l===a)<0)return a}).forEach(a=>{A[a]&&F(A[a],a+"zuowu")}):e.length{if(e.findIndex(l=>l===a)<0)return a}).forEach(a=>{A[a]&&g([a+"zuowu"])})});function F(e,t,o){let a=new Cesium.WebMapServiceImageryProvider({url:serverAPI.geoserverUrl+"/shuzisannong/wms?",layers:e,parameters:{service:"WMS",format:"image/png",transparent:!0}});a.customName=t;let r=s.imageryLayers.addImageryProvider(a);o&&(s.imageryLayers.lowerToBottom(r),s.imageryLayers.raise(r))}let G="";function ve(){var e=new Cesium.ScreenSpaceEventHandler(s.canvas);e.setInputAction(async function(t){var o=s.camera.getPickRay(t.position),a=s.scene.globe.pick(o,s.scene);if(a){let r=Cesium.Cartographic.fromCartesian(a);if(r){let l=new Cesium.Cartesian2,x=s.camera.positionCartographic.height,f=ye(x);const b=s.imageryLayers._layers,u=b.findIndex(n=>n._imageryProvider._layers&&n._imageryProvider._layers==="shuzisannong:huangdaoqu_town");if(u>-1){const n=b[u];let c=n._imageryProvider;if(c&&c.ready&&c._layers&&n.show===!0){l=c.tilingScheme.positionToTileXY(r,f,l);let y=c.pickFeatures(l.x,l.y,f,r.longitude,r.latitude);y&&y.then(async w=>{if(w.length>0){let h=w[0];if(h.properties&&h.properties.XZDM)if(G!==h.properties.XZDM){G=h.properties.XZDM,_.value=G,X();let M=h.data;s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(M.bbox[0],M.bbox[1],M.bbox[2],M.bbox[3]),duration:2}),E("townLine"),te(M.geometry.coordinates,"townLine","red"),g(["village_CQL"]),ae(`XZDM=${h.properties.XZDM}`,"village_CQL"),J()}else ee(b,r,f,l,t);else g(["village_CQL"])}})}}else ee(b,r,f,l,t)}}},Cesium.ScreenSpaceEventType.LEFT_CLICK)}async function ee(e,t,o,a,r){let l=[],x=e.map(async u=>{if(u._imageryProvider._layers&&Object.values(A).findIndex(n=>n===u._imageryProvider._layers)>-1){const n=u;let c=n._imageryProvider;if(c&&c.ready&&c._layers&&n.show===!0){a=c.tilingScheme.positionToTileXY(t,o,a);let y=c.pickFeatures(a.x,a.y,o,t.longitude,t.latitude);y&&await y.then(w=>{if(w.length>0){E("landtype"),te(w[0].data.geometry.coordinates,"landtype","red");let h=w[0].properties;l.findIndex(ie=>ie&&ie.crop===h.crop)<0&&l.push(h)}})}}});if(await Promise.all(x),l.length>0){const u=r.position;var f=s.scene.globe.ellipsoid,b=s.camera.pickEllipsoid(u,f);if(b){let n=f.cartesianToCartographic(b),c=Cesium.Math.toDegrees(n.longitude).toFixed(6),y=Cesium.Math.toDegrees(n.latitude).toFixed(6);L.value={info:l,lon:c,lat:y}}_e(u),s.scene.postRender.addEventListener(oe)}else J()}function te(e,t,o){e.forEach(a=>{let r=[];a[0].forEach(l=>{r.push(l[0]),r.push(l[1])}),s.entities.add({name:t,polyline:{positions:Cesium.Cartesian3.fromDegreesArray(r),width:6,material:new Cesium.PolylineGlowMaterialProperty({glowPower:.2,color:o?Cesium.Color.fromCssColorString(o):Cesium.Color.fromBytes(250,128,114)}),clampToGround:!0}})})}function ae(e,t){let o=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}});o.customName=t,s.imageryLayers.addImageryProvider(o)}function g(e,t){if(s){const o=s.imageryLayers._layers;for(let a=o.length-1;a>=0;a--)e.forEach(r=>{o[a]&&o[a]._imageryProvider&&o[a]._imageryProvider.customName&&(t?o[a]._imageryProvider.customName.indexOf(r)>-1&&s.imageryLayers.remove(o[a]):o[a]._imageryProvider.customName===r&&s.imageryLayers.remove(o[a]))})}}function E(e){if(s){let o=s.entities._entities._array;for(var t=o.length-1;t>=0;t--)o[t]._name&&o[t]._name===e&&s.entities.remove(o[t])}}function oe(){if(L.value&&L.value.lon&&L.value.lat){const t=Cesium.Cartesian3.fromDegrees(Number(L.value.lon),Number(L.value.lat),0);var e=Cesium.SceneTransforms.wgs84ToWindowCoordinates(s.scene,t);if(Cesium.defined(e)){const o=document.getElementById("popup1");o.style.top=e.y-10+"px",o.style.left=e.x+10+"px"}}}function J(){const e=document.getElementById("popup1");e.style.display="none",s.scene.postRender.removeEventListener(oe),E("landtype")}function _e(e){const t=document.getElementById("popup1");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}const re=p([]);function xe(){Ee({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 we(){g(["huangdaoqu_town"],!0),g(["shuzisannong:farmlandgbzn"],!0),F("shuzisannong:huangdaoqu_town","shuzisannong:huangdaoqu_town"),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),R.value=!1}function Ce(){if(T.value=!T.value,T.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,t)=>Be({time:"2023-04-19",subregion:t,parent:e}).then(o=>o.data),ne=()=>{Fe().then(e=>{S.arr=e.features,S.arr.unshift({bbox:[119.5091,35.5671,120.3285,36.1455],properties:{XZDM:"370211",XZMC:"\u5168\u90E8"}});let t=[...e.features],o=[];t.splice(0,1),t.forEach(a=>{o.push(a.properties.XZMC)}),j.title=[...Object.values(o)],Z()})},ke=()=>{Xe().then(e=>{S.brr=e.features})},Se=()=>{Ze().then(e=>{console.log("res:",e),S.crr=e.features,j.title.forEach((t,o)=>{let a=e.features.map(r=>{if(t===r.properties.town)return r.properties});Object.keys(q).forEach(r=>{a.findIndex(x=>x&&x.crop===r)>-1?q[r].push(1):q[r].push(null)})}),Z(),X()})},X=()=>{_.value=="370211"?(ne(),E("townLine"),g(["village_CQL"]),O({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&&O({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}}]}),[...S.arr].forEach(t=>{t.properties.XZDM==_.value&&(le(t.properties.XZMC,"2"),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(t.bbox[0],t.bbox[1],t.bbox[2],t.bbox[3]),duration:2}));let o=[...S.brr],a=[];o.forEach(r=>{r.properties.XZDM==_.value&&a.push(r.properties.XZQMC)}),j.title=[...Object.values(a)],Z()}),g(["village_CQL"]),E("townLine"),ae(`XZDM=${_.value}`,"village_CQL")};function Le(){const e=se($.value);let t={color:["#1C86F1"],legend:{show:!0,top:"10",left:"center",textStyle:{color:"rgba(255,255,255,.9)"},itemWidth:20,itemHeight:12.5,icon:"rect",backgroundColor:"transparent",x:"right"},tooltip:{},grid:{left:"5%",right:"5%",bottom:"9%",top:"15%",containLabel:!0},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(o){var a=[["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=o.dataIndex;return o.dataIndex>=a.length&&(r=o.dataIndex-a.length),new ce(0,0,0,1,[{offset:0,color:a[r][0]},{offset:.5,color:a[r][0]},{offset:1,color:a[r][1]}])}}}}]};e.on("click",o=>Te(o)),de(e,t)}function Te(e){console.log("item:",e),g(["huangdaoqu_town"],!0),g(["shuzisannong:huangdaoqu_town"]),X();let t="shuzisannong:farmland",o=!1;const a=s.imageryLayers._layers;for(let l=a.length-1;l>=0;l--)a[l]&&a[l]._imageryProvider.customName&&a[l]._imageryProvider.customName===t+"gbznt"&&(o=!0);o||F(t,t+"gbznt",!0),re.value.forEach(l=>{console.log("it.properties.name:",l.properties.name),console.log("item.name:",e.name),l.properties.name===e.name&&(console.log("dingwei"),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(l.bbox[0],l.bbox[1],l.bbox[2],l.bbox[3]),duration:2}))}),R.value=!0}function Z(){const e=se(Y.value);var t=[{areaName:"\u533A\u57DF\u4E00",rate:"3598"},{areaName:"\u533A\u57DF\u4E8C",rate:"1235"},{areaName:"\u533A\u57DF\u4E09",rate:"2354"},{areaName:"\u533A\u57DF\u56DB",rate:"3251"},{areaName:"\u533A\u57DF\u4E94",rate:"1652"}],o=[],a=[];t.forEach(l=>{o.push(l.areaName),a.push(parseInt(l.rate).toFixed(0))});var r={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!0,top:"10",right:"5%",textStyle:{color:"rgba(255,255,255,.9)"},itemWidth:20,itemHeight:12.5,icon:"rect",backgroundColor:"transparent"},grid:{left:"5%",right:"5%",bottom:"9%",top:"10%",containLabel:!0},xAxis:{data:o,triggerEvent:!0,axisTick:{show:!1},axisLine:{show:!0,lineStyle:{color:"#70F5FE"}},axisLabel:{show:!0,rotate:0,interval:0,textStyle:{padding:[8,0,0,0],fontSize:14,color:"rgba(21, 222, 255, 0.8)"}}},yAxis:{name:"",triggerEvent:!0,nameTextStyle:{color:"rgba(255,255,255,1)",fontSize:16,padding:[0,0,10,-20]},splitLine:{show:!0,lineStyle:{color:"#A6D9F6",type:"dashed"}},axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,textStyle:{color:"rgba(24, 255, 255, 0.8)",fontSize:14}}},series:[{name:"\u9762\u79EF",barMinHeight:10,type:"pictorialBar",barCategoryGap:"60%",symbolOffset:[1,-5],symbol:"path://M0,10 L10,10 C5.5,10 5.5,5 5,0 C4.5,5 4.5,10 0,10 z",itemStyle:{normal:{color:new ce(0,0,0,1,[{offset:0,color:"rgba(161, 222, 147, 1)"},{offset:1,color:"rgba(161, 222, 147, 0.08)"}])}},label:{show:!0,position:"top",textStyle:{color:"#ffffff"}},data:a,z:0}]};e.on("click",l=>De(l)),de(e,r)}function De(e){console.log("\u53F3\u4E0B\u70B9\u51FB",e)}return(e,t)=>{const o=C("el-option"),a=C("el-select"),r=C("el-tooltip"),l=C("el-checkbox"),x=C("el-checkbox-group"),f=C("el-collapse-item"),b=C("el-collapse"),u=C("el-button");return d(),v("div",Ve,[Ue,i("div",$e,[i("div",Ye,[i("div",He,[Ke,i("p",{onClick:t[0]||(t[0]=n=>H("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianjishijian.xlsx"))},[P(" \u4E0B\u8F7D \xA0 "),et])]),i("div",{ref_key:"farmlandDiv",ref:$,class:"farmlandDiv"},null,512),D('
')]),i("div",tt,[i("div",at,[ot,i("p",{onClick:t[1]||(t[1]=n=>H("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianjishijian.xlsx"))},[P(" \u4E0B\u8F7D \xA0 "),rt])]),z(a,{"popper-class":"select_city",onChange:t[2]||(t[2]=n=>X(e.item)),modelValue:_.value,"onUpdate:modelValue":t[3]||(t[3]=n=>_.value=n),clearable:"",placeholder:"\u5168\u90E8"},{default:k(()=>[(d(!0),v(Q,null,V(I(S).arr,n=>(d(),U(o,{key:n.properties.XZDM,label:n.properties.XZMC,value:n.properties.XZDM},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),i("div",{ref_key:"ASdivisionDiv",ref:Y,class:"ASdivision"},null,512)]),i("div",{class:"rightFoldDiv",onClick:t[4]||(t[4]=n=>Ce())},[z(r,{disabled:!I(T),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:k(()=>[I(T)?(d(),v("img",lt)):D("v-if",!0)]),_:1},8,["disabled"]),z(r,{disabled:I(T),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:k(()=>[I(T)?D("v-if",!0):(d(),v("img",nt))]),_:1},8,["disabled"])])]),z(b,{class:"legend",accordion:""},{default:k(()=>[z(f,{name:"1"},{title:k(()=>[P("\u56FE\u4F8B")]),default:k(()=>[i("div",it,[z(x,{modelValue:B.value,"onUpdate:modelValue":t[6]||(t[6]=n=>B.value=n),onChange:he},{default:k(()=>[(d(!0),v(Q,null,V(I(K),(n,c,y)=>(d(),U(l,{key:y,style:Pe({background:n.color,border:`1px solid ${n.color}`,width:"100%"}),modelValue:e.checked3,"onUpdate:modelValue":t[5]||(t[5]=w=>e.checked3=w),disabled:n.disabled,label:c},null,8,["style","modelValue","disabled","label"]))),128)),D(` ')]),_:1},8,["modelValue"])])]),_:1})]),_:1}),i("div",st,[z(Qe)]),ct,i("div",dt,[(d(!0),v(Q,null,V(L.value.info,(n,c)=>(d(),v("div",{key:c},[i("div",ut,[pt,i("span",null,N(n.crop),1)]),i("div",mt,[gt,i("span",null,N((n.Shape_Area/666.67).toFixed(2))+" \u4EA9",1)]),i("div",ft,[bt,i("span",null,N(n.town),1)]),n.village?(d(),v("div",yt,[ht,i("span",null,N(n.village),1)])):D("v-if",!0),n.people?(d(),v("div",vt,[_t,i("span",null,N(n.people),1)])):D("v-if",!0)]))),128)),i("div",{class:"cancel",onClick:J},"X")]),R.value?(d(),U(u,{key:0,class:"back_button",onClick:t[7]||(t[7]=n=>we())},{default:k(()=>[P("\u8FD4\u56DE")]),_:1})):D("v-if",!0)])}}},zt=ze(xt,[["__scopeId","data-v-722f0c81"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/plough/abandonedLand/index.vue"]]);export{zt as default};