Agriculture-front-end/dist/assets/FloodExtraction.92b6f3c2.js

2 lines
22 KiB
JavaScript
Raw Normal View History

2023-05-28 21:55:59 +08:00
import{z as N,_ as He,r as u,A as le,B as De,C as Ke,D as se,d as x,o as _,c as C,l as n,m as F,e as c,w,f as m,g as E,J as ie,K as de,k as ue,Q as et,x as Z,y as tt,p as at,q as ot}from"./index.770945b1.js";import Y from"./downloads.e955445d.js";import{_ as j}from"./close1.45635d81.js";import{_ as rt,a as nt,b as lt,c as st,d as it,e as dt}from"./linesGL.90f708a5.js";import{i as Se}from"./index.c9f5bd8b.js";import{T as ut}from"./TimeLine.436c6eb2.js";import{u as ct}from"./useEcharts.a6becf8f.js";import{d as V}from"./download.9fd0dee8.js";function ke(g){return N({url:"equipment/damageArea",method:"get",params:g})}function Fe(g){return N({url:"equipment/proportion",method:"get",params:g})}function Te(g){return N({url:"equipment/highStandard",method:"get",params:g})}function Le(g){return N({url:"equipment/townInformation",method:"get",params:g})}function ft(g){return N({url:"equipment/village",method:"get",params:g})}function pt(){return N({url:"http://121.36.229.60:9080/geoserver/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Ahuangdaoqu_town&maxFeatures=50&outputFormat=application%2Fjson",method:"get"})}const D=g=>(at("data-v-a89f9b9b"),g=g(),ot(),g),mt={class:"center"},gt=D(()=>n("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),vt={class:"leftWra"},ht={class:"leftTop"},yt={class:"title"},bt=D(()=>n("span",null,"\u519C\u4F5C\u7269\u53D7\u707E\u9762\u79EF\u7EDF\u8BA1",-1)),_t=D(()=>n("img",{src:Y,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),wt={class:"leftbottom"},xt={class:"title"},Ct=D(()=>n("span",null,"\u519C\u4F5C\u7269\u53D7\u707E\u9762\u79EF\u5360\u6BD4",-1)),Dt=D(()=>n("img",{src:Y,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),St={class:"tableDiv"},kt={key:0,src:j,alt:""},Ft={key:0,class:"imgrotate",src:j,alt:""},Tt={class:"rightWra"},Lt={class:"rightTop"},Mt={class:"title"},Pt=D(()=>n("span",null,"\u6D2A\u6D9D\u9762\u79EF\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530",-1)),It=D(()=>n("img",{src:Y,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),zt={class:"farmlandDiv"},Et={class:"rightbottom"},Wt={class:"title"},At=D(()=>n("span",null,"\u6D2A\u6D9D\u9762\u79EF\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),Xt=D(()=>n("img",{src:Y,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Zt={class:"ASdivision"},Nt={key:0,src:j,alt:""},qt={key:0,class:"imgrotate",src:j,alt:""},Bt={class:"bottom_center"},Rt=tt('<div class="tool" data-v-a89f9b9b><span data-v-a89f9b9b><img src="'+rt+'" alt="" data-v-a89f9b9b></span><span data-v-a89f9b9b><img src="'+nt+'" alt="" data-v-a89f9b9b></span><span data-v-a89f9b9b><img src="'+lt+'" alt="" data-v-a89f9b9b></span><span data-v-a89f9b9b><img src="'+st+'" alt="" data-v-a89f9b9b></span><span data-v-a89f9b9b><img src="'+it+'" alt="" data-v-a89f9b9b></span><span data-v-a89f9b9b><img src="'+dt+'" alt="" data-v-a89f9b9b></span></div>',1),Qt={class:"mt-4"},Ot={id:"popup"},Jt={id:"pop"},$t={key:0},Gt=D(()=>n("div",null,"\u6751\u540D\uFF1A",-1)),Ut={__name:"FloodExtraction",setup(g){let l=u(null);const ce=u(null),fe=u(null);u(null);const v=u("370211"),Me=u(null);let T=le({arr:[],brr:[],crr:[]});const S=u({name:"",value:""}),Pe=u([]),q=u(!1);let M=u(!1),P=u(!1);const Q=u(["false"]);let pe=u([]),W=le({lable:[],value:[]}),H=u([]),K=u(0),B=u([]),ee={\u6D2A\u6D9D\u533A:{color:"rgba(9, 187, 222, 1)",disabled:!1}},te=u([]);De(()=>T.arr,t=>{console.log("val:",t)});var me={title:[]};let ae={\u5C0F\u9EA6:[],\u7389\u7C73:[],\u5927\u8C46:[],\u5730\u74DC:[],\u82B1\u751F:[],\u84DD\u8393:[],\u8336\u53F6:[],\u9A6C\u94C3\u85AF:[],\u767D\u83DC\u548C\u841D\u535C:[],\u5176\u4ED6:[]};De(()=>Q.value,(t,e)=>{t.length>e.length?t.filter(o=>{if(e.findIndex(d=>d===o)<0)return o}).forEach(o=>{switch(o){case"\u6D2A\u6D9D\u533A":ge(2,o);break}}):t.length<e.length&&e.filter(o=>{if(t.findIndex(d=>d===o)<0)return o}).forEach(o=>{A([o])})});let O=u([]);Ke(()=>{ve("370211"),he("370211"),Re(),ye("370211"),ze(),be(),_e(),We();for(const a in ee)ee[a].disabled!==!0&&pe.value.push(a);Q.value=pe.value;let t=document.quer