2 lines
34 KiB
JavaScript
2 lines
34 KiB
JavaScript
import{_ as $e,r as b,A as ae,U as Ge,V as je,a1 as pe,d as re,o as k,c as z,l as a,m as L,x as w,f as g,e as Q,w as V,g as F,L as Me,N as De,k as ke,y as Je,p as Ue,q as Ye}from"./index.afd881ee.js";import le from"./downloads.4cdbbcc5.js";import{_ as J}from"./crops.d314ada0.js";import{_ as ie}from"./close1.45635d81.js";import{_ as He,a as Ke,b as et,c as tt}from"./position.a021215f.js";import{_ as ot,a as at}from"./TimeLine.vue_vue_type_style_index_0_scoped_26e8a223_lang.891b9335.js";import"./index.6098b0aa.js";import{T as rt}from"./TimeLine.7d9e99e3.js";import{u as me}from"./useEcharts.a1c5140e.js";import{a as Ie,b as st,c as lt,g as it}from"./classify.0caf1d5e.js";import"./linesGL.306b5757.js";import{i as se,L as R}from"./install.6cb28b74.js";const x=U=>(Ue("data-v-dfd23c6a"),U=U(),Ye(),U),nt={class:"center"},ct=x(()=>a("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),dt={class:"leftWra"},ut={class:"leftTop"},ft={class:"title"},pt=x(()=>a("span",null,"\u79CD\u690D\u9762\u79EF\u65F6\u95F4\u7EDF\u8BA1",-1)),mt=x(()=>a("img",{src:le,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),gt={class:"leftbottom"},ht={class:"title"},vt=x(()=>a("span",null,"\u79CD\u690D\u9762\u79EF\u7EDF\u8BA1",-1)),yt=x(()=>a("img",{src:le,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),bt={class:"tableDiv"},_t={class:"Crops"},wt=x(()=>a("div",null,[a("img",{src:J,alt:""}),L(" \u5C0F\u9EA6 ")],-1)),xt={style:{color:"rgba(110, 209, 84, 1)"}},St={style:{color:"rgba(110, 209, 84, 1)"}},Ct={class:"Crops"},Mt=x(()=>a("div",null,[a("img",{src:J,alt:""}),L(" \u82B1\u751F ")],-1)),Dt={style:{color:"rgba(229, 205, 38, 1)"}},kt={style:{color:"rgba(229, 205, 38, 1)"}},It={class:"Crops"},Lt=x(()=>a("div",null,[a("img",{src:J,alt:""}),L(" \u5927\u8C46 ")],-1)),At={style:{color:"rgba(252, 169, 63, 1)"}},Pt={style:{color:"rgba(252, 169, 63, 1)"}},Tt={class:"Crops"},Bt=x(()=>a("div",null,[a("img",{src:J,alt:""}),L(" \u5730\u74DC ")],-1)),zt={style:{color:"rgba(103, 153, 242, 1)"}},Rt={style:{color:"rgba(103, 153, 242, 1)"}},Et={class:"Crops"},Wt=x(()=>a("div",null,[a("img",{src:J,alt:""}),L(" \u84DD\u8393 ")],-1)),Zt={style:{color:"rgba(4, 179, 228, 1)"}},Xt={style:{color:"rgba(4, 179, 228, 1)"}},Ft={key:0,src:ie,alt:""},Nt={key:0,class:"imgrotate",src:ie,alt:""},Ot={class:"rightWra"},qt={class:"rightTop"},Qt={class:"title"},Vt=x(()=>a("span",null,"\u79CD\u690D\u9762\u79EF\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530",-1)),$t=x(()=>a("img",{src:le,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Gt={class:"rightbottom"},jt={class:"title"},Jt=x(()=>a("span",null,"\u79CD\u690D\u9762\u79EF\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),Ut=x(()=>a("img",{src:le,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Yt={key:0,src:ie,alt:""},Ht={key:0,class:"imgrotate",src:ie,alt:""},Kt={class:"bottom_center"},eo=Je('<div class="tool" data-v-dfd23c6a><span data-v-dfd23c6a><img src="'+He+'" alt="" data-v-dfd23c6a></span><span data-v-dfd23c6a><img src="'+Ke+'" alt="" data-v-dfd23c6a></span><span data-v-dfd23c6a><img src="'+et+'" alt="" data-v-dfd23c6a></span><span data-v-dfd23c6a><img src="'+ot+'" alt="" data-v-dfd23c6a></span><span data-v-dfd23c6a><img src="'+at+'" alt="" data-v-dfd23c6a></span><span data-v-dfd23c6a><img src="'+tt+'" alt="" data-v-dfd23c6a></span></div>',1),to={id:"popup"},oo={id:"pop"},ao={key:0},ro=x(()=>a("div",null,"\u6751\u540D\uFF1A",-1)),so={__name:"Area",setup(U){let f=b(null);const ge=b(null),he=b(null),ve=b(null);b(null);const ye=b(null),A=b("370211"),Le=b(null);let P=ae({arr:[],brr:[],crr:[]});ae({arr:[]});const be=b({name:"",value:""});b([]);const _e=b([]),N=b(!1);let W=b(!1),Z=b(!1);b("{x:765,y:191}");let Y=ae({arr:[{name:"\u5C0F\u9EA6",value:101,itemStyle:{opacity:.5,color:"rgba(110, 209, 84, 0.9)"}},{name:"\u82B1\u751F",value:156,itemStyle:{opacity:.5,color:"rgba(251, 201, 3, 1)"},label:{show:!0}},{name:"\u5927\u8C46",value:156,itemStyle:{opacity:.5,color:"rgba(240, 129, 31, 0.9)"},label:{show:!0}},{name:"\u5730\u74DC",value:156,itemStyle:{opacity:.5,color:"rgba(27, 85, 222, 1)"},label:{show:!0}},{name:"\u84DD\u8393",value:56,itemStyle:{opacity:.5,color:"rgba(72, 102, 211, 0.9)"},label:{show:!0}},{name:"\u8336\u53F6",value:56,itemStyle:{opacity:.5,color:"rgba(26, 255, 140, 1)"},label:{show:!0}}]}),S={\u5C0F\u9EA6:{value:"12364",percent:"20%"},\u82B1\u751F:{value:"12364",percent:"20%"},\u5927\u8C46:{value:"12364",percent:"20%"},\u5730\u74DC:{value:"12364",percent:"20%"},\u82B1\u751F:{value:"12364",percent:"20%"}};Ge(()=>P.arr,e=>{console.log("val:",e)});var H={title:[]};let E={\u5C0F\u9EA6:[],\u7389\u7C73:[],\u5927\u8C46:[],\u5730\u74DC:[],\u82B1\u751F:[],\u84DD\u8393:[],\u8336\u53F6:[],\u9A6C\u94C3\u85AF:[],\u767D\u83DC\u548C\u841D\u535C:[],\u5176\u4ED6:[]},X={\u5927\u8C46:[1100,1395,1948,2203,3402,1860,2934,2490,2323],\u5C0F\u9EA6:[1283,2883,2939,1233,1992,1928,3949,1929,3434],\u5730\u74DC:[1823,1948,1928,2294,2302,3903,3493,2323,2545],\u82B1\u751F:[2374,1934,3943,3493,2083,1928,2984,3279,1739]};je(()=>{xe(),Xe(),Se(),Ze(),Pe(),ce(),de(),Ne(),G(),Be();let e=document.querySelector(".leftWra");e&&(e.style.transform="translate(-107%,0)");let t=document.querySelector(".rightWra");t.style.transform="translate(107%,0)"});const Ae={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 Pe(){f=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({...Ae})}),f.cesiumWidget.creditContainer.style.display="none",ue("shuzisannong:huangdaoqu_town","tl"),f.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:0}),ze(),Ve()}function ne(e,t,r){e.forEach(o=>{let s=[];o[0].forEach(i=>{s.push(i[0]),s.push(i[1])}),f.entities.add({name:t,polyline:{positions:Cesium.Cartesian3.fromDegreesArray(s),width:6,material:new Cesium.PolylineGlowMaterialProperty({glowPower:.2,color:r?Cesium.Color.fromCssColorString(r):Cesium.Color.fromBytes(250,128,114)}),clampToGround:!0}})})}function Te(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 Be(){pe({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),_e.value=e.data.features}).catch(e=>{})}let v=b({label:[]}),$="";function ze(){var e=new Cesium.ScreenSpaceEventHandler(f.canvas);e.setInputAction(function(t){var r=f.camera.getPickRay(t.position),o=f.scene.globe.pick(r,f.scene);if(o){let s=Cesium.Cartographic.fromCartesian(o);if(s){let i=new Cesium.Cartesian2,c=f.camera.positionCartographic.height,l=Te(c);const m=f.imageryLayers._layers,d=m.findIndex(p=>p._imageryProvider._layers&&p._imageryProvider._layers==="shuzisannong:huangdaoqu_town");if(d>-1){const p=m[d];let u=p._imageryProvider;if(u&&u.ready&&u._layers&&p.show===!0){i=u.tilingScheme.positionToTileXY(s,l,i);let y=u.pickFeatures(i.x,i.y,l,s.longitude,s.latitude);y&&y.then(C=>{if(C.length>0){let h=C[0];if(h.properties&&h.properties.XZDM)if(console.log("XZDM:",$),console.log("newData.properties.XZDM:",h.properties.XZDM),$!==h.properties.XZDM){N.value=!0,$=h.properties.XZDM,A.value=$,ee&&ee();let n=h.data;f.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(n.bbox[0],n.bbox[1],n.bbox[2],n.bbox[3]),duration:2}),O("townLine"),ne(n.geometry&&n.geometry.coordinates,"townLine","yellow"),I(["village_CQL"]),we(`XZDM=${h.properties.XZDM}`,"village_CQL");let D=f.entities._entities._array;for(var _=D.length-1;_>=0;_--)if(D[_]._name&&D[_]._name==="point"+h.properties.XZDM){let T=D[_]._info;v.value=T,console.log(v.value,"------------------"),oe(t.position),f.scene.postRender.addEventListener(fe)}O("villageLine"),K=""}else Re(m,i,l,s,t);else I(["village_CQL"]),j()}})}}}}},Cesium.ScreenSpaceEventType.LEFT_CLICK)}let K="";function Re(e,t,r,o,s){const i=e.findIndex(c=>c._imageryProvider._layers&&c._imageryProvider._layers==="shuzisannong:huangdaoqu_village");if(i>-1){const c=e[i];let l=c._imageryProvider;if(l&&l.ready&&l._layers&&c.show===!0){t=l.tilingScheme.positionToTileXY(o,r,t);let m=l.pickFeatures(t.x,t.y,r,o.longitude,o.latitude);m&&m.then(d=>{if(d.length>0){let p=d[0];if(console.log(p),f.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(p.data.bbox[0],p.data.bbox[1],p.data.bbox[2],p.data.bbox[3]),duration:2}),p.properties&&p.properties.XZQDM&&K!==p.properties.XZQDM){K=p.properties.XZQDM;let u=p.data;if(O("villageLine"),ne(u.geometry&&u.geometry.coordinates,"villageLine","yellow"),p.properties.XZQDM==="370211104217"){const y=Cesium.Rectangle.fromDegrees(u.bbox[0],u.bbox[1],u.bbox[2],u.bbox[3]),C=Cesium.Rectangle.center(y);let _=Cesium.Math.toDegrees(C.longitude),h=Cesium.Math.toDegrees(C.latitude),n={lon:_,lat:h,...u.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}]};v.value=n,oe(s.position),f.scene.postRender.addEventListener(fe)}}}})}}}function we(e,t){let r=new Cesium.WebMapServiceImageryProvider({url:`${serverAPI.geoserverUrl}/shuzisannong/wms`,layers:"shuzisannong:huangdaoqu_village",parameters:{service:"WMS",format:"image/png",transparent:!0,CQL_FILTER:e}});r.customName=t,f.imageryLayers.addImageryProvider(r)}function I(e,t){if(f){const r=f.imageryLayers._layers;for(let o=r.length-1;o>=0;o--)e.forEach(s=>{r[o]._imageryProvider&&r[o]._imageryProvider.customName&&(t?r[o]._imageryProvider.customName.indexOf(s)>-1&&f.imageryLayers.remove(r[o]):r[o]._imageryProvider.customName===s&&f.imageryLayers.remove(r[o]))})}}function O(e){if(f){let r=f.entities._entities._array;for(var t=r.length-1;t>=0;t--)r[t]._name&&r[t]._name===e&&f.entities.remove(r[t])}}function Ee(){if(W.value=!W.value,W.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 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 xe=()=>{Ie({time:"2023-04-25",subregion:"1",parent:"\u9EC4\u5C9B\u533A"}).then(e=>{console.log(e)})},Se=()=>{st().then(e=>{P.arr=e.features,P.arr.unshift({bbox:[119.5091,35.5671,120.3285,36.1455],properties:{XZDM:"370211",XZMC:"\u5168\u90E8"}});let t=[...e.features],r=[];t.splice(0,1),t.forEach(o=>{r.push(o.properties.XZMC)}),H.title=[...Object.values(r)],G()})},Ze=()=>{lt().then(e=>{P.brr=e.features})},Xe=()=>{it().then(e=>{P.crr=e.features,H.title.forEach((t,r)=>{let o=e.features.map(s=>{if(t===s.properties.town)return s.properties});Object.keys(E).forEach(s=>{const i=o.findIndex(c=>c&&c.crop===s);i>-1?E[s].push(o[i].Shape_Area):E[s].push(null)})}),G()})},ee=()=>{if(xe(),X={\u5927\u8C46:[1034,1295,1348,1203,2402,1160,1934,1490],\u5C0F\u9EA6:[1083,1883,2139,1033,992,1328,2949,1529],\u5730\u74DC:[1223,1548,1828,2094,2202,2903,3293,2023],\u82B1\u751F:[1374,1734,3143,2493,1983,1728,2584,3079]},S={\u5C0F\u9EA6:{value:"2435",percent:"20%"},\u82B1\u751F:{value:"2435",percent:"20%"},\u5927\u8C46:{value:"2435",percent:"20%"},\u5730\u74DC:{value:"2435",percent:"20%"},\u82B1\u751F:{value:"2435",percent:"20%"}},Y.arr=[{name:"\u5C0F\u9EA6",value:20,itemStyle:{opacity:.5,color:"rgba(110, 209, 84, 0.9)"}},{name:"\u82B1\u751F",value:10,itemStyle:{opacity:.5,color:"rgba(251, 201, 3, 1)"},label:{show:!0}},{name:"\u5927\u8C46",value:13,itemStyle:{opacity:.5,color:"rgba(240, 129, 31, 0.9)"},label:{show:!0}},{name:"\u5730\u74DC",value:18,itemStyle:{opacity:.5,color:"rgba(27, 85, 222, 1)"},label:{show:!0}},{name:"\u8336\u53F6",value:16,itemStyle:{opacity:.5,color:"rgba(26, 255, 140, 1)"},label:{show:!0}}],A.value=="370211"){console.log("sssssssssssssssssssss"),I(["village_CQL"]),$=null,I(["aaa"]),Se(),X={\u5927\u8C46:[1100,1395,1948,2203,3402,1860,2934,2490],\u5C0F\u9EA6:[1283,2883,2939,1233,1992,1928,3949,1929],\u5730\u74DC:[1823,1948,1928,2294,2302,3903,3493,2323],\u82B1\u751F:[2374,1934,3943,3493,2083,1928,2984,3279]},S={\u5C0F\u9EA6:{value:30111,percent:"20%"},\u82B1\u751F:{value:52590,percent:"20%"},\u5927\u8C46:{value:1767,percent:"20%"},\u5730\u74DC:{value:797,percent:"20%"},\u82B1\u751F:{value:1820,percent:"20%"}},Y=ae({arr:[{name:"\u5C0F\u9EA6",value:101,itemStyle:{opacity:.5,color:"rgba(110, 209, 84, 0.9)"}},{name:"\u82B1\u751F",value:156,itemStyle:{opacity:.5,color:"rgba(251, 201, 3, 1)"},label:{show:!0}},{name:"\u5927\u8C46",value:156,itemStyle:{opacity:.5,color:"rgba(240, 129, 31, 0.9)"},label:{show:!0}},{name:"\u5730\u74DC",value:156,itemStyle:{opacity:.5,color:"rgba(27, 85, 222, 1)"},label:{show:!0}},{name:"\u84DD\u8393",value:56,itemStyle:{opacity:.5,color:"rgba(72, 102, 211, 0.9)"},label:{show:!0}},{name:"\u8336\u53F6",value:56,itemStyle:{opacity:.5,color:"rgba(26, 255, 140, 1)"},label:{show:!0}}]}),j(),G(),ce(),de();return}let e=[...P.arr];console.log("arr:",e),e.forEach(o=>{o.properties.XZDM==A.value&&f.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(o.bbox[0],o.bbox[1],o.bbox[2],o.bbox[3]),duration:2});let s=[...P.brr],i=[];s.forEach(c=>{c.properties.XZDM==A.value&&i.push(c.properties.XZQMC)}),H.title=[...Object.values(i)]}),G(),ce(),de();const r=[...P.arr].find(o=>o.properties.XZDM===A.value);r&&(O("townLine"),ne(r.geometry.coordinates,"townLine","yellow")),I(["aaa"]),we(`XZDM=${A.value}`,"aaa"),Ie({time:"2023-04-26",subregion:"1",parent:"\u9EC4\u5C9B\u533A"}).then(o=>{let s=[];o.data.map((i,c)=>{i.region==r.properties.XZMC&&s.push({crop:i.type,Shape_Area:i.area})}),v.value={label:s},console.log(),console.log(s),oe({x:642,y:312})})},te=e=>{Fe(e)},Fe=e=>{let t=document.createElement("a");t.style.display="none",t.href=e,document.body.appendChild(t),t.click(),document.body.removeChild(t)};function ce(){const e=["2023/01/06","2023/02/06","2023/03/06","2023/04/06","2023/05/06","2023/06/06","2023/07/06","2023/08/06"],t=se(ge.value);var r={textStyle:{fontFamily:"Din-Light"},color:["rgba(252, 169, 63, 0.8)","rgba(110, 209, 84, 0.8)","rgba(103, 153, 242, 0.8)","rgba(4, 199, 247, 0.9)","rgba(229, 205, 38, 0.8)","#46caff","#a1e867","#10b2b2","#ec87f7","#f4905a","#00baba","#facf24","#e89d67","#23c6c6","#fa8699","#40b7fc","#006d75","#595959","#f4764f","#a640fc","#fda23f","#2d7ae4","#5092ff","#9351ed","#8a89fe","#df89e8","#2797ff","#6ad089","#7c92e8 "],title:{text:"",left:"47%",textStyle:{fontSize:24}},tooltip:{trigger:"axis",axisPointer:{lineStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(0, 255, 233,0)"},{offset:.5,color:"rgba(255, 255, 255,1)"},{offset:1,color:"rgba(0, 255, 233,0)"}],global:!1}}}},grid:{left:60,right:10,top:60,bottom:50},dataZoom:[{type:"slider",zoomLock:!0,show:!1,handleSize:0,startValue:0,endValue:6,height:10,left:"5%",right:"4%",bottom:5,borderColor:"#000",fillerColor:"#269cdb",borderRadius:5,backgroundColor:"#33384b",showDataShadow:!1,showDetail:!1,realtime:!0,filterMode:"filter"},{type:"inside",show:!0,start:1,end:100}],xAxis:{type:"category",boundaryGap:!1,data:e,axisLabel:{color:"rgba(255,255,255,0.7)",formatter:(o,s)=>s===0||s===e.length-1?"":o},axisLine:{show:!1},axisTick:{show:!1}},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:[{name:"\u5927\u8C46",data:X.\u5927\u8C46,type:"line",smooth:!0,smoothMonotone:"x",cursor:"pointer",showSymbol:!1,lineStyle:{color:"rgba(252, 169, 63, 0.8)",shadowColor:"rgba(18,61,172,0.5)",shadowBlur:10},areaStyle:{normal:{color:new R(0,0,0,1,[{offset:0,color:"rgba(252, 169, 63, 0.8)"},{offset:1,color:"rgba(252, 169, 63, 0)"}],!1)}}},{name:"\u5C0F\u9EA6",data:X.\u5C0F\u9EA6,type:"line",smooth:!0,smoothMonotone:"x",cursor:"pointer",showSymbol:!1,lineStyle:{color:"rgba(110, 209, 84, 0.8)",shadowColor:"rgba(115,226,226,0.5)",shadowBlur:10},areaStyle:{normal:{color:new R(0,0,0,1,[{offset:0,color:"rgba(110, 209, 84, 0.8)"},{offset:1,color:"rgba(110, 209, 84, 0)"}],!1)}}},{name:"\u5730\u74DC",data:X.\u5730\u74DC,type:"line",smooth:!0,smoothMonotone:"x",cursor:"pointer",showSymbol:!1,lineStyle:{color:"rgba(103, 153, 242, 0.8)",shadowColor:"rgba(255,126,133,0.5)",shadowBlur:10},areaStyle:{normal:{color:new R(0,0,0,1,[{offset:0,color:"rgba(103, 153, 242, 0.8)"},{offset:1,color:"rgba(103, 153, 242, 0)"}],!1)}}},{name:"\u82B1\u751F",data:X.\u82B1\u751F,type:"line",smooth:!0,smoothMonotone:"x",cursor:"pointer",showSymbol:!1,lineStyle:{color:"rgba(4, 199, 247, 0.9)",shadowColor:"rgba(255,120,168,0.5)",shadowBlur:10},areaStyle:{normal:{color:new R(0,0,0,1,[{offset:0,color:"rgba(4, 199, 247, 0.9)"},{offset:1,color:"rgba(4, 199, 247, 0)"}],!1)}}},{name:"\u7389\u7C73",data:X.\u7389\u7C73,type:"line",smooth:!0,smoothMonotone:"x",cursor:"pointer",showSymbol:!1,lineStyle:{color:"rgba(229, 205, 38, 0.8)",shadowColor:"rgba(255,120,168,0.5)",shadowBlur:10},areaStyle:{normal:{color:new R(0,0,0,1,[{offset:0,color:"rgba(229, 205, 38, 0.8)"},{offset:1,color:"rgba(229, 205, 38, 0)"}],!1)}}}]};r&&t.setOption(r),window.addEventListener("resize",function(){t.resize()})}function de(){console.log(Y.arr);const e=se(he.value);let t="",r="",o="",s=c(Y.arr,.7);function i(l,m,d,p,u,y){const C=(l+m)/2,_=l*Math.PI*2,h=m*Math.PI*2,n=C*Math.PI*2;l===0&&m===1&&(d=!1),u=typeof u<"u"?u:1/3;const D=d?Math.cos(n)*.1:0,T=d?Math.sin(n)*.1:0,q=p?1.05:1;return{u:{min:-Math.PI,max:Math.PI*3,step:Math.PI/32},v:{min:0,max:Math.PI*2,step:Math.PI/20},x(M,B){return M<_?D+Math.cos(_)*(1+Math.cos(B)*u)*q:M>h?D+Math.cos(h)*(1+Math.cos(B)*u)*q:D+Math.cos(M)*(1+Math.cos(B)*u)*q},y(M,B){return M<_?T+Math.sin(_)*(1+Math.cos(B)*u)*q:M>h?T+Math.sin(h)*(1+Math.cos(B)*u)*q:T+Math.sin(M)*(1+Math.cos(B)*u)*q},z(M,B){return M<-Math.PI*.5?Math.sin(M):M>Math.PI*2.5?Math.sin(M)*y*.1:Math.sin(B)>0?1*y*.1:-1}}}function c(l,m){const d=[];let p=0,u=0,y=0;const C=[],_=typeof m<"u"?(1-m)/(1+m):1/3;for(let n=0;n<l.length;n+=1){p+=l[n].value;const D={name:typeof l[n].name>"u"?`series${n}`:l[n].name,type:"surface",parametric:!0,wireframe:{show:!1},pieData:l[n],pieStatus:{selected:!1,hovered:!1,k:_}};if(typeof l[n].itemStyle<"u"){const{itemStyle:T}=l[n];typeof l[n].itemStyle.color<"u"&&(T.color=l[n].itemStyle.color),typeof l[n].itemStyle.opacity<"u"&&(T.opacity=l[n].itemStyle.opacity),D.itemStyle=T}d.push(D)}for(let n=0;n<d.length;n+=1)y=u+d[n].pieData.value,d[n].pieData.startRatio=u/p,d[n].pieData.endRatio=y/p,d[n].parametricEquation=i(d[n].pieData.startRatio,d[n].pieData.endRatio,!1,!1,_,d[n].pieData.value===d[0].pieData.value?35:10),u=y,C.push(d[n].name);const h={legend:{orient:"vertical",right:0,show:!0,top:20,textStyle:{color:"rgba(255,255,255,.9)"}},tooltip:{formatter:n=>{if(n.seriesName!=="mouseoutSeries")return`${n.seriesName}<br/><span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:${n.color};"></span>${h.series[n.seriesIndex].pieData.value}`}},xAxis3D:{min:-1,max:1},yAxis3D:{min:-1,max:1},zAxis3D:{min:-1,max:1},grid3D:{show:!1,boxHeight:10,top:"-5%",left:"-25",viewControl:{alpha:40,beta:30,rotateSensitivity:1,zoomSensitivity:0,panSensitivity:0,autoRotate:!0,distance:170},postEffect:{enable:!0,bloom:{enable:!0,bloomIntensity:1},SSAO:{enable:!0,quality:"medium",radius:2}}},series:d};return h}e.on("mouseover",function(l){let m,d,p,u,y,C;o!==l.seriesIndex&&(o!==""&&(m=s.series[o].pieStatus.selected,d=!1,p=s.series[o].pieData.startRatio,u=s.series[o].pieData.endRatio,y=s.series[o].pieStatus.k,C=s.series[o].pieData.value===s.series[0].pieData.value?35:10,s.series[o].parametricEquation=i(p,u,m,d,y,C),s.series[o].pieStatus.hovered=d,o=""),l.seriesName!=="mouseoutSeries"&&(m=s.series[l.seriesIndex].pieStatus.selected,d=!0,p=s.series[l.seriesIndex].pieData.startRatio,u=s.series[l.seriesIndex].pieData.endRatio,y=s.series[l.seriesIndex].pieStatus.k,s.series[l.seriesIndex].parametricEquation=i(p,u,m,d,y,s.series[l.seriesIndex].pieData.value+5),s.series[l.seriesIndex].pieStatus.hovered=d,o=l.seriesIndex),e.setOption(s))}),e.on("globalout",function(){if(o!==""){t=s.series[o].pieStatus.selected,r=!1;let l=s.series[o].pieStatus.k,m=s.series[o].pieData.startRatio,d=s.series[o].pieData.endRatio,p=s.series[o].pieData.value===s.series[0].pieData.value?35:10;s.series[o].parametricEquation=i(m,d,t,r,l,p),s.series[o].pieStatus.hovered=r,o=""}e.setOption(s)}),me(e,s)}function Ne(){const e=se(ve.value);var t={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{top:"7%",left:"17%",icon:"rect",textStyle:{color:"#fff"}},grid:{top:"15%",left:"5%",right:"5%",bottom:"10%",containLabel:!0},xAxis:{type:"value",axisLine:{lineStyle:{color:"rgba(255,255,255,0.8)"}},splitLine:{lineStyle:{color:"rgba(255,255,255,0.3)"}}},yAxis:{type:"category",data:["\u7247\u533A7","\u7247\u533A6","\u7247\u533A5","\u7247\u533A4","\u7247\u533A3","\u7247\u533A2","\u7247\u533A1"],axisLabel:{color:"rgba(255,255,255,0.8)"},axisTick:{lineStyle:{color:"#668092",width:1},show:!1}},series:[{name:"\u5C0F\u9EA6",type:"bar",stack:"total",label:{show:!1},emphasis:{focus:"series"},barWidth:12,itemStyle:{label:{show:!1},labelLine:{show:!1},color:new R(0,0,1,0,[{offset:0,color:"rgba(33, 187, 251, 0.05)"},{offset:1,color:"rgba(33, 187, 251, 0.9)"}]),shadowBlur:16,shadowColor:"rgba(7,165,255,1)"}},{name:"\u82B1\u751F",type:"bar",stack:"total",label:{show:!1},emphasis:{focus:"series"},data:[271,132,413,210,521],barWidth:12,itemStyle:{label:{show:!1},labelLine:{show:!1},color:new R(0,0,1,0,[{offset:0,color:"rgba(4, 247, 227, 0.05)"},{offset:1,color:"rgba(4, 247, 227, 0.9)"}]),shadowBlur:16,shadowColor:"#a2f9f7"}},{name:"\u5927\u8C46",type:"bar",stack:"total",label:{show:!1},emphasis:{focus:"series"},data:[271,132,413,210,521,232,343],barWidth:12,itemStyle:{label:{show:!1},labelLine:{show:!1},color:new R(0,0,1,0,[{offset:0,color:"rgba(143, 186, 243, 0.05)"},{offset:1,color:"rgba(143, 186, 243, 0.9)"}]),shadowBlur:16,shadowColor:"#a2f9f7"}},{name:"\u5730\u74DC",type:"bar",stack:"total",label:{show:!1},emphasis:{focus:"series"},data:[271,132,413,210,521,234,321],barWidth:12,itemStyle:{label:{show:!1},labelLine:{show:!1},color:new R(0,0,1,0,[{offset:0,color:"rgba(255, 225, 104, 0.05)"},{offset:1,color:"rgba(255, 225, 104, 1)"}]),shadowBlur:16,shadowColor:"#a2f9f7"}}]};e.on("click",function(r){console.log(r.name)}),e.on("click",r=>qe(r)),t&&e.setOption(t,{notMerge:!0,grid:{bottom:20}}),me(e,t)}function ue(e,t){let r=new Cesium.WebMapServiceImageryProvider({url:serverAPI.geoserverUrl+"/shuzisannong/wms?",layers:e,parameters:{service:"WMS",format:"image/png",transparent:!0}});r.customName=t;let o=f.imageryLayers.addImageryProvider(r);t.indexOf("gbznt")>-1&&(f.imageryLayers.lowerToBottom(o),f.imageryLayers.raise(o))}function Oe(){delete v.value.XZQMC,I(["gbznt"],!0),I(["aaa"]),A.value="370211",ee(),N.value==="1"&&(console.log(N.value),ue("shuzisannong:huangdaoqu_town","tl")),f.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),N.value=!1,j()}function qe(e){delete v.value,I(["huangdaoqu_town"],!0),I(["tl"],!0);let t="shuzisannong:farmland",r=!1;const o=f.imageryLayers._layers;for(let i=o.length-1;i>=0;i--)o[i]&&o[i]._imageryProvider.customName&&o[i]._imageryProvider.customName===t+"gbznt"&&(r=!0);r||(ue(t,t+"gbznt"),v.value.label=[{crop:"\u5C0F\u9EA6",Shape_Area:"53000"},{crop:"\u5730\u74DC",Shape_Area:"50000"}]),_e.value.forEach(i=>{console.log("it.properties.name:",i.properties.name),console.log("item.name:",e.name),i.properties.name===e.name&&(console.log("dingwei"),f.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(i.bbox[0],i.bbox[1],i.bbox[2],i.bbox[3]),duration:2}))}),N.value="1",oe({x:642,y:312})}function G(){const e=se(ye.value);var t={grid:{bottom:"8%",left:"10%",right:"6%",top:"12%",containLabel:!0},legend:{top:"5%",left:"10%",icon:"rect",textStyle:{color:"#fff"}},tooltip:{formatter:function(r){return r.seriesName+'<span style="font-size: 14px; color: #f00;">'+(r.value/66.72).toFixed(2)+"</span>\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:H.title,inverse:!0}],series:[{type:"bar",name:"\u7389\u7C73",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!1,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],color:{colorStops:[{offset:0,color:"rgba(4, 247, 227, 0.9)"},{offset:1,color:"rgba(4, 247, 227, 0.25)"}]}},data:E.\u7389\u7C73},{type:"bar",name:"\u5927\u8C46",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!1,position:"inside",formatter:"\u5927\u8C46",textStyle:{fontSize:12,fontWeight:"bolder",color:"rgba(255,255,255,1)"}},itemStyle:{barBorderRadius:[0,0,0,0],color:{colorStops:[{offset:0,color:"rgba(143, 186, 243, 0.9)"},{offset:1,color:"rgba(143, 186, 243, 0.3)"}]}},data:E.\u5927\u8C46},{type:"bar",name:"\u82B1\u751F",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!1,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],color:{colorStops:[{offset:0,color:"rgba(4, 247, 227, 0.9)"},{offset:1,color:"rgba(4, 247, 227, 0.25)"}]}},data:E.\u82B1\u751F},{type:"bar",name:"\u5C0F\u9EA6",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!1,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],color:{colorStops:[{offset:0,color:"rgba(33, 187, 251, 0.9)"},{offset:1,color:"rgba(33, 187, 251, 0.25)"}]}},data:E.\u5C0F\u9EA6},{type:"bar",name:"\u84DD\u8393",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!1,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],color:{colorStops:[{offset:0,color:"rgba(14, 223, 255, 0.9)"},{offset:1,color:"rgba(14, 223, 255, 0.25)"}]}},data:E.\u84DD\u8393}]};me(e,t)}function Qe(){let e=Ce.value;console.log("fl:",e),pe({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,s)=>{const i=Cesium.Rectangle.fromDegrees(o.bbox[0],o.bbox[1],o.bbox[2],o.bbox[3]),c=Cesium.Rectangle.center(i);let l=Cesium.Math.toDegrees(c.longitude),m=Cesium.Math.toDegrees(c.latitude);o.properties.XZDM==="370211011"?(l=120.0863,m=35.941):o.properties.XZDM==="370211003"&&(l=120.243682,m=35.97123201);const d=e[o.properties.XZMC];let p=[];d&&(p=d.map((u,y)=>u.properties)),f.entities.add({name:"point"+o.properties.XZDM,position:Cesium.Cartesian3.fromDegrees(l,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:p,...o.properties,lon:l,lat:m}})})}).catch(t=>{})}let Ce=b({});function Ve(){pe({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,r={};t.forEach(o=>{let s=o.properties.town;r[s]?r[s].push(o):r[s]=[o]}),Ce.value=r,Qe()}).catch(e=>{})}function fe(){if(v.value&&v.value.lon&&v.value.lat){const t=Cesium.Cartesian3.fromDegrees(Number(v.value.lon),Number(v.value.lat),0);var e=Cesium.SceneTransforms.wgs84ToWindowCoordinates(f.scene,t);if(Cesium.defined(e)){const r=document.getElementById("pop");r&&(r.style.top=e.y-10+"px",r.style.left=e.x+10+"px")}}}function j(){delete v.value.XZQMC,K="",I(["village_CQL"]),O("villageLine"),O("townLine");const e=document.getElementById("pop");e&&(e.style.display="none"),f.scene.postRender.removeEventListener(fe)}function oe(e){if(v.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 r=re("el-tooltip"),o=re("el-option"),s=re("el-select"),i=re("el-button");return k(),z("div",nt,[ct,a("div",dt,[a("div",ut,[a("div",ft,[pt,a("p",{onClick:t[0]||(t[0]=c=>te("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianj_zuoshang.xlsx"))},[L(" \u4E0B\u8F7D \xA0 "),mt])]),a("div",{ref_key:"areaDiv",ref:ge,class:"areaDiv"},null,512),a("div",{ref_key:"leftProgressBarDiv",ref:Le,class:"ProgressBar"},null,512)]),a("div",gt,[a("div",ht,[vt,a("p",{onClick:t[1]||(t[1]=c=>te("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianji%20.xlsx"))},[L(" \u4E0B\u8F7D \xA0 "),yt])]),a("div",{ref_key:"typesofDiv",ref:he,class:"typesofDiv"},null,512),a("div",bt,[a("div",_t,[wt,a("div",xt,w(g(S).\u5C0F\u9EA6.value)+"\u4EA9 ",1),a("div",St,w(g(S).\u5C0F\u9EA6.percent),1)]),a("div",Ct,[Mt,a("div",Dt,w(g(S).\u82B1\u751F.value)+"\u4EA9 ",1),a("div",kt,w(g(S).\u82B1\u751F.percent),1)]),a("div",It,[Lt,a("div",At,w(g(S).\u5927\u8C46.value)+"\u4EA9 ",1),a("div",Pt,w(g(S).\u5927\u8C46.percent),1)]),a("div",Tt,[Bt,a("div",zt,w(g(S).\u5730\u74DC.value)+"\u4EA9 ",1),a("div",Rt,w(g(S).\u5730\u74DC.percent),1)]),a("div",Et,[Wt,a("div",Zt,w(g(S).\u82B1\u751F.value)+"\u4EA9 ",1),a("div",Xt,w(g(S).\u82B1\u751F.percent),1)])])]),a("div",{class:"leftFoldDiv",onClick:t[2]||(t[2]=c=>Ee())},[Q(r,{class:"box-item","show-arrow":!1,disabled:g(W),"hide-after":"0","show-after":"200",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:V(()=>[g(W)?F("v-if",!0):(k(),z("img",Ft))]),_:1},8,["disabled"]),Q(r,{disabled:!g(W),"show-arrow":!1,class:"box-item","show-after":"200","hide-after":"0",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:V(()=>[g(W)?(k(),z("img",Nt)):F("v-if",!0)]),_:1},8,["disabled"])])]),a("div",Ot,[a("div",qt,[a("div",Qt,[Vt,a("p",{onClick:t[3]||(t[3]=c=>te("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/81f3b011-7a5d-4a21-88aa-8ea51142e564_%E6%95%B0%E6%8D%AE%E5%AF%BC%E5%87%BA.xlsx"))},[L(" \u4E0B\u8F7D \xA0 "),$t])]),a("div",{ref_key:"farmlandDiv",ref:ve,class:"farmlandDiv"},null,512),F(' <div ref="ProgressBarDiv" class="ProgressBar"></div> ')]),a("div",Gt,[a("div",jt,[Jt,a("p",{onClick:t[4]||(t[4]=c=>te("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/0c0ff4cf-151a-470e-856a-b0fce0fde997_%E6%95%B0%E6%8D%AE%E5%AF%BC%E5%87%BA.xlsx"))},[L(" \u4E0B\u8F7D \xA0 "),Ut])]),Q(s,{"popper-class":"select_city",onChange:t[5]||(t[5]=c=>ee(e.item)),modelValue:A.value,"onUpdate:modelValue":t[6]||(t[6]=c=>A.value=c),placeholder:"\u5168\u90E8"},{default:V(()=>[(k(!0),z(Me,null,De(g(P).arr,c=>(k(),ke(o,{key:c.properties.XZDM,label:c.properties.XZMC,value:c.properties.XZDM},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),a("div",{ref_key:"ASdivisionDiv",ref:ye,class:"ASdivision"},null,512)]),a("div",{class:"rightFoldDiv",onClick:t[7]||(t[7]=c=>We())},[Q(r,{disabled:!g(Z),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:V(()=>[g(Z)?(k(),z("img",Yt)):F("v-if",!0)]),_:1},8,["disabled"]),Q(r,{disabled:g(Z),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:V(()=>[g(Z)?F("v-if",!0):(k(),z("img",Ht))]),_:1},8,["disabled"])])]),a("div",Kt,[Q(rt)]),eo,a("div",to,[a("div",null,w(be.value.name)+"\uFF1A",1),a("div",null,w(be.value.value)+"\u4EA9",1),a("div",{class:"cancel",onClick:j},"X")]),a("div",oo,[(k(!0),z(Me,null,De(g(v).label,(c,l)=>(k(),z("div",{key:l},[a("div",null,w(c.crop)+"\uFF1A",1),a("div",null,w((c.Shape_Area/666.67).toFixed(2))+" \u4EA9",1)]))),128)),g(v).XZQMC?(k(),z("div",ao,[ro,a("div",null,w(g(v).XZQMC),1)])):F("v-if",!0),a("div",{class:"cancel",onClick:j},"X")]),N.value?(k(),ke(i,{key:0,class:"back_button",onClick:t[8]||(t[8]=c=>Oe())},{default:V(()=>[L("\u8FD4\u56DE")]),_:1})):F("v-if",!0)])}}},bo=$e(so,[["__scopeId","data-v-dfd23c6a"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/crops/area/Area.vue"]]);export{bo as default};
|