2 lines
19 KiB
JavaScript
2 lines
19 KiB
JavaScript
import{_ as Le,r as _,A as Te,B as Ee,C as Fe,D as H,d as x,o as y,c as D,l as r,e as u,w as b,I as Y,J as $,k as K,f as g,g as I,m as Q,Q as Ie,x as A,y as Xe,p as Ze,q as Pe}from"./index.b3a66a9e.js";import{_ as O}from"./close1.45635d81.js";import ze from"./downloads.e955445d.js";import{_ as Ae,a as We,b as Be,c as Re,d as Ne,e as Qe}from"./linesGL.90f708a5.js";import{i as Oe}from"./index.c9f5bd8b.js";import{T as qe}from"./TimeLine.6cac5abc.js";import{u as Ve}from"./useEcharts.83442be8.js";import{g as Ge,c as Je,a as Ue,b as je}from"./classify.ee69cc46.js";const X=W=>(Ze("data-v-cddc5283"),W=W(),Pe(),W),He={class:"center"},Ye=X(()=>r("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),$e={class:"leftWra"},Ke={class:"leftTop"},et={class:"title"},tt=X(()=>r("span",null,"\u53F0\u98CE\u6570\u636E\u9009\u62E9",-1)),at={class:"tabulation"},ot=X(()=>r("div",{class:"chart_div_title"},[r("span",null,"\u53F0\u98CE\u5217\u8868")],-1)),lt={class:"tableDiv"},rt={class:"tabulation"},st=X(()=>r("div",{class:"chart_div_title"},[r("span",null,"Choi-wan\u98CE\u901F\u6C14\u538B")],-1)),it={key:0,src:O,alt:""},nt={key:0,class:"imgrotate",src:O,alt:""},ct={class:"rightWra"},dt={class:"rightTop"},ut={class:"title"},pt=X(()=>r("span",null,"\u53F0\u98CE\u707E\u635F\u9884\u6D4B\u7ED3\u679C",-1)),mt=X(()=>r("img",{src:ze,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ft={class:"farmlandDiv"},gt={class:"farmlandHeader"},vt={key:0,src:O,alt:""},_t={key:0,class:"imgrotate",src:O,alt:""},yt={class:"bottom_center"},ht=Xe('<div class="tool" data-v-cddc5283><span data-v-cddc5283><img src="'+Ae+'" alt="" data-v-cddc5283></span><span data-v-cddc5283><img src="'+We+'" alt="" data-v-cddc5283></span><span data-v-cddc5283><img src="'+Be+'" alt="" data-v-cddc5283></span><span data-v-cddc5283><img src="'+Re+'" alt="" data-v-cddc5283></span><span data-v-cddc5283><img src="'+Ne+'" alt="" data-v-cddc5283></span><span data-v-cddc5283><img src="'+Qe+'" alt="" data-v-cddc5283></span></div>',1),bt={class:"mt-4"},Ct={id:"popup"},xt={id:"pop"},wt={key:0},St=X(()=>r("div",null,"\u6751\u540D\uFF1A",-1)),Dt={__name:"index",setup(W){let s=_(null);const w=_("370211");let M=Te({arr:[],brr:[],crr:[]});const ee=_({name:"",value:""}),ne=_([]),P=_(!1);let T=_(!1),E=_(!1);const te=_(["false"]),ae=_(null),oe=_("");let ce={"-0\xB0\u4EE5\u4E0B":{color:"rgba(9, 187, 222, 1)",disabled:!1},"-3\xB0\u4EE5\u4E0B":{color:"rgba(255, 235, 59, 1)",disabled:!1},"-5\xB0\u4EE5\u4E0B":{color:"rgba(234, 165, 93, 1)",disabled:!1}};Ee(()=>M.arr,e=>{console.log("val:",e)});var q={title:[]};let V={\u5C0F\u9EA6:[],\u7389\u7C73:[],\u5927\u8C46:[],\u5730\u74DC:[],\u82B1\u751F:[],\u84DD\u8393:[],\u8336\u53F6:[],\u9A6C\u94C3\u85AF:[],\u767D\u83DC\u548C\u841D\u535C:[],\u5176\u4ED6:[]},le=_([]);Fe(()=>{be(),ye(),he(),ue(),me(),we();let e=document.querySelector(".leftWra");e&&(e.style.transform="translate(-107%,0)");let t=document.querySelector(".rightWra");t.style.transform="translate(107%,0)"});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(){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({...de})}),s.cesiumWidget.creditContainer.style.display="none",se("shuzisannong:huangdaoqu_town","tl"),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:0}),fe(),Me()}function G(e,t,o){e.forEach(a=>{let l=[];a[0].forEach(i=>{l.push(i[0]),l.push(i[1])}),s.entities.add({name:t,polyline:{positions:Cesium.Cartesian3.fromDegreesArray(l),width:6,material:new Cesium.PolylineGlowMaterialProperty({glowPower:.2,color:o?Cesium.Color.fromCssColorString(o):Cesium.Color.fromBytes(250,128,114)}),clampToGround:!0}})})}function pe(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 me(){H({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),ne.value=e.data.features}).catch(e=>{})}let f=_({label:[]}),z="";function fe(){var e=new Cesium.ScreenSpaceEventHandler(s.canvas);e.setInputAction(function(t){var o=s.camera.getPickRay(t.position),a=s.scene.globe.pick(o,s.scene);if(a){let l=Cesium.Cartographic.fromCartesian(a);if(l){let i=new Cesium.Cartesian2,c=s.camera.positionCartographic.height,m=pe(c);const v=s.imageryLayers._layers,S=v.findIndex(d=>d._imageryProvider._layers&&d._imageryProvider._layers==="shuzisannong:huangdaoqu_town");if(S>-1){const d=v[S];let p=d._imageryProvider;if(p&&p.ready&&p._layers&&d.show===!0){i=p.tilingScheme.positionToTileXY(l,m,i);let F=p.pickFeatures(i.x,i.y,m,l.longitude,l.latitude);F&&F.then(n=>{if(n.length>0){let h=n[0];if(h.properties&&h.properties.XZDM)if(console.log("XZDM:",z),console.log("newData.properties.XZDM:",h.properties.XZDM),z!==h.properties.XZDM){P.value=!0,z=h.properties.XZDM,w.value=z,J&&J();let L=h.data;s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(L.bbox[0],L.bbox[1],L.bbox[2],L.bbox[3]),duration:2}),Z("townLine"),G(L.geometry&&L.geometry.coordinates,"townLine","yellow"),k(["village_CQL"]),re(`XZDM=${h.properties.XZDM}`,"village_CQL");let N=s.entities._entities._array;for(var C=N.length-1;C>=0;C--)if(N[C]._name&&N[C]._name==="point"+h.properties.XZDM){let ke=N[C]._info;f.value=ke,console.log(f.value,"------------------"),j(t.position),s.scene.postRender.addEventListener(U)}Z("villageLine"),B=""}else ge(v,i,m,l,t);else k(["village_CQL"]),R()}})}}}}},Cesium.ScreenSpaceEventType.LEFT_CLICK)}let B="";function ge(e,t,o,a,l){const i=e.findIndex(c=>c._imageryProvider._layers&&c._imageryProvider._layers==="shuzisannong:huangdaoqu_village");if(i>-1){const c=e[i];let m=c._imageryProvider;if(m&&m.ready&&m._layers&&c.show===!0){t=m.tilingScheme.positionToTileXY(a,o,t);let v=m.pickFeatures(t.x,t.y,o,a.longitude,a.latitude);v&&v.then(S=>{if(S.length>0){let d=S[0];if(console.log(d),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(d.data.bbox[0],d.data.bbox[1],d.data.bbox[2],d.data.bbox[3]),duration:2}),d.properties&&d.properties.XZQDM&&B!==d.properties.XZQDM){B=d.properties.XZQDM;let p=d.data;if(Z("villageLine"),G(p.geometry&&p.geometry.coordinates,"villageLine","yellow"),d.properties.XZQDM==="370211104217"){const F=Cesium.Rectangle.fromDegrees(p.bbox[0],p.bbox[1],p.bbox[2],p.bbox[3]),n=Cesium.Rectangle.center(F);let C=Cesium.Math.toDegrees(n.longitude),h=Cesium.Math.toDegrees(n.latitude),L={lon:C,lat:h,...p.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=L,j(l.position),s.scene.postRender.addEventListener(U)}}}})}}}function re(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 k(e,t){if(s){const o=s.imageryLayers._layers;for(let a=o.length-1;a>=0;a--)e.forEach(l=>{o[a]._imageryProvider&&o[a]._imageryProvider.customName&&(t?o[a]._imageryProvider.customName.indexOf(l)>-1&&s.imageryLayers.remove(o[a]):o[a]._imageryProvider.customName===l&&s.imageryLayers.remove(o[a]))})}}function Z(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 ve(){if(T.value=!T.value,T.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 _e(){if(E.value=!E.value,E.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 ye=()=>{Ge().then(e=>{M.arr=e.features.sort((a,l)=>a.properties.XZMC.length-l.properties.XZMC.length),M.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)}),q.title=[...Object.values(o)]})},he=()=>{Je().then(e=>{M.brr=e.features})},be=()=>{Ue().then(e=>{M.crr=e.features,q.title.forEach((t,o)=>{let a=e.features.map(l=>{if(t===l.properties.town)return l.properties});Object.keys(V).forEach(l=>{const i=a.findIndex(c=>c&&c.crop===l);i>-1?V[l].push(a[i].Shape_Area):V[l].push(null)})})})},J=()=>{if(M.arr.forEach(a=>{a.properties.XZDM==w.value}),w.value=="370211"){k(["village_CQL"]),z=null,k(["aaa"]);return}let e=[...M.arr];console.log("arr:",e),e.forEach(a=>{a.properties.XZDM==w.value&&s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(a.bbox[0],a.bbox[1],a.bbox[2],a.bbox[3]),duration:2});let l=[...M.brr],i=[];l.forEach(c=>{c.properties.XZDM==w.value&&i.push(c.properties.XZQMC)}),q.title=[...Object.values(i)]});const o=[...M.arr].find(a=>a.properties.XZDM===w.value);o&&(Z("townLine"),G(o.geometry.coordinates,"townLine","yellow")),k(["aaa"]),re(`XZDM=${w.value}`,"aaa"),je({time:"2023-04-26",subregion:"1",parent:"\u9EC4\u5C9B\u533A"}).then(a=>{let l=[];a.data.map((i,c)=>{i.region==o.properties.XZMC&&l.push({crop:i.type,Shape_Area:i.area})}),f.value={label:l},console.log(),console.log(l),j({x:642,y:312})})},Ce=e=>{xe(e)},xe=e=>{let t=document.createElement("a");t.style.display="none",t.href=e,document.body.appendChild(t),t.click(),document.body.removeChild(t)};function we(){const e=Oe(ae.value);Ve(e,{grid:{left:"5%",right:"5%",top:"20%",bottom:"15%",containLabel:!0},tooltip:{trigger:"axis",axisPointer:{lineStyle:{color:"rgba(255,255,255,0.7)"}},backgroundColor:"rgba(255,255,255,0.1)",padding:[5,10],textStyle:{color:"rgb(255,255,255)"}},legend:{x:"center",y:"15",icon:"stack",itemWidth:6,itemHeight:5,textStyle:{color:"#FFFFFF"},data:["\u98CE\u901F","\u6C14\u538B"]},xAxis:{type:"category",data:["8:00","09:00","10:00","11:00","12:00"],boundaryGap:!0,splitLine:{show:!1},axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(255,255,255,0.5)"}},axisLabel:{margin:10,textStyle:{fontSize:14,color:"#DEEBFF"}}},yAxis:[{type:"value",position:"left",name:"\u98CE\u901F(m/s)",splitLine:{show:!0,lineStyle:{color:["rgba(255,255,255,0.2)"]}},axisLine:{show:!1,lineStyle:{color:"rgba(255,255,255,0.3)"}},nameTextStyle:{color:"#DEEBFF",fontSize:12,lineHeight:0},axisLabel:{margin:2,textStyle:{fontSize:12,color:"#DEEBFF"}}},{type:"value",name:"\u6C14\u538B(hPa)",position:"right",axisTick:{show:!1},splitLine:{show:!0,lineStyle:{color:["rgba(255,255,255,0.2)"]}},axisLine:{show:!1,lineStyle:{color:"rgba(255,255,255,0.3)"}},nameTextStyle:{color:"#DEEBFF",fontSize:12,lineHeight:0},axisLabel:{margin:2,textStyle:{fontSize:12,color:"#DEEBFF"}}}],series:[{name:"\u98CE\u901F",type:"line",smooth:!0,showSymbol:!1,data:[20,25,22,10,36],itemStyle:{normal:{color:"rgba(205, 92, 92, 1)"}},lineStyle:{normal:{width:3}}},{name:"\u6C14\u538B",type:"line",smooth:!0,yAxisIndex:1,showSymbol:!1,symbol:"circle",symbolSize:6,data:[22,15,36,9,6],itemStyle:{normal:{color:"rgba(0, 191, 255, 1)"}},lineStyle:{normal:{width:3}}}]})}function se(e,t){let o=new Cesium.WebMapServiceImageryProvider({url:serverAPI.geoserverUrl+"/shuzisannong/wms?",layers:e,parameters:{service:"WMS",format:"image/png",transparent:!0}});o.customName=t;let a=s.imageryLayers.addImageryProvider(o);t.indexOf("gbznt")>-1&&(s.imageryLayers.lowerToBottom(a),s.imageryLayers.raise(a))}function Se(){delete f.value.XZQMC,k(["gbznt"],!0),k(["aaa"]),w.value="370211",J(),P.value==="1"&&(console.log(P.value),se("shuzisannong:huangdaoqu_town","tl")),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),P.value=!1,R()}function De(){let e=ie.value;console.log("fl:",e),H({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((a,l)=>{const i=Cesium.Rectangle.fromDegrees(a.bbox[0],a.bbox[1],a.bbox[2],a.bbox[3]),c=Cesium.Rectangle.center(i);let m=Cesium.Math.toDegrees(c.longitude),v=Cesium.Math.toDegrees(c.latitude);a.properties.XZDM==="370211011"?(m=120.0863,v=35.941):a.properties.XZDM==="370211003"&&(m=120.243682,v=35.97123201);const S=e[a.properties.XZMC];let d=[];S&&(d=S.map((p,F)=>p.properties)),s.entities.add({name:"point"+a.properties.XZDM,position:Cesium.Cartesian3.fromDegrees(m,v),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:d,...a.properties,lon:m,lat:v}})})}).catch(t=>{})}let ie=_({});function Me(){H({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,o={};t.forEach(a=>{let l=a.properties.town;o[l]?o[l].push(a):o[l]=[a]}),ie.value=o,De()}).catch(e=>{})}function U(){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(s.scene,t);if(Cesium.defined(e)){const o=document.getElementById("pop");o&&(o.style.top=e.y-10+"px",o.style.left=e.x+10+"px")}}}function R(){delete f.value.XZQMC,B="",k(["village_CQL"]),Z("villageLine"),Z("townLine");const e=document.getElementById("pop");e&&(e.style.display="none"),s.scene.postRender.removeEventListener(U)}function j(e){if(f.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 o=x("el-option"),a=x("el-select"),l=x("el-table-column"),i=x("el-table"),c=x("el-tooltip"),m=x("el-date-picker"),v=x("el-checkbox"),S=x("el-checkbox-group"),d=x("el-collapse-item"),p=x("el-collapse"),F=x("el-button");return y(),D("div",He,[Ye,r("div",$e,[r("div",Ke,[r("div",et,[tt,u(a,{modelValue:w.value,"onUpdate:modelValue":t[0]||(t[0]=n=>w.value=n),class:"m-2",placeholder:"Select",size:"large"},{default:b(()=>[(y(!0),D(Y,null,$(e.options,n=>(y(),K(o,{"popper-class":"device_item",key:n.value,label:n.label,value:n.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),r("div",at,[ot,r("div",lt,[u(i,{data:g(le),style:{width:"100%"}},{default:b(()=>[u(l,{type:"selection",width:"55"}),u(l,{prop:"date",label:"\u7F16\u53F7"}),u(l,{prop:"name",label:"\u4E2D\u6587\u540D"}),u(l,{prop:"address",label:"\u82F1\u6587\u540D"})]),_:1},8,["data"])])]),r("div",rt,[st,r("div",{ref_key:"areaDiv",ref:ae,class:"areaDiv"},null,512)])]),r("div",{class:"leftFoldDiv",onClick:t[1]||(t[1]=n=>ve())},[u(c,{class:"box-item","show-arrow":!1,disabled:g(T),"hide-after":"0","show-after":"200",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:b(()=>[g(T)?I("v-if",!0):(y(),D("img",it))]),_:1},8,["disabled"]),u(c,{disabled:!g(T),"show-arrow":!1,class:"box-item","show-after":"200","hide-after":"0",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:b(()=>[g(T)?(y(),D("img",nt)):I("v-if",!0)]),_:1},8,["disabled"])])]),r("div",ct,[r("div",dt,[r("div",ut,[pt,r("p",{onClick:t[2]||(t[2]=n=>Ce("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 "),mt])]),r("div",ft,[r("div",gt,[Q(" \u8BC4\u4F30\u65F6\u95F4\uFF1A "),u(m,{modelValue:oe.value,"onUpdate:modelValue":t[3]||(t[3]=n=>oe.value=n),type:"daterange","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65E5\u671F","end-placeholder":"\u7ED3\u675F\u65E5\u671F",size:e.size},null,8,["modelValue","size"])]),u(i,{data:g(le),style:{width:"100%"}},{default:b(()=>[u(l,{prop:"date",label:"\u65F6\u95F4"}),u(l,{prop:"name",label:"\u53F0\u98CE\u540D\u79F0"}),u(l,{prop:"address",label:"\u4F4D\u7F6E"}),u(l,{prop:"date",label:"\u53D7\u707E\u9762\u79EF(\u516C\u9877)"}),u(l,{prop:"name",label:"\u8BE6\u60C5"}),u(l,{prop:"address",label:"\u5220\u9664"})]),_:1},8,["data"])]),I(' <div ref="ProgressBarDiv" class="ProgressBar"></div> ')]),r("div",{class:"rightFoldDiv",onClick:t[4]||(t[4]=n=>_e())},[u(c,{disabled:!g(E),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:b(()=>[g(E)?(y(),D("img",vt)):I("v-if",!0)]),_:1},8,["disabled"]),u(c,{disabled:g(E),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:b(()=>[g(E)?I("v-if",!0):(y(),D("img",_t))]),_:1},8,["disabled"])])]),r("div",yt,[u(qe)]),ht,u(p,{class:"legend",accordion:""},{default:b(()=>[u(d,{name:"1"},{title:b(()=>[Q("\u56FE\u4F8B")]),default:b(()=>[r("div",bt,[u(S,{modelValue:te.value,"onUpdate:modelValue":t[5]||(t[5]=n=>te.value=n),onChange:e.change},{default:b(()=>[(y(!0),D(Y,null,$(g(ce),(n,C,h)=>(y(),K(v,{key:h,style:Ie({backgroundColor:n.color,border:"1px solid value.color",width:"100%"}),"v-model":n.disabled,disabled:n.disabled,label:C},null,8,["style","v-model","disabled","label"]))),128))]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1}),r("div",Ct,[r("div",null,A(ee.value.name)+"\uFF1A",1),r("div",null,A(ee.value.value)+"\u4EA9",1),r("div",{class:"cancel",onClick:R},"X")]),r("div",xt,[(y(!0),D(Y,null,$(g(f).label,(n,C)=>(y(),D("div",{key:C},[r("div",null,A(n.crop)+"\uFF1A",1),r("div",null,A((n.Shape_Area/666.67).toFixed(2))+" \u4EA9",1)]))),128)),g(f).XZQMC?(y(),D("div",wt,[St,r("div",null,A(g(f).XZQMC),1)])):I("v-if",!0),r("div",{class:"cancel",onClick:R},"X")]),P.value?(y(),K(F,{key:0,class:"back_button",onClick:t[6]||(t[6]=n=>Se())},{default:b(()=>[Q("\u8FD4\u56DE")]),_:1})):I("v-if",!0)])}}},Zt=Le(Dt,[["__scopeId","data-v-cddc5283"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/meteorological/remoteSense/estimate/index.vue"]]);export{Zt as default};
|