import{_ as ze,r as d,A as Z,V as Ie,U as Me,X as Ee,d as _,o as p,c as w,l as i,m as O,g as D,e as x,w as C,L as re,N as ne,f as E,k as le,x as P,y as Pe,p as Ne,q as Ae}from"./index.3607d347.js";import ue from"./downloads.e955445d.js";import{_ as de}from"./close1.45635d81.js";import{_ as We,a as Be,b as Xe,c as Fe,d as Ze,e as Oe}from"./linesGL.90f708a5.js";import{i as ie,L as se}from"./index.c9f5bd8b.js";import{T as Re}from"./TimeLine.531d10aa.js";import{u as ce}from"./useEcharts.f73a23ae.js";import{a as qe,b as je,c as Ve,g as Je}from"./classify.dabeca2f.js";const f=N=>(Ne("data-v-8f171897"),N=N(),Ae(),N),Qe={class:"center"},Ge=f(()=>i("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Ue={class:"rightWra"},$e={class:"rightTop"},Ye={class:"title"},He=f(()=>i("span",null,"\u975E\u7CAE\u5316\u8015\u5730\u7C7B\u578B\u7EDF\u8BA1",-1)),Ke=f(()=>i("img",{src:ue,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),et={class:"rightbottom"},tt={class:"title"},at=f(()=>i("span",null,"\u975E\u7CAE\u5316\u9762\u79EF\u7EDF\u8BA1",-1)),ot=f(()=>i("img",{src:ue,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),rt={key:0,src:de,alt:""},nt={key:0,class:"imgrotate",src:de,alt:""},lt={class:"mt-4"},it={class:"bottom_center"},st=Pe('
',1),ct={id:"popup1"},ut={class:"rowWra"},dt=f(()=>i("span",null,"\u4F5C\u7269\uFF1A",-1)),pt={class:"rowWra"},ft=f(()=>i("span",null,"\u9762\u79EF\uFF1A",-1)),mt={class:"rowWra"},gt=f(()=>i("span",null,"\u9547\u540D\uFF1A",-1)),yt={key:0,class:"rowWra"},vt=f(()=>i("span",null,"\u6751\u540D\uFF1A",-1)),ht={key:1,class:"rowWra"},bt=f(()=>i("span",null,"\u571F\u5730\u6240\u6709\u4EBA\uFF1A",-1)),_t={__name:"index",setup(N){let s=d(null);const Q=d(null);d(null);const G=d(null);let S=Z({arr:[],brr:[],crr:[]});const h=d("370211"),k=d({info:[]}),R=d(!1);d(!0);let L=d(!0);const U=e=>{pe(e)},pe=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:[]},fe={\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"};Z({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]};Ie(()=>{me()});function me(){ke(),ae(),Se(),ye(),Le(),F(),te(),we(),W.value=Object.keys(fe)}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 ye(){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({...ge})}),s.cesiumWidget.creditContainer.style.display="none",s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:0}),be(),B("shuzisannong:huangdaoqu_town","shuzisannong:huangdaoqu_town")}const W=d([]);function ve(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){}Me(()=>W.value,(e,t)=>{e.length>t.length?e.filter(a=>{if(t.findIndex(n=>n===a)<0)return a}).forEach(a=>{A[a]&&B(A[a],a+"zuowu")}):e.length{if(e.findIndex(n=>n===a)<0)return a}).forEach(a=>{A[a]&&m([a+"zuowu"])})});function B(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 V="";function be(){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 n=new Cesium.Cartesian2,b=s.camera.positionCartographic.height,g=ve(b);const y=s.imageryLayers._layers,u=y.findIndex(l=>l._imageryProvider._layers&&l._imageryProvider._layers==="shuzisannong:huangdaoqu_town");if(u>-1){const l=y[u];let c=l._imageryProvider;if(c&&c.ready&&c._layers&&l.show===!0){n=c.tilingScheme.positionToTileXY(r,g,n);let T=c.pickFeatures(n.x,n.y,g,r.longitude,r.latitude);T&&T.then(async z=>{if(z.length>0){let v=z[0];if(v.properties&&v.properties.XZDM)if(V!==v.properties.XZDM){V=v.properties.XZDM,h.value=V,X();let I=v.data;s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(I.bbox[0],I.bbox[1],I.bbox[2],I.bbox[3]),duration:2}),M("townLine"),Y(I.geometry.coordinates,"townLine","red"),m(["village_CQL"]),H(`XZDM=${v.properties.XZDM}`,"village_CQL"),J()}else $(y,r,g,n,t);else m(["village_CQL"])}})}}else $(y,r,g,n,t)}}},Cesium.ScreenSpaceEventType.LEFT_CLICK)}async function $(e,t,o,a,r){let n=[],b=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){a=c.tilingScheme.positionToTileXY(t,o,a);let T=c.pickFeatures(a.x,a.y,o,t.longitude,t.latitude);T&&await T.then(z=>{if(z.length>0){M("landtype"),Y(z[0].data.geometry.coordinates,"landtype","red");let v=z[0].properties;n.findIndex(oe=>oe&&oe.crop===v.crop)<0&&n.push(v)}})}}});if(await Promise.all(b),n.length>0){const u=r.position;var g=s.scene.globe.ellipsoid,y=s.camera.pickEllipsoid(u,g);if(y){let l=g.cartesianToCartographic(y),c=Cesium.Math.toDegrees(l.longitude).toFixed(6),T=Cesium.Math.toDegrees(l.latitude).toFixed(6);k.value={info:n,lon:c,lat:T}}_e(u),s.scene.postRender.addEventListener(K)}else J()}function Y(e,t,o){e.forEach(a=>{let r=[];a[0].forEach(n=>{r.push(n[0]),r.push(n[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 H(e,t){let o=new Cesium.WebMapServiceImageryProvider({url:`${serverAPI.geoserverUrl}/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 m(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 M(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 K(){if(k.value&&k.value.lon&&k.value.lat){const t=Cesium.Cartesian3.fromDegrees(Number(k.value.lon),Number(k.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(K),M("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 ee=d([]);function we(){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),ee.value=e.data.features}).catch(e=>{})}function xe(){m(["huangdaoqu_town"],!0),m(["shuzisannong:farmlandgbzn"],!0),B("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(L.value=!L.value,L.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 te=(e,t)=>qe({time:"2023-04-19",subregion:t,parent:e}).then(o=>o.data),ae=()=>{je().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)],F()})},Se=()=>{Ve().then(e=>{S.brr=e.features})},ke=()=>{Je().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(b=>b&&b.crop===r)>-1?q[r].push(1):q[r].push(null)})}),F(),X()})},X=()=>{h.value=="370211"?(ae(),M("townLine"),m(["village_CQL"]),Z({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}}]})):h.value&&Z({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==h.value&&(te(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==h.value&&a.push(r.properties.XZQMC)}),j.title=[...Object.values(a)],F()}),m(["village_CQL"]),M("townLine"),H(`XZDM=${h.value}`,"village_CQL")};function Le(){const e=ie(Q.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 se(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)),ce(e,t)}function Te(e){console.log("item:",e),m(["huangdaoqu_town"],!0),m(["shuzisannong:huangdaoqu_town"]),X();let t="shuzisannong:farmland",o=!1;const a=s.imageryLayers._layers;for(let n=a.length-1;n>=0;n--)a[n]&&a[n]._imageryProvider.customName&&a[n]._imageryProvider.customName===t+"gbznt"&&(o=!0);o||B(t,t+"gbznt",!0),ee.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"),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(n.bbox[0],n.bbox[1],n.bbox[2],n.bbox[3]),duration:2}))}),R.value=!0}function F(){const e=ie(G.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(n=>{o.push(n.areaName),a.push(parseInt(n.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 se(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",n=>De(n)),ce(e,r)}function De(e){console.log("\u53F3\u4E0B\u70B9\u51FB",e)}return(e,t)=>{const o=_("el-option"),a=_("el-select"),r=_("el-tooltip"),n=_("el-checkbox"),b=_("el-checkbox-group"),g=_("el-collapse-item"),y=_("el-collapse"),u=_("el-button");return p(),w("div",Qe,[Ge,i("div",Ue,[i("div",$e,[i("div",Ye,[He,i("p",{onClick:t[0]||(t[0]=l=>U("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianjishijian.xlsx"))},[O(" \u4E0B\u8F7D \xA0 "),Ke])]),i("div",{ref_key:"farmlandDiv",ref:Q,class:"farmlandDiv"},null,512),D('
')]),i("div",et,[i("div",tt,[at,i("p",{onClick:t[1]||(t[1]=l=>U("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianjishijian.xlsx"))},[O(" \u4E0B\u8F7D \xA0 "),ot])]),x(a,{"popper-class":"select_city",onChange:t[2]||(t[2]=l=>X(e.item)),modelValue:h.value,"onUpdate:modelValue":t[3]||(t[3]=l=>h.value=l),placeholder:"\u5168\u90E8"},{default:C(()=>[(p(!0),w(re,null,ne(E(S).arr,l=>(p(),le(o,{key:l.properties.XZDM,label:l.properties.XZMC,value:l.properties.XZDM},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),i("div",{ref_key:"ASdivisionDiv",ref:G,class:"ASdivision"},null,512)]),i("div",{class:"rightFoldDiv",onClick:t[4]||(t[4]=l=>Ce())},[x(r,{disabled:!E(L),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:C(()=>[E(L)?(p(),w("img",rt)):D("v-if",!0)]),_:1},8,["disabled"]),x(r,{disabled:E(L),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:C(()=>[E(L)?D("v-if",!0):(p(),w("img",nt))]),_:1},8,["disabled"])])]),x(y,{class:"legend",accordion:""},{default:C(()=>[x(g,{name:"1"},{title:C(()=>[O("\u56FE\u4F8B")]),default:C(()=>[i("div",lt,[x(b,{modelValue:W.value,"onUpdate:modelValue":t[6]||(t[6]=l=>W.value=l),onChange:he},{default:C(()=>[D(` `),x(n,{style:{background:"rgba(175, 110, 250, 0.8)",border:"1px solid rgba(187, 164, 245, 1)",width:"100%"},modelValue:e.checked3,"onUpdate:modelValue":t[5]||(t[5]=l=>e.checked3=l),label:"\u975E\u7CAE\u5316"},null,8,["modelValue"])]),_:1},8,["modelValue"])])]),_:1})]),_:1}),i("div",it,[x(Re)]),st,i("div",ct,[(p(!0),w(re,null,ne(k.value.info,(l,c)=>(p(),w("div",{key:c},[i("div",ut,[dt,i("span",null,P(l.crop),1)]),i("div",pt,[ft,i("span",null,P((l.Shape_Area/666.67).toFixed(2))+" \u4EA9",1)]),i("div",mt,[gt,i("span",null,P(l.town),1)]),l.village?(p(),w("div",yt,[vt,i("span",null,P(l.village),1)])):D("v-if",!0),l.people?(p(),w("div",ht,[bt,i("span",null,P(l.people),1)])):D("v-if",!0)]))),128)),i("div",{class:"cancel",onClick:J},"X")]),R.value?(p(),le(u,{key:0,class:"back_button",onClick:t[7]||(t[7]=l=>xe())},{default:C(()=>[O("\u8FD4\u56DE")]),_:1})):D("v-if",!0)])}}},zt=ze(_t,[["__scopeId","data-v-8f171897"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/plough/Degrain/index.vue"]]);export{zt as default};