import{_ as Qe,u as We,r as s,a7 as ze,x as Ye,ag as qe,H as Re,S as je,d as J,o as K,c as ce,l as M,e as S,w,f as D,k as O,m as de,V as Ve,W as Ne,A as $e,K as me,M as ve,J as he,q as Oe,s as Ue}from"./index.9f28707e.js";import{_ as en,a as nn}from"./zhankaiss.6870329f.js";import{_ as an,a as on}from"./face.d3470a20.js";import{g as ge,a as ye,b as tn,S as q,T as R,F as _,R as Me,C as sn,c as pn,V as rn,M as ln,d as un,_ as fn,L as Se,P as be,e as cn,f as dn}from"./Modify.35edce3c.js";import"./index.2809c208.js";import{u as we}from"./useEcharts.342dbaed.js";import"./linesGL.76a64914.js";import{e as mn}from"./element-resize-detector.d4d1cd8d.js";import{b as vn,c as hn,d as gn,g as yn}from"./ssnyygsj.f988d3a3.js";import{ai as Mn,aj as G}from"./linkSeriesData.e74eae00.js";import"./index.030fe210.js";import"./browser-detector.d146ab9e.js";const I=Q=>(Oe("data-v-8771f93f"),Q=Q(),Ue(),Q),Sn={class:"center"},bn=I(()=>M("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),wn={class:"rightWra"},Dn=I(()=>M("img",{src:en},null,-1)),Ln=I(()=>M("img",{src:nn},null,-1)),xn={class:"tool"},_n=I(()=>M("img",{src:an,alt:""},null,-1)),Cn=I(()=>M("img",{src:on,alt:""},null,-1)),Bn=I(()=>M("img",{src:fn,alt:""},null,-1)),Tn={class:"TimeBox"},Pn={style:{color:"white","font-size":"11px"}},Jn={class:"InTimeContrl"},Fn={__name:"index2",setup(Q){const j=We(),U=s([]);let L=s(!1),F=s(!1),B=s(!1);function De(i){console.log(i)}function Le(){if(F.value=!F.value,F.value){let i=document.querySelector(".rightWra");i.style.transform="translate(0,0)"}else{let i=document.querySelector(".rightWra");i.style.transform="translate(101%,0)"}}s(""),s([]),s("");let W=s(!1);const ee=s("null");let z=s(null);s([]),s("2");let xe=s([]),X=s(1);s([]),s(!0);let g=s([]),_e=s([]),Ce=s([]);s("");let Be=s(""),Te=s("");s("\u9AD8\u6807\u51C6\u519C\u7530");let n=s([]),ne=s(!1),ae=s(!1);ze(()=>{vn().then(i=>{console.log(i,"\u83B7\u53D6\u5E74"),i.data.length>0&&(U.value=i.data)}),hn().then(i=>{console.log(i,"\u9AD8\u6807\u51C6\u519C\u7530")}),gn().then(i=>{console.log(i,"\u5360\u6BD4\u60C5\u51B5")}),yn().then(i=>{console.log(i,"\u83B7\u53D6\u5168\u90E8\u9547")})}),Ye(()=>{Pe(),Je(),Ie(),ke(),He("\u9AD8\u6807\u51C6\u519C\u7530");var i=window.location.host,o=/^(([-\u4E00-\u9FA5a-z0-9]{1,63})\.)+([\u4E00-\u9FA5a-z]{2,63})\.?$/;o.test(i)?(alert("\u8BF7\u4F7F\u7528\u91D1\u5B8F\u7F51\u8BBF\u95EE\u672C\u9875\u9762!"),qe().delView(j.currentRoute.value),j.go(-1)):console.log("\u91D1\u5B8F\u7F51");let r=document.querySelector(".rightWra");r.style.transform="translate(101%,0)",localStorage.setItem(j.currentRoute.value.path,!0)}),Re(()=>{document.querySelector(".mode").style.display="none",window.document.querySelector("#screenfull").style.display="block"});let c=s(null);s(null);let T=s(null),oe=s(null),Y=s(null);function Pe(){console.log(ol,"ol");var i=document.querySelector(".center"),o=document.getElementById("cesiumContainer");c=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})]}),Fe(),Xe(),c.on("moveend",function(l){var u=c.getView().getZoom();u>=13?z.setVisible(!0):z.setVisible(!1)}),c.on("singleclick",function(l){n=s([]);var u=l.coordinate,d=u[0],t=u[1],a=c.getView();c.getView().getZoom(),a.animate({center:[d,t],duration:1e3}),xe.value.forEach(p=>{layersDic[p]?ie(l,layersDic[p].setOf,`${serverAPI.geoserverUrl2}/${layersDic[p].name}/rest/maps/${layersDic[p].setOf}`,p):layersGbz[p]&&ie(l,layersGbz[p].setOf,`${serverAPI.geoserverUrl2}/${layersGbz[p].name}/rest/maps/${layersGbz[p].setOf}`,p)})});var r=new ResizeObserver(function(l){l.forEach(function(u){var d=u.contentRect.width,t=u.contentRect.height;o.style.width=d+"px",o.style.height=t+"px",c.updateSize()})});r.observe(i)}function ie(i,o,r,l){var u=new ol.geom.Point(i.coordinate),d=new ol.supermap.QueryByGeometryParameters({queryParams:{name:o},geometry:u});let t=document.querySelector("#popup-title"),a=s(null);var p=s(1),b=1;new ol.supermap.QueryService(r).queryByGeometry(d,function(h){if(h.result.currentCount>0){n.value.push({name:l,information:h.result.recordsets[0].features.features[0].properties}),n.value.length>1?ne.value=!0:ne.value=!1,h.result.recordsets[0].features&&(Y.setPosition(u.flatCoordinates),n.value[0].name>=2019?(t.innerHTML="\u9AD8\u6807\u51C6\u519C\u7530",T.innerHTML='

\u9879\u76EE\u540D\u79F0: '+n.value[0].information.XMMC+"

\u9879\u76EE\u7F16\u53F7: "+n.value[0].information.XMBH+"

\u9879\u76EE\u9762\u79EF: "+n.value[0].information.XMMJ+"

\u5730\u5757\u9762\u79EF: "+n.value[0].information.DKMJ+"

\u6807\u8BC6\u7801: "+n.value[0].information.BSM+"

\u5730\u5757\u7F16\u53F7: "+n.value[0].information.DKBH+"

\u9879\u76EE\u5E74\u4EFD: "+n.value[0].information.XMNF+"

"):n.value[0].name>=2011&&n.value[0].name<=2018?(t.innerHTML="\u9AD8\u6807\u51C6\u519C\u7530",T.innerHTML='

\u9879\u76EE\u540D\u79F0:'+n.value[0].information.XMMC+"

\u6807\u8BC6\u7801: "+n.value[0].information.BSM+"

\u5730\u5757\u9762\u79EF: "+n.value[0].information.DIKUAIAREA+"

\u5730\u5757\u7528\u9014/\u7C7B\u578B: "+n.value[0].information.DLBM+"

\u9879\u76EE\u7F16\u53F7: "+n.value[0].information.XMBH+"

"):n.value[0].name=="\u6C38\u4E45\u57FA\u672C\u519C\u7530"?(t.innerHTML="\u6C38\u4E45\u57FA\u672C\u519C\u7530",T.innerHTML='

\u7C7B\u578B: '+n.value[0].name+"

\u5730\u7C7B\u540D\u79F0: "+n.value[0].information.DLMC+"

\u6743\u5C5E\u6027\u8D28: "+n.value[0].information.QSXZ+"

\u6743\u5C5E\u5355\u4F4D\u540D\u79F0: "+n.value[0].information.QSDWMC+"

\u5750\u843D\u5355\u4F4D\u540D\u79F0: "+n.value[0].information.ZLDWMC+"

\u6263\u9664\u5730\u7C7B\u7F16\u7801: "+n.value[0].information.KCDLBM+"

\u6263\u9664\u7CFB\u6570: "+n.value[0].information.KCXS+"

\u6263\u9664\u9762\u79EF: "+n.value[0].information.KCMJ+"

\u8015\u5730\u7C7B\u578B: "+n.value[0].information.GDLX+"

\u8015\u5730\u5761\u5EA6\u7EA7\u522B: "+n.value[0].information.GDPDJB+"

\u79CD\u690D\u5C5E\u6027\u4EE3\u7801: "+n.value[0].information.ZZSXDM+"

\u79CD\u690D\u5C5E\u6027\u540D\u79F0: "+n.value[0].information.ZZSXMC+"

\u8015\u5730\u7B49\u7EA7: "+n.value[0].information.GDDJ+"

\u6570\u636E\u5E74\u4EFD: "+n.value[0].information.SJNF+"

\u4FDD\u62A4\u5F00\u59CB\u65F6\u95F4: "+n.value[0].information.BHKSSJ+"

\u6C38\u4E45\u57FA\u672C\u519C\u7530\u9762\u79EF: "+(n.value[0].information.YJJBNTMJ_Y/666).toFixed(2)+"(\u4EA9)

"):n.value[0].name=="\u8015\u5730"?(t.innerHTML="\u8015\u5730",T.innerHTML='

\u5730\u7C7B\u540D\u79F0: '+n.value[0].information.DLMC+"

\u6743\u5C5E\u5355\u4F4D\u540D\u79F0: "+n.value[0].information.QSDWMC+"

\u5750\u843D\u5355\u4F4D\u540D\u79F0: "+n.value[0].information.ZLDWMC+"

\u6263\u9664\u5730\u7C7B\u7F16\u7801: "+n.value[0].information.KCDLBM+"

\u6263\u9664\u7CFB\u6570: "+n.value[0].information.KCXS+"

\u6263\u9664\u9762\u79EF: "+n.value[0].information.KCMJ+"

\u8015\u5730\u7C7B\u578B: "+n.value[0].information.GDLX+"

\u8015\u5730\u5761\u5EA6\u7EA7\u522B: "+n.value[0].information.GDPDJB+"

\u79CD\u690D\u5C5E\u6027\u4EE3\u7801: "+n.value[0].information.ZZSXDM+"

\u79CD\u690D\u5C5E\u6027\u540D\u79F0: "+n.value[0].information.ZZSXMC+"

\u6570\u636E\u5E74\u4EFD: "+n.value[0].information.SJNF+"

\u56FE\u6591\u9762\u79EF: "+(n.value[0].information.TBMJ_YS/666).toFixed(2)+"(\u4EA9)

\u56FE\u6591\u5730\u7C7B\u9762\u79EF: "+(n.value[0].information.TBDLMJ_YS/666).toFixed(2)+"(\u4EA9)

"):n.value[0].name=="\u7247\u5757\u4FE1\u606F"?(t.innerHTML="\u7247\u5757\u4FE1\u606F",T.innerHTML='

\u6807\u8BC6\u7801: '+n.value[0].information.BSM+"

\u8981\u7D20\u4EE3\u7801: "+n.value[0].information.YSDM+"

\u4E24\u533A\u4EE3\u7801: "+n.value[0].information.LQDM+"

\u4E24\u533A\u7247\u5757\u4EE3\u7801: "+n.value[0].information.LQPKDM+"

\u4E24\u533A\u7247\u5757\u9762\u79EF(\u4EA9): "+n.value[0].information.LQPKMJM+"

\u7247\u5757\u7C7B\u578B: "+n.value[0].information.PKLX+"

"):n.value[0].name=="\u5730\u5757\u4FE1\u606F"?(t.innerHTML="\u5730\u5757\u4FE1\u606F",T.innerHTML='

\u6807\u8BC6\u7801: '+n.value[0].information.BSM+"

\u8981\u7D20\u4EE3\u7801: "+n.value[0].information.YSDM+"

\u4E24\u533A\u7247\u5757\u4EE3\u7801: "+n.value[0].information.LQPKDM+"

\u4E24\u533A\u7C7B\u578B: "+n.value[0].information.LQLX+"

\u533A\u57DF\u5212\u5206\u7C7B\u578B: "+n.value[0].information.QYHFLX+"

\u4E24\u533A\u5730\u5757\u4EE3\u7801: "+n.value[0].information.LQDKDM+"

\u4E24\u533A\u5730\u5757\u9762\u79EF(\u4EA9): "+n.value[0].information.LQDKMJM+"

\u98DE\u5165\u5730\u6807\u8BC6: "+n.value[0].information.FRDBS+"

\u5761\u5EA6\u7EA7\u522B: "+n.value[0].information.PDJB+"

\u662F\u5426\u9AD8\u6807\u51C6\u519C\u7530: "+n.value[0].information.SFGBZNT+"

\u7ECF\u8425\u4E3B\u4F53\u7C7B\u578B: "+n.value[0].information.JYZTLX+"

"):n.value[0].name=="\u571F\u5730\u786E\u6743"?(t.innerHTML="\u571F\u5730\u786E\u6743",W.value=!0,ge({dkbm:n.value[0].information.DKBM}).then(v=>{let P=[];v.data[0].cbdkxxes.forEach(H=>{P.push(H.cyxm)}),T.innerHTML='

\u8981\u7D20\u4EE3\u7801: '+n.value[0].information.YSDM+"

\u5730\u5757\u7F16\u7801: "+n.value[0].information.DKBM+"

\u5730\u5757\u540D\u79F0: "+n.value[0].information.DKMC+"

\u6240\u6709\u6743\u6027\u8D28: "+n.value[0].information.SYQXZ+"

\u5730\u5757\u7C7B\u522B:"+n.value[0].information.DKLB+"

\u571F\u5730\u5229\u7528\u7C7B\u578B: "+n.value[0].information.TDLYLX+"

\u5730\u529B\u7B49\u7EA7: "+n.value[0].information.DLDJ+"

\u571F\u5730\u7528\u9014: "+n.value[0].information.TDYT+"

\u662F\u5426\u57FA\u672C\u519C\u7530: "+n.value[0].information.SFJBNT+"

\u5B9E\u6D4B\u9762\u79EF\u4EA9: "+(n.value[0].information.SCMJ/666).toFixed(2)+"

\u627F\u5305\u65B9: "+v.data[0].cbfmc+"

\u627F\u5305\u65B9\u5BB6\u5EAD\u6210\u5458:"+P.join(",")+"

",W.value=!1})):n.value[0].name=="\u571F\u5730\u5229\u7528\u73B0\u72B6"&&(t.innerHTML="\u571F\u5730\u5229\u7528\u73B0\u72B6",T.innerHTML='

\u6807\u8BC6\u7801: '+n.value[0].information.BSM+"

\u5730\u7C7B\u540D\u79F0: "+n.value[0].information.DLMC+"

\u56FE\u6591\u9762\u79EF: "+(n.value[0].information.TBMJ/666).toFixed(2)+"(\u4EA9)

\u5750\u843D\u5355\u4F4D\u540D\u79F0: "+n.value[0].information.ZLDWMC+"

\u6743\u5C5E\u6027\u8D28: "+n.value[0].information.QSXZ+"

\u6743\u5C5E\u5355\u4F4D\u540D\u79F0: "+n.value[0].information.QSDWMC+"

\u8015\u5730\u5761\u5EA6\u7EA7\u522B: "+n.value[0].information.GDPDJB+"

\u98DE\u5165\u5730\u6807\u8BC6: "+n.value[0].information.FRDBS+"

\u79CD\u690D\u7C7B\u578B: "+n.value[0].information.ZZSXMC+"

"));var C=c.getLayers().getArray().find(v=>v.get("id")==="zhezhao");c.removeLayer(C),a=c.getLayers().getArray().find(v=>v.get("id")==="dianjigaoliang"),c.removeLayer(a);var x=new ol.format.GeoJSON().readFeatures(h.result.recordsets[0].features),f=new ol.source.Vector;f.addFeatures(x);const e=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(255, 219, 113, 1.0)",width:5})});var m=new ol.layer.Vector({id:"dianjigaoliang",source:f,zIndex:9999});m.setStyle(e),c.addLayer(m)}}),oe.addEventListener("click",function(){a=c.getLayers().getArray().find(h=>h.get("id")==="dianjigaoliang"),c.removeLayer(a),Y.setPosition(void 0)}),document.getElementById("popup-prev").addEventListener("click",function(){p.value>1&&(p.value--,y(),p.value<=1&&(ae.value=!1))}),document.getElementById("popup-next").addEventListener("click",function(h){var C=n.value.length,x=Math.ceil(C/b);p.value=2019?(t.innerHTML="\u9AD8\u6807\u51C6\u519C\u7530",f.innerHTML='

\u7C7B\u578B: \u9AD8\u6807\u51C6\u519C\u7530

\u9879\u76EE\u7F16\u53F7: '+e.information.XMBH+"

\u9879\u76EE\u9762\u79EF: "+e.information.XMMJ+"

\u5730\u5757\u9762\u79EF: "+e.information.DKMJ+"

\u6807\u8BC6\u7801: "+e.information.BSM+"

\u5730\u5757\u7F16\u53F7: "+e.information.DKBH+"

\u9879\u76EE\u5E74\u4EFD: "+e.information.XMNF+'

\u9879\u76EE\u540D\u79F0: '+e.information.XMMC+"

"):e.name>=2011&&e.name<=2018?(t.innerHTML="\u9AD8\u6807\u51C6\u519C\u7530",f.innerHTML='

\u6807\u8BC6\u7801: '+e.information.BSM+"

\u5730\u5757\u9762\u79EF: "+e.information.DIKUAIAREA+"

\u5730\u5757\u7528\u9014/\u7C7B\u578B: "+e.information.DLBM+"

\u9879\u76EE\u7F16\u53F7: "+e.information.XMBH+'

\u9879\u76EE\u540D\u79F0:'+e.information.XMMC+"

"):e.name=="\u6C38\u4E45\u57FA\u672C\u519C\u7530"?(t.innerHTML="\u6C38\u4E45\u57FA\u672C\u519C\u7530",f.innerHTML='

\u7C7B\u578B: '+e.name+"

\u5730\u7C7B\u540D\u79F0: "+e.information.DLMC+"

\u6743\u5C5E\u6027\u8D28: "+e.information.QSXZ+"

\u6743\u5C5E\u5355\u4F4D\u540D\u79F0: "+e.information.QSDWMC+"

\u5750\u843D\u5355\u4F4D\u540D\u79F0: "+e.information.ZLDWMC+"

\u6263\u9664\u5730\u7C7B\u7F16\u7801: "+e.information.KCDLBM+"

\u6263\u9664\u7CFB\u6570: "+e.information.KCXS+"

\u6263\u9664\u9762\u79EF: "+e.information.KCMJ+"

\u8015\u5730\u7C7B\u578B: "+e.information.GDLX+"

\u8015\u5730\u5761\u5EA6\u7EA7\u522B: "+e.information.GDPDJB+"

\u79CD\u690D\u5C5E\u6027\u4EE3\u7801: "+e.information.ZZSXDM+"

\u79CD\u690D\u5C5E\u6027\u540D\u79F0: "+e.information.ZZSXMC+"

\u8015\u5730\u7B49\u7EA7: "+e.information.GDDJ+"

\u6570\u636E\u5E74\u4EFD: "+e.information.SJNF+"

\u4FDD\u62A4\u5F00\u59CB\u65F6\u95F4: "+e.information.BHKSSJ+"

\u6C38\u4E45\u57FA\u672C\u519C\u7530\u9762\u79EF: "+(e.information.YJJBNTMJ_Y/666).toFixed(2)+"(\u4EA9)

"):e.name=="\u8015\u5730"?(t.innerHTML="\u8015\u5730",f.innerHTML='

\u7C7B\u578B: '+e.name+"

\u5730\u7C7B\u540D\u79F0: "+e.information.DLMC+"

\u6743\u5C5E\u5355\u4F4D\u540D\u79F0: "+e.information.QSDWMC+"

\u5750\u843D\u5355\u4F4D\u540D\u79F0: "+e.information.ZLDWMC+"

\u6263\u9664\u5730\u7C7B\u7F16\u7801: "+e.information.KCDLBM+"

\u6263\u9664\u7CFB\u6570: "+e.information.KCXS+"

\u6263\u9664\u9762\u79EF: "+e.information.KCMJ+"

\u8015\u5730\u7C7B\u578B: "+e.information.GDLX+"

\u8015\u5730\u5761\u5EA6\u7EA7\u522B: "+e.information.GDPDJB+"

\u79CD\u690D\u5C5E\u6027\u4EE3\u7801: "+e.information.ZZSXDM+"

\u79CD\u690D\u5C5E\u6027\u540D\u79F0: "+e.information.ZZSXMC+"

\u6570\u636E\u5E74\u4EFD: "+e.information.SJNF+"

\u56FE\u6591\u9762\u79EF: "+(e.information.TBMJ_YS/666).toFixed(2)+"(\u4EA9)

\u56FE\u6591\u5730\u7C7B\u9762\u79EF: "+(e.information.TBDLMJ_YS/666).toFixed(2)+"(\u4EA9)

"):e.name=="\u7247\u5757\u4FE1\u606F"?(t.innerHTML="\u7247\u5757\u4FE1\u606F",f.innerHTML='

\u7C7B\u578B: '+e.name+"

\u6807\u8BC6\u7801: "+e.information.BSM+"

\u8981\u7D20\u4EE3\u7801: "+e.information.YSDM+"

\u4E24\u533A\u4EE3\u7801: "+e.information.LQDM+"

\u4E24\u533A\u7247\u5757\u4EE3\u7801: "+e.information.LQPKDM+"

\u4E24\u533A\u7247\u5757\u9762\u79EF(\u4EA9): "+e.information.LQPKMJM+"

\u7247\u5757\u7C7B\u578B: "+e.information.PKLX+"

"):e.name=="\u5730\u5757\u4FE1\u606F"?(t.innerHTML="\u5730\u5757\u4FE1\u606F",f.innerHTML='

\u7C7B\u578B: '+e.name+"

\u6807\u8BC6\u7801: "+e.information.BSM+"

\u8981\u7D20\u4EE3\u7801: "+e.information.YSDM+"

\u4E24\u533A\u7247\u5757\u4EE3\u7801: "+e.information.LQPKDM+"

\u4E24\u533A\u7C7B\u578B: "+e.information.LQLX+"

\u533A\u57DF\u5212\u5206\u7C7B\u578B: "+e.information.QYHFLX+"

\u4E24\u533A\u5730\u5757\u4EE3\u7801: "+e.information.LQDKDM+"

\u4E24\u533A\u5730\u5757\u540D\u79F0: "+e.information.LQDKMC+"

\u4E24\u533A\u5730\u5757\u9762\u79EF(\u4EA9): "+e.information.LQDKMJM+"

\u98DE\u5165\u5730\u6807\u8BC6: "+e.information.FRDBS+"

\u5761\u5EA6\u7EA7\u522B: "+e.information.PDJB+"

\u662F\u5426\u9AD8\u6807\u51C6\u519C\u7530: "+e.information.SFGBZNT+"

\u7ECF\u8425\u4E3B\u4F53\u7C7B\u578B: "+e.information.JYZTLX+"

"):e.name=="\u571F\u5730\u786E\u6743"?(t.innerHTML="\u571F\u5730\u786E\u6743",W.value=!0,ge({dkbm:e.information.DKBM}).then(v=>{let P=[];v.data[0].cbdkxxes.forEach(H=>{P.push(H.cyxm)}),f.innerHTML='

\u7C7B\u578B: '+e.name+"

\u8981\u7D20\u4EE3\u7801: "+e.information.YSDM+"

\u5730\u5757\u7F16\u7801: "+e.information.DKBM+"

\u5730\u5757\u540D\u79F0: "+e.information.DKMC+"

\u6240\u6709\u6743\u6027\u8D28: "+e.information.SYQXZ+"

\u5730\u5757\u7C7B\u522B:"+e.information.DKLB+"

\u571F\u5730\u5229\u7528\u7C7B\u578B: "+e.information.TDLYLX+"

\u5730\u529B\u7B49\u7EA7: "+e.information.DLDJ+"

\u571F\u5730\u7528\u9014: "+e.information.TDYT+"

\u662F\u5426\u57FA\u672C\u519C\u7530: "+e.information.SFJBNT+"

\u5B9E\u6D4B\u9762\u79EF\u4EA9: "+(e.information.SCMJ/666).toFixed(2)+"

\u627F\u5305\u65B9: "+v.data[0].cbfmc+"

\u627F\u5305\u65B9\u5BB6\u5EAD\u6210\u5458:"+P.join(",")+"

",W.value=!1})):e.name=="\u571F\u5730\u5229\u7528\u73B0\u72B6"&&(t.innerHTML="\u571F\u5730\u5229\u7528\u73B0\u72B6",f.innerHTML='

\u6807\u8BC6\u7801: '+e.information.BSM+"

\u5730\u7C7B\u540D\u79F0: "+e.information.DLMC+"

\u56FE\u6591\u9762\u79EF: "+(e.information.TBMJ/666).toFixed(2)+"(\u4EA9)

\u5750\u843D\u5355\u4F4D\u540D\u79F0: "+e.information.ZLDWMC+"

\u6743\u5C5E\u6027\u8D28: "+e.information.QSXZ+"

\u6743\u5C5E\u5355\u4F4D\u540D\u79F0: "+e.information.QSDWMC+"

\u8015\u5730\u5761\u5EA6\u7EA7\u522B: "+e.information.GDPDJB+"

\u98DE\u5165\u5730\u6807\u8BC6: "+e.information.FRDBS+"

\u79CD\u690D\u7C7B\u578B: "+e.information.ZZSXMC+"

")}}}const Je=()=>{document.getElementById("popup"),T=document.getElementById("popup-content"),oe=document.getElementById("popup-closer"),Y=new ol.Overlay({element:document.getElementById("popup"),positioning:"bottom-center",stopEvent:!0,offset:[0,-10]}),c.addOverlay(Y)},Fe=()=>{z=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}),c.addLayer(z)},Xe=()=>{var i=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});c.addLayer(i)};s({label:[]});const ke=()=>{ye().then(i=>{Ce.value=i.data})},He=i=>{tn({flag:i}).then(o=>{Te.value=o.data[o.data.length-1].zSum,Be.value=o.data[o.data.length-1].zQuantity,g.value=o.data,Ge()})},Ie=i=>{ye().then(o=>{_e.value=o.data})},te=new q({text:new R({font:"12px Calibri,sans-serif",fill:new _({color:"rgba(255, 255, 255, 1)"}),backgroundFill:new _({color:"rgba(0, 0, 0, 0.4)"}),padding:[2,2,2,2],textBaseline:"bottom",offsetY:-12}),image:new Me({radius:6,points:3,angle:Math.PI,displacement:[0,8],fill:new _({color:"rgba(0, 0, 0, 0.4)"})})}),V=new q({image:new sn({radius:5,stroke:new pn({color:"rgba(0, 0, 0, 0.7)"}),fill:new _({color:"rgba(0, 0, 0, 0.4)"})}),text:new R({text:"Drag to modify",font:"12px Calibri,sans-serif",fill:new _({color:"rgba(255, 255, 255, 1)"}),backgroundFill:new _({color:"rgba(0, 0, 0, 0.7)"}),padding:[2,2,2,2],textAlign:"left",offsetX:15})}),A=[te];var se,k,E,Z;function N(){Z&&(c.removeLayer(Z),Z=null),k&&(c.removeInteraction(k),k=null),E=null}function Ae(){B.value=!B.value,N(),ue("length")}function Ee(){B.value=!B.value,N(),ue("area")}function Ze(){B.value=!B.value,N()}const pe=new q({text:new R({font:"12px Calibri,sans-serif",fill:new _({color:"red"}),backgroundFill:new _({color:"rgba(0, 0, 0, 0.4)"}),padding:[2,2,2,2],textAlign:"left",offsetX:15})}),$=new q({text:new R({font:"14px Calibri,sans-serif",fill:new _({color:"rgba(255, 255, 255, 1)"}),backgroundFill:new _({color:"rgba(0, 0, 0, 0.4)"}),padding:[3,3,3,3],textBaseline:"bottom",offsetY:-15}),image:new Me({radius:8,points:3,angle:Math.PI,displacement:[0,10],fill:new _({color:"rgba(0, 0, 0, 0.4)"})})});var re=function(i){var o=cn(i,{projection:c.getView().getProjection()}),r;return o>1e3?r=Math.round(o/1e3*100)/100+" km":r=Math.round(o*100)/100+" m",r},Ke=function(i){var o=dn(i,{projection:c.getView().getProjection()}),r;return o>1e4?r=Math.round(o/1e6*100)/100+" km\xB2":r=Math.round(o*100)/100+" m\xB2",r};function le(i,o,r,l){const u=[style],d=i.getGeometry(),t=d.getType();let a,p,b;if((!r||r===t)&&(t==="Polygon"?(a=d.getInteriorPoint(),p=Ke(d),b=new Se(d.getCoordinates()[0])):t==="LineString"&&(a=new be(d.getLastCoordinate()),p=re(d),b=d)),o&&b){let y=0;b.forEachSegment(function(h,C){const x=new Se([h,C]),f=re(x);A.length-1{o.indexOf(a.year)==-1&&(o.push(a.name),r.push(a.sum))}):X.value=="2"?g.value.forEach(a=>{o.push(a.name),r.push(a.sum),l.push(a.quantity?a.quantity:0)}):X.value=="3"?(g.value.forEach(a=>{o.push(a.name),r.push(a.sum),l.push(a.quantity?a.quantity:0)}),u.push({type:"bar",yAxisIndex:0,name:"\u6570\u91CF(\u4E2A)",barWidth:"15",itemStyle:{normal:{color:new G(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,p){},data:l})):X.value=="4"?(g.value.forEach(a=>{o.push(a.name),r.push(a.sum),l.push(a.quantity?a.quantity:0)}),u.push({type:"bar",yAxisIndex:0,name:"\u6570\u91CF(\u4E2A)",barWidth:"15",itemStyle:{normal:{color:new G(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,p){},data:l})):X.value=="5"?(g.value.forEach(a=>{o.push(a.name),r.push(a.sum),l.push(a.quantity?a.quantity:0)}),u.push({type:"bar",yAxisIndex:0,name:"\u6570\u91CF(\u4E2A)",barWidth:"15",itemStyle:{normal:{color:new G(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,p){},data:l})):X.value=="6"&&(g.value.forEach(a=>{o.push(a.name),r.push(a.sum),l.push(a.quantity?a.quantity:0)}),u.push({type:"bar",yAxisIndex:0,name:"\u6570\u91CF(\u4E2A)",barWidth:"15",itemStyle:{normal:{color:new G(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,p){},data:l}));let d=10/o.length*100;if(X.value==1){let y=function(f,m){const e=[];return f.forEach((v,P)=>{const H=[];for(let fe=0;fe{a.indexOf(f.year)==-1&&a.push(f.year)}),g.value.forEach(f=>{let m=[];a.forEach((e,v)=>{e==f.year?m.push(f.sum):m.push(void 0)}),p.push(m)}),p.forEach((f,m)=>{b.push(...y(p[m],`${g.value[m].name}`))});let h={xAxis:a.map((f,m)=>{const e=Array(a.length).fill("");return e[m]=f+"\u5E74",{type:"category",position:"bottom",data:e,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(f){var m='
';return f.forEach(e=>{if(e.value>0){for(let v=0;v
${g.value[v].name}:
\u6295\u8D44\u91D1\u989D\uFF1A${g.value[v].quantity} \u4E07\u5143
\u9762\u79EF\uFF1A${g.value[v].sum} \u4EA9
`);m+=""}}),m}},dataZoom:[{type:"slider",width:"40%",zoomLock:!0,top:"78%",start:0,end:d/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:b},C=window.document.querySelector(".Farmland_area");C.style.height="350px",h&&i.setOption(h,{notMerge:!0,grid:{bottom:20}}),we(i,h),mn().listenTo(ee.value,()=>{je(()=>{i.resize()})})}else{var t={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:d/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:o,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:u};let a=window.document.querySelector(".Farmland_area");a.style.height="70%",t&&i.setOption(t,{notMerge:!0,grid:{bottom:20}}),we(i,t)}}return(i,o)=>{const r=J("el-icon"),l=J("el-tooltip"),u=J("el-timeline-item"),d=J("el-timeline"),t=J("ArrowUpBold"),a=J("VideoPause"),p=J("VideoPlay"),b=J("ArrowDownBold");return K(),ce("div",Sn,[bn,M("div",wn,[M("div",{class:"rightFoldDiv",onClick:o[0]||(o[0]=y=>Le())},[S(l,{disabled:!D(F),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:w(()=>[D(F)?(K(),O(r,{key:0},{default:w(()=>[Dn]),_:1})):de("",!0)]),_:1},8,["disabled"]),S(l,{disabled:D(F),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:w(()=>[D(F)?de("",!0):(K(),O(r,{key:0},{default:w(()=>[Ln]),_:1}))]),_:1},8,["disabled"])]),M("div",xn,[M("span",{onClick:Ae},[S(l,{class:"box-item",disabled:D(B),"show-arrow":!1,"hide-after":"0","show-after":"200",effect:"dark",content:"\u6D4B\u91CF\u7EBF",placement:"left",offset:"1"},{default:w(()=>[_n]),_:1},8,["disabled"])]),M("span",{onClick:Ee},[S(l,{class:"box-item",disabled:D(B),"show-arrow":!1,"hide-after":"0","show-after":"200",effect:"dark",content:"\u6D4B\u91CF\u9762",placement:"left",offset:"1"},{default:w(()=>[Cn]),_:1},8,["disabled"])]),M("span",{onClick:Ze},[S(l,{class:"box-item",disabled:D(B),"show-arrow":!1,"hide-after":"0","show-after":"200",effect:"dark",content:"\u6E05\u9664",placement:"left",offset:"1"},{default:w(()=>[Bn]),_:1},8,["disabled"])])])]),M("div",Tn,[S(d,{style:{"max-width":"600px"}},{default:w(()=>[(K(!0),ce(Ve,null,Ne(U.value,(y,h)=>(K(),O(u,{key:h,color:"white",onClick:C=>De(h)},{default:w(()=>[M("p",Pn,$e(y),1)]),_:2},1032,["onClick"]))),128))]),_:1}),M("div",Jn,[S(r,{color:"white"},{default:w(()=>[S(t)]),_:1}),me(S(r,{color:"white",onClick:o[1]||(o[1]=y=>he(L)?L.value=!D(L):L=!D(L))},{default:w(()=>[S(a)]),_:1},512),[[ve,D(L)]]),me(S(r,{color:"white",onClick:o[2]||(o[2]=y=>he(L)?L.value=!D(L):L=!D(L))},{default:w(()=>[S(p)]),_:1},512),[[ve,!D(L)]]),S(r,{color:"white"},{default:w(()=>[S(b)]),_:1})])])])}}},Yn=Qe(Fn,[["__scopeId","data-v-8771f93f"]]);export{Yn as default};