2023-06-12 17:02:41 +08:00
|
|
|
import{_ as be,r as n,A as U,U as Ce,V as we,W,d as m,o as g,c as h,l,m as w,e as u,w as p,L as q,N as Z,k as B,f as c,g as z,x as v,F as xe,y as Me,p as De,q as ke}from"./index.48137ccf.js";import{_ as Q}from"./close1.45635d81.js";import{_ as Te,a as Ie,b as Se,c as Le,d as Pe,e as Ye}from"./linesGL.90f708a5.js";import"./index.c9f5bd8b.js";import{h as k}from"./moment.9709ab41.js";import{a as ze}from"./classify.9cf5ad7c.js";import{g as G,a as Ne,b as Fe}from"./estimate.3fe34455.js";const y=T=>(De("data-v-630b0fe1"),T=T(),ke(),T),Ae={class:"center"},Ee=y(()=>l("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),We={class:"rightWra"},qe={class:"farmlandHeader"},Ze={class:"rightTop"},Be=y(()=>l("div",{class:"title"},[l("span",null,"\u9884\u8B66\u4FE1\u606F\u53D1\u5E03")],-1)),Ve={class:"farmlandDiv"},Xe={class:"radioDiv"},Re={key:0,src:Q,alt:""},Oe={key:0,class:"imgrotate",src:Q,alt:""},Je=Me('<div class="tool" data-v-630b0fe1><span data-v-630b0fe1><img src="'+Te+'" alt="" data-v-630b0fe1></span><span data-v-630b0fe1><img src="'+Ie+'" alt="" data-v-630b0fe1></span><span data-v-630b0fe1><img src="'+Se+'" alt="" data-v-630b0fe1></span><span data-v-630b0fe1><img src="'+Le+'" alt="" data-v-630b0fe1></span><span data-v-630b0fe1><img src="'+Pe+'" alt="" data-v-630b0fe1></span><span data-v-630b0fe1><img src="'+Ye+'" alt="" data-v-630b0fe1></span></div>',1),Ue={id:"popup"},Ge=y(()=>l("span",null,"\u540D\u79F0\uFF1A",-1)),Qe=y(()=>l("span",null,"\u5F53\u524D\u4F4D\u7F6E\uFF1A",-1)),He=y(()=>l("span",null,"\u65F6\u95F4\uFF1A",-1)),je=y(()=>l("span",null,"\u6C14\u538B\uFF1A",-1)),$e=y(()=>l("span",null,"\u6700\u5927\u98CE\u901F\uFF1A",-1)),Ke=y(()=>l("span",null,"\u98CE\u529B\uFF1A",-1)),et={id:"pop"},tt={key:0},at=y(()=>l("div",null,"\u6751\u540D\uFF1A",-1)),ot={class:"mt-4"},lt={__name:"index",setup(T){let s=n(null);const _=n("2023");let I=U({arr:[],brr:[],crr:[]}),S=n({name:"",value:""});const H=n([]),L=n(!1);let b=n(!1);const V=n(["false"]);n(null);const x=n(""),X=n([]);let C=n([]);n([]),n([]),n([]);const N=n([]),R=n("1");let j={\u8F7B\u5EA6:{color:"rgba(9, 187, 222, 1)",disabled:!1},\u4E2D\u5EA6:{color:"rgba(255, 235, 59, 1)",disabled:!1},\u91CD\u5EA6:{color:"rgba(234, 165, 93, 1)",disabled:!1}};U({power:[{required:!0,message:"Please select Activity zone",trigger:"change"}],count:[{required:!0,message:"Please select Activity count",trigger:"change"}],date1:[{type:"date",required:!0,message:"Please pick a date",trigger:"change"}],date2:[{type:"date",required:!0,message:"Please pick a time",trigger:"change"}],type:[{type:"array",required:!0,message:"Please select at least one activity type",trigger:"change"}],resource:[{required:!0,message:"Please select activity resource",trigger:"change"}],desc:[{required:!0,message:"Please input activity form",trigger:"blur"}]}),Ce(()=>x.value,e=>{let t=k(x.value[0]).format("YYYY-MM-DD")?k(x.value[0]).format("YYYY-MM-DD "):"",o=k(x.value[1]).format("YYYY-MM-DD")?k(x.value[1]).format("YYYY-MM-DD"):"";G({startTime:t,endTime:o}).then(a=>{console.log(a.data),N.value=a.data})});let $=n([]);we(()=>{ee(),ae(),re(),ne(),ie();let e=document.querySelector(".rightWra");e.style.transform="translate(107%,0)"});const K={url:"http://{s}.tianditu.gov.cn/img_c/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=c&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=31091965e263284a501a723b8909f405",layer:"tdtCva",style:"default",format:"tiles",tileMatrixSetID:"c",subdomains:["t0","t1","t2","t3","t4","t5","t6","t7"],tilingScheme:new Cesium.GeographicTilingScheme,tileMatrixLabels:["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],maximumLevel:18};Cesium.Ion.defaultAccessToken="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiYzcwZmJmNi02MzQ5LTQ1MGEtODgzMy0yZTZiZGExY2MzMGMiLCJpZCI6MTAxOTgsInNjb3BlcyI6WyJhc2wiLCJhc3IiLCJnYyJdLCJpYXQiOjE1ODEzMDgxNTR9.NeJU4yfUi-SnLrNDOBYsQgmiSh3B4axCTi1m84Qw99c";function ee(){s=new Cesium.Viewer("cesiumContainer",{baseLayerPicker:!1,shouldAnimate:!0,infoBox:!1,animation
|