Agriculture-front-end/dist/assets/index.cfddac40.js
2023-07-04 10:08:33 +08:00

13 lines
39 KiB
JavaScript

import{H as ce,_ as Te,r as g,U as Ce,V as Ve,a5 as Be,d as C,o as L,c as D,l as d,G as N,f as s,k as ae,g as k,B as Ie,m as y,e as v,w as h,L as Ee,N as Xe,x as qe,y as Fe,p as Pe,q as Je}from"./index.ae0c781d.js";import He from"./downloads.4cdbbcc5.js";import{_ as Ke,a as ze,b as Ge,c as Qe,d as Ze,e as Oe}from"./linesGL.97ae14ae.js";import{i as je,L as de}from"./index.c9f5bd8b.js";import{u as Ye}from"./useEcharts.dbdb546a.js";const G="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAXCAYAAAAP6L+eAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAP2SURBVDiNjZUxbxxVEMd/M+/tru9ufcbGNrIEggIButDRIsU1EqIyBRUSUiQ6QIpSGn8D4AOQD5CGgoYuEYiSjpOgiIgIMuAoji9n+273vRmKs8+OnShMs6vVvt/MPP3nP8L/CHcEgJ2T59NiGz99FcGf/eMp8BS2DdxCWLsA3zsBbuHsnCXQZwH9SxQQBghX0eEtIjURiOxRsEcBs29DCNxG2T7rSi4C5y0PEPZR3kX4lcAS+jATVoqzMw9bfKWD7Y6xjUDmT4xrZHYgXGp7EwF0eERY6xCBgh4lLJYdyvLIYtVOirLVouhrFaDSxdgILc4LwF/Axyd3PIduA7dR1lHuEgnEx3mxDJbLbtfitPWicUJZAQlzkexRmpxCW+t4ujuh3T8mDSDLuSuQJ6A1JU1dTqZpQRa8EvcquZd4EQAKaXOTpY2FTMx1knOYTNrxZLVPC6Qwr3YPGR4R0pi4uEAxTnVValqwYN3sXkeJPTepNVhXxRfMtRDREMgARiO21G/z7hhb/APTuZTWkEGNFEZAFmPIuZwm74h7t5RQ52xLLrak6x+8Ub311XXD+yreSxY7glfdrkXyYtgokeEyEueS+B1hGV1dRsGimpcpeKUaO5qsp8vvvFRufPieFP2tmZz0ZnZDI21KPvVIbLOHyQQdXIE5eLiMLHeQjYgcjTyEjofSPBrLvWrw+fsUL356XpqiXgb3xk0KvAhYDnVwaQqEe8ilATk4nOm0aREML9688dFF6EyfaHYUcUEvj/ocPNifjeJSD6fCy4C1QPPbjZvtP999Qjr6/sLZBGRHcqEYhpPFrcV5FX+i4o0a4xgz0ewuKao0nqWxv3+4fzz84tv04M51vP15JlGbaJAJTuuWWhfJ44yv9mcFylxuV080fJ9i5P0qTtNCqHJXsV6S2FP3LngleIyvffZ2e/frX1zk2NDDmNM4F2Hc8eKQdjQZHpPOKt7E+AnnAEs2St1emFqhx4YeWsqPs+uBqT4y1Ud275sfQ9ADMx1HSUeOTi1pSxhljvHBPh5FcHdOjceGkAdjeFg/ZqVc5GiaPZSWpMhTyV5iqItLk8WKSOutNjnrpFeFhkimxlg77xXM4TKEMIDAGuHgkCIUdVGLxcnEIgWKIqdeYa6pF0Lz0EZpZUw7hDzYIs1l8lTLfAXdzYTCCKt9AtO+js0CASHjtWqmGtmDEXl1SuIKmX8x7mCX9PeE0906S8AYpYNQow9GyGofp8F3G3yjxoZ72GANYxODC3KD2b46WS/OEOcamTGJNdrhMYl1mtXXmbJOw8szm4SZVbKJsXPCuTRRF6s/vR6YmRUnnZzG1snOO7fvnrtMn5rkOSEyg/8HfCwU8ZRvPMgAAAAASUVORK5CYII=",Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAXCAYAAAAP6L+eAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAQBSURBVDiNjZXPa11VEMc/M+ec+16S15TEJBJRC0WQvi79A9qN4MZlBF2ICxFcunIjtAVXroq4cuNSMItuXHXTgqV/gX1KsWIRDJg0aZKb9/LuPWfGxcvPpi3O5t7DZb5zZu58v18BcEc4jBsn3p+NaziAyOT5spAj0BsI14DVg/PiMwXWcVZwbhwXeVkBPQV6Fx1AoEcEIusk1klApEccrBK5gtJHAPHr6KluT934Oso14HsCb6BrhbDcQzdH6Hw6Ttps8flAYRvjMoV7OHMYA/x5IxJ3lLsoIwKFQJeEnIsUD0O3wBihg0+LFoIUwm4BMuuUAZT+IsZVjBunxyP+E2EAYW6KuNwl1dbrhFiSZK/EPRDRZgyVUDpJ2uFQc9HQnAu7DYXMRTL/ngUXvzOZ58YOqZt63RBKV8W6ufVuFTy1nsKkt7ZEkcZFxr4v424n7lPVDTXNKXAmwJGHyNpr6PIsYbhjSdU66jatGqeLeydoSQBeQtEg+43l/diRgGbqpkevW/van7A1IvdXcQbgDuGDj4kXZwhwrkqpdM19ulicUfWe4b2pSze/cO1s2N5vLUZMqoKbZxMXw1KcsnHT+IUpjPM4n0xmrP3LsLGP1sXDWIjZvJLoneI+LegMsfNuWnrvu+6lbz7UuXdeLcVnssapjHfUvAKLC9MoNcrD4y1SHiOakF5wwTzgKYiRongS9epofdLsSnrz0x86/a/fV+ZmKvFI5WG454GIrE0hg7mTwGcpI4hLcRR/zvf0yufp7S8/wvCmnQBt750lSeQCbn/gBHEcT4oVpIBP9vVk5OHP7ZPbt8rG7UcGVAErAT/fwYc19LeOCRIBFmbxeoTHIMUtt4i2GmTfik1Wzdv7+cn9W+0/Pz5Slz0XbaJKYy7ZVAsjbLmHnbrx4AH0p7Be0jJCMoXWgu5rsaCO2+7vX+W/bv7qSFbRsakMo+ehoWNrtLGOZgKFpckOH5AE7W/hjHDCTrGsraPjKHlopnUIum2Pv/3FVJ+a6tPium257Bq6Z0lH0zNhnG0ns41xDz8gyIFW3CEyIjBFYjxbDce5G4J1JVnVZlIVXN3FUcyDNN5KY4020zNhvNnstvM17QBKH8qhIE0o7ehgldiHsNkjzets3CulUrF4qBUYTot1u5pr11zauj0/Q3skRCdAD1VuIptXUJZQHhA2OsSFWQLjWa3NAgGh4D3VQmfHNnYorVKWA4W/sRdJ56GDCHfRwTraX0TXanS5QqiQjR1kYRanxhjh9LAjwJWjn3XGTQ4dBK5ifShA3hqReZ2WJZqFtxizRDMYkVmkpSbz2UHrHM/0WYIInDDTQ4uCY+8DWDlIPOF3J9t+Xhwlv8i7ziT8D4cG+A+S3jQF4r/VqQAAAABJRU5ErkJggg==";function ue(X){return ce({url:"equipment/contractors",method:"get",params:X})}function Re(X){return ce({url:"equipment/districtsBlocks",method:"get",params:X})}const O=X=>(Pe("data-v-d061be2f"),X=X(),Je(),X),We={class:"center"},Ue=O(()=>d("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Ne={class:"rightWra"},$e={class:"rightTop"},en=O(()=>d("div",{class:"title"},[d("span",null,"\u4F4D\u7F6E\u5B9A\u4F4D")],-1)),nn={class:"depth"},on={class:"rightCenter"},an={key:2,class:"LonAndLat"},ln={class:"LonAndLatDiv"},tn={class:"LonAndLatDiv"},rn={key:3,class:"LonAndLat"},sn={class:"LonDiv"},pn={class:"inputDiv"},dn={class:"LatDiv"},un={class:"inputDiv"},cn={class:"seach_button"},mn={class:"rightbottom"},vn=O(()=>d("div",{class:"title"},[d("span",null,"\u4FE1\u606F\u7EDF\u8BA1")],-1)),fn=["id"],gn={key:0,style:{width:"14px"},src:G},bn={key:1,style:{width:"14px"},src:Q},hn=["id"],yn={key:0,style:{width:"14px"},src:G},xn={key:1,style:{width:"14px"},src:Q},Ln=["id"],kn={key:0,style:{width:"14px"},src:G},Dn={key:1,style:{width:"14px"},src:Q},Mn=["id"],Sn={key:0,style:{width:"14px"},src:G},_n={key:1,style:{width:"14px"},src:Q},An=["id"],wn={key:0,style:{width:"14px"},src:G},Tn={key:1,style:{width:"14px"},src:Q},Cn=["id"],Vn={key:0,style:{width:"14px"},src:G},Bn={key:1,style:{width:"14px"},src:Q},In={class:"chart_div"},En={class:"chart_div_title"},Xn=O(()=>d("span",null,"\u57FA\u672C\u519C\u7530\u9762\u79EF\u53CA\u5360\u6BD4",-1)),qn=O(()=>d("img",{src:He,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Fn=Fe('<div class="tool" data-v-d061be2f><span data-v-d061be2f><img src="'+Ke+'" alt="" data-v-d061be2f></span><span data-v-d061be2f><img src="'+ze+'" alt="" data-v-d061be2f></span><span data-v-d061be2f><img src="'+Ge+'" alt="" data-v-d061be2f></span><span data-v-d061be2f><img src="'+Qe+'" alt="" data-v-d061be2f></span><span data-v-d061be2f><img src="'+Ze+'" alt="" data-v-d061be2f></span><span data-v-d061be2f><img src="'+Oe+'" alt="" data-v-d061be2f></span></div><div id="popup" class="ol-popup" data-v-d061be2f><div class="pophead" style="width:100%;height:20px;" data-v-d061be2f><div id="popup-title" style="font:bold 15px sans-serif;align:left;position:absolute;left:17px;color:#fff;" data-v-d061be2f></div><a href="#" id="popup-closer" class="ol-popup-closer" style="color:#8e908c;" data-v-d061be2f></a></div><div id="popup-content" style="padding:10px;" data-v-d061be2f></div><div id="popup-pagination" data-v-d061be2f><button id="popup-prev" data-v-d061be2f>\u4E0A\u4E00\u5C42</button><button id="popup-next" data-v-d061be2f>\u4E0B\u4E00\u5C42</button></div></div>',2),Pn={class:"mt-4"},Jn={class:"treeDiv"},Hn=["id"],Kn={class:"farmlandTimeDivCenter"},zn={class:"flag"},Gn={__name:"index",setup(X){g([]);const me=g(!1);g(!0);let $=g(!0);const j=g("");let J=g(""),K=g({Lon:"",Lat:""}),f=g({Lon:{londu:"",lonfen:"",lonmiao:""},Lat:{latdu:"",latfen:"",latmiao:""}});const ie=g("null");let Y=g(null),V=g([]),w=g("1"),q=g([]),m=g("");const ve={children:"children",label:"label"};let ee=g(!0);g([]);let F=g([]);Ce(()=>q.value,(a,e)=>{console.log(a,e),a.length>e.length?(a.filter(i=>{if(e.findIndex(c=>c===i)<0)return i}).forEach(i=>{_[i]?ne(_[i]):B[i]&&ne(B[i])}),console.log(u.getLayers().getArray())):a.length<e.length&&e.filter(i=>{if(a.findIndex(c=>c===i)<0)return i}).forEach(i=>{_[i]?(console.log(111),u.getLayers().getArray().forEach((p,c)=>{p.A.name&&p.A.name==_[i].name&&u.getLayers().removeAt(c)})):B[i]&&u.getLayers().getArray().forEach((p,c)=>{p.A.name&&p.A.name==B[i].name&&u.getLayers().removeAt(c)})})});let o=g([]);const fe=[{label:"\u9AD8\u6807\u51C6\u519C\u7530",children:[{label:"\u9AD8\u6807\u51C6\u519C\u7530"}]},{label:"\u6C38\u4E45\u57FA\u672C\u519C\u7530",children:[{label:"\u6C38\u4E45\u57FA\u672C\u519C\u7530"}]},{label:"\u8015\u5730",children:[{label:"\u8015\u5730"}]},{label:"\u7CAE\u98DF\u529F\u80FD\u533A",children:[{label:"\u7247\u5757\u4FE1\u606F"},{label:"\u5730\u5757\u4FE1\u606F"}]},{label:"\u571F\u5730\u786E\u6743",children:[{label:"\u571F\u5730\u786E\u6743"}]}];let _={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"}},B={\u6C38\u4E45\u57FA\u672C\u519C\u7530:{setOf:"yongnongSanqusanxianWGS84@yongjiujibennongtianxk",name:"map-yongjiujibennongtianxk"},\u8015\u5730:{setOf:"gengbaoSanqusanxianWGS84@gengdibaohuxk",name:"map-gengdibaohuxk"},\u7247\u5757\u4FE1\u606F:{setOf:"LQPK3702112019WGS84@liangqupiankuaixk",name:"map-liangqupiankuaixk"},\u5730\u5757\u4FE1\u606F:{setOf:"LQDK3702112019WGS84@liangqudikuaixk",name:"map-liangqudikuaixk"},\u571F\u5730\u786E\u6743:{setOf:"DK3702112022WGS84@tudiquequanxk",name:"map-tudiquequanxk"}};Ve(()=>{ge(),pe(),be()});let u=g(null);g(null);let P=g(null),le=g(null),R=g(null);function ge(){var a=document.querySelector(".center"),e=document.getElementById("cesiumContainer");u=new ol.Map({target:"cesiumContainer",controls:[],view:new ol.View({center:[119.86763411957472,35.88435182141938],zoom:11,projection:"EPSG:4326"}),layers:[new ol.layer.Tile({source:new ol.source.Tianditu({layerType:"img",key:"1d109683f4d84198e37a38c442d68311"})})]}),ye(),xe(),u.on("moveend",function(i){var p=u.getView().getZoom();p>=13?Y.setVisible(!0):Y.setVisible(!1)}),u.on("singleclick",function(i){o=g([]);var p=i.coordinate,c=p[0],r=p[1],A=u.getView(),x=u.getView().getZoom();A.animate({center:[c,r],duration:1e3}),console.log(x,"zoom========================"),q.value.forEach(b=>{B[b]?te(i,B[b].setOf,`http://192.168.0.113:8090/iserver/services/${B[b].name}/rest/maps/${B[b].setOf}`,b):_[b]&&te(i,_[b].setOf,`http://192.168.0.113:8090/iserver/services/${_[b].name}/rest/maps/${_[b].setOf}`,b)})});var t=new ResizeObserver(function(i){i.forEach(function(p){var c=p.contentRect.width,r=p.contentRect.height;e.style.width=c+"px",e.style.height=r+"px",u.updateSize()})});t.observe(a)}function te(a,e,t,i){var p=new ol.geom.Point(a.coordinate),c=new ol.supermap.QueryByGeometryParameters({queryParams:{name:e},geometry:p});let r=document.querySelector("#popup-title"),A=g(null);var x=1,b=1;new ol.supermap.QueryService(t).queryByGeometry(c,function(M){if(M.result.currentCount>0){o.value.push({name:i,information:M.result.recordsets[0].features.features[0].properties}),console.log(o.value[0]),M.result.recordsets[0].features&&(R.setPosition(p.flatCoordinates),o.value[0].name>=2019?(r.innerHTML="\u9AD8\u6807\u51C6\u519C\u7530",P.innerHTML="<div><p>\u9879\u76EE\u7F16\u53F7: "+o.value[0].information.XMBH+"</p><p>\u9879\u76EE\u540D\u79F0: "+o.value[0].information.XMMC+"</p><p>\u9879\u76EE\u9762\u79EF: "+o.value[0].information.XMMJ+"</p><p>\u5730\u5757\u9762\u79EF: "+o.value[0].information.DKMJ+"</p><p>\u6807\u8BC6\u7801: "+o.value[0].information.BSM+"</p><p>\u5730\u5757\u7F16\u53F7: "+o.value[0].information.DKBH+"</p><p>\u5730\u5757\u540D\u79F0: "+o.value[0].information.DKMC+"</p><p>\u9879\u76EE\u5E74\u4EFD: "+o.value[0].information.XMNF+"</p></div>"):o.value[0].name>=2011&&o.value[0].name<=2018?(r.innerHTML="\u9AD8\u6807\u51C6\u519C\u7530",P.innerHTML="<div><p>\u6807\u8BC6\u7801: "+o.value[0].information.BSM+"</p><p>\u5730\u5757\u9762\u79EF: "+o.value[0].information.DIKUAIAREA+"</p><p>\u5730\u5757\u7528\u9014/\u7C7B\u578B: "+o.value[0].information.DLBM+"</p><p>\u9879\u76EE\u7F16\u53F7: "+o.value[0].information.XMBH+"</p>\u9879\u76EE\u540D\u79F0"+o.value[0].information.XMMC+"</p></div>"):o.value[0].name=="\u6C38\u4E45\u57FA\u672C\u519C\u7530"?(r.innerHTML="\u6C38\u4E45\u57FA\u672C\u519C\u7530",P.innerHTML="<div><p>\u7C7B\u578B: "+o.value[0].name+"</p><p>\u5730\u7C7B\u540D\u79F0: "+o.value[0].information.DLMC+"</p><p>\u6743\u5C5E\u6027\u8D28: "+o.value[0].information.QSXZ+"</p><p>\u6743\u5C5E\u5355\u4F4D\u540D\u79F0: "+o.value[0].information.QSDWMC+"</p><p>\u5750\u843D\u5355\u4F4D\u540D\u79F0: "+o.value[0].information.ZLDWMC+"</p><p>\u6263\u9664\u5730\u7C7B\u7F16\u7801: "+o.value[0].information.KCDLBM+"</p><p>\u6263\u9664\u7CFB\u6570: "+o.value[0].information.KCXS+"</p><p>\u6263\u9664\u9762\u79EF: "+o.value[0].information.KCMJ+"</p><p>\u8015\u5730\u7C7B\u578B: "+o.value[0].information.GDLX+"</p><p>\u8015\u5730\u5761\u5EA6\u7EA7\u522B: "+o.value[0].information.GDPDJB+"</p><p>\u79CD\u690D\u5C5E\u6027\u4EE3\u7801: "+o.value[0].information.ZZSXDM+"</p><p>\u79CD\u690D\u5C5E\u6027\u540D\u79F0: "+o.value[0].information.ZZSXMC+"</p><p>\u8015\u5730\u7B49\u7EA7: "+o.value[0].information.GDDJ+"</p><p>\u6570\u636E\u5E74\u4EFD: "+o.value[0].information.SJNF+"</p><p>\u4FDD\u62A4\u5F00\u59CB\u65F6\u95F4: "+o.value[0].information.BHKSSJ+"</p><p>\u6C38\u4E45\u57FA\u672C\u519C\u7530\u9762\u79EF: "+(o.value[0].information.YJJBNTMJ_Y/666).toFixed(2)+"(\u4EA9)</p></div>"):o.value[0].name=="\u8015\u5730"?(r.innerHTML="\u8015\u5730",P.innerHTML="<div><p>\u5730\u7C7B\u540D\u79F0: "+o.value[0].information.DLMC+"</p><p>\u6743\u5C5E\u5355\u4F4D\u540D\u79F0: "+o.value[0].information.QSDWMC+"</p><p>\u5750\u843D\u5355\u4F4D\u540D\u79F0: "+o.value[0].information.ZLDWMC+"</p><p>\u6263\u9664\u5730\u7C7B\u7F16\u7801: "+o.value[0].information.KCDLBM+"</p><p>\u6263\u9664\u7CFB\u6570: "+o.value[0].information.KCXS+"</p><p>\u6263\u9664\u9762\u79EF: "+o.value[0].information.KCMJ+"</p><p>\u8015\u5730\u7C7B\u578B: "+o.value[0].information.GDLX+"</p><p>\u8015\u5730\u5761\u5EA6\u7EA7\u522B: "+o.value[0].information.GDPDJB+"</p><p>\u79CD\u690D\u5C5E\u6027\u4EE3\u7801: "+o.value[0].information.ZZSXDM+"</p><p>\u79CD\u690D\u5C5E\u6027\u540D\u79F0: "+o.value[0].information.ZZSXMC+"</p><p>\u6570\u636E\u5E74\u4EFD: "+o.value[0].information.SJNF+"</p><p>\u56FE\u6591\u9762\u79EF: "+(o.value[0].information.TBMJ_YS/666).toFixed(2)+"(\u4EA9)</p><p>\u56FE\u6591\u5730\u7C7B\u9762\u79EF: "+(o.value[0].information.TBDLMJ_YS/666).toFixed(2)+"(\u4EA9)</p></div>"):o.value[0].name=="\u7247\u5757\u4FE1\u606F"?(r.innerHTML="\u7247\u5757\u4FE1\u606F",P.innerHTML="<div><p>\u6807\u8BC6\u7801: "+o.value[0].information.BSM+"</p><p>\u8981\u7D20\u4EE3\u7801: "+o.value[0].information.YSDM+"</p><p>\u4E24\u533A\u4EE3\u7801: "+o.value[0].information.LQDM+"</p><p>\u4E24\u533A\u7247\u5757\u4EE3\u7801: "+o.value[0].information.LQPKDM+"</p><p>\u4E24\u533A\u7247\u5757\u9762\u79EF(\u4EA9): "+o.value[0].information.LQPKMJM+"</p><p>\u7247\u5757\u7C7B\u578B: "+o.value[0].information.PKLX+"</p></div>"):o.value[0].name=="\u5730\u5757\u4FE1\u606F"?(r.innerHTML="\u5730\u5757\u4FE1\u606F",P.innerHTML="<div><p>\u6807\u8BC6\u7801: "+o.value[0].information.BSM+"</p><p>\u8981\u7D20\u4EE3\u7801: "+o.value[0].information.YSDM+"</p><p>\u4E24\u533A\u7247\u5757\u4EE3\u7801: "+o.value[0].information.LQPKDM+"</p><p>\u4E24\u533A\u7C7B\u578B: "+o.value[0].information.LQLX+"</p><p>\u533A\u57DF\u5212\u5206\u7C7B\u578B: "+o.value[0].information.QYHFLX+"</p><p>\u4E24\u533A\u5730\u5757\u4EE3\u7801: "+o.value[0].information.LQDKDM+"</p><p>\u4E24\u533A\u5730\u5757\u540D\u79F0: "+o.value[0].information.LQDKMC+"</p><p>\u4E24\u533A\u5730\u5757\u9762\u79EF(\u4EA9): "+o.value[0].information.LQDKMJM+"</p><p>\u98DE\u5165\u5730\u6807\u8BC6: "+o.value[0].information.FRDES+"</p><p>\u5761\u5EA6\u7EA7\u522B: "+o.value[0].information.PDJB+"</p><p>\u662F\u5426\u9AD8\u6807\u51C6\u519C\u7530: "+o.value[0].information.SFGBZNT+"</p><p>\u7ECF\u8425\u4E3B\u4F53\u7C7B\u578B: "+o.value[0].information.JYZTLX+"</p></div>"):o.value[0].name=="\u571F\u5730\u786E\u6743"&&(r.innerHTML="\u571F\u5730\u786E\u6743",ue({dkbm:o.value[0].information.DKBM}).then(E=>{let Z=[];E.data[0].cbdkxxes.forEach(oe=>{Z.push(oe.cyxm)}),P.innerHTML="<div><p>\u8981\u7D20\u4EE3\u7801: "+o.value[0].information.YSDM+"</p><p>\u5730\u5757\u7F16\u7801: "+o.value[0].information.DKBM+"</p><p>\u5730\u5757\u540D\u79F0: "+o.value[0].information.DKMC+"</p><p>\u6240\u6709\u6743\u6027\u8D28: "+o.value[0].information.SYQXZ+"</p>\u5730\u5757\u7C7B\u522B"+o.value[0].information.DKLB+"</p><p>\u571F\u5730\u5229\u7528\u7C7B\u578B: "+o.value[0].information.TDLYLX+"</p><p>\u5730\u529B\u7B49\u7EA7: "+o.value[0].information.DLDJ+"</p><p>\u571F\u5730\u7528\u9014: "+o.value[0].information.TDYT+"</p><p>\u662F\u5426\u57FA\u672C\u519C\u7530: "+o.value[0].information.SFJBNT+"</p><p>\u5B9E\u6D4B\u9762\u79EF\u4EA9: "+(o.value[0].information.SCMJ/666).toFixed(2)+"</p><p>\u627F\u5305\u65B9: "+E.data[0].cbfmc+"</p>\u627F\u5305\u65B9\u5BB6\u5EAD\u6210\u5458:"+Z.join(",")+"</p></div>"})));var S=u.getLayers().getArray().find(E=>E.get("id")==="zhezhao");u.removeLayer(S),A=u.getLayers().getArray().find(E=>E.get("id")==="dianjigaoliang"),u.removeLayer(A);var l=new ol.format.GeoJSON().readFeatures(M.result.recordsets[0].features),T=new ol.source.Vector;T.addFeatures(l);const n=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(255, 219, 113, 1.0)",width:5})});var H=new ol.layer.Vector({id:"dianjigaoliang",source:T,zIndex:9999});H.setStyle(n),u.addLayer(H)}}),le.addEventListener("click",function(){A=u.getLayers().getArray().find(M=>M.get("id")==="dianjigaoliang"),u.removeLayer(A),R.setPosition(void 0)}),document.getElementById("popup-prev").addEventListener("click",function(){x>1&&(x--,I())}),document.getElementById("popup-next").addEventListener("click",function(M){var S=o.value.length,l=Math.ceil(S/b);console.log(x,l),x<l&&(x++,I())});function I(){var M=(x-1)*b,S=M+b,l=o.value;let T=document.getElementById("popup-content");for(var H=M;H<S&&H<l.length;H++){var n=Be(o.value[H]);n.name>=2019?(r.innerHTML="\u9AD8\u6807\u51C6\u519C\u7530",T.innerHTML="<div><p>\u7C7B\u578B: \u9AD8\u6807\u51C6\u519C\u7530</p><p>\u9879\u76EE\u7F16\u53F7: "+n.information.XMBH+"</p><p>\u9879\u76EE\u540D\u79F0: "+n.information.XMMC+"</p><p>\u9879\u76EE\u9762\u79EF: "+n.information.XMMJ+"</p><p>\u5730\u5757\u9762\u79EF: "+n.information.DKMJ+"</p><p>\u6807\u8BC6\u7801: "+n.information.BSM+"</p><p>\u5730\u5757\u7F16\u53F7: "+n.information.DKBH+"</p><p>\u5730\u5757\u540D\u79F0: "+n.information.DKMC+"</p><p>\u9879\u76EE\u5E74\u4EFD: "+n.information.XMNF+"</p></div>"):n.name>=2011&&n.name<=2018?(r.innerHTML="\u9AD8\u6807\u51C6\u519C\u7530",T.innerHTML="<div><p>\u6807\u8BC6\u7801: "+n.information.BSM+"</p><p>\u5730\u5757\u9762\u79EF: "+n.information.DIKUAIAREA+"</p><p>\u5730\u5757\u7528\u9014/\u7C7B\u578B: "+n.information.DLBM+"</p><p>\u9879\u76EE\u7F16\u53F7: "+n.information.XMBH+"</p>\u9879\u76EE\u540D\u79F0"+n.information.XMMC+"</p></div>"):n.name=="\u6C38\u4E45\u57FA\u672C\u519C\u7530"?(r.innerHTML="\u6C38\u4E45\u57FA\u672C\u519C\u7530",T.innerHTML="<div><p>\u7C7B\u578B: "+n.name+"</p><p>\u7C7B\u578B: "+n[0]+"</p><p>\u5730\u7C7B\u540D\u79F0: "+n.information.DLMC+"</p><p>\u6743\u5C5E\u6027\u8D28: "+n.information.QSXZ+"</p><p>\u6743\u5C5E\u5355\u4F4D\u540D\u79F0: "+n.information.QSDWMC+"</p><p>\u5750\u843D\u5355\u4F4D\u540D\u79F0: "+n.information.ZLDWMC+"</p><p>\u6263\u9664\u5730\u7C7B\u7F16\u7801: "+n.information.KCDLBM+"</p><p>\u6263\u9664\u7CFB\u6570: "+n.information.KCXS+"</p><p>\u6263\u9664\u9762\u79EF: "+n.information.KCMJ+"</p><p>\u8015\u5730\u7C7B\u578B: "+n.information.GDLX+"</p><p>\u8015\u5730\u5761\u5EA6\u7EA7\u522B: "+n.information.GDPDJB+"</p><p>\u79CD\u690D\u5C5E\u6027\u4EE3\u7801: "+n.information.ZZSXDM+"</p><p>\u79CD\u690D\u5C5E\u6027\u540D\u79F0: "+n.information.ZZSXMC+"</p><p>\u8015\u5730\u7B49\u7EA7: "+n.information.GDDJ+"</p><p>\u6570\u636E\u5E74\u4EFD: "+n.information.SJNF+"</p><p>\u4FDD\u62A4\u5F00\u59CB\u65F6\u95F4: "+n.information.BHKSSJ+"</p><p>\u6C38\u4E45\u57FA\u672C\u519C\u7530\u9762\u79EF: "+(n.information.YJJBNTMJ_Y/666).toFixed(2)+"(\u4EA9)</p></div>"):n.name=="\u8015\u5730"?(r.innerHTML="\u8015\u5730",T.innerHTML="<div><p>\u7C7B\u578B: "+n.name+"</p><p>\u5730\u7C7B\u540D\u79F0: "+n.information.DLMC+"</p><p>\u6743\u5C5E\u5355\u4F4D\u540D\u79F0: "+n.information.QSDWMC+"</p><p>\u5750\u843D\u5355\u4F4D\u540D\u79F0: "+n.information.ZLDWMC+"</p><p>\u6263\u9664\u5730\u7C7B\u7F16\u7801: "+n.information.KCDLBM+"</p><p>\u6263\u9664\u7CFB\u6570: "+n.information.KCXS+"</p><p>\u6263\u9664\u9762\u79EF: "+n.information.KCMJ+"</p><p>\u8015\u5730\u7C7B\u578B: "+n.information.GDLX+"</p><p>\u8015\u5730\u5761\u5EA6\u7EA7\u522B: "+n.information.GDPDJB+"</p><p>\u79CD\u690D\u5C5E\u6027\u4EE3\u7801: "+n.information.ZZSXDM+"</p><p>\u79CD\u690D\u5C5E\u6027\u540D\u79F0: "+n.information.ZZSXMC+"</p><p>\u6570\u636E\u5E74\u4EFD: "+n.information.SJNF+"</p><p>\u56FE\u6591\u9762\u79EF: "+(n.information.TBMJ_YS/666).toFixed(2)+"(\u4EA9)</p><p>\u56FE\u6591\u5730\u7C7B\u9762\u79EF: "+(n.information.TBDLMJ_YS/666).toFixed(2)+"(\u4EA9)</p></div>"):n.name=="\u7247\u5757\u4FE1\u606F"?(r.innerHTML="\u7247\u5757\u4FE1\u606F",T.innerHTML="<div><p>\u7C7B\u578B: "+n.name+"</p><p>\u6807\u8BC6\u7801: "+n.information.BSM+"</p><p>\u8981\u7D20\u4EE3\u7801: "+n.information.YSDM+"</p><p>\u4E24\u533A\u4EE3\u7801: "+n.information.LQDM+"</p><p>\u4E24\u533A\u7247\u5757\u4EE3\u7801: "+n.information.LQPKDM+"</p><p>\u4E24\u533A\u7247\u5757\u9762\u79EF(\u4EA9): "+n.information.LQPKMJM+"</p><p>\u7247\u5757\u7C7B\u578B: "+n.information.PKLX+"</p></div>"):n.name=="\u5730\u5757\u4FE1\u606F"?(r.innerHTML="\u5730\u5757\u4FE1\u606F",T.innerHTML="<div><p>\u7C7B\u578B: "+n.name+"</p><p>\u6807\u8BC6\u7801: "+n.information.BSM+"</p><p>\u8981\u7D20\u4EE3\u7801: "+n.information.YSDM+"</p><p>\u4E24\u533A\u7247\u5757\u4EE3\u7801: "+n.information.LQPKDM+"</p><p>\u4E24\u533A\u7C7B\u578B: "+n.information.LQLX+"</p><p>\u533A\u57DF\u5212\u5206\u7C7B\u578B: "+n.information.QYHFLX+"</p><p>\u4E24\u533A\u5730\u5757\u4EE3\u7801: "+n.information.LQDKDM+"</p><p>\u4E24\u533A\u5730\u5757\u540D\u79F0: "+n.information.LQDKMC+"</p><p>\u4E24\u533A\u5730\u5757\u9762\u79EF(\u4EA9): "+n.information.LQDKMJM+"</p><p>\u98DE\u5165\u5730\u6807\u8BC6: "+n.information.FRDES+"</p><p>\u5761\u5EA6\u7EA7\u522B: "+n.information.PDJB+"</p><p>\u662F\u5426\u9AD8\u6807\u51C6\u519C\u7530: "+n.information.SFGBZNT+"</p><p>\u7ECF\u8425\u4E3B\u4F53\u7C7B\u578B: "+n.information.JYZTLX+"</p></div>"):n.name=="\u571F\u5730\u786E\u6743"&&(r.innerHTML="\u571F\u5730\u786E\u6743",ue({dkbm:n.information.DKBM}).then(E=>{let Z=[];E.data[0].cbdkxxes.forEach(oe=>{Z.push(oe.cyxm)}),T.innerHTML="<div><p>\u7C7B\u578B: "+n.name+"</p><p>\u8981\u7D20\u4EE3\u7801: "+n.information.YSDM+"</p><p>\u5730\u5757\u7F16\u7801: "+n.information.DKBM+"</p><p>\u5730\u5757\u540D\u79F0: "+n.information.DKMC+"</p><p>\u6240\u6709\u6743\u6027\u8D28: "+n.information.SYQXZ+"</p>\u5730\u5757\u7C7B\u522B"+n.information.DKLB+"</p><p>\u571F\u5730\u5229\u7528\u7C7B\u578B: "+n.information.TDLYLX+"</p><p>\u5730\u529B\u7B49\u7EA7: "+n.information.DLDJ+"</p><p>\u571F\u5730\u7528\u9014: "+n.information.TDYT+"</p><p>\u662F\u5426\u57FA\u672C\u519C\u7530: "+n.information.SFJBNT+"</p><p>\u5B9E\u6D4B\u9762\u79EF\u4EA9: "+(n.information.SCMJ/666).toFixed(2)+"</p><p>\u627F\u5305\u65B9: "+E.data[0].cbfmc+"</p>\u627F\u5305\u65B9\u5BB6\u5EAD\u6210\u5458:"+Z.join(",")+"</p></div>"}))}}}const be=()=>{document.getElementById("popup"),P=document.getElementById("popup-content"),le=document.getElementById("popup-closer"),R=new ol.Overlay({element:document.getElementById("popup"),positioning:"bottom-center",stopEvent:!0,offset:[0,-10]}),u.addOverlay(R)};function re(a){var e="http://192.168.0.113:8090/iserver/services/data-liangquhuadingWGS84/rest/data",t=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:"XJQY3702112019WGS84@liangquhuadingWGS84",attributeFilter:"XJQYMC like '%"+a+"%'"},datasetNames:["liangquhuadingWGS84:XJQY3702112019WGS84"]});new ol.supermap.FeatureService(e).getFeaturesBySQL(t,function(i){if(i.result.featureCount!=0){console.log(t),console.log(i,"serviceResult######");var p=u.getLayers().getArray().find(S=>S.get("id")==="zhezhao");u.removeLayer(p);var c=u.getLayers().getArray().find(S=>S.get("id")==="dianjigaoliang");u.removeLayer(c);var r=new ol.format.GeoJSON().readFeatures(i.result.features),A=new ol.source.Vector;A.addFeatures(r);const I=new ol.style.Style({fill:new ol.style.Fill({color:"rgba(0, 255, 0, 1)"}),stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:1})}),M=new ol.style.Style({fill:new ol.style.Fill({color:"rgba(0, 85, 255, 1.0)"})});var x=new ol.layer.Vector({id:"dianjigaoliang",source:A}),b=new ol.render3D({height:.007,style:M});x.setRender3D(b),x.setStyle(I),u.addLayer(x),u.getView().fit(A.getExtent())}})}function se(a){console.log(a);const e=[];e.push(a.Lon),e.push(a.Lat),console.log(e),he(e,"huangdaoqu_village@huangdaoqu_bianjie","http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/huangdaoqu_village@huangdaoqu_bianjie")}function he(a,e,t){console.log(a);var i=new ol.geom.Point(a);console.log(i,"###qqqqqqqqqqqqqq");var p=new ol.supermap.QueryByGeometryParameters({queryParams:{name:e},geometry:i});new ol.supermap.QueryService(t).queryByGeometry(p,function(c){if(c.result.currentCount>0){console.log(c.result,"\u56FE\u5C42\u4FE1\u606F");var r=u.getLayers().getArray().find(S=>S.get("id")==="zhezhao");u.removeLayer(r);var A=u.getLayers().getArray().find(S=>S.get("id")==="dianjigaoliang");u.removeLayer(A);var x=new ol.format.GeoJSON().readFeatures(c.result.recordsets[0].features),b=new ol.source.Vector;b.addFeatures(x);const M=new ol.style.Style({fill:new ol.style.Fill({color:"rgba(0, 255, 0, 1)"}),stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:1})});var I=new ol.layer.Vector({id:"dianjigaoliang",source:b});I.setStyle(M),u.addLayer(I),u.getView().fit(b.getExtent())}})}const ye=()=>{Y=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:"http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/huangdaoqu_village@huangdaoqu_bianjie",cacheEnabled:!1}),name:"huangdaoqu_village",projection:"EPSG:4326",zIndex:9999}),u.addLayer(Y)},xe=()=>{var a=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:"http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/huangdaoqu_town@huangdaoqu_bianjie",cacheEnabled:!1}),projection:"EPSG:4326",zIndex:9999});u.addLayer(a)},ne=a=>{let e=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:`http://192.168.0.113:8090/iserver/services/${a.name}/rest/maps/${a.setOf}`,cacheEnabled:!1}),name:a.name,projection:"EPSG:4326"});u.addLayer(e)};g({label:[]});function Le(){if($.value=!$.value,$.value){let a=document.querySelector(".rightWra");a.style.transform="translate(0,0)"}else{let a=document.querySelector(".rightWra");a.style.transform="translate(107%,0)"}}const ke=(a,e)=>{let t=!1;if(V.value.forEach((i,p)=>{if(console.log(a.label,i),a.label==i)V.value.splice(p,1),t=!0;else if(a.label=="\u9AD8\u6807\u51C6\u519C\u7530"){for(const c in _)V.value.indexOf(c)!==-1&&V.value.splice(V.value.indexOf(c),1);t=!0}}),!t)if(a.label=="\u9AD8\u6807\u51C6\u519C\u7530")for(const i in _)V.value.push(i);else for(const i in B)a.label==i&&V.value.push(i);a.label=="\u9AD8\u6807\u51C6\u519C\u7530"&&(ee.value=!ee.value),console.log(V.value),q.value=JSON.parse(JSON.stringify(V.value))},De=(a,{node:e,data:t})=>{if(console.log(e),e.data.children)return a("span",{class:{gbz:!t.children}},e.label);switch(e.label){case"\u9AD8\u6807\u51C6\u519C\u7530":return a("span",{class:{gbz:!t.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"\u6C38\u4E45\u57FA\u672C\u519C\u7530":return a("span",{class:{yjjbnt:!t.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"\u8015\u5730":return a("span",{class:{gd:!t.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"\u7247\u5757\u4FE1\u606F":return a("span",{class:{pkxx:!t.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"\u5730\u5757\u4FE1\u606F":return a("span",{class:{dkxx:!t.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"\u7CAE\u98DF\u529F\u80FD\u533A":return a("span",{class:{gbz:!t.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"\u571F\u5730\u786E\u6743":return a("span",{class:{tdqq:!t.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)}},W=a=>{w.value=a},Me=()=>{console.log(J.value),console.log(K.value),console.log(f.value),w.value==1?(console.log(j.value),re(j.value)):w.value==2?(console.log(J.value),re(J.value)):w.value==3?se(K.value):w.value==4&&(console.log(f.value),console.log(U(f.value.Lon.londu,f.value.Lon.lonfen,f.value.Lon.lonmiao)),console.log(U(f.value.Lat.latdu,f.value.Lat.latfen,f.value.Lat.latmiao)),se({Lon:U(f.value.Lon.londu,f.value.Lon.lonfen,f.value.Lon.lonmiao),Lat:U(f.value.Lat.latdu,f.value.Lat.latfen,f.value.Lat.latmiao)}))};function U(a,e,t){var i=0;t!=null&&t!==""&&(i=Number(t/60));var p=0;e!=null&&e!==""?p=(Number(e)+i)/60:p=i;var c=0;return a!=null&&a!==""?c=(Number(a)+p).toFixed(6):c=p.toFixed(6),c}const Se=a=>{let e=a.target.innerText;console.log(q.value),q.value.indexOf(e)==-1?(q.value.push(e),ne(_[e])):(q.value.splice(q.value.indexOf(e),1),u.getLayers().getArray().forEach((t,i)=>{t.A.name&&(console.log(t),t.A.source.options.url==`http://192.168.0.113:8090/iserver/services/${_[e].name}/rest/maps/${_[e].setOf}`&&u.getLayers().removeAt(i))}))},_e=a=>{switch(a.target.innerText){case"\u9AD8\u6807\u51C6\u519C\u7530":m.value=1,z("\u9AD8\u6807\u51C6\u519C\u7530");break;case"\u6C38\u4E45\u57FA\u672C\u519C\u7530":m.value=2,z("\u6C38\u4E45\u57FA\u672C\u519C\u7530");break;case"\u8015\u5730":m.value=3,z("\u8015\u5730");break;case"\u7247\u5757\u4FE1\u606F":m.value=4,z("\u4E24\u533A\u7247\u5757");break;case"\u5730\u5757\u4FE1\u606F":m.value=5,z("\u4E24\u533A\u5730\u5757");break;case"\u571F\u5730\u786E\u6743":m.value=6,z("\u571F\u5730\u786E\u6743");break}console.log(m.value)},z=a=>{Re({flag:a}).then(e=>{F.value=e.data,pe()})},Ae=a=>{we(a)},we=a=>{let e=document.createElement("a");e.style.display="none",e.href=a,document.body.appendChild(e),e.click(),document.body.removeChild(e)};function pe(){const a=je(ie.value);let e=[],t=[],i=[],p=[{type:"bar",yAxisIndex:0,name:"\u9762\u79EF(\u4EA9)",barWidth:"15",itemStyle:{normal:{color:new de(0,0,0,1,[{offset:0,color:"rgba(33, 187, 251, 0.8)"},{offset:1,color:"rgba(33, 187, 251, 0)"}],!1),barBorderRadius:[100,100,0,0]}},data:t}];m.value=="1"?F.value.forEach(r=>{console.log(r),e.indexOf(r.year)==-1&&e.push(r.year)}):m.value=="2"?F.value.forEach(r=>{console.log(r),e.push(r.name),t.push(r.sum),console.log(r.quantity)}):m.value=="3"?F.value.forEach(r=>{console.log(r),e.push(r.name),t.push(r.sum)}):m.value=="4"?F.value.forEach(r=>{e.push("\u7247\u5757\u4FE1\u606F"),t.push(r.sum)}):m.value=="5"?F.value.forEach(r=>{console.log(r),e.push("\u5730\u5757\u4FE1\u606F"),t.push(r.sum)}):m.value=="6"&&F.value.forEach(r=>{console.log(r),e.push("\u571F\u5730\u786E\u6743"),t.push(r.sum),i.push(r.quantity?r.quantity:0),p.push({type:"bar",yAxisIndex:0,name:"\u6570\u91CF",barWidth:"15",itemStyle:{normal:{color:new de(0,0,0,1,[{offset:0,color:"rgba(33, 187, 251, 0.8)"},{offset:1,color:"rgba(33, 187, 251, 0)"}],!1),barBorderRadius:[100,100,0,0]}},data:i})}),console.log(F.value);let c={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},legend:[{data:["\u9762\u79EF(\u4EA9)"],top:"25",x:"20%",itemWidth:14,borderColor:"rgba(255, 192, 0, 1)",textStyle:{color:"#c1cadf",fontSize:14}}],grid:{left:"10px",right:"10px",top:"50px",bottom:"30px",containLabel:!0},toolbox:{show:!0,orient:"vertical",x:"right",y:"center"},xAxis:[{type:"category",boundaryGap:!0,axisTick:{show:!1},data:e,axisLine:{lineStyle:{color:"rgba(51, 176, 255, 1)"}},axisLabel:{interval:0,color:"rgba(207, 227, 252, 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(207, 227, 252, 1)"},splitLine:{show:!1,lineStyle:{color:"rgba(39, 57, 75, 1)",width:1,type:"solid"}}}],series:p};c&&a.setOption(c,{notMerge:!0,grid:{bottom:20}}),Ye(a,c)}return(a,e)=>{const t=C("el-input"),i=C("el-button"),p=C("el-col"),c=C("el-row"),r=C("ArrowLeftBold"),A=C("el-icon"),x=C("el-checkbox"),b=C("el-checkbox-group"),I=C("el-collapse-item"),M=C("el-collapse"),S=C("el-tree");return L(),D("div",We,[Ue,d("div",Ne,[d("div",$e,[en,d("div",nn,[d("p",{class:N(s(w)=="1"?"SelectedDiv":""),onClick:e[0]||(e[0]=l=>W(1))},"\u5730\u540D",2),d("p",{class:N(s(w)=="2"?"SelectedDiv":""),onClick:e[1]||(e[1]=l=>W(2))},"\u884C\u653F\u533A",2),d("p",{class:N(s(w)=="3"?"SelectedDiv":""),onClick:e[2]||(e[2]=l=>W(3))},"\u7ECF\u7EAC\u5EA6",2),d("p",{class:N(s(w)=="4"?"SelectedDiv":""),onClick:e[3]||(e[3]=l=>W(4))},"\u5EA6\u5206\u79D2",2)]),d("div",on,[s(w)=="1"?(L(),ae(t,{key:0,class:"seach_input",modelValue:j.value,"onUpdate:modelValue":e[4]||(e[4]=l=>j.value=l),placeholder:"\u8BF7\u8F93\u5165\u5730\u540D",clearable:""},null,8,["modelValue"])):k("v-if",!0),s(w)=="2"?(L(),ae(t,{key:1,class:"seach_input",modelValue:s(J),"onUpdate:modelValue":e[5]||(e[5]=l=>Ie(J)?J.value=l:J=l),placeholder:"\u8BF7\u8F93\u5165\u884C\u653F\u533A",clearable:""},null,8,["modelValue"])):k("v-if",!0),s(w)=="3"?(L(),D("div",an,[d("div",ln,[y(" \u7ECF\u5EA6\uFF1A "),v(t,{class:"seach_input",modelValue:s(K).Lon,"onUpdate:modelValue":e[6]||(e[6]=l=>s(K).Lon=l),placeholder:"\u8BF7\u8F93\u5165\u7ECF\u5EA6",clearable:""},null,8,["modelValue"])]),d("div",tn,[y(" \u7EAC\u5EA6\uFF1A "),v(t,{class:"seach_input",modelValue:s(K).Lat,"onUpdate:modelValue":e[7]||(e[7]=l=>s(K).Lat=l),placeholder:"\u8BF7\u8F93\u5165\u7EAC\u5EA6",clearable:""},null,8,["modelValue"])])])):k("v-if",!0),s(w)=="4"?(L(),D("div",rn,[d("div",sn,[y(" \u7ECF\u5EA6\uFF1A "),d("div",pn,[v(t,{class:"seach_input",modelValue:s(f).Lon.londu,"onUpdate:modelValue":e[8]||(e[8]=l=>s(f).Lon.londu=l),placeholder:"\u5EA6",clearable:""},{append:h(()=>[y("\xB0")]),_:1},8,["modelValue"]),v(t,{class:"seach_input",modelValue:s(f).Lon.lonfen,"onUpdate:modelValue":e[9]||(e[9]=l=>s(f).Lon.lonfen=l),placeholder:"\u5206",clearable:""},{append:h(()=>[y("\u2032")]),_:1},8,["modelValue"]),v(t,{class:"seach_input",modelValue:s(f).Lon.lonmiao,"onUpdate:modelValue":e[10]||(e[10]=l=>s(f).Lon.lonmiao=l),placeholder:"\u79D2",clearable:""},{append:h(()=>[y("\u2033")]),_:1},8,["modelValue"])])]),d("div",dn,[y(" \u7EAC\u5EA6\uFF1A "),d("div",un,[v(t,{class:"seach_input",modelValue:s(f).Lat.latdu,"onUpdate:modelValue":e[11]||(e[11]=l=>s(f).Lat.latdu=l),placeholder:"\u5EA6",clearable:""},{append:h(()=>[y("\xB0")]),_:1},8,["modelValue"]),v(t,{class:"seach_input",modelValue:s(f).Lat.latfen,"onUpdate:modelValue":e[12]||(e[12]=l=>s(f).Lat.latfen=l),placeholder:"\u5206",clearable:""},{append:h(()=>[y("\u2032")]),_:1},8,["modelValue"]),v(t,{class:"seach_input",modelValue:s(f).Lat.latmiao,"onUpdate:modelValue":e[13]||(e[13]=l=>s(f).Lat.latmiao=l),placeholder:"\u79D2",clearable:""},{append:h(()=>[y("\u2033")]),_:1},8,["modelValue"])])])])):k("v-if",!0)]),d("div",cn,[v(i,{class:"seach",onClick:e[14]||(e[14]=l=>Me())},{default:h(()=>[y("\u67E5\u8BE2")]),_:1}),v(i,{class:"resetting"},{default:h(()=>[y("\u91CD\u7F6E")]),_:1})]),k(' <div ref="ProgressBarDiv" class="ProgressBar"></div> ')]),d("div",mn,[vn,d("div",{class:"overview",onClick:e[15]||(e[15]=l=>_e(l))},[v(c,{gutter:10},{default:h(()=>[v(p,{span:8},{default:h(()=>[d("div",{id:s(m)==1?"overviewItemSelect":"",class:"overviewItem"},[s(m)==1?(L(),D("img",gn)):k("v-if",!0),y(" \u9AD8\u6807\u51C6\u519C\u7530 "),s(m)==1?(L(),D("img",bn)):k("v-if",!0)],8,fn)]),_:1}),v(p,{span:8},{default:h(()=>[d("div",{id:s(m)==2?"overviewItemSelect":"",class:"overviewItem"},[s(m)==2?(L(),D("img",yn)):k("v-if",!0),y(" \u6C38\u4E45\u57FA\u672C\u519C\u7530 "),s(m)==2?(L(),D("img",xn)):k("v-if",!0)],8,hn)]),_:1}),v(p,{span:8},{default:h(()=>[d("div",{id:s(m)==3?"overviewItemSelect":"",class:"overviewItem"},[s(m)==3?(L(),D("img",kn)):k("v-if",!0),y(" \u8015\u5730 "),s(m)==3?(L(),D("img",Dn)):k("v-if",!0)],8,Ln)]),_:1})]),_:1}),v(c,{gutter:10},{default:h(()=>[v(p,{span:8},{default:h(()=>[d("div",{id:s(m)==4?"overviewItemSelect":"",class:"overviewItem"},[s(m)==4?(L(),D("img",Sn)):k("v-if",!0),y(" \u7247\u5757\u4FE1\u606F "),s(m)==4?(L(),D("img",_n)):k("v-if",!0)],8,Mn)]),_:1}),v(p,{span:8},{default:h(()=>[d("div",{id:s(m)==5?"overviewItemSelect":"",class:"overviewItem"},[s(m)==5?(L(),D("img",wn)):k("v-if",!0),y(" \u5730\u5757\u4FE1\u606F "),s(m)==5?(L(),D("img",Tn)):k("v-if",!0)],8,An)]),_:1}),v(p,{span:8},{default:h(()=>[d("div",{id:s(m)==6?"overviewItemSelect":"",class:"overviewItem"},[s(m)==6?(L(),D("img",Vn)):k("v-if",!0),y(" \u571F\u5730\u786E\u6743 "),s(m)==6?(L(),D("img",Bn)):k("v-if",!0)],8,Cn)]),_:1})]),_:1})]),d("div",In,[d("div",En,[Xn,d("p",{onClick:e[16]||(e[16]=l=>Ae("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianjishijian.xlsx"))},[y(" \u4E0B\u8F7D \xA0 "),qn])]),d("div",{ref_key:"Farmland_area",ref:ie,class:"Farmland_area"},null,512)])]),d("div",{class:"rightFoldDiv",onClick:e[17]||(e[17]=l=>Le())},[v(A,null,{default:h(()=>[v(r)]),_:1})])]),Fn,me.value?(L(),ae(i,{key:0,class:"back_button",onClick:e[18]||(e[18]=l=>a.back())},{default:h(()=>[y("\u8FD4\u56DE")]),_:1})):k("v-if",!0),v(M,{class:"legend",accordion:""},{default:h(()=>[v(I,{name:"1"},{title:h(()=>[y("\u56FE\u4F8B")]),default:h(()=>[d("div",Pn,[v(b,{modelValue:a.checkList,"onUpdate:modelValue":e[24]||(e[24]=l=>a.checkList=l),onChange:a.change},{default:h(()=>[k(` <el-checkbox
v-for="(value, item, key) in dic"
:key="key"
:style="{
background: value.color,
border: \`1px solid \${value.color}\`,
width: \`100%\`,
}"
v-model="checked3"
:disabled="value.disabled"
:label="item"
/> `),v(x,{style:{background:"rgba(255, 238, 204, 1)",border:"1px solid rgba(251, 171, 60, 1)",width:"100%"},modelValue:a.checked3,"onUpdate:modelValue":e[19]||(e[19]=l=>a.checked3=l),label:"0-200"},null,8,["modelValue"]),v(x,{style:{background:"rgba(255, 220, 153, 1)",border:"1px solid rgba(251, 219, 13, 1)",width:"100%"},modelValue:a.checked4,"onUpdate:modelValue":e[20]||(e[20]=l=>a.checked4=l),label:"200-400"},null,8,["modelValue"]),v(x,{style:{background:"rgba(255, 203, 102, 1)",border:"1px solid rgba(244, 218, 136, 1)",width:"100%"},modelValue:a.checked3,"onUpdate:modelValue":e[21]||(e[21]=l=>a.checked3=l),label:"400-600"},null,8,["modelValue"]),v(x,{style:{background:"rgba(255, 185, 51, 1)",border:"1px solid rgba(174, 83, 110, 1)",width:"100%"},modelValue:a.checked4,"onUpdate:modelValue":e[22]||(e[22]=l=>a.checked4=l),label:"600-800"},null,8,["modelValue"]),v(x,{style:{background:"rgba(255, 168, 0, 1)",border:"1px solid rgba(242, 177, 167, 1)",width:"100%"},modelValue:a.checked3,"onUpdate:modelValue":e[23]||(e[23]=l=>a.checked3=l),label:"800-1000"},null,8,["modelValue"])]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1}),d("div",Jn,[v(S,{props:ve,data:fe,onCheck:ke,"render-content":De,"show-checkbox":""})]),d("div",{class:"farmlandTimeDiv",id:s(ee)?"appear":"",onClick:e[25]||(e[25]=l=>Se(l))},[d("div",Kn,[(L(!0),D(Ee,null,Xe(s(_),(l,T)=>(L(),D("div",zn,qe(T),1))),256))])],8,Hn)])}}},Rn=Te(Gn,[["__scopeId","data-v-d061be2f"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/plough/resources/index.vue"]]);export{Rn as default};