Agriculture-front-end/dist/assets/index.22a3367c.js

2 lines
15 KiB
JavaScript
Raw Normal View History

2023-07-11 08:43:34 +08:00
import{H as F,_ as ke,r as d,A as Le,V as Ee,W as Ae,U as J,a1 as ze,d as w,o as f,c as L,l as i,m as M,e as q,w as x,L as O,N as Q,f as m,k as N,g as W,F as De,x as qe,y as je,p as Ve,q as Fe}from"./index.afd881ee.js";import Te from"./downloads.4cdbbcc5.js";import{_ as se}from"./close1.45635d81.js";import{_ as Ge,a as Ie,b as Me,c as Ne}from"./position.a021215f.js";import{_ as We,a as Be}from"./TimeLine.vue_vue_type_style_index_0_scoped_26e8a223_lang.891b9335.js";import{_ as Pe}from"./icon.d0cb5387.js";import"./index.6098b0aa.js";import"./linesGL.306b5757.js";import{T as Re}from"./TimeLine.7d9e99e3.js";import{u as ae}from"./useEcharts.a1c5140e.js";import{i as ne,L as Je}from"./install.6cb28b74.js";function re(c){return F({url:"equipment/abandon",method:"get",params:c})}function Oe(c){return F({url:"equipment/abandonChun",method:"get",params:c})}function Qe(c){return F({url:"equipment/abandonHuoChun",method:"get",params:c})}function $e(c){return F({url:"equipment/cityAndCountZb",method:"get",params:c})}function He(c){return F({url:"equipment/lhdyear",method:"get",params:c})}const S=c=>(Ve("data-v-722f0c81"),c=c(),Fe(),c),Ye={class:"center"},Ue=S(()=>i("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Ze={class:"rightWra"},Xe={class:"rightbottom"},Ke={class:"title"},et=S(()=>i("span",null,"\u6482\u8352\u8015\u5730\u9762\u79EF\u7EDF\u8BA1",-1)),tt=S(()=>i("img",{src:Te,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ot={class:"rightbottom"},at=S(()=>i("div",{class:"title"},[i("span",null,"\u6482\u8352\u8015\u5730\u9762\u79EF\u5360\u6BD4")],-1)),nt={key:0,src:se,alt:""},rt={key:0,class:"imgrotate",src:se,alt:""},st={class:"mt-4"},lt={class:"bottom_center"},it=je('<div class="tool" data-v-722f0c81><span data-v-722f0c81><img src="'+Ge+'" alt="" data-v-722f0c81></span><span data-v-722f0c81><img src="'+Ie+'" alt="" data-v-722f0c81></span><span data-v-722f0c81><img src="'+Me+'" alt="" data-v-722f0c81></span><span data-v-722f0c81><img src="'+We+'" alt="" data-v-722f0c81></span><span data-v-722f0c81><img src="'+Be+'" alt="" data-v-722f0c81></span><span data-v-722f0c81><img src="'+Ne+'" alt="" data-v-722f0c81></span></div>',1),dt={id:"popup",class:"ol-popup"},ct=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)),ut={id:"popup-content",style:{padding:"10px"}},pt={class:"perform_children"},ft=S(()=>i("img",{src:Pe},null,-1)),gt=S(()=>i("span",null,"\u6482\u8352\u5730",-1)),ht=S(()=>i("div",{id:"popup-pagination"},null,-1)),mt={__name:"index",setup(c){d(null);const $=d(null),H=d(null);let E=Le({arr:[],brr:[],crr:[]}),v=d([]);const h=d("370211");d({info:[]});const le=d(!1);d(!0);let C=d(!0);const j=d([]);let Y=d([]),B=d([]),P=d([]),k=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={\u6482\u8352\u5730:{color:"rgba(175, 110, 250, 0.8)",disabled:!1}},A={\u6482\u8352\u5730:{setOf:"2022-06-01-gengdi",name:"T2022_06_01_liaohuang"}},T=d(null);Ee(()=>{ce()});function ce(){ye(),ue(),me(),he(),be();for(const e in R)R[e].disabled!==!0&&Y.value.push(e);j.value=Y.value,console.log(j.value)}Ae(()=>{document.querySelector(".mode").style.display="none",window.document.querySelector("#screenfull").style.display="block"}),J(()=>k.value,(e,t)=>{h.value="370211",ee(k.value.name)});let l=d(null);d(null),d(null);let U=d(null),G=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(