Agriculture-front-end/dist/assets/index.ad7fc4a9.js

2 lines
18 KiB
JavaScript
Raw Normal View History

2023-07-26 17:29:34 +08:00
import Qe from"./downloads.4cdbbcc5.js";import{_ as ve}from"./linesGL.99030c5a.js";import{_ as Te,a as Ve,b as Ie,c as We}from"./position.a021215f.js";import{_ as Je,a as Me}from"./face.2eec3bdc.js";import{K as $,_ as $e,r as u,D as Pe,t as Ye,X as Be,x as Z,v as Oe,M as de,d as q,o as b,c as j,k as i,m as Q,f as x,j as T,w as C,P as U,Q as K,l as V,e as I,I as Xe,y as ce,B as Re,p as He,q as Ze}from"./index.1974707a.js";import"./index.e2d056fa.js";import{T as Ue}from"./TimeLine.50b18dc6.js";import{u as pe}from"./useEcharts.2e9d7b11.js";import{d as me}from"./download.b14e0d1d.js";import{e as ge}from"./element-resize-detector.d8720798.js";import{i as fe,L as Ke}from"./install.49294472.js";/* empty css */function ee(v){return $({url:"equipment/nonFood",method:"get",params:v})}function he(v){return $({url:"equipment/nonFoodChun",method:"get",params:v})}function et(v){return $({url:"equipment/nonFoodHuoChun",method:"get",params:v})}function tt(v){return $({url:"equipment/fnYear ",method:"get",params:v})}const z=v=>(He("data-v-e328b2a4"),v=v(),Ze(),v),at={class:"center"},ot=z(()=>i("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),rt={class:"rightWra"},nt={class:"rightbottom"},st={class:"title"},lt=z(()=>i("span",null,"\u975E\u519C\u5316\u8015\u5730\u9762\u79EF\u7EDF\u8BA1",-1)),it=z(()=>i("img",{src:Qe,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ut={class:"rightbottom"},dt=z(()=>i("div",{class:"title"},[i("span",null,"\u975E\u519C\u5316\u8015\u5730\u9762\u79EF\u5360\u6BD4")],-1)),ct={key:0,src:ve,alt:""},pt={key:0,class:"imgrotate",src:ve,alt:""},mt={class:"mt-4"},gt={class:"bottom_center"},ft=Re('<div class="tool" data-v-e328b2a4><span data-v-e328b2a4><img src="'+Te+'" alt="" data-v-e328b2a4></span><span data-v-e328b2a4><img src="'+Ve+'" alt="" data-v-e328b2a4></span><span data-v-e328b2a4><img src="'+Ie+'" alt="" data-v-e328b2a4></span><span data-v-e328b2a4><img src="'+Je+'" alt="" data-v-e328b2a4></span><span data-v-e328b2a4><img src="'+Me+'" alt="" data-v-e328b2a4></span><span data-v-e328b2a4><img src="'+We+'" alt="" data-v-e328b2a4></span></div>',1),ht={id:"popup",class:"ol-popup"},vt=z(()=>i("div",{class:"pophead",style:{width:"100%",height:"20px"}},[i("div",{id:"popup-title",style:{font:"bold 15px sans-serif",align:"left",position:"absolute",left:"17px",color:"#fff"}}),i("a",{href:"#",id:"popup-closer",class:"ol-popup-closer",style:{color:"#8e908c"}})],-1)),yt={id:"popup-content",style:{padding:"10px"}},bt=z(()=>i("span",null,"\u975E\u519C\u5316",-1)),_t=z(()=>i("div",{id:"popup-pagination"},null,-1)),wt={__name:"index",setup(v){u(null);const P=u(null),Y=u(null);let D=Pe({arr:[],brr:[],crr:[]}),F=u([]);const y=u("370211");u({info:[]});const ye=u(!1);u(!0);let E=u(!0);const G=u([]);let A=u([]),B=u([]),O=u([]),c=u(""),X=!(window.localStorage.getItem("divisions").length>6),te=window.localStorage.getItem("deptName")=="\u9752\u5C9B\u897F\u6D77\u5CB8\u65B0\u533A"?"\u9EC4\u5C9B\u533A":window.localStorage.getItem("deptName");const be=e=>{y.value=="370211"?ee({yearMonth:c.value.name,whetherToDownload:!0}).then(t=>{me(t.data[t.data.length-1].downloadPath)}):he({divisions:y.value,yearMonth:c.value.name,whetherToDownload:!0}).then(t=>{me(t.data[t.data.length-1].downloadPath)})};let N={\u975E\u519C\u5316:{color:"rgba(255, 255, 0, 1)",disabled:!1}},_={},W=u(null);Ye(()=>{Ee(),_e()});function _e(){we(),Ce(),ke();for(const e in N)N[e].disabled!==!0&&A.value.push(e);G.value=A.value}Be(()=>{document.querySelector(".mode").style.display="none",window.document.querySelector("#screenfull").style.display="block"}),Z(()=>c.value,(e,t)=>{y.value=window.localStorage.getItem("divisions"),X?se(c.value.name):le(y.value,c.value.name);let a=c.value.name.replace(/-/g,"_");_={\u975E\u519C\u5316:{setOf:`${c.value.name}-gengdi`,name:`T${a}_feinonghua`}}});let s=u(null);u(null),u(null);let ae=u(null),J=u(null);function we(){var e=document.querySelector(".center"),t=document.getElementById("cesiumContainer");s=new ol.Map({target:"cesiumContainer",c