Agriculture-front-end/dist/assets/index.7f510d4d.js

2 lines
50 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as a,u as e,r as n,a2 as t,x as o,ah as i,H as l,S as s,d as r,o as p,c as u,l as d,O as c,f as m,e as v,w as f,V as g,W as h,k as b,J as x,m as y,n as L,A as w,K as S,M as A,a8 as M,q as D,s as k}from"./index.e5c8b0d6.js";import T from"./downloads.e955445d.js";import{_ as C,a as I}from"./zhankaiss.6870329f.js";import{_ as E,a as B}from"./face.d3470a20.js";import{g as P,a as J,b as V,S as X,F as Z,c as O,C as H,T as F,R as G,V as Q,M as j,d as z,_ as K,L as Y,P as R,e as q,f as W}from"./Modify.2dbbb3e0.js";import"./index.2809c208.js";/* empty css */import{u as U}from"./useEcharts.31b48034.js";import"./linesGL.76a64914.js";import{d as N}from"./download.57166482.js";import{e as _}from"./element-resize-detector.d4d1cd8d.js";import{ai as $,aj as aa}from"./linkSeriesData.e74eae00.js";import"./index.030fe210.js";import"./browser-detector.d146ab9e.js";const ea="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAXCAYAAAAP6L+eAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAP2SURBVDiNjZUxbxxVEMd/M+/tru9ufcbGNrIEggIButDRIsU1EqIyBRUSUiQ6QIpSGn8D4AOQD5CGgoYuEYiSjpOgiIgIMuAoji9n+273vRmKs8+OnShMs6vVvt/MPP3nP8L/CHcEgJ2T59NiGz99FcGf/eMp8BS2DdxCWLsA3zsBbuHsnCXQZwH9SxQQBghX0eEtIjURiOxRsEcBs29DCNxG2T7rSi4C5y0PEPZR3kX4lcAS+jATVoqzMw9bfKWD7Y6xjUDmT4xrZHYgXGp7EwF0eERY6xCBgh4lL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maD3balMg1u/AH7+i47GHYiBq6UUhXmZ8HEUrpDxi785Rtfv+9+nq52/yb1/eD+opmfchek/2nh6lQTnHONnuY2AGdNEVQ5MQ3bwQ8fJpY47uxjfu3I17H5xZ88tX5fmnP1pyvXbXafnitOrLpub/kE3EDVAkMUosOimrDIL0m5vWbaVCn/RJcohiU8QYXhzrOL8P9S5GkIyS+ixDMulVWSY3Lb0/46+fvm3Pv3ioLssQpHWkiyq9ZRkoJVNigLGPr3sZ8c8oLg4pJsKoyJMqVHmqZpMkcSruz7QbRh9UWx/SwkQX4xhbtOkulgxXLamGzBzn5DUOiHKJzy+x25k0q5ohE7oouoiu18uUn5jb45XmxwH9e2ShaYbYEq67DfR8a1+s5T8toazkLpNetYSUU+AI4xwjky6WDIQnHblZTm4tFhSLxeTWYjGV68WsatqF092G7qolcX/9/OegK/DJupLHZCryVUuiZaCi55Juo9DxJv3B7ww0pPpDEnMc1sV6YdGz8nYTec3KAZC4IrHPwP4KRk3ieF35LeDLvieB1/OZ/gOh5x9VRnDXPwAAAABJRU5ErkJggg==",oa=a=>(D("data-v-ef41af63"),a=a(),k(),a),ia={class:"center"},la=oa((()=>d("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1))),sa={class:"rightWra"},ra={class:"rightTop"},pa=oa((()=>d("div",{class:"title"},[d("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}}),d("span",null,"位置定位")],-1))),ua={class:"depth"},da={class:"rightCenter"},ca={key:0,class:"zoning"},ma={key:1,class:"LonAndLat"},va={class:"LonAndLatDiv"},fa={class:"LonAndLatDiv"},ga={key:2,class:"LonAndLat"},ha={class:"LonDiv"},ba={class:"inputDiv"},xa={class:"LatDiv"},ya={class:"inputDiv"},La={class:"seach_button"},wa={class:"rightbottom"},Sa=oa((()=>d("div",{class:"title"},[d("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}}),d("span",null,"信息统计")],-1))),Aa=["id"],Ma={key:0,style:{width:"14px"},src:ea},Da={key:1,style:{width:"14px"},src:na},ka=["id"],Ta={key:0,style:{width:"14px"},src:ea},Ca={key:1,style:{width:"14px"},src:na},Ia=["id"],Ea={key:0,style:{width:"14px"},src:ea},Ba={key:1,style:{width:"14px"},src:na},Pa=["id"],Ja={key:0,style:{width:"14px"},src:ea},Va={key:1,style:{width:"14px"},src:na},Xa=["id"],Za={key:0,style:{width:"14px"},src:ea},Oa={key:1,style:{width:"14px"},src:na},Ha=["id"],Fa={key:0,style:{width:"14px"},src:ea},Ga={key:1,style:{width:"14px"},src:na},Qa={class:"chart_div"},ja={class:"chart_div_title"},za=oa((()=>d("img",{src:T,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1))),Ka={key:0,class:"Involution"},Ya=oa((()=>d("img",{src:ta},null,-1))),Ra={key:0},qa=oa((()=>d("img",{src:ta},null,-1))),Wa=oa((()=>d("img",{src:C},null,-1))),Ua=oa((()=>d("img",{src:I},null,-1))),Na={class:"tool"},_a=oa((()=>d("img",{src:E,alt:""},null,-1))),$a=oa((()=>d("img",{src:B,alt:""},null,-1))),ae=oa((()=>d("img",{src:K,alt:""},null,-1))),ee={class:"treeDiv"},ne=["id"],te={class:"farmlandTimeDivCenter"},oe={id:"popup",class:"ol-popup"},ie=oa((()=>d("div",{class:"pophead",style:{width:"100%"}},[d("div",{id:"popup-title",style:{"font-size":"20px","font-weight":"400","letter-spacing":"1px","line-height":"42px","padding-left":"20px","border-radius":"8px",margin:"20px",background:"rgba(100, 195, 164, 0.05)"}}),d("a",{href:"#",id:"popup-closer",class:"ol-popup-closer"})],-1))),le={id:"popup-background"},se=oa((()=>d("div",{id:"popup-content",style:{padding:"10px","font-size":"14px"}},null,-1))),re={id:"popup-pagination"},pe=a({__name:"index",setup(a){const D=e();n([]),n(!1);let k=n(!1),T=n(!1),C=n(""),I=n([]),E=n(""),B=n(!1);n(""),n("");let K=n({Lon:"",Lat:""}),ea=n({Lon:{londu:"",lonfen:"",lonmiao:""},Lat:{latdu:"",latfen:"",latmiao:""}});const na=n("null");let ta=n(null),oa=n([]),pe=n("2"),ue=n([]),de=n(1),ce=n([]);const me={children:"children",label:"label"};let ve=n(!0);n([]);let fe=n([]),ge=n([]),he=n([]),be=n("");n({});let xe=n(""),ye=n(""),Le=n("高标准农田");t((()=>ue.value),((a,e)=>{if(a.length>e.length){a.filter((a=>{if(e.findIndex((e=>e===a))<0)return a})).forEach((a=>{ke[a]?["土地确权","土地利用现状"].includes(a)?Qe(Te[a]):Ge(ke[a]):Ce[a]&&(["土地确权","土地利用现状"].includes(a)?Qe(Te[a]):Ge(Ce[a]))}))}else if(a.length<e.length){e.filter((e=>{if(a.findIndex((a=>a===e))<0)return e})).forEach((a=>{ke[a]?Ie.getLayers().getArray().forEach(((e,n)=>{e.A.name&&e.A.name==ke[a].name&&Ie.getLayers().removeAt(n)})):Ce[a]&&!["土地确权","土地利用现状"].includes(a)?Ie.getLayers().getArray().forEach(((e,n)=>{e.A.name&&e.A.name==Ce[a].name&&Ie.getLayers().removeAt(n)})):Te[a]&&Ie.getLayers().getArray().forEach(((e,n)=>{e.A.name&&e.A.name==Te[a].name&&Ie.getLayers().removeAt(n)}))}))}}));let we=n([]),Se=n(!1),Ae=n(!1);const Me=[{label:"高标准农田",children:[{label:"高标准农田"}]},{label:"永久基本农田",children:[{label:"永久基本农田"}]},{label:"耕地",children:[{label:"耕地"}]},{label:"粮食功能区",children:[{label:"片块信息"},{label:"地块信息"}]},{label:"土地确权",children:[{label:"土地确权"}]},{label:"土地利用现状",children:[{label:"土地利用现状"}]}];let De=n({2012:!0,2013:!0,2014:!0,2015:!0,2016:!0,2017:!0,2018:!0,2019:!0,2020:!0,2021:!0,2022:!0}),ke={2012:{setOf:"T2012@gaobiaozhunnongtianxk",name:"map-gaobiaozhunnongtianxk"},2013:{setOf:"T2013@gaobiaozhunnongtianxk",name:"map-gaobiaozhunnongtianxk"},2014:{setOf:"T2014@gaobiaozhunnongtianxk",name:"map-gaobiaozhunnongtianxk"},2015:{setOf:"T2015@gaobiaozhunnongtianxk",name:"map-gaobiaozhunnongtianxk"},2016:{setOf:"T2016@gaobiaozhunnongtianxk",name:"map-gaobiaozhunnongtianxk"},2017:{setOf:"T2017@gaobiaozhunnongtianxk",name:"map-gaobiaozhunnongtianxk"},2018:{setOf:"T2018@gaobiaozhunnongtianxk",name:"map-gaobiaozhunnongtianxk"},2019:{setOf:"T2019@gaobiaozhunnongtianxk",name:"map-gaobiaozhunnongtianxk"},2020:{setOf:"T2020@gaobiaozhunnongtianxk",name:"map-gaobiaozhunnongtianxk"},2021:{setOf:"T2021@gaobiaozhunnongtianxk",name:"map-gaobiaozhunnongtianxk"},2022:{setOf:"T2022@gaobiaozhunnongtianxk",name:"map-gaobiaozhunnongtianxk"}},Te={"土地确权":{name:"DK3702112022WGS84",setOf:"tudiquequanxk"},"土地利用现状":{name:"T2021DLTB",setOf:"sandiaoshujuWGS84"}},Ce={"永久基本农田":{setOf:"yongnongSanqusanxianWGS84@yongjiujibennongtianxk",name:"map-yongjiujibennongtianxk"},"耕地":{setOf:"gengbaoSanqusanxianWGS84@gengdibaohuxk",name:"map-gengdibaohuxk"},"片块信息":{setOf:"LQPK3702112019WGS84@liangqupiankuaixk",name:"map-liangqupiankuaixk"},"地块信息":{setOf:"LQDK3702112019WGS84@liangqudikuaixk",name:"map-liangqudikuaixk"},"土地确权":{setOf:"DK3702112022WGS84@tudiquequanxk",name:"map-tudiquequanxk"},"土地利用现状":{setOf:"T2021DLTB@sandiaoshujuWGS84",name:"map-sandiaoshujuWGS84"}};o((()=>{var a,e;a=document.querySelector(".center"),e=document.getElementById("cesiumContainer"),Ie=new ol.Map({target:"cesiumContainer",controls:[],view:new ol.View({center:[119.88661841637813,35.85667692242919],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})]}),He(),Fe(),Ie.on("moveend",(function(a){Ie.getView().getZoom()>=13?ta.setVisible(!0):ta.setVisible(!1)})),Ie.on("singleclick",(function(a){we=n([]);var e=a.coordinate,t=e[0],o=e[1],i=Ie.getView();Ie.getView().getZoom(),i.animate({center:[t,o],duration:1e3}),ue.value.forEach((e=>{Ce[e]?Je(a,Ce[e].setOf,`${serverAPI.geoserverUrl2}/${Ce[e].name}/rest/maps/${Ce[e].setOf}`,e):ke[e]&&Je(a,ke[e].setOf,`${serverAPI.geoserverUrl2}/${ke[e].name}/rest/maps/${ke[e].setOf}`,e)}))})),new ResizeObserver((function(a){a.forEach((function(a){var n=a.contentRect.width,t=a.contentRect.height;e.style.width=n+"px",e.style.height=t+"px",Ie.updateSize()}))})).observe(a),Ve(),We(),Re(),qe("高标准农田");var t=window.location.host;/^(([-\u4E00-\u9FA5a-z0-9]{1,63})\.)+([\u4E00-\u9FA5a-z]{2,63})\.?$/.test(t)&&(alert("请使用金宏网访问本页面!"),i().delView(D.currentRoute.value),D.go(-1)),document.querySelector(".rightWra").style.transform="translate(101%,0)",localStorage.setItem(D.currentRoute.value.path,!0)})),l((()=>{document.querySelector(".mode").style.display="none",window.document.querySelector("#screenfull").style.display="block"}));let Ie=n(null);n(null);let Ee=n(null),Be=n(null),Pe=n(null);function Je(a,e,t,o){var i=new ol.geom.Point(a.coordinate),l=new ol.supermap.QueryByGeometryParameters({queryParams:{name:e},geometry:i});let s=document.querySelector("#popup-title"),r=n(null);var p=n(1);function u(){var a=1*(p.value-1),e=a+1,n=we.value;let t=document.getElementById("popup-content");for(var o=a;o<e&&o<n.length;o++){var i=n[o];i.name>=2019?(s.innerHTML="高标准农田",t.innerHTML='<div class="content-children"><p>类型: <span>高标准农田</span></p><p>项目编号: <span>'+i.information.XMBH+"</span></p><p>项目面积: <span>"+i.information.XMMJ+"</span></p><p>地块面积: <span>"+i.information.DKMJ+"</span></p><p>标识码: <span>"+i.information.BSM+"</span></p><p>地块编号: <span>"+i.information.DKBH+"</span></p><p>项目年份: <span>"+i.information.XMNF+'</span></p><p id="P-id">项目名称: <span>'+i.information.XMMC+"</span></p></div>"):i.name>=2011&&i.name<=2018?(s.innerHTML="高标准农田",t.innerHTML='<div class="content-children"><p>标识码: <span>'+i.information.BSM+"</span></p><p>地块面积: <span>"+i.information.DIKUAIAREA+"</span></p><p>地块用途/类型: <span>"+i.information.DLBM+"</span></p><p>项目编号: <span>"+i.information.XMBH+'</span></p><p id="P-id">项目名称:<span>'+i.information.XMMC+"</span></p></div>"):"永久基本农田"==i.name?(s.innerHTML="永久基本农田",t.innerHTML='<div class="content-children"><p>类型: <span>'+i.name+"</span></p><p>地类名称: <span>"+i.information.DLMC+"</span></p><p>权属性质: <span>"+i.information.QSXZ+"</span></p><p>权属单位名称: <span>"+i.information.QSDWMC+"</span></p><p>坐落单位名称: <span>"+i.information.ZLDWMC+"</span></p><p>扣除地类编码: <span>"+i.information.KCDLBM+"</span></p><p>扣除系数: <span>"+i.information.KCXS+"</span></p><p>扣除面积: <span>"+i.information.KCMJ+"</span></p><p>耕地类型: <span>"+i.information.GDLX+"</span></p><p>耕地坡度级别: <span>"+i.information.GDPDJB+"</span></p><p>种植属性代码: <span>"+i.information.ZZSXDM+"</span></p><p>种植属性名称: <span>"+i.information.ZZSXMC+"</span></p><p>耕地等级: <span>"+i.information.GDDJ+"</span></p><p>数据年份: <span>"+i.information.SJNF+"</span></p><p>保护开始时间: <span>"+i.information.BHKSSJ+"</span></p><p>永久基本农田面积: <span>"+(i.information.YJJBNTMJ_Y/666).toFixed(2)+"(亩)</span></p></div>"):"耕地"==i.name?(s.innerHTML="耕地",t.innerHTML='<div class="content-children"><p>类型: <span>'+i.name+"</span></p><p>地类名称: <span>"+i.information.DLMC+"</span></p><p>权属单位名称: <span>"+i.information.QSDWMC+"</span></p><p>坐落单位名称: <span>"+i.information.ZLDWMC+"</span></p><p>扣除地类编码: <span>"+i.information.KCDLBM+"</span></p><p>扣除系数: <span>"+i.information.KCXS+"</span></p><p>扣除面积: <span>"+i.information.KCMJ+"</span></p><p>耕地类型: <span>"+i.information.GDLX+"</span></p><p>耕地坡度级别: <span>"+i.information.GDPDJB+"</span></p><p>种植属性代码: <span>"+i.information.ZZSXDM+"</span></p><p>种植属性名称: <span>"+i.information.ZZSXMC+"</span></p><p>数据年份: <span>"+i.information.SJNF+"</span></p><p>图斑面积: <span>"+(i.information.TBMJ_YS/666).toFixed(2)+"(亩)</span></p><p>图斑地类面积: <span>"+(i.information.TBDLMJ_YS/666).toFixed(2)+"(亩)</span></p></div>"):"片块信息"==i.name?(s.innerHTML="片块信息",t.innerHTML='<div class="content-children"><p>类型: <span>'+i.name+"</span></p><p>标识码: <span>"+i.information.BSM+"</span></p><p>要素代码: <span>"+i.information.YSDM+"</span></p><p>两区代码: <span>"+i.information.LQDM+"</span></p><p>两区片块代码: <span>"+i.information.LQPKDM+"</span></p><p>两区片块面积(亩): <span>"+i.information.LQPKMJM+"</span></p><p>片块类型: <span>"+i.information.PKLX+"</span></p></div>"):"地块信息"==i.name?(s.innerHTML="地块信息",t.innerHTML='<div class="content-children"><p>类型: <span>'+i.name+"</span></p><p>标识码: <span>"+i.information.BSM+"</span></p><p>要素代码: <span>"+i.information.YSDM+"</span></p><p>两区片块代码: <span>"+i.information.LQPKDM+"</span></p><p>两区类型: <span>"+i.information.LQLX+"</span></p><p>区域划分类型: <span>"+i.information.QYHFLX+"</span></p><p>两区地块代码: <span>"+i.information.LQDKDM+"</span></p><p>两区地块名称: <span>"+i.information.LQDKMC+"</span></p><p>两区地块面积(亩): <span>"+i.information.LQDKMJM+"</span></p><p>飞入地标识: <span>"+i.information.FRDBS+"</span></p><p>坡度级别: <span>"+i.information.PDJB+"</span></p><p>是否高标准农田: <span>"+i.information.SFGBZNT+"</span></p><p>经营主体类型: <span>"+i.information.JYZTLX+"</span></p></div>"):"土地确权"==i.name?(s.innerHTML="土地确权",B.value=!0,P({dkbm:i.information.DKBM}).then((a=>{let e=[];a.data[0].cbdkxxes.forEach((a=>{e.push(a.cyxm)})),t.innerHTML='<div class="content-children"><p>类型: <span>'+i.name+"</span></p><p>要素代码: <span>"+i.information.YSDM+"</span></p><p>地块编码: <span>"+i.information.DKBM+"</span></p><p>地块名称: <span>"+i.information.DKMC+"</span></p><p>所有权性质: <span>"+i.information.SYQXZ+"</span></p><p>地块类别:<span>"+i.information.DKLB+"</span></p><p>土地利用类型: <span>"+i.information.TDLYLX+"</span></p><p>地力等级: <span>"+i.information.DLDJ+"</span></p><p>土地用途: <span>"+i.information.TDYT+"</span></p><p>是否基本农田: <span>"+i.information.SFJBNT+"</span></p><p>实测面积亩: <span>"+(i.information.SCMJ/666).toFixed(2)+"</span></p><p>承包方: <span>"+a.data[0].cbfmc+"</span></p><p>承包方家庭成员:<span>"+e.join(",")+"</span></p></div>",B.value=!1}))):"土地利用现状"==i.name&&(s.innerHTML="土地利用现状",t.innerHTML='<div class="content-children"><p>标识码: <span>'+i.information.BSM+"</span></p><p>地类名称: <span>"+i.information.DLMC+"</span></p><p>图斑面积: <span>"+(i.information.TBMJ/666).toFixed(2)+"(亩)</span></p><p>坐落单位名称: <span>"+i.information.ZLDWMC+"</span></p><p>权属性质: <span>"+i.information.QSXZ+"</span></p><p>权属单位名称: <span>"+i.information.QSDWMC+"</span></p><p>耕地坡度级别: <span>"+i.information.GDPDJB+"</span></p><p>飞入地标识: <span>"+i.information.FRDBS+"</span></p><p>种植类型: <span>"+i.information.ZZSXMC+"</span></p></div>")}}new ol.supermap.QueryService(t).queryByGeometry(l,(function(a){if(a.result.currentCount>0){we.value.push({name:o,information:a.result.recordsets[0].features.features[0].properties}),we.value.length>1?Se.value=!0:Se.value=!1,a.result.recordsets[0].features&&(Pe.setPosition(i.flatCoordinates),we.value[0].name>=2019?(s.innerHTML="高标准农田",Ee.innerHTML='<div class="content-children"><p id="P-id">项目名称: <span>'+we.value[0].information.XMMC+"</span></p><p>项目编号: <span>"+we.value[0].information.XMBH+"</span></p><p>项目面积: <span>"+we.value[0].information.XMMJ+"</span></p><p>地块面积: <span>"+we.value[0].information.DKMJ+"</span></p><p>标识码: <span>"+we.value[0].information.BSM+"</span></p><p>地块编号: <span>"+we.value[0].information.DKBH+"</span></p><p>项目年份: <span>"+we.value[0].information.XMNF+"</span></p></div>"):we.value[0].name>=2011&&we.value[0].name<=2018?(s.innerHTML="高标准农田",Ee.innerHTML='<div class="content-children"><p id="P-id">项目名称:<span>'+we.value[0].information.XMMC+"</span></p><p>标识码: <span>"+we.value[0].information.BSM+"</span></p><p>地块面积: <span>"+we.value[0].information.DIKUAIAREA+"</span></p><p>地块用途/类型: <span>"+we.value[0].information.DLBM+"</span></p><p>项目编号: <span>"+we.value[0].information.XMBH+"</span></p></div>"):"永久基本农田"==we.value[0].name?(s.innerHTML="永久基本农田",Ee.innerHTML='<div class="content-children"><p>类型: <span>'+we.value[0].name+"</span></p><p>地类名称: <span>"+we.value[0].information.DLMC+"</span></p><p>权属性质: <span>"+we.value[0].information.QSXZ+"</span></p><p>权属单位名称: <span>"+we.value[0].information.QSDWMC+"</span></p><p>坐落单位名称: <span>"+we.value[0].information.ZLDWMC+"</span></p><p>扣除地类编码: <span>"+we.value[0].information.KCDLBM+"</span></p><p>扣除系数: <span>"+we.value[0].information.KCXS+"</span></p><p>扣除面积: <span>"+we.value[0].information.KCMJ+"</span></p><p>耕地类型: <span>"+we.value[0].information.GDLX+"</span></p><p>耕地坡度级别: <span>"+we.value[0].information.GDPDJB+"</span></p><p>种植属性代码: <span>"+we.value[0].information.ZZSXDM+"</span></p><p>种植属性名称: <span>"+we.value[0].information.ZZSXMC+"</span></p><p>耕地等级: <span>"+we.value[0].information.GDDJ+"</span></p><p>数据年份: <span>"+we.value[0].information.SJNF+"</span></p><p>保护开始时间: <span>"+we.value[0].information.BHKSSJ+"</span></p><p>永久基本农田面积: <span>"+(we.value[0].information.YJJBNTMJ_Y/666).toFixed(2)+"(亩)</span></p></div>"):"耕地"==we.value[0].name?(s.innerHTML="耕地",Ee.innerHTML='<div class="content-children"><p>地类名称: <span>'+we.value[0].information.DLMC+"</span></p><p>权属单位名称: <span>"+we.value[0].information.QSDWMC+"</span></p><p>坐落单位名称: <span>"+we.value[0].information.ZLDWMC+"</span></p><p>扣除地类编码: <span>"+we.value[0].information.KCDLBM+"</span></p><p>扣除系数: <span>"+we.value[0].information.KCXS+"</span></p><p>扣除面积: <span>"+we.value[0].information.KCMJ+"</span></p><p>耕地类型: <span>"+we.value[0].information.GDLX+"</span></p><p>耕地坡度级别: <span>"+we.value[0].information.GDPDJB+"</span></p><p>种植属性代码: <span>"+we.value[0].information.ZZSXDM+"</span></p><p>种植属性名称: <span>"+we.value[0].information.ZZSXMC+"</span></p><p>数据年份: <span>"+we.value[0].information.SJNF+"</span></p><p>图斑面积: <span>"+(we.value[0].information.TBMJ_YS/666).toFixed(2)+"(亩)</span></p><p>图斑地类面积: <span>"+(we.value[0].information.TBDLMJ_YS/666).toFixed(2)+"(亩)</span></p></div>"):"片块信息"==we.value[0].name?(s.innerHTML="片块信息",Ee.innerHTML='<div class="content-children"><p>标识码: <span>'+we.value[0].information.BSM+"</span></p><p>要素代码: <span>"+we.value[0].information.YSDM+"</span></p><p>两区代码: <span>"+we.value[0].information.LQDM+"</span></p><p>两区片块代码: <span>"+we.value[0].information.LQPKDM+"</span></p><p>两区片块面积(亩): <span>"+we.value[0].information.LQPKMJM+"</span></p><p>片块类型: <span>"+we.value[0].information.PKLX+"</span></p></div>"):"地块信息"==we.value[0].name?(s.innerHTML="地块信息",Ee.innerHTML='<div class="content-children"><p>标识码: <span>'+we.value[0].information.BSM+"</span></p><p>要素代码: <span>"+we.value[0].information.YSDM+"</span></p><p>两区片块代码: <span>"+we.value[0].information.LQPKDM+"</span></p><p>两区类型: <span>"+we.value[0].information.LQLX+"</span></p><p>区域划分类型: <span>"+we.value[0].information.QYHFLX+"</span></p><p>两区地块代码: <span>"+we.value[0].information.LQDKDM+"</span></p><p>两区地块面积(亩): <span>"+we.value[0].information.LQDKMJM+"</span></p><p>飞入地标识: <span>"+we.value[0].information.FRDBS+"</span></p><p>坡度级别: <span>"+we.value[0].information.PDJB+"</span></p><p>是否高标准农田: <span>"+we.value[0].information.SFGBZNT+"</span></p><p>经营主体类型: <span>"+we.value[0].information.JYZTLX+"</span></p></div>"):"土地确权"==we.value[0].name?(s.innerHTML="土地确权",B.value=!0,P({dkbm:we.value[0].information.DKBM}).then((a=>{let e=[];a.data[0].cbdkxxes.forEach((a=>{e.push(a.cyxm)})),Ee.innerHTML='<div class="content-children"><p>要素代码: <span>'+we.value[0].information.YSDM+"</span></p><p>地块编码: <span>"+we.value[0].information.DKBM+"</span></p><p>地块名称: <span>"+we.value[0].information.DKMC+"</span></p><p>所有权性质: <span>"+we.value[0].information.SYQXZ+"</span></p><p>地块类别:<span>"+we.value[0].information.DKLB+"</span></p><p>土地利用类型: <span>"+we.value[0].information.TDLYLX+"</span></p><p>地力等级: <span>"+we.value[0].information.DLDJ+"</span></p><p>土地用途: <span>"+we.value[0].information.TDYT+"</span></p><p>是否基本农田: <span>"+we.value[0].information.SFJBNT+"</span></p><p>实测面积亩: <span>"+(we.value[0].information.SCMJ/666).toFixed(2)+"</span></p><p>承包方: <span>"+a.data[0].cbfmc+"</span></p><p>承包方家庭成员:<span>"+e.join(",")+"</span></p></div>",B.value=!1}))):"土地利用现状"==we.value[0].name&&(s.innerHTML="土地利用现状",Ee.innerHTML='<div class="content-children"><p>标识码: <span>'+we.value[0].information.BSM+"</span></p><p>地类名称: <span>"+we.value[0].information.DLMC+"</span></p><p>图斑面积: <span>"+(we.value[0].information.TBMJ/666).toFixed(2)+"(亩)</span></p><p>坐落单位名称: <span>"+we.value[0].information.ZLDWMC+"</span></p><p>权属性质: <span>"+we.value[0].information.QSXZ+"</span></p><p>权属单位名称: <span>"+we.value[0].information.QSDWMC+"</span></p><p>耕地坡度级别: <span>"+we.value[0].information.GDPDJB+"</span></p><p>飞入地标识: <span>"+we.value[0].information.FRDBS+"</span></p><p>种植类型: <span>"+we.value[0].information.ZZSXMC+"</span></p></div>"));var e=Ie.getLayers().getArray().find((a=>"zhezhao"===a.get("id")));Ie.removeLayer(e),r=Ie.getLayers().getArray().find((a=>"dianjigaoliang"===a.get("id"))),Ie.removeLayer(r);var n=(new ol.format.GeoJSON).readFeatures(a.result.recordsets[0].features),t=new ol.source.Vector;t.addFeatures(n);const p=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(255, 219, 113, 1.0)",width:5})});var l=new ol.layer.Vector({id:"dianjigaoliang",source:t,zIndex:9999});l.setStyle(p),Ie.addLayer(l)}})),Be.addEventListener("click",(function(){r=Ie.getLayers().getArray().find((a=>"dianjigaoliang"===a.get("id"))),Ie.removeLayer(r),Pe.setPosition(void 0)})),document.getElementById("popup-prev").addEventListener("click",(function(){p.value>1&&(p.value--,u(),p.value<=1&&(Ae.value=!1))})),document.getElementById("popup-next").addEventListener("click",(function(a){var e=we.value.length,n=Math.ceil(e/1);p.value<n&&(p.value++,u(),p.value==n&&(Ae.value=!0))}))}const Ve=()=>{document.getElementById("popup"),Ee=document.getElementById("popup-content"),Be=document.getElementById("popup-closer"),Pe=new ol.Overlay({element:document.getElementById("popup"),positioning:"bottom-center",stopEvent:!0,offset:[0,-10]}),Ie.addOverlay(Pe)};function Xe(a,e){Ie.getView().animate({center:[a,e],duration:1e3,zoom:17})}function Ze(a){let e="",n="",t="",o="",i="";!a.villageValue&&a.value?(n=`${serverAPI.geoserverUrl2}/data-liangquhuadingWGS84/rest/data`,e=a.value,t="XJQY3702112019WGS84",o="liangquhuadingWGS84",i="XJQYMC"):a.value&&a.villageValue&&(n=`${serverAPI.geoserverUrl2}/data-liangquhuadingWGS84/rest/data`,e=a.villageValue,t="CJQY3702112019WGS84",o="liangquhuadingWGS84",i="CJQYMC");var l=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:`${t}@${o}`,attributeFilter:`${i} like '%${e}%'`},datasetNames:[`${o}:${t}`]});new ol.supermap.FeatureService(n).getFeaturesBySQL(l,(function(a){if(0!=a.result.featureCount){var e=Ie.getLayers().getArray().find((a=>"zhezhao"===a.get("id")));Ie.removeLayer(e);var n=Ie.getLayers().getArray().find((a=>"dianjigaoliang"===a.get("id")));Ie.removeLayer(n);var t=(new ol.format.GeoJSON).readFeatures(a.result.features),o=new ol.source.Vector;o.addFeatures(t);const l=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:2})});var i=new ol.layer.Vector({id:"dianjigaoliang",source:o});i.setStyle(l),Ie.addLayer(i),Ie.getView().fit(o.getExtent())}}))}function Oe(a,e){const n=[];n.push(a.Lon),n.push(a.Lat),function(a,e,n){var t=new ol.geom.Point(a),o=new ol.supermap.QueryByGeometryParameters({queryParams:{name:e},geometry:t});new ol.supermap.QueryService(n).queryByGeometry(o,(function(e){if(e.result.currentCount>0){var n=Ie.getLayers().getArray().find((a=>"zhezhao"===a.get("id")));Ie.removeLayer(n);var t=Ie.getLayers().getArray().find((a=>"dianjigaoliang"===a.get("id")));Ie.removeLayer(t);var o=(new ol.format.GeoJSON).readFeatures(e.result.recordsets[0].features),i=new ol.source.Vector;i.addFeatures(o);const a=new ol.style.Style({fill:new ol.style.Fill({color:"rgba(0, 255, 0, 0.1)"}),stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:2})});var l=new ol.layer.Vector({id:"dianjigaoliang",source:i});l.setStyle(a),Ie.addLayer(l),Ie.getView().fit(i.getExtent())}else Xe(a[0],a[1])}))}(n,e.setOf,`${serverAPI.geoserverUrl2}/${e.name}/rest/maps/${e.setOf}`)}const He=()=>{ta=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl2+"/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie",cacheEnabled:!1}),name:"CJQY3702112019WGS84",projection:"EPSG:4326",zIndex:9999}),Ie.addLayer(ta)},Fe=()=>{var a=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl2+"/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie",cacheEnabled:!1}),name:"XJQY3702112019WGS84",projection:"EPSG:4326",zIndex:9999});Ie.addLayer(a)},Ge=a=>{let e=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:`${serverAPI.geoserverUrl2}/${a.name}/rest/maps/${a.setOf}`,cacheEnabled:!1}),name:a.name,projection:"EPSG:4326",zIndex:"map-liangqudikuaixk"==a.name?9998:999});Ie.addLayer(e)},Qe=a=>{let e=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl2+`/map-ugcv5-${a.name}${a.setOf}/rest/maps/${a.name}@${a.setOf}`,cacheEnabled:!1}),name:a.name,projection:"EPSG:4326"});Ie.addLayer(e)};n({label:[]});const je=(a,e)=>{let t=!1;if(oa.value.forEach(((e,n)=>{if(a.label==e)oa.value.splice(n,1),t=!0;else if("高标准农田"==a.label)for(const a in ke)-1!==oa.value.indexOf(a)&&(oa.value.splice(oa.value.indexOf(a),1),t=!0,ce.value=[])})),!t)if("高标准农田"==a.label)for(const n in ke)oa.value.push(n);else for(const n in Ce)a.label==n&&oa.value.push(n);"高标准农田"==a.label&&(ve.value=!ve.value,De=ve.value?n({2012:!1,2013:!1,2014:!1,2015:!1,2016:!1,2017:!1,2018:!1,2019:!1,2020:!1,2021:!1,2022:!1}):n({2012:!0,2013:!0,2014:!0,2015:!0,2016:!0,2017:!0,2018:!0,2019:!0,2020:!0,2021:!0,2022:!0})),ce.value.forEach((a=>{-1!==oa.value.indexOf(a)&&oa.value.splice(oa.value.indexOf(a),1)})),ue.value=JSON.parse(JSON.stringify(oa.value))},ze=(a,{node:e,data:n})=>{if(e.data.children)return a("span",{class:{gbz:!n.children}},e.label);switch(e.label){case"高标准农田":return a("span",{class:{gbz:!n.children},style:{"border-radius":"2px",background:" rgba(42, 167, 44, 1)",border:"2px solid rgba(254, 255, 181, 1)",padding:"5px 15px 5px 15px"}},e.label);case"永久基本农田":return a("span",{class:{yjjbnt:!n.children},style:{"border-radius":"2px",background:"rgba(242, 145, 61, 1)",border:"2px solid rgba(254, 255, 181, 1)",padding:"5px 15px 5px 15px"}},e.label);case"耕地":return a("span",{class:{gd:!n.children},style:{"border-radius":"2px",background:"rgba(242, 221, 61, 1)",border:"2px solid rgba(254, 255, 181, 1)",padding:"5px 15px 5px 15px"}},e.label);case"片块信息":return a("span",{class:{pkxx:!n.children},style:{"border-radius":"2px",background:"rgba(255, 151, 148, 1)",border:"2px solid rgba(254, 255, 181, 1)",padding:"5px 15px 5px 15px"}},e.label);case"地块信息":return a("span",{class:{dkxx:!n.children},style:{"border-radius":"2px",background:"rgba(114, 138, 223, 1)",border:"2px solid rgba(254, 255, 181, 1)",padding:"5px 15px 5px 15px"}},e.label);case"粮食功能区":return a("span",{class:{gbz:!n.children},style:{"border-radius":"2px",background:"rgba(242, 145, 61, 1)",border:"2px solid rgba(254, 255, 181, 1)",padding:"5px 15px 5px 15px"}},e.label);case"土地确权":return a("span",{class:{tdqq:!n.children},style:{"border-radius":"2px",background:"rgba(56, 192, 255, 1)",border:"2px solid rgba(254, 255, 181, 1)",padding:"5px 15px 5px 15px"}},e.label);case"土地利用现状":return a("span",{class:{gbz:!n.children},style:{"border-radius":"2px",background:"rgba(0,255,0)",border:"2px solid rgba(254, 255, 181, 1)",padding:"5px 15px 5px 15px"}},e.label)}},Ke=a=>{pe.value=a};function Ye(a,e,n){var t=0;null!=n&&""!==n&&(t=Number(n/60));var o=0;o=null!=e&&""!==e?(Number(e)+t)/60:t;return null!=a&&""!==a?(Number(a)+o).toFixed(6):o.toFixed(6)}const Re=()=>{J().then((a=>{he.value=a.data}))},qe=a=>{V({flag:a}).then((a=>{ye.value=a.data[a.data.length-1].zSum,xe.value=a.data[a.data.length-1].zQuantity,fe.value=a.data,function(){const a=$(na.value);let e=[],n=[],t=[],o=[{type:"bar",yAxisIndex:0,name:"面积(亩)",barWidth:"15",itemStyle:{normal:{color:new aa(0,0,0,1,[{offset:0,color:"rgba(255, 211, 81, 1)"},{offset:1,color:"rgba(255, 211, 81, 0)"}],!1),barBorderRadius:[100,100,0,0]}},renderItem:function(a,e){},data:n}];"1"==de.value?fe.value.forEach((a=>{-1==e.indexOf(a.year)&&(e.push(a.name),n.push(a.sum))})):"2"==de.value?fe.value.forEach((a=>{e.push(a.name),n.push(a.sum),t.push(a.quantity?a.quantity:0)})):("3"==de.value||"4"==de.value||"5"==de.value||"6"==de.value)&&(fe.value.forEach((a=>{e.push(a.name),n.push(a.sum),t.push(a.quantity?a.quantity:0)})),o.push({type:"bar",yAxisIndex:0,name:"数量(个)",barWidth:"15",itemStyle:{normal:{color:new aa(0,0,0,1,[{offset:0,color:"rgba(0, 209, 195, 0.8)"},{offset:1,color:"rgba(0, 209, 195, 0)"}],!1),barBorderRadius:[100,100,0,0]}},renderItem:function(a,e){},data:t}));let i=10/e.length*100;if(1==de.value){let e=function(a,e){const n=[];return a.forEach(((a,t)=>{const o=[];for(let e=0;e<t;e++)o.push("");a&&(o.push(a),n.push({name:e,type:"bar",xAxisIndex:t,barWidth:10,data:o}))})),n},n=[],t=[],o=[];fe.value.forEach((a=>{-1==n.indexOf(a.year)&&n.push(a.year)})),fe.value.forEach((a=>{let e=[];n.forEach(((n,t)=>{n==a.year?e.push(a.sum):e.push(void 0)})),t.push(e)})),t.forEach(((a,n)=>{o.push(...e(t[n],`${fe.value[n].name}`))}));let l={xAxis:n.map(((a,e)=>{const t=Array(n.length).fill("");return t[e]=a+"年",{type:"category",position:"bottom",data:t,axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}}}})),grid:{top:"10%",left:"5%",right:"5%",bottom:"0%",containLabel:!0},yAxis:{type:"value",axisLabel:{interval:0,color:"rgba(153, 153, 153, 1)"}},tooltip:{trigger:"axis",triggerOn:"click",enterable:!0,hideDelay:200,extraCssText:"max-width:200%;max-height:83%; overflow: auto;",axisPointer:{type:"shadow"},textStyle:{color:"#CFE3FC"},borderWidth:1,formatter:function(a){var e='<div class="aaa" style="height: auto;max-height: 240px;overflow-y: auto;">';return a.forEach((a=>{if(a.value>0){for(let n=0;n<fe.value.length;n++)fe.value[n].name==a.seriesName&&(e+=`<div style='height: auto;color:${a.color};border:1px solid${a.color};margin:5px 0;padding:5px'><div>${fe.value[n].name}:</div>\n 投资金额:${fe.value[n].quantity} 万元<br/>\n 面积:${fe.value[n].sum}\n </div>`);e+="</div>"}})),e}},dataZoom:[{type:"slider",width:"40%",zoomLock:!0,top:"78%",start:0,end:i/3,show:!0,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"}],series:o};window.document.querySelector(".Farmland_area").style.height="350px",l&&a.setOption(l,{notMerge:!0,grid:{bottom:20}}),U(a,l),_().listenTo(na.value,(()=>{s((()=>{a.resize()}))}))}else{var l={tooltip:{trigger:"axis",axisPointer:{type:"shadow"},backgroundColor:"rgba(9, 24, 48, 0.5)",borderColor:"rgba(75, 253, 238, 0.4)",textStyle:{color:"#CFE3FC"},borderWidth:1},grid:{left:"10px",right:"10px",top:"10px",bottom:"10px",containLabel:!0},toolbox:{show:!0,orient:"vertical",x:"right",y:"center"},dataZoom:[{type:"slider",width:"40%",zoomLock:!0,top:"90%",start:0,end:i/3,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"}],xAxis:[{type:"category",boundaryGap:!0,axisTick:{show:!1},data:e,axisLine:{lineStyle:{color:"rgba(120, 160, 236, 1)"}},axisLabel:{interval:0,color:"rgba(153, 153, 153, 1)",fontSize:14}}],yAxis:[{type:"value",axisTick:{show:!0},axisLine:{show:!0,lineStyle:{color:"rgba(120, 160, 236, 1)"},symbol:["none","arrow"],symbolSize:[5,12],symbolOffset:[0,10]},max:102,axisLabel:{interval:0,color:"rgba(153, 153, 153, 1)"},splitLine:{show:!1,lineStyle:{color:"rgba(39, 57, 75, 1)",width:1,type:"solid"}}}],series:o};window.document.querySelector(".Farmland_area").style.height="70%",l&&a.setOption(l,{notMerge:!0,grid:{bottom:20}}),U(a,l)}}()}))},We=a=>{J().then((a=>{ge.value=a.data}))},Ue=new X({fill:new Z({color:"rgba(255, 255, 255, 0.2)"}),stroke:new O({color:"rgba(255, 219, 113, 1.0)",lineDash:[10,10],width:2}),image:new H({radius:5,stroke:new O({color:"rgba(0, 0, 0, 0.7)"}),fill:new Z({color:"rgba(255, 255, 255, 0.2)"})})}),Ne=new X({text:new F({font:"12px Calibri,sans-serif",fill:new Z({color:"rgba(255, 255, 255, 1)"}),backgroundFill:new Z({color:"rgba(0, 0, 0, 0.4)"}),padding:[2,2,2,2],textBaseline:"bottom",offsetY:-12}),image:new G({radius:6,points:3,angle:Math.PI,displacement:[0,8],fill:new Z({color:"rgba(0, 0, 0, 0.4)"})})}),_e=new X({image:new H({radius:5,stroke:new O({color:"rgba(0, 0, 0, 0.7)"}),fill:new Z({color:"rgba(0, 0, 0, 0.4)"})}),text:new F({text:"Drag to modify",font:"12px Calibri,sans-serif",fill:new Z({color:"rgba(255, 255, 255, 1)"}),backgroundFill:new Z({color:"rgba(0, 0, 0, 0.7)"}),padding:[2,2,2,2],textAlign:"left",offsetX:15})}),$e=[Ne];var an,en,nn,tn;function on(){tn&&(Ie.removeLayer(tn),tn=null),en&&(Ie.removeInteraction(en),en=null),nn=null}function ln(){k.value=!k.value,on(),mn("length")}function sn(){k.value=!k.value,on(),mn("area")}function rn(){k.value=!k.value,on()}const pn=new X({text:new F({font:"12px Calibri,sans-serif",fill:new Z({color:"red"}),backgroundFill:new Z({color:"rgba(0, 0, 0, 0.4)"}),padding:[2,2,2,2],textAlign:"left",offsetX:15})}),un=new X({text:new F({font:"14px Calibri,sans-serif",fill:new Z({color:"rgba(255, 255, 255, 1)"}),backgroundFill:new Z({color:"rgba(0, 0, 0, 0.4)"}),padding:[3,3,3,3],textBaseline:"bottom",offsetY:-15}),image:new G({radius:8,points:3,angle:Math.PI,displacement:[0,10],fill:new Z({color:"rgba(0, 0, 0, 0.4)"})})});var dn=function(a){var e=q(a,{projection:Ie.getView().getProjection()});return e>1e3?Math.round(e/1e3*100)/100+" km":Math.round(100*e)/100+" m"};function cn(a,e,n,t){const o=[Ue],i=a.getGeometry(),l=i.getType();let s,r,p;var u;if(n&&n!==l||("Polygon"===l?(s=i.getInteriorPoint(),r=(u=W(i,{projection:Ie.getView().getProjection()}))>1e4?Math.round(u/1e6*100)/100+" km²":Math.round(100*u)/100+" m²",p=new Y(i.getCoordinates()[0])):"LineString"===l&&(s=new R(i.getLastCoordinate()),r=dn(i),p=i)),e&&p){let a=0;p.forEachSegment((function(e,n){const t=new Y([e,n]),i=dn(t);$e.length-1<a&&$e.push(Ne.clone());const l=new R(t.getCoordinateAt(.5));$e[a].setGeometry(l),$e[a].getText().setText(i),o.push($e[a]),a++}))}return r&&(un.setGeometry(s),un.getText().setText(r),o.push(un)),t&&"Point"===l&&!nn.getOverlay().getSource().getFeatures().length&&(an=i,pn.getText().setText(t),o.push(pn)),o}function mn(a){let e="area"===a?"Polygon":"LineString",n="请点击鼠标右键开始绘制",t=n,o=new Q;nn=new j({source:o,style:_e}),tn=new z({source:o,zIndex:9998,style:function(a){return cn(a,!0)}}),Ie.addLayer(tn),en=new ol.interaction.Draw({source:o,type:e,style:function(a){return cn(a,!0,e,t)},condition:function(a){return 2===a.originalEvent.buttons}}),Ie.addInteraction(en),en.on("drawstart",(function(a){o.clear(),nn.setActive(!1),t="双击右键结束绘制"}),this),en.on("drawend",(function(){_e.setGeometry(an),nn.setActive(!0),Ie.once("pointermove",(function(){_e.setGeometry()})),t=n}),this)}return(a,e)=>{const n=r("el-option"),t=r("el-select"),o=r("el-input"),i=r("el-button"),l=r("el-col"),s=r("el-row"),D=r("el-icon"),P=r("el-tooltip"),X=r("el-tree");return p(),u("div",ia,[la,d("div",sa,[d("div",ra,[pa,d("div",ua,[d("p",{class:c("2"==m(pe)?"SelectedDiv":""),onClick:e[0]||(e[0]=a=>Ke(2))},"行政区",2),d("p",{class:c("3"==m(pe)?"SelectedDiv":""),onClick:e[1]||(e[1]=a=>Ke(3))},"经纬度",2),d("p",{class:c("4"==m(pe)?"SelectedDiv":""),onClick:e[2]||(e[2]=a=>Ke(4))},"度分秒",2)]),d("div",da,["2"==m(pe)?(p(),u("div",ca,[v(t,{onChange:e[3]||(e[3]=a=>(he.value.forEach((a=>{a.cjqydm==E.value&&(be.value=a.cjqymc)})),void J({divisions:E.value}).then((a=>{I.value=a.data})))),"popper-class":"select_city",modelValue:m(E),"onUpdate:modelValue":e[4]||(e[4]=a=>x(E)?E.value=a:E=a),placeholder:"请选择镇"},{default:f((()=>[(p(!0),u(g,null,h(m(ge),(a=>(p(),b(n,{key:a.cjqydm,label:a.cjqymc,value:a.cjqydm},null,8,["label","value"])))),128))])),_:1},8,["modelValue"]),v(t,{"popper-class":"select_city",modelValue:m(C),"onUpdate:modelValue":e[5]||(e[5]=a=>x(C)?C.value=a:C=a),placeholder:"请选择村"},{default:f((()=>[(p(!0),u(g,null,h(m(I),(a=>(p(),b(n,{key:a.cjqydm,label:a.cjqymc,value:a.cjqymc},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])):y("",!0),"3"==m(pe)?(p(),u("div",ma,[d("div",va,[L(" 经度: "),v(o,{class:"seach_input",modelValue:m(K).Lon,"onUpdate:modelValue":e[6]||(e[6]=a=>m(K).Lon=a),placeholder:"请输入经度",clearable:""},null,8,["modelValue"])]),d("div",fa,[L(" 纬度: "),v(o,{class:"seach_input",modelValue:m(K).Lat,"onUpdate:modelValue":e[7]||(e[7]=a=>m(K).Lat=a),placeholder:"请输入纬度",clearable:""},null,8,["modelValue"])])])):y("",!0),"4"==m(pe)?(p(),u("div",ga,[d("div",ha,[L(" 经度: "),d("div",ba,[v(o,{class:"seach_input",modelValue:m(ea).Lon.londu,"onUpdate:modelValue":e[8]||(e[8]=a=>m(ea).Lon.londu=a),placeholder:"度",clearable:""},{append:f((()=>[L("°")])),_:1},8,["modelValue"]),v(o,{class:"seach_input",modelValue:m(ea).Lon.lonfen,"onUpdate:modelValue":e[9]||(e[9]=a=>m(ea).Lon.lonfen=a),placeholder:"分",clearable:""},{append:f((()=>[L("")])),_:1},8,["modelValue"]),v(o,{class:"seach_input",modelValue:m(ea).Lon.lonmiao,"onUpdate:modelValue":e[10]||(e[10]=a=>m(ea).Lon.lonmiao=a),placeholder:"秒",clearable:""},{append:f((()=>[L("″")])),_:1},8,["modelValue"])])]),d("div",xa,[L(" 纬度: "),d("div",ya,[v(o,{class:"seach_input",modelValue:m(ea).Lat.latdu,"onUpdate:modelValue":e[11]||(e[11]=a=>m(ea).Lat.latdu=a),placeholder:"度",clearable:""},{append:f((()=>[L("°")])),_:1},8,["modelValue"]),v(o,{class:"seach_input",modelValue:m(ea).Lat.latfen,"onUpdate:modelValue":e[12]||(e[12]=a=>m(ea).Lat.latfen=a),placeholder:"分",clearable:""},{append:f((()=>[L("")])),_:1},8,["modelValue"]),v(o,{class:"seach_input",modelValue:m(ea).Lat.latmiao,"onUpdate:modelValue":e[13]||(e[13]=a=>m(ea).Lat.latmiao=a),placeholder:"秒",clearable:""},{append:f((()=>[L("″")])),_:1},8,["modelValue"])])])])):y("",!0)]),d("div",La,[v(i,{class:"seach",onClick:e[14]||(e[14]=a=>{1==pe.value?Ze({villageValue:C.value,value:E.value}):2==pe.value?E.value.length<1?M.error("请选择正确的行政区划"):Ze({villageValue:C.value,value:be.value}):3==pe.value?K.value.Lon.length>0&&K.value.Lat.length>0?Xe(K.value.Lon,K.value.Lat):M.error("请输入经纬度"):4==pe.value&&(oa.value.lengt>0?oa.value.forEach((a=>{Ce[a]?Oe({Lon:Ye(ea.value.Lon.londu,ea.value.Lon.lonfen,ea.value.Lon.lonmiao),Lat:Ye(ea.value.Lat.latdu,ea.value.Lat.latfen,ea.value.Lat.latmiao)},Ce[a]):ke[a]&&Oe({Lon:Ye(ea.value.Lon.londu,ea.value.Lon.lonfen,ea.value.Lon.lonmiao),Lat:Ye(ea.value.Lat.latdu,ea.value.Lat.latfen,ea.value.Lat.latmiao)},ke[a])})):ea.value.Lon.londu.length>0&&ea.value.Lon.lonfen.length>0&&ea.value.Lon.lonmiao.length>0&&ea.value.Lat.latdu.length>0&&ea.value.Lat.latfen.length>0&&ea.value.Lat.latmiao.length>0?Xe(Ye(ea.value.Lon.londu,ea.value.Lon.lonfen,ea.value.Lon.lonmiao),Ye(ea.value.Lat.latdu,ea.value.Lat.latfen,ea.value.Lat.latmiao)):M.error("请输入经纬度"))})},{default:f((()=>[L("查询")])),_:1}),v(i,{class:"resetting",onClick:e[15]||(e[15]=a=>(()=>{C.value="",E.value="",K.value.Lon="",K.value.Lat="",ea.value.Lon.londu="",ea.value.Lon.lonfen="",ea.value.Lon.lonmiao="",ea.value.Lat.latdu="",ea.value.Lat.latfen="",ea.value.Lat.latmiao="";var a=Ie.getLayers().getArray().find((a=>"dianjigaoliang"===a.get("id")));Ie.removeLayer(a),Ie.getView().animate({center:["119.88661841637813","35.85667692242919"],duration:1e3,zoom:11})})())},{default:f((()=>[L("重置")])),_:1})])]),d("div",wa,[Sa,d("div",{class:"overview",onClick:e[16]||(e[16]=a=>(a=>{switch(a.target.innerText){case"高标准农田":de.value=1,Le.value="高标准农田",qe("高标准农田");break;case"永久基本农田":de.value=2,Le.value="永久基本农田",qe("永久基本农田");break;case"耕地":de.value=3,Le.value="耕地",qe("耕地");break;case"片块信息":de.value=4,Le.value="片块信息",qe("两区片块");break;case"地块信息":de.value=5,Le.value="地块信息",qe("两区地块");break;case"土地确权":de.value=6,Le.value="土地确权",qe("土地确权")}})(a))},[v(s,{gutter:10},{default:f((()=>[v(l,{span:8},{default:f((()=>[d("div",{id:1==m(de)?"overviewItemSelect":"",class:"overviewItem"},[1==m(de)?(p(),u("img",Ma)):y("",!0),L(" 高标准农田 "),1==m(de)?(p(),u("img",Da)):y("",!0)],8,Aa)])),_:1}),v(l,{span:8},{default:f((()=>[d("div",{id:2==m(de)?"overviewItemSelect":"",class:"overviewItem"},[2==m(de)?(p(),u("img",Ta)):y("",!0),L(" 永久基本农田 "),2==m(de)?(p(),u("img",Ca)):y("",!0)],8,ka)])),_:1}),v(l,{span:8},{default:f((()=>[d("div",{id:3==m(de)?"overviewItemSelect":"",class:"overviewItem"},[3==m(de)?(p(),u("img",Ea)):y("",!0),L(" 耕地 "),3==m(de)?(p(),u("img",Ba)):y("",!0)],8,Ia)])),_:1})])),_:1}),v(s,{gutter:10},{default:f((()=>[v(l,{span:8},{default:f((()=>[d("div",{id:4==m(de)?"overviewItemSelect":"",class:"overviewItem"},[4==m(de)?(p(),u("img",Ja)):y("",!0),L(" 片块信息 "),4==m(de)?(p(),u("img",Va)):y("",!0)],8,Pa)])),_:1}),v(l,{span:8},{default:f((()=>[d("div",{id:5==m(de)?"overviewItemSelect":"",class:"overviewItem"},[5==m(de)?(p(),u("img",Za)):y("",!0),L(" 地块信息 "),5==m(de)?(p(),u("img",Oa)):y("",!0)],8,Xa)])),_:1}),v(l,{span:8},{default:f((()=>[d("div",{id:6==m(de)?"overviewItemSelect":"",class:"overviewItem"},[6==m(de)?(p(),u("img",Fa)):y("",!0),L(" 土地确权 "),6==m(de)?(p(),u("img",Ga)):y("",!0)],8,Ha)])),_:1})])),_:1})]),d("div",Qa,[d("div",ja,[d("span",null,w(m(Le)),1),d("p",{onClick:e[17]||(e[17]=a=>(()=>{switch(de.value){case 1:V({flag:"高标准农田",whetherToDownload:!0}).then((a=>{N(a.data[a.data.length-1].downloadPath)}));break;case 2:V({flag:"永久基本农田",whetherToDownload:!0}).then((a=>{N(a.data[a.data.length-1].downloadPath)}));break;case 3:V({flag:"耕地",whetherToDownload:!0}).then((a=>{N(a.data[a.data.length-1].downloadPath)}));break;case 4:V({flag:"两区片块",whetherToDownload:!0}).then((a=>{N(a.data[a.data.length-1].downloadPath)}));break;case 5:V({flag:"两区地块",whetherToDownload:!0}).then((a=>{N(a.data[a.data.length-1].downloadPath)}));break;case 6:V({flag:"土地确权",whetherToDownload:!0}).then((a=>{N(a.data[a.data.length-1].downloadPath)}))}})())},[L(" 下载   "),za])]),1!==m(de)?(p(),u("div",Ka,[d("p",null,[Ya,L(" 总面积: "),d("span",null,w(m(ye)?m(ye):0)+" 亩",1)]),[3,4,5,6].includes(m(de))?(p(),u("p",Ra,[qa,L(" 总个数: "),d("span",null,w(m(xe)?m(xe):0),1)])):y("",!0)])):y("",!0),d("div",{ref_key:"Farmland_area",ref:na,class:"Farmland_area"},null,512)])]),d("div",{class:"rightFoldDiv",onClick:e[18]||(e[18]=a=>(T.value=!T.value,void(T.value?document.querySelector(".rightWra").style.transform="translate(0,0)":document.querySelector(".rightWra").style.transform="translate(101%,0)")))},[v(P,{disabled:!m(T),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"收起",placement:"top"},{default:f((()=>[m(T)?(p(),b(D,{key:0},{default:f((()=>[Wa])),_:1})):y("",!0)])),_:1},8,["disabled"]),v(P,{disabled:m(T),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"展开",placement:"top"},{default:f((()=>[m(T)?y("",!0):(p(),b(D,{key:0},{default:f((()=>[Ua])),_:1}))])),_:1},8,["disabled"])]),d("div",Na,[d("span",{onClick:ln},[v(P,{class:"box-item",disabled:m(k),"show-arrow":!1,"hide-after":"0","show-after":"200",effect:"dark",content:"测量线",placement:"left",offset:"1"},{default:f((()=>[_a])),_:1},8,["disabled"])]),d("span",{onClick:sn},[v(P,{class:"box-item",disabled:m(k),"show-arrow":!1,"hide-after":"0","show-after":"200",effect:"dark",content:"测量面",placement:"left",offset:"1"},{default:f((()=>[$a])),_:1},8,["disabled"])]),d("span",{onClick:rn},[v(P,{class:"box-item",disabled:m(k),"show-arrow":!1,"hide-after":"0","show-after":"200",effect:"dark",content:"清除",placement:"left",offset:"1"},{default:f((()=>[ae])),_:1},8,["disabled"])])])]),d("div",ee,[v(X,{props:me,data:Me,onCheck:je,"render-content":ze,"show-checkbox":""})]),d("div",{class:"farmlandTimeDiv",id:m(ve)?"appear":"",onClick:e[19]||(e[19]=a=>(a=>{let e=a.target.innerText;De.value[e]=!De.value[e],-1==ue.value.indexOf(e)?(ue.value.push(e),Ge(ke[e]),-1!==ce.value.indexOf(e)&&ce.value.splice(ce.value.indexOf(e),1)):(ce.value.push(e),ue.value.splice(ue.value.indexOf(e),1),Ie.getLayers().getArray().forEach(((a,n)=>{a.A.name&&a.A.source.options.url==`${serverAPI.geoserverUrl2}/${ke[e].name}/rest/maps/${ke[e].setOf}`&&Ie.getLayers().removeAt(n)})))})(a))},[d("div",te,[(p(!0),u(g,null,h(m(ke),((a,e)=>(p(),u("div",{class:c({flag:1==m(De)[e]}),key:a},w(e),3)))),128))])],8,ne),d("div",oe,[ie,d("div",le,[se,S(d("div",re,[v(i,{id:"popup-prev",disabled:!m(Ae)||m(B)},{default:f((()=>[L("上一层")])),_:1},8,["disabled"]),v(i,{id:"popup-next",disabled:m(Ae)||m(B)},{default:f((()=>[L("下一层")])),_:1},8,["disabled"])],512),[[A,m(Se)]])])])])}}},[["__scopeId","data-v-ef41af63"]]);export{pe as default};