2 lines
13 KiB
JavaScript
2 lines
13 KiB
JavaScript
|
import{_ as be,r as n,A as G,B as Ce,C as we,D as A,d as m,o as f,c as h,l,m as w,e as c,w as p,J as q,K as B,k as Z,f as d,g as z,x as v,Q as xe,y as Me,p as De,q as ke}from"./index.68b143c5.js";import{_ as U}from"./close1.45635d81.js";import{_ as Te,a as Ie,b as Se,c as Pe,d as Le,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.3cc97447.js";import{g as Q,a as Fe,b as Ne}from"./estimate.ae69e0f4.js";const y=T=>(De("data-v-08d6a053"),T=T(),ke(),T),Ee={class:"center"},We=y(()=>l("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Ae={class:"rightWra"},qe={class:"farmlandHeader"},Be={class:"rightTop"},Ze=y(()=>l("div",{class:"title"},[l("span",null,"\u9884\u8B66\u4FE1\u606F\u53D1\u5E03")],-1)),Xe={class:"farmlandDiv"},Re={class:"radioDiv"},Ve={key:0,src:U,alt:""},Je={key:0,class:"imgrotate",src:U,alt:""},Oe=Me('<div class="tool" data-v-08d6a053><span data-v-08d6a053><img src="'+Te+'" alt="" data-v-08d6a053></span><span data-v-08d6a053><img src="'+Ie+'" alt="" data-v-08d6a053></span><span data-v-08d6a053><img src="'+Se+'" alt="" data-v-08d6a053></span><span data-v-08d6a053><img src="'+Pe+'" alt="" data-v-08d6a053></span><span data-v-08d6a053><img src="'+Le+'" alt="" data-v-08d6a053></span><span data-v-08d6a053><img src="'+Ye+'" alt="" data-v-08d6a053></span></div>',1),Ge={id:"popup"},Qe=y(()=>l("span",null,"\u540D\u79F0\uFF1A",-1)),Ue=y(()=>l("span",null,"\u5F53\u524D\u4F4D\u7F6E\uFF1A",-1)),je=y(()=>l("span",null,"\u65F6\u95F4\uFF1A",-1)),He=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)),ea={id:"pop"},aa={key:0},ta=y(()=>l("div",null,"\u6751\u540D\uFF1A",-1)),oa={class:"mt-4"},la={__name:"index",setup(T){let s=n(null);const _=n("2023");let I=G({arr:[],brr:[],crr:[]}),S=n({name:"",value:""});const j=n([]),P=n(!1);let b=n(!1);const X=n(["false"]);n(null);const x=n(""),R=n([]);let C=n([]);n([]),n([]),n([]);const F=n([]),V=n("1");let H={\u84DD\u8272\u9884\u8B66:{color:"rgba(9, 187, 222, 1)",disabled:!1},\u9EC4\u8272\u9884\u8B66:{color:"rgba(255, 235, 59, 1)",disabled:!1},\u6A59\u8272\u9884\u8B66:{color:"rgba(234, 165, 93, 1)",disabled:!1},\u7EA2\u8272\u9884\u8B66:{color:"rgba(212, 48, 48, 1)",disabled:!1}};G({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 a=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"):"";Q({startTime:a,endTime:o}).then(t=>{console.log(t.data),F.value=t.data})});let $=n([]);we(()=>{ee(),te(),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";
|