3 lines
21 KiB
JavaScript
3 lines
21 KiB
JavaScript
import{Q as G,_ as Ue,r as c,I as Ze,x as Ke,H as et,a2 as le,aa as tt,S as se,d as A,o as S,c as D,l as r,O as Ae,f as p,K as O,M as H,n as F,k as E,w as C,V as ie,W as de,m as I,e as Q,N as at,A as X,F as ot,q as rt,s as nt}from"./index.9f28707e.js";import De from"./downloads.e955445d.js";import{_ as lt}from"./qx.88a5ecd3.js";import{_ as st,a as it}from"./zhankaiss.6870329f.js";import{_ as dt,a as ut,b as ct,c as pt}from"./position.3b2b2301.js";import{_ as gt,a as ht}from"./face.d3470a20.js";import"./index.2809c208.js";import"./linesGL.76a64914.js";import{T as mt}from"./TimeLine.65e192a9.js";import{u as ue}from"./useEcharts.342dbaed.js";import{d as ce}from"./download.da137c17.js";import{e as pe}from"./element-resize-detector.d4d1cd8d.js";import{ai as ge,aj as ft}from"./linkSeriesData.e74eae00.js";/* empty css */import"./browser-detector.d146ab9e.js";function he(m){return G({url:"equipment/abandon",method:"get",params:m})}function ze(m){return G({url:"equipment/abandonChun",method:"get",params:m})}function vt(m){return G({url:"equipment/abandonHuoChun",method:"get",params:m})}function yt(m){return G({url:"equipment/cityAndCountZb",method:"get",params:m})}function bt(m){return G({url:"equipment/lhdyear",method:"get",params:m})}function qe(m){return G({url:"equipment/lhdHeith",method:"get",params:m})}const _=m=>(rt("data-v-d3578a09"),m=m(),nt(),m),_t={class:"center"},wt=_(()=>r("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),St={class:"rightWra"},xt={class:"tabar"},Lt={class:"rightbottom"},Ct={class:"title"},kt=_(()=>r("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),At=_(()=>r("span",null,"\u6482\u8352\u8015\u5730\u9762\u79EF\u7EDF\u8BA1",-1)),zt=_(()=>r("img",{src:De,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),qt={class:"rightbottom"},Dt=_(()=>r("div",{class:"title"},[r("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}}),r("span",null,"\u6482\u8352\u8015\u5730\u9762\u79EF\u5360\u6BD4")],-1)),Et={class:"rightTop"},It={class:"title"},Pt=_(()=>r("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),jt=_(()=>r("span",null,"\u9AD8\u6807\u51C6\u519C\u7530",-1)),Ft=_(()=>r("img",{src:De,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Gt={key:0},Mt=_(()=>r("img",{src:lt},null,-1)),Nt=[Mt],Qt=_(()=>r("img",{src:st},null,-1)),Tt=_(()=>r("img",{src:it},null,-1)),Wt={class:"mt-4"},Vt={class:"bottom_center"},$t=ot('<div class="tool" data-v-d3578a09><span data-v-d3578a09><img src="'+dt+'" alt="" data-v-d3578a09></span><span data-v-d3578a09><img src="'+ut+'" alt="" data-v-d3578a09></span><span data-v-d3578a09><img src="'+ct+'" alt="" data-v-d3578a09></span><span data-v-d3578a09><img src="'+gt+'" alt="" data-v-d3578a09></span><span data-v-d3578a09><img src="'+ht+'" alt="" data-v-d3578a09></span><span data-v-d3578a09><img src="'+pt+'" alt="" data-v-d3578a09></span></div>',1),Jt={id:"popup",class:"ol-popup"},Yt=_(()=>r("div",{class:"pophead",style:{width:"100%"}},[r("div",{id:"popup-title",style:{"font-size":"20px","font-weight":"400","letter-spacing":"1px","line-height":"42px","padding-left":"15px","border-radius":"8px",margin:"20px",background:"rgba(100, 195, 164, 0.05)"}}),r("a",{href:"#",id:"popup-closer",class:"ol-popup-closer"})],-1)),Bt={id:"popup-content",style:{padding:"10px"}},Ot={class:"perform_children"},Ht=_(()=>r("div",{class:"label"},"\u6482\u8352\u5730\uFF1A",-1)),Xt={class:"perform_children"},Rt=_(()=>r("div",{class:"label"},"\u7ECF\u7EAC\u5EA6\uFF1A",-1)),Ut=_(()=>r("div",{id:"popup-pagination"},null,-1)),Zt={__name:"index",setup(m){c(null);const R=c(null),U=c(null);let M=Ze({arr:[],brr:[],crr:[]}),z=c([]);const x=c("370211"),Ee=c(!1);let q=c(!1);const T=c([]);let me=c([]),Z=c([]),K=c([]),W=c([]),w=c(""),fe=c([]),ee=c(""),V=c(5),$=c([]);const te=c(null);let ve=c([]),P=c(!0),j=!(window.localStorage.getItem("divisions").length>6),ye=window.localStorage.getItem("deptName")=="\u9752\u5C9B\u897F\u6D77\u5CB8\u65B0\u533A"?"\u9EC4\u5C9B\u533A":window.localStorage.getItem("deptName");const Ie=t=>{x.value=="370211"?he({yearMonth:w.value.name,whetherToDownload:!0}).then(e=>{ce(e.data[e.data.length-1].downloadPath)}):ze({divisions:x.value,yearMonth:w.value.name,whetherToDownload:!0}).then(e=>{ce(e.data[e.data.length-1].downloadPath)})};let ae={\u6482\u8352\u5730:{color:"rgba(175, 110, 250, 0.8)",disabled:!1}},N={\u6482\u8352\u5730:{setOf:"2022-12-31-liaohuang",name:"T2022_12_31_liaohuang"}},J=c(null);Ke(()=>{Pe()});function Pe(){$e(),je(),Te(),Qe(),Ce();for(const e in ae)ae[e].disabled!==!0&&me.value.push(e);T.value=me.value;let t=document.querySelector(".rightWra");t.style.transform="translate(101%,0)"}et(()=>{document.querySelector(".mode").style.display="none",window.document.querySelector("#screenfull").style.display="block"}),le(()=>w.value,(t,e)=>{x.value=window.localStorage.getItem("divisions"),Ce(x.value,w.value.name),j?xe(w.value.name):Le(x.value,w.value.name)});const be=t=>{P.value=t,t?(re(),oe()):ke()};let i=c(null);c(null),c(null);let _e=c(null),Y=c(null);function je(){var t=document.querySelector(".center"),e=document.getElementById("cesiumContainer");i=new ol.Map({target:"cesiumContainer",controls:[],view:new ol.View({center:[119.86763411957472,35.88435182141938],zoom:11,maxZoom:16.5,projection:"EPSG:4326"}),layers:[new ol.layer.Tile({source:new ol.source.XYZ({url:`${serverAPI.tiandituLayers}`,projection:serverAPI.flag?"EPSG:4326":"EPSG:3857"}),preload:20})]}),Ge(),Me(),i.on("moveend",function(a){var o=i.getView().getZoom();o>=13?J.setVisible(!0):J.setVisible(!1)}),i.on("singleclick",function(a){var o=a.coordinate;if(j){var u=o[0],s=o[1],h=i.getView(),v=i.getView().getZoom();h.animate({center:[u,s],duration:1e3}),v>=13?B(a,"CJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u6751"):B(a,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u9547")}else{let f=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,d=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:"XJQY3702112019WGS84@huangdaoqu_bianjie",attributeFilter:`XJQYMC = '${ye}'`},datasetNames:["huangdaoqu_bianjie:XJQY3702112019WGS84"]});new ol.supermap.FeatureService(f).getFeaturesBySQL(d,function(n){let y=new ol.format.GeoJSON().readFeatures(n.result.features),g=new ol.source.Vector;g.addFeatures(y);let k=new ol.layer.Vector({source:g}).getSource().getFeatures();for(var L=0;L<k.length;L++)if(k[L].getGeometry().intersectsCoordinate(o)){var ne=o[0],He=o[1],Xe=i.getView(),Re=i.getView().getZoom();Xe.animate({center:[ne,He],duration:1e3}),Re>=13?B(a,"CJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u6751"):B(a,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u9547")}})}});var l=new ResizeObserver(function(a){a.forEach(function(o){var u=o.contentRect.width,s=o.contentRect.height;e.style.width=u+"px",e.style.height=s+"px",i.updateSize()})});l.observe(t),Fe(ye)}function Fe(t){let e="",l="",a="",o="",u="";l=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,e=t,a="XJQY3702112019WGS84",o="huangdaoqu_bianjie",u="XJQYMC";var s=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:`${a}@${o}`,attributeFilter:`${u} like '%${e}%'`},datasetNames:[`${o}:${a}`]});new ol.supermap.FeatureService(l).getFeaturesBySQL(s,function(h){if(h.result.featureCount!=0){var v=i.getLayers().getArray().find(b=>b.get("id")==="zhezhao");i.removeLayer(v);var f=i.getLayers().getArray().find(b=>b.get("id")==="dianjigaoliang");i.removeLayer(f);var d=new ol.format.GeoJSON().readFeatures(h.result.features);we(h.result.features.features[0].geometry.coordinates,"qu","rgba( 105, 105, 105, 1)",9999);var n=new ol.source.Vector;n.addFeatures(d);const g=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:2})});var y=new ol.layer.Vector({id:"dianjigaoliang",source:n});y.setStyle(g),i.addLayer(y),i.getView().fit(n.getExtent())}})}const Ge=()=>{J=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+"/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie",cacheEnabled:!1}),name:"CJQY3702112019WGS84",projection:"EPSG:4326",zIndex:9999}),i.addLayer(J)},Me=()=>{var t=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+"/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie",cacheEnabled:!1}),name:"XJQY3702112019WGS84",projection:"EPSG:4326",zIndex:9999});i.addLayer(t)},Ne=t=>{let e=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+`/map-${t.setOf}/rest/maps/${t.name}@${t.setOf}`,cacheEnabled:!1}),name:t.name,projection:"EPSG:4326"});i.addLayer(e)};function B(t,e,l,a){K.value=t.Tn;let o=[];var u=new ol.geom.Point(t.coordinate),s=new ol.supermap.QueryByGeometryParameters({queryParams:{name:e},geometry:u});let h=document.querySelector("#popup-title"),v=c(null),f=c(null);new ol.supermap.QueryService(l).queryByGeometry(s,function(d){f=i.getLayers().getArray().find(g=>g.get("id")==="zhezhao"),i.removeLayer(f);let n="";if(a=="\u9547"&&d.result.recordsets[0].features.features[0].properties.XJQYDM){let g=d.result.recordsets[0].features.features[0].properties.XJQYDM;x.value=g;let b=[];he({yearMonth:w.value.name}).then(k=>{k.data.forEach(L=>{L.subregionCode==g&&(n=L.subregionName,b.push(L))}),y(),Z.value=b})}else if(a=="\u6751"&&d.result.recordsets[0].features.features[0].properties.CJQYDM){let g=d.result.recordsets[0].features.features[0].properties.CJQYDM,b=[];vt({divisions:g,yearMonth:w.value.name}).then(k=>{k.data.forEach(L=>{L.subregionCode==g&&(n=L.subregionName,b.push(L))}),Z.value=b,y()})}function y(){if(d.result.currentCount>0){d.result.recordsets[0].features&&(Y.setPosition(u.flatCoordinates),h.innerHTML=n),v=i.getLayers().getArray().find(ne=>ne.get("id")==="dianjigaoliang"),i.removeLayer(v);var g=new ol.format.GeoJSON().readFeatures(d.result.recordsets[0].features);o=d.result.recordsets[0].features.features[0].geometry.coordinates,we(d.result.recordsets[0].features.features[0].geometry.coordinates);var b=new ol.source.Vector;b.addFeatures(g);const L=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(255, 219, 113, 1.0)",width:5})});var k=new ol.layer.Vector({id:"dianjigaoliang",source:b,zIndex:9999});k.setStyle(L),i.addLayer(k)}}}),_e.addEventListener("click",function(){f=i.getLayers().getArray().find(d=>d.get("id")==="zhezhao"),i.removeLayer(f),Se(o),x.value=window.localStorage.getItem("divisions"),v=i.getLayers().getArray().find(d=>d.get("id")==="dianjigaoliang"),i.removeLayer(v),Y.setPosition(void 0)})}const Qe=()=>{document.getElementById("popup"),document.getElementById("popup-content"),_e=document.getElementById("popup-closer"),Y=new ol.Overlay({element:document.getElementById("popup"),positioning:"bottom-center",stopEvent:!0,offset:[0,-10]}),i.addOverlay(Y)};function Te(){tt.get("/json/huangdao.json").then(({data:t})=>{new ol.format.GeoJSON().readFeatures(t)[0]})}function we(t,e,l,a){let o=new ol.source.Vector;var u=new ol.layer.Vector({id:e||"zhezhao",source:o,zIndex:a||50,style:new ol.style.Style({fill:new ol.style.Fill({color:l||"rgba( 105, 105, 105, 0.9)"})})});const s=Se(t),h=new ol.Feature({geometry:s});u.getSource().addFeature(h),i.addLayer(u)}function Se(t){const e=[-180,-90,180,90],l=ol.geom.Polygon.fromExtent(e);return t.forEach(o=>{const u=new ol.geom.LinearRing(o[0]);l.appendLinearRing(u)}),l}le(()=>x.value,()=>{Be()}),le(()=>T.value,(t,e)=>{t.length>e.length?t.filter(a=>{if(e.findIndex(u=>u===a)<0)return a}).forEach(a=>{N[a]&&Ne(N[a])}):t.length<e.length&&e.filter(a=>{if(t.findIndex(u=>u===a)<0)return a}).forEach(a=>{N[a]&&(i.getLayers().getArray().indexOf(N[a].name),i.getLayers().getArray().forEach((o,u)=>{o.A.name&&o.A.name==N[a].name&&i.getLayers().removeAt(u)}))})});function We(){if(q.value=!q.value,q.value){let t=document.querySelector(".rightWra");t.style.transform="translate(0,0)"}else{let t=document.querySelector(".rightWra");t.style.transform="translate(101%,0)"}}const Ve=t=>{W.value=$.value.slice((t-1)*V.value,t*V.value)},$e=()=>{bt().then(t=>{w.value={name:t.data[t.data.length-1]};let e=[];t.data.forEach(l=>{e.push({name:l})}),$.value=e,fe.value=Math.ceil($.value.length/5),ee=Math.ceil(e.length/5),W.value=$.value.slice((ee-1)*V.value,ee*V.value),Je()})},Je=()=>{qe({divisions:"370211",yearMonth:w.value.name}).then(t=>{ve.value=t.data,t.data.length>0&&ke()})},Ye=t=>{qe({divisions:"370211",yearMonth:w.value.name,whetherToDownload:!0}).then(e=>{ce(e.data[e.data.length-1].downloadPath)})},xe=t=>{he({yearMonth:t}).then(e=>{M.arr=[],z.value=[],e.data.forEach(o=>{o.wasteland>0&&(M.arr.push(o),z.value.push(o))}),M.arr.unshift({subregionCode:"370211",subregionName:"\u5168\u90E8"});let l=[...e.data],a=[];l.splice(0,1),l.forEach(o=>{a.push(o.subregionCode)}),[...Object.values(a)],oe(M.arr),re()})},Le=(t,e)=>{ze({divisions:t,yearMonth:e}).then(l=>{z.value=[],l.data.forEach(a=>{a.wasteland>0&&z.value.push(a)}),oe(),re()})},Ce=(t,e)=>{yt({divisions:t,yearMonth:e}).then(l=>{})},Be=()=>{x.value=="370211"?xe(w.value.name):x.value&&Le(x.value,w.value.name)},Oe=t=>{w.value=t};function oe(){const t=ge(R.value);z.value.sort((s,h)=>h.wasteland-s.wasteland);var e=[],l=[];z.value.forEach(s=>{e.push(s.subregionName),l.push(Number(s.wasteland).toFixed(2))});let a=3/z.value.length*100;var o={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!0,top:"10",right:"5%",textStyle:{color:"rgba(153, 153, 153, 1)"},itemWidth:20,itemHeight:12.5,icon:"rect",backgroundColor:"transparent"},dataZoom:[{type:"slider",width:"40%",zoomLock:!0,top:"90%",start:0,end:a,show:!1,showDataShadow:!1,showDetail:!1,fillerColor:"rgba(64, 158, 255)",borderRadius:"50%",moveHandleSize:0,moveHandleStyle:{},left:"35%",height:12,handleSize:"80%",handleIcon:"path://M512,512m-448,0a448,448,0,1,0,896,0a448,448,0,1,0,-896,0Z",handleStyle:{borderWidth:0,color:"rgba(64, 158, 255)"}},{type:"inside"}],grid:{left:"5%",right:"5%",bottom:"9%",top:"10%",containLabel:!0},xAxis:{data:e,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(153, 153, 153, 1)"}}},yAxis:{name:"\u9762\u79EF(\u4EA9)",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(153, 153, 153, 1)",fontSize:14}}},series:[{name:"\u9762\u79EF(\u4EA9)",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 ft(0,0,0,1,[{offset:0,color:"rgba(106, 137, 226, 1)"},{offset:.7,color:"rgba(106, 137, 226, 1)"},{offset:1,color:"rgba(106, 137, 226, 0.05)"}])}},label:{show:!0,position:"top",textStyle:{color:"#ffffff"}},data:l,z:0}]};ue(t,o),pe().listenTo(R.value,()=>{se(()=>{t.resize()})})}function re(){const t=ge(U.value);let e=z.value,l=0;e.forEach(u=>{u.name=u.subregionName,u.value=Number(u.wasteland).toFixed(2),l+=u.wasteland});let a={color:["rgba(49, 235, 7, 1)","rgba(84, 170, 255, 1)","rgba(255, 251, 0, 1)","rgba(255, 168, 8, 1)","rgba(255, 0, 255, 1)"],title:{text:"\u6482\u8352\u8015\u5730\u603B\u9762\u79EF",subtext:`${l.toFixed(2)}\u4EA9`,textStyle:{color:"rgba(51, 51, 51, 1)",fontSize:14},subtextStyle:{fontSize:14,color:["#ff9d19"]},x:"center",y:"center"},grid:{top:0},tooltip:{trigger:"item",axisPointer:{type:"shadow"},formatter:"{a} <br/>{b} : {c}\u4EA9 <br/>\u767E\u5206\u6BD4 : {d}%"},series:[{radius:["50%","71%"],center:["50%","50%"],type:"pie",label:{normal:{show:!1}},labelLine:{normal:{show:!1}},name:"\u6482\u8352\u8015\u5730\u9762\u79EF\u5360\u6BD4",data:e},{radius:["50%","54%"],center:["50%","50%"],type:"pie",label:{normal:{show:!1},emphasis:{show:!1}},labelLine:{normal:{show:!1},emphasis:{show:!1}},animation:!1,tooltip:{show:!1},data:[{value:1,itemStyle:{color:"rgba(250,250,250,0.3)"}}]}]};ue(t,a),pe().listenTo(U.value,()=>{se(()=>{t.resize()})})}function ke(){const t=ge(te.value);let e=[],l=[];ve.value.forEach(s=>{e.push(s.subregionName),l.push(s.wasteland)});let a=3/e.length*100,o={tooltip:{trigger:"axis",formatter:function(s,h,v){for(var f=s[0].name,d=0,n=s.length;d<n;d++)s[d].seriesType==="line"?f+="<br/>"+s[d].seriesName+" : "+(s[d].value?s[d].value:"-")+"h":f+="<br/>"+s[d].seriesName+" : "+(s[d].value?s[d].value:"-");return f}},grid:{top:"15%",bottom:"15%",left:"15%",right:"10%"},dataZoom:[{show:!1,type:"slider",width:"40%",zoomLock:!1,top:"90%",start:0,end:a,showDataShadow:!1,showDetail:!1,fillerColor:"rgba(64, 158, 255)",borderRadius:"50%",moveHandleSize:0,moveHandleStyle:{},left:"35%",height:12,handleSize:"80%",handleIcon:"path://M512,512m-448,0a448,448,0,1,0,896,0a448,448,0,1,0,-896,0Z",handleStyle:{borderWidth:0,color:"rgba(64, 158, 255)"}},{type:"inside"}],xAxis:[{type:"category",nameTextStyle:{fontSize:12},axisLabel:{interval:0,formatter:function(s){var h="",v=5,f=s.length,d=Math.ceil(f/v);if(d>1){for(var n=0;n<d;n++){var y="",g=n*v,b=g+v;y=s.substring(g,b)+`
|
|
`,h+=y}return h}else return s}},splitLine:{show:!1},axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}},axisPointer:{type:"shadow"},data:e}],yAxis:[{type:"value",name:"\u9762\u79EF(\u4EA9)",splitLine:{show:!0},nameTextStyle:{fontSize:12},axisLabel:{fontSize:14,relativeSize:-2,formatter:"{value}"},axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}},splitLine:{lineStyle:{type:"dashed",color:"rgba(153, 153, 153, 1)"}},min:0,position:"top"}],series:[{name:"\u9762\u79EF(\u4EA9)",type:"bar",barWidth:"10%",yAxisIndex:0,data:l,itemStyle:{normal:{barBorderRadius:2,color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(64, 192, 87, 0.5)"},{offset:1,color:"rgba(64, 192, 87, 0.2)"}],global:!1},shadowColor:"rgba(255, 255, 255, 0.5)",shadowBlur:10}}}]};o&&t.setOption(o,{notMerge:!0,grid:{bottom:20}}),ue(t,o),pe().listenTo(te.value,()=>{se(()=>{t.resize()})})}return(t,e)=>{const l=A("el-option"),a=A("el-select"),o=A("el-icon"),u=A("el-tooltip"),s=A("el-checkbox"),h=A("el-checkbox-group"),v=A("el-collapse-item"),f=A("el-collapse"),d=A("el-button");return S(),D("div",_t,[wt,r("div",St,[r("div",xt,[r("div",{class:Ae(p(P)?"tabarS":""),onClick:e[0]||(e[0]=n=>be(!0))},"\u884C\u653F\u533A\u5212",2),r("div",{class:Ae(p(P)?"":"tabarS"),onClick:e[1]||(e[1]=n=>be(!1))}," \u9AD8\u6807\u51C6\u519C\u7530 ",2)]),O(r("div",Lt,[r("div",Ct,[kt,At,r("p",{onClick:e[2]||(e[2]=n=>Ie())},[F(" \u4E0B\u8F7D \xA0 "),zt])]),p(j)?(S(),E(a,{key:0,"popper-class":"select_city",modelValue:x.value,"onUpdate:modelValue":e[3]||(e[3]=n=>x.value=n),clearable:"",placeholder:"\u5168\u90E8"},{default:C(()=>[(S(!0),D(ie,null,de(p(M).arr,n=>(S(),E(l,{key:n.subregionCode,label:n.subregionName,value:n.subregionCode},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])):I("",!0),r("div",{ref_key:"ASdivisionDiv",ref:R,class:"ASdivision"},null,512)],512),[[H,p(P)]]),O(r("div",qt,[Dt,r("div",{ref_key:"typesofDiv",ref:U,class:"typesofDiv"},null,512)],512),[[H,p(P)]]),O(r("div",Et,[r("div",It,[Pt,jt,p(j)?(S(),D("p",{key:0,onClick:e[4]||(e[4]=n=>Ye())},[F(" \u4E0B\u8F7D \xA0 "),Ft])):I("",!0)]),O(r("div",{ref_key:"farmlandDiv",ref:te,class:"farmlandDiv"},null,512),[[H,p(j)]]),p(j)?I("",!0):(S(),D("div",Gt,Nt))],512),[[H,!p(P)]]),r("div",{class:"rightFoldDiv",onClick:e[5]||(e[5]=n=>We())},[Q(u,{disabled:!p(q),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:C(()=>[p(q)?(S(),E(o,{key:0},{default:C(()=>[Qt]),_:1})):I("",!0)]),_:1},8,["disabled"]),Q(u,{disabled:p(q),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:C(()=>[p(q)?I("",!0):(S(),E(o,{key:0},{default:C(()=>[Tt]),_:1}))]),_:1},8,["disabled"])])]),Q(f,{class:"legend",accordion:""},{default:C(()=>[Q(v,{name:"1"},{title:C(()=>[F("\u56FE\u4F8B")]),default:C(()=>[r("div",Wt,[Q(h,{modelValue:T.value,"onUpdate:modelValue":e[6]||(e[6]=n=>T.value=n),onChange:t.change},{default:C(()=>[(S(!0),D(ie,null,de(p(ae),(n,y,g)=>(S(),E(s,{key:g,"v-model":n.disabled,disabled:n.disabled,label:y},{default:C(()=>[r("span",{style:at({background:n.color,border:`1px solid ${n.color}`,width:"10px",height:"10px",display:"flex","margin-right":"5px"})},null,4),F(" "+X(y),1)]),_:2},1032,["v-model","disabled","label"]))),128))]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1}),r("div",Vt,[p(W).length>0?(S(),E(mt,{key:0,dataSource:p(W),onDataHandle:Oe,allCount:p(fe),onGetcurrentPage:Ve},null,8,["dataSource","allCount"])):I("",!0)]),$t,r("div",Jt,[Yt,r("div",Bt,[(S(!0),D(ie,null,de(p(Z),(n,y)=>(S(),D("div",{class:"perform",key:y},[r("div",Ot,[Ht,r("span",null,X(Number(n.wasteland).toFixed(2))+"(\u4EA9)",1)]),F(" \u2003 "),r("div",Xt,[Rt,r("span",null,X(p(K)[0].toFixed(6))+","+X(p(K)[1].toFixed(6)),1)])]))),128))]),Ut]),Ee.value?(S(),E(d,{key:0,class:"back_button",onClick:e[7]||(e[7]=n=>t.back())},{default:C(()=>[F("\u8FD4\u56DE")]),_:1})):I("",!0)])}}},ma=Ue(Zt,[["__scopeId","data-v-d3578a09"]]);export{ma as default};
|