3 lines
20 KiB
JavaScript
3 lines
20 KiB
JavaScript
import{_ as Pe,r as p,z as re,A as ze,B as Fe,C as G,d as w,o as D,c as F,l,m as q,e as v,w as E,f as N,x as k,F as Ee,D as Ne,g as se,k as We,y as ie,p as Be,q as Re}from"./index.0bad53d2.js";import le from"./downloads.e955445d.js";import{g as Xe,a as Ze,b as Oe,c as Ge,u as Q,T as qe,_ as Qe,d as Je,e as je,f as Ue,h as Ye,i as He}from"./linesGL.0ef36864.js";import{i as J,L as W}from"./index.c9f5bd8b.js";const Ve="/assets/spore.b8bb2c5c.png",$e="/assets/insect.46611a7c.png",Ke="/assets/soil.cf5e9f99.png";const C=T=>(Be("data-v-b301384e"),T=T(),Re(),T),et={class:"center"},tt=C(()=>l("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),at={class:"leftWra"},ot=ie('<div class="leftTop" data-v-b301384e><div class="title" data-v-b301384e><span data-v-b301384e>\u4F5C\u7269\u957F\u52BF\u7B49\u7EA7\u9762\u79EF\u7EDF\u8BA1</span></div><div class="types" data-v-b301384e><div width="100%" class="types_left" data-v-b301384e><img width="100%" src="'+Ve+'" alt="" data-v-b301384e><p data-v-b301384e>\u667A\u80FD\u5B62\u5B50\u6355\u6349\u5206\u6790</p></div><div width="100%" class="types_center" data-v-b301384e><img width="100%" src="'+$e+'" alt="" data-v-b301384e><p data-v-b301384e>\u866B\u60C5\u76D1\u6D4B\u4EEA</p></div><div width="100%" class="types_right" data-v-b301384e><img width="100%" src="'+Ke+'" alt="" data-v-b301384e><p data-v-b301384e>\u571F\u58E4\u5892\u60C5\u3001\u571F\u8D28</p></div></div></div><div class="leftcenter" data-v-b301384e><div class="title" data-v-b301384e><span data-v-b301384e>\u8BBE\u5907\u7167\u7247</span></div><div class="imgdiv" data-v-b301384e><img width="100%" src="https://img.js.design/assets/img/641d73a7cece21d6b61bedf9.png#d27dd8c8c5369101dca2dcf160e5bba9" alt="" data-v-b301384e></div></div>',2),rt={class:"leftbottom"},st={class:"title"},it=C(()=>l("span",null,"\u4F5C\u7269\u957F\u52BF\u7B49\u7EA7\u9762\u79EF\u5360\u6BD4",-1)),lt=C(()=>l("img",{src:le,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),nt={class:"tableDiv"},ct={class:"rightWra"},dt={class:"rightTop"},ut={class:"title"},mt=C(()=>l("span",null,"\u5892\u60C5\u3001\u571F\u8D28\u76D1\u6D4B\u6570\u636E",-1)),pt=C(()=>l("img",{src:le,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ft={class:"bottom_center"},gt=ie('<div class="tool" data-v-b301384e><span data-v-b301384e><img src="'+Qe+'" alt="" data-v-b301384e></span><span data-v-b301384e><img src="'+Je+'" alt="" data-v-b301384e></span><span data-v-b301384e><img src="'+je+'" alt="" data-v-b301384e></span><span data-v-b301384e><img src="'+Ue+'" alt="" data-v-b301384e></span><span data-v-b301384e><img src="'+Ye+'" alt="" data-v-b301384e></span><span data-v-b301384e><img src="'+He+'" alt="" data-v-b301384e></span></div>',1),vt={id:"popup"},yt={id:"pop"},bt={key:0},ht=C(()=>l("div",null,"\u6751\u540D\uFF1A",-1)),_t={__name:"index",setup(T){let i=p(null);const j=p(null),U=p(null),Y=p(null);p(null);const ne=p("370211");p(null);let S=re({arr:[],brr:[],crr:[]});re({arr:[]});const H=p({name:"",value:""});p([]);const V=p([]),M=p(!1);let B=p(!0),R=p(!0);ze(()=>S.arr,e=>{console.log("val:",e)});var $={title:[]};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:[]},ce=[{date:"\u5C0F\u9EA6",name:"2934362\u4EA9",address:"35%"},{date:"\u7389\u7C73",name:"1676778\u4EA9",address:"20%"},{date:"\u5927\u8C46",name:"1257584\u4EA9",address:"15%"},{date:"\u5730\u74DC",name:"1341423\u4EA9",address:"16%"},{date:"\u82B1\u751F",name:"1592939\u4EA9",address:"19%"}];Fe(()=>{he(),we(),_e(),xe(),ue(),Se(),pe(),Le(),De()});const de={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 ue(){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({...de})}),i.cesiumWidget.creditContainer.style.display="none",Z("shuzisannong:huangdaoqu_town","tl"),i.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),fe(),Ie()}function K(e,t,a){e.forEach(o=>{let s=[];o[0].forEach(r=>{s.push(r[0]),s.push(r[1])}),i.entities.add({name:t,polyline:{positions:Cesium.Cartesian3.fromDegreesArray(s),width:6,material:new Cesium.PolylineGlowMaterialProperty({glowPower:.2,color:a?Cesium.Color.fromCssColorString(a):Cesium.Color.fromBytes(250,128,114)}),clampToGround:!0}})})}function me(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 pe(){G({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),V.value=e.data.features}).catch(e=>{})}let f=p({label:[]}),I="";function fe(){var e=new Cesium.ScreenSpaceEventHandler(i.canvas);e.setInputAction(function(t){var a=i.camera.getPickRay(t.position),o=i.scene.globe.pick(a,i.scene);if(o){let s=Cesium.Cartographic.fromCartesian(o);if(s){let r=new Cesium.Cartesian2,d=i.camera.positionCartographic.height,m=me(d);const n=i.imageryLayers._layers,u=n.findIndex(c=>c._imageryProvider._layers&&c._imageryProvider._layers==="shuzisannong:huangdaoqu_town");if(u>-1){const c=n[u];let g=c._imageryProvider;if(g&&g.ready&&g._layers&&c.show===!0){r=g.tilingScheme.positionToTileXY(s,m,r);let h=g.pickFeatures(r.x,r.y,m,s.longitude,s.latitude);h&&h.then(P=>{if(P.length>0){let y=P[0];if(y.properties&&y.properties.XZDM)if(I!==y.properties.XZDM){I=y.properties.XZDM,ne.value=I,selectTab();let x=y.data;i.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(x.bbox[0],x.bbox[1],x.bbox[2],x.bbox[3]),duration:2}),L("townLine"),K(x.geometry&&x.geometry.coordinates,"townLine","yellow"),b(["village_CQL"]),ve(`XZDM=${y.properties.XZDM}`,"village_CQL");let z=i.entities._entities._array;for(var _=z.length-1;_>=0;_--)if(z[_]._name&&z[_]._name==="point"+y.properties.XZDM){let Ae=z[_]._info;f.value=Ae,console.log(f.value,"------------------"),oe(t.position),i.scene.postRender.addEventListener(ae)}L("villageLine"),A=""}else ge(n,r,m,s);else b(["village_CQL"]),O()}})}}}}},Cesium.ScreenSpaceEventType.LEFT_CLICK)}let A="";function ge(e,t,a,o){const s=e.findIndex(r=>r._imageryProvider._layers&&r._imageryProvider._layers==="shuzisannong:huangdaoqu_village");if(s>-1){const r=e[s];let d=r._imageryProvider;if(d&&d.ready&&d._layers&&r.show===!0){t=d.tilingScheme.positionToTileXY(o,a,t);let m=d.pickFeatures(t.x,t.y,a,o.longitude,o.latitude);m&&m.then(n=>{if(n.length>0){let u=n[0];if(u.properties&&u.properties.XZQDM&&A!==u.properties.XZQDM){A=u.properties.XZQDM;let c=u.data;if(L("villageLine"),K(c.geometry&&c.geometry.coordinates,"villageLine","yellow"),u.properties.XZQDM==="370211104217"){const g=Cesium.Rectangle.fromDegrees(c.bbox[0],c.bbox[1],c.bbox[2],c.bbox[3]),h=Cesium.Rectangle.center(g);let P=Cesium.Math.toDegrees(h.longitude),_=Cesium.Math.toDegrees(h.latitude),y={lon:P,lat:_,...c.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}]};f.value=y}}}})}}}function ve(e,t){let a=new Cesium.WebMapServiceImageryProvider({url:"http://121.36.229.60:9080/geoserver/shuzisannong/wms",layers:"shuzisannong:huangdaoqu_village",parameters:{service:"WMS",format:"image/png",transparent:!0,CQL_FILTER:e}});a.customName=t,i.imageryLayers.addImageryProvider(a)}function b(e,t){if(i){const a=i.imageryLayers._layers;for(let o=a.length-1;o>=0;o--)e.forEach(s=>{a[o]._imageryProvider&&a[o]._imageryProvider.customName&&(t?a[o]._imageryProvider.customName.indexOf(s)>-1&&i.imageryLayers.remove(a[o]):a[o]._imageryProvider.customName===s&&i.imageryLayers.remove(a[o]))})}}function L(e){if(i){let a=i.entities._entities._array;for(var t=a.length-1;t>=0;t--)a[t]._name&&a[t]._name===e&&i.entities.remove(a[t])}}function ye(){if(B.value=!B.value,B.value){let e=document.querySelector(".leftWra");e.style.transform="translate(0,0)"}else{let e=document.querySelector(".leftWra");e.style.transform="translate(-107%,0)"}}function be(){if(R.value=!R.value,R.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 he=()=>{Xe({time:"2023-04-25",subregion:"1",parent:"\u9EC4\u5C9B\u533A"}).then(e=>{console.log(e)})},_e=()=>{Ze().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],a=[];t.splice(0,1),t.forEach(o=>{a.push(o.properties.XZMC)}),$.title=[...Object.values(a)]})},xe=()=>{Oe().then(e=>{S.brr=e.features})},we=()=>{Ge().then(e=>{S.crr=e.features,$.title.forEach((t,a)=>{let o=e.features.map(s=>{if(t===s.properties.town)return s.properties});Object.keys(X).forEach(s=>{const r=o.findIndex(d=>d&&d.crop===s);r>-1?X[s].push(o[r].Shape_Area):X[s].push(null)})})})},ee=e=>{Ce(e)},Ce=e=>{let t=document.createElement("a");t.style.display="none",t.href=e,document.body.appendChild(t),t.click(),document.body.removeChild(t)};function Se(){const e=J(j.value);var t={grid:{top:"15%",left:"17%",right:"2%",bottom:"14%"},legend:{data:["EC\u503C"],inactiveColor:"rgba(92,200,255,0.35)",icon:"roundRect",top:0,right:0,itemWidth:20,itemHeight:7,textStyle:{color:"#FFF"},show:!0},tooltip:{show:!1},xAxis:{data:["06:00","07:00","08:00","09:00","10:00","11:00","12:00"],axisLine:{lineStyle:{color:"transparent"}},axisLabel:{textStyle:{color:"#fff",fontSize:12}}},yAxis:[{name:"EC\u503C(mS/cm) ",nameTextStyle:{color:"rgba(255, 255, 255, 0.8)",fontSize:14},type:"value",splitLine:{show:!0,lineStyle:{color:"rgba(255,255,255,0.2)",width:1,type:"solid"}},axisLine:{show:!1,lineStyle:{color:"transparent"}},axisLabel:{show:!0,fontSize:12,textStyle:{color:"#ADD6FF"}}}],series:[{name:"EC\u503C",type:"bar",barWidth:20,showBackground:!0,backgroundStyle:{color:"rgba(255, 255, 255, 0.3)"},itemStyle:{normal:{color:new W(0,0,0,1,[{offset:0,color:"rgba(43, 224, 152, 1)"},{offset:1,color:"rgba(185, 250, 224, 1)"}])}},data:[20,80,100,40,34,90,60,20,80,100,40,34],z:0,zlevel:0},{type:"pictorialBar",barWidth:20,itemStyle:{normal:{color:"rgba(2, 31, 26, 0.85)"}},symbolRepeat:"fixed",symbolMargin:3,symbol:"rect",symbolSize:[30,4],symbolPosition:"end",symbolOffset:[0,0],data:[20,80,100,40,34,90,60,20,80,100,40,34],z:1,zlevel:0}]};e.on("click",function(a){console.log(a.name)}),e.on("click",a=>Te(a)),t&&e.setOption(t,{notMerge:!0,grid:{bottom:20}}),Q(e,t)}function Le(){const e=J(U.value);let t=[20,30,60,40,50,30],o={backgroundColor:"transparent",grid:{left:"15%",right:"2%",top:"15%",bottom:"17%"},tooltip:{trigger:"axis",axisPointer:{type:"shadow",lineStyle:{color:"#57617B"}}},xAxis:{type:"category",axisLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.7)"}},offset:12,axisTick:{show:!1,alignWithLabel:!0,lineStyle:{color:"#dddddd"}},axisLabel:{show:!0,interval:0,textStyle:{color:"rgba(219, 225, 255, 1)"},formatter:function(s){var r="",d=s.length,m=10,n=Math.ceil(d/m);if(d>m)for(var u=0;u<n;u++){var c="",g=u*m,h=g+m;u==n-1?c=s.substring(g,d):c=s.substring(g,h)+`
|
|
`,r+=c}else r=s;return r}},data:["2023/03/0814:52:00","2023/03/0814:52:00","2023/03/0814:52:00","2023/03/0814:52:00"]},yAxis:{name:"PH\u503C(ph)",type:"value",axisLine:{show:!1,lineStyle:{color:"#dddddd"}},splitLine:{show:!0,lineStyle:{color:"rgba(255,255,255,0.2)",width:1,type:"solid"}},axisTick:{show:!1},axisLabel:{fontSize:16},boundaryGap:["20%","20%"]},series:[{name:"",type:"line",stack:"\u603B\u91CF",smooth:!0,symbol:"none",showSymbol:!1,symbolSize:8,itemStyle:{normal:{areaStyle:{color:new W(0,1,0,0,[{offset:.4,color:"rgba(163, 198, 255, 0.4)"},{offset:1,color:"rgba(163, 198, 255, 0.01)"}])}}},markPoint:{itemStyle:{normal:{color:"red"}}},data:t}]};Q(e,o)}function De(){const e=J(Y.value);var t=["06:00","06:30","07:00","07:30","08:00","08:30","09:00"],a=[688,108,2288,188,929,3108,1008],o=[1140,2135,125,140,1130,138,120];let s={legend:{icon:"rect",bottom:5,left:"center",itemWidth:20,itemHeight:5,itemGap:60,textStyle:{color:"#666"}},tooltip:{trigger:"axis"},grid:{top:"5%",left:"3%",right:"4%",bottom:"15%",containLabel:!0},xAxis:[{type:"category",data:t,axisLine:{show:!1},axisLabel:{textStyle:{color:"#666"}},boundaryGap:!1,axisTick:{show:!1}}],yAxis:[{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{textStyle:{color:"#666"}},splitLine:{show:!0,lineStyle:{color:"#ff0000",type:"dashed",opacity:.1}}},{type:"value",position:"right",axisTick:{show:!1},axisLabel:{textStyle:{color:"#666"},formatter:"{value}"},axisLine:{show:!1},splitLine:{show:!1}}],series:[{name:"2022\u5E74\u6BCF\u6708\u8BA2\u5355\u51FA\u53E3\u989D",type:"line",data:o,symbolSize:1,symbol:"circle",smooth:!0,yAxisIndex:0,showSymbol:!1,lineStyle:{width:1,color:"#00CA94"},itemStyle:{normal:{color:"rgba(0, 202, 148, 1)",areaStyle:{color:new W(0,1,0,0,[{offset:0,color:"rgba(0, 202, 148, 0)"},{offset:1,color:"rgba(0, 202, 148, 1)"}])}}}},{name:"2023\u5E74\u6BCF\u6708\u8BA2\u5355\u51FA\u53E3\u989D",type:"line",data:a,symbolSize:1,yAxisIndex:1,symbol:"circle",smooth:!0,showSymbol:!1,lineStyle:{width:1,color:"#1E9FFF"},itemStyle:{normal:{color:"rgba(30, 1159, 255, 1)",areaStyle:{color:new W(0,1,0,0,[{offset:0,color:"rgba(30, 1159, 255, 0)"},{offset:1,color:"rgba(30, 1159, 255, 1)"}])}}}}]};Q(e,s)}function Z(e,t){let a=new Cesium.WebMapServiceImageryProvider({url:serverAPI.geoserverUrl+"/shuzisannong/wms?",layers:e,parameters:{service:"WMS",format:"image/png",transparent:!0}});a.customName=t;let o=i.imageryLayers.addImageryProvider(a);t.indexOf("gbznt")>-1&&(i.imageryLayers.lowerToBottom(o),i.imageryLayers.raise(o))}function ke(){b(["gbznt"],!0),Z("shuzisannong:huangdaoqu_town","tl"),i.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),M.value=!1}function Te(e){console.log("item:",e),b(["huangdaoqu_town"],!0),b(["tl"],!0);let t="shuzisannong:farmland",a=!1;const o=i.imageryLayers._layers;for(let r=o.length-1;r>=0;r--)o[r]&&o[r]._imageryProvider.customName&&o[r]._imageryProvider.customName===t+"gbznt"&&(a=!0);a||Z(t,t+"gbznt"),V.value.forEach(r=>{console.log("it.properties.name:",r.properties.name),console.log("item.name:",e.name),r.properties.name===e.name&&(console.log("dingwei"),i.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(r.bbox[0],r.bbox[1],r.bbox[2],r.bbox[3]),duration:2}))}),M.value=!0,f.value={label:[{crop:"\u5C0F\u9EA6",Shape_Area:"53000"},{crop:"\u5730\u74DC",Shape_Area:"50000"}]},console.log(f.label),oe({x:642,y:312})}function Me(){let e=te.value;console.log("fl:",e),G({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 r=Cesium.Rectangle.fromDegrees(o.bbox[0],o.bbox[1],o.bbox[2],o.bbox[3]),d=Cesium.Rectangle.center(r);let m=Cesium.Math.toDegrees(d.longitude),n=Cesium.Math.toDegrees(d.latitude);o.properties.XZDM==="370211011"?(m=120.0863,n=35.941):o.properties.XZDM==="370211003"&&(m=120.243682,n=35.97123201);const u=e[o.properties.XZMC];let c=[];u&&(c=u.map((g,h)=>g.properties)),i.entities.add({name:"point"+o.properties.XZDM,position:Cesium.Cartesian3.fromDegrees(m,n),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:c,...o.properties,lon:m,lat:n}})})}).catch(t=>{})}let te=p({});function Ie(){G({url:serverAPI.geoserverUrl+"/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Afenlei&maxFeatures=137&outputFormat=application%2Fjson"}).then(e=>{let t=e.data.features,a={};t.forEach(o=>{let s=o.properties.town;a[s]?a[s].push(o):a[s]=[o]}),te.value=a,Me()}).catch(e=>{})}function ae(){if(f.value&&f.value.lon&&f.value.lat){const t=Cesium.Cartesian3.fromDegrees(Number(f.value.lon),Number(f.value.lat),0);var e=Cesium.SceneTransforms.wgs84ToWindowCoordinates(i.scene,t);if(Cesium.defined(e)){const a=document.getElementById("pop");a.style.top=e.y-10+"px",a.style.left=e.x+10+"px"}}}function O(){I="",A="",b(["village_CQL"]),b(["aaa"]),L("villageLine"),L("townLine");const e=document.getElementById("pop");e.style.display="none",i.scene.postRender.removeEventListener(ae),i.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),b(["gbznt"],!0),M.value=!1}function oe(e){console.log(e);const t=document.getElementById("pop");t.style.display="block",t.style.position="absolute",t.style.top=e.y-10+"px",t.style.left=e.x+10+"px",t.style.zIndex=99}return(e,t)=>{const a=w("el-table-column"),o=w("el-table"),s=w("ArrowRightBold"),r=w("el-icon"),d=w("ArrowLeftBold"),m=w("el-button");return D(),F("div",et,[tt,l("div",at,[ot,l("div",rt,[l("div",st,[it,l("p",{onClick:t[0]||(t[0]=n=>ee("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianji%20.xlsx"))},[q(" \u5386\u53F2\u6570\u636E \xA0 "),lt])]),l("div",nt,[v(o,{"max-height":"200px",data:N(ce),stripe:"",style:{width:"100%"}},{default:E(()=>[v(a,{prop:"date",label:"\u8BBE\u5907\u7F16\u53F7"}),v(a,{prop:"name",label:"\u76D1\u6D4B\u65F6\u95F4"}),v(a,{prop:"address",label:"\u9884\u8B66\u60C5\u51B5"}),v(a,{prop:"address",label:"\u7167\u7247"})]),_:1},8,["data"])])]),l("div",{class:"leftFoldDiv",onClick:t[1]||(t[1]=n=>ye())},[v(r,null,{default:E(()=>[v(s)]),_:1})])]),l("div",ct,[l("div",dt,[l("div",ut,[mt,l("p",{onClick:t[2]||(t[2]=n=>ee("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"))},[q(" \u4E0B\u8F7D \xA0 "),pt])]),l("div",{ref_key:"farmlandDiv",ref:j,class:"farmlandDiv"},null,512),l("div",{ref_key:"Phdiv",ref:U,class:"Phdiv"},null,512),l("div",{ref_key:"soilDiv",ref:Y,class:"soilDiv"},null,512)]),l("div",{class:"rightFoldDiv",onClick:t[3]||(t[3]=n=>be())},[v(r,null,{default:E(()=>[v(d)]),_:1})])]),l("div",ft,[v(qe)]),gt,l("div",vt,[l("div",null,k(H.value.name)+"\uFF1A",1),l("div",null,k(H.value.value)+"\u4EA9",1),l("div",{class:"cancel",onClick:O},"X")]),l("div",yt,[(D(!0),F(Ee,null,Ne(N(f).label,(n,u)=>(D(),F("div",{key:u},[l("div",null,k(n.crop)+"\uFF1A",1),l("div",null,k((n.Shape_Area/666.67).toFixed(2))+" \u4EA9",1)]))),128)),N(f).XZQMC?(D(),F("div",bt,[ht,l("div",null,k(N(f).XZQMC),1)])):se("v-if",!0),l("div",{class:"cancel",onClick:O},"X")]),M.value?(D(),We(m,{key:0,class:"back_button",onClick:t[4]||(t[4]=n=>ke())},{default:E(()=>[q("\u8FD4\u56DE")]),_:1})):se("v-if",!0)])}}},Lt=Pe(_t,[["__scopeId","data-v-b301384e"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/index.vue"]]);export{Lt as default};
|