Agriculture-front-end/dist/assets/index.5bcf05c9.js

2 lines
15 KiB
JavaScript
Raw Normal View History

2023-07-11 08:43:34 +08:00
import{H as W,_ as ke,r as d,A as Ce,V as Le,W as Fe,U as Y,a1 as Ee,d as w,o as p,c as L,l as i,m as G,e as A,w as x,L as J,N as O,f as v,k as I,g as M,F as ze,x as De,y as Ae,p as qe,q as je}from"./index.afd881ee.js";import Ve from"./downloads.4cdbbcc5.js";import{_ as se}from"./close1.45635d81.js";import{_ as Ne,a as Te,b as Ge,c as Ie}from"./position.a021215f.js";import{_ as Me,a as We}from"./TimeLine.vue_vue_type_style_index_0_scoped_26e8a223_lang.891b9335.js";import{_ as Be}from"./icon.d0cb5387.js";import"./index.6098b0aa.js";import"./linesGL.306b5757.js";import{T as Pe}from"./TimeLine.7d9e99e3.js";import{u as ae}from"./useEcharts.a1c5140e.js";import{i as ne,L as Re}from"./install.6cb28b74.js";function re(c){return W({url:"equipment/nonFood",method:"get",params:c})}function Ye(c){return W({url:"equipment/nonFoodChun",method:"get",params:c})}function Je(c){return W({url:"equipment/nonFoodHuoChun",method:"get",params:c})}function Oe(c){return W({url:"equipment/flYear ",method:"get",params:c})}const S=c=>(qe("data-v-8f171897"),c=c(),je(),c),Qe={class:"center"},$e=S(()=>i("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),He={class:"rightWra"},Ue={class:"rightbottom"},Xe={class:"title"},Ze=S(()=>i("span",null,"\u975E\u7CAE\u5316\u8015\u5730\u9762\u79EF\u7EDF\u8BA1",-1)),Ke=S(()=>i("img",{src:Ve,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),et={class:"rightbottom"},tt=S(()=>i("div",{class:"title"},[i("span",null,"\u975E\u7CAE\u5316\u8015\u5730\u9762\u79EF\u5360\u6BD4")],-1)),ot={key:0,src:se,alt:""},at={key:0,class:"imgrotate",src:se,alt:""},nt={class:"mt-4"},rt={class:"bottom_center"},st=Ae('<div class="tool" data-v-8f171897><span data-v-8f171897><img src="'+Ne+'" alt="" data-v-8f171897></span><span data-v-8f171897><img src="'+Te+'" alt="" data-v-8f171897></span><span data-v-8f171897><img src="'+Ge+'" alt="" data-v-8f171897></span><span data-v-8f171897><img src="'+Me+'" alt="" data-v-8f171897></span><span data-v-8f171897><img src="'+We+'" alt="" data-v-8f171897></span><span data-v-8f171897><img src="'+Ie+'" alt="" data-v-8f171897></span></div>',1),lt={id:"popup",class:"ol-popup"},it=S(()=>i("div",{class:"pophead",style:{width:"100%"}},[i("div",{id:"popup-title",style:{"font-size":"20px","font-weight":"400","letter-spacing":"1px",color:"rgba(246, 255, 255, 1)","line-height":"42px","padding-left":"45px"}}),i("a",{href:"#",id:"popup-closer",class:"ol-popup-closer"})],-1)),dt={id:"popup-content",style:{padding:"10px"}},ct={class:"perform_children"},ut=S(()=>i("img",{src:Be},null,-1)),pt=S(()=>i("span",null,"\u975E\u7CAE\u5316",-1)),ft=S(()=>i("div",{id:"popup-pagination"},null,-1)),mt={__name:"index",setup(c){d(null);const Q=d(null),$=d(null);let F=Ce({arr:[],brr:[],crr:[]}),g=d([]);const h=d("370211");d({info:[]});const le=d(!1);d(!0);let k=d(!0);const j=d([]);let H=d([]),B=d([]),P=d([]),C=d("");const ie=e=>{de(e)},de=e=>{let t=document.createElement("a");t.style.display="none",t.href=e,document.body.appendChild(t),t.click(),document.body.removeChild(t)};let R={\u975E\u7CAE\u5316:{color:"rgba(47, 236, 56, 0.8)",disabled:!1}},E={\u975E\u7CAE\u5316:{setOf:"2022-06-01-gengdi",name:"T2022_06_01_feilianghua"}},V=d(null);Le(()=>{ce()});function ce(){ye(),ue(),he(),ge();for(const e in R)R[e].disabled!==!0&&H.value.push(e);j.value=H.value}Fe(()=>{document.querySelector(".mode").style.display="none",window.document.querySelector("#screenfull").style.display="block"}),Y(()=>C.value,(e,t)=>{h.value="370211",ee(C.value.name)});let l=d(null);d(null),d(null);let U=d(null),N=d(null);function ue(){var e=document.querySelector(".center"),t=document.getElementById("cesiumContainer");l=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"})})]}),pe(),fe(),l.on("moveend",function(o){var a=l.getView().getZoom();a>=13?V.setVisible(!0):V.setVisible(!1)}),l.on("singleclick",function(o){var a=o.coordinate,