Agriculture-front-end/dist/assets/FloodExtraction.0e2e1305.js

14 lines
28 KiB
JavaScript
Raw Normal View History

2023-07-11 08:43:34 +08:00
import{H as M,_ as vt,a as yt,r,A as ve,V as bt,W as Oe,a1 as _t,U as Me,d as D,o as b,c as E,l as n,m as L,e as u,w as m,f as c,g as N,k as I,L as J,N as $,F as wt,x as K,y as xt,p as St,q as kt}from"./index.afd881ee.js";import te from"./downloads.4cdbbcc5.js";import{_ as ae}from"./close1.45635d81.js";import{_ as Dt,a as Et,b as Ct,c as Lt}from"./position.a021215f.js";import{_ as Nt,a as Ft}from"./TimeLine.vue_vue_type_style_index_0_scoped_26e8a223_lang.891b9335.js";import{_ as zt}from"./icon.d0cb5387.js";import{_ as Tt}from"./dow.2a8d74cb.js";import"./index.6098b0aa.js";import{T as Wt}from"./TimeLine.7d9e99e3.js";import{u as Ve}from"./useEcharts.a1c5140e.js";import"./linesGL.306b5757.js";import{d as G}from"./download.5dddc0da.js";import{u as ye,w as qt}from"./xlsx.86b9426e.js";import{i as ee}from"./install.6cb28b74.js";function Ie(_){return M({url:"equipment/damageArea",method:"get",params:_})}function je(_){return M({url:"equipment/proportion",method:"get",params:_})}function Pe(_){return M({url:"equipment/highStandard",method:"get",params:_})}function be(_){return M({url:"equipment/townInformation",method:"get",params:_})}function Re(_){return M({url:"equipment/village",method:"get",params:_})}function At(_){return M({url:"equipment/listDroughtsDamageYear",method:"get",params:_})}function Ot(_){return M({url:"equipment/listDroughtsDamage",method:"get",params:_})}const k=_=>(St("data-v-a89f9b9b"),_=_(),kt(),_),Mt={class:"fatherDiv"},Vt={class:"centerBox"},It=k(()=>n("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),jt={class:"leftWra"},Pt={class:"leftTop"},Rt={class:"title"},Bt=k(()=>n("span",null,"\u519C\u4F5C\u7269\u53D7\u707E\u9762\u79EF\u7EDF\u8BA1",-1)),Jt=k(()=>n("img",{src:te,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),$t={class:"leftbottom"},Gt={class:"title"},Qt=k(()=>n("span",null,"\u519C\u4F5C\u7269\u53D7\u707E\u9762\u79EF\u5360\u6BD4",-1)),Ht=k(()=>n("img",{src:te,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Zt={class:"tableDiv"},Yt={key:0,src:ae,alt:""},Ut={key:0,class:"imgrotate",src:ae,alt:""},Xt={class:"rightWra"},Kt={class:"rightTop"},ea={class:"title"},ta=k(()=>n("span",null,"\u6D2A\u6D9D\u9762\u79EF\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530",-1)),aa=k(()=>n("img",{src:te,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),oa={class:"farmlandDiv"},la={class:"rightbottom"},na={class:"title"},ra=k(()=>n("span",null,"\u6D2A\u6D9D\u9762\u79EF\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),sa=k(()=>n("img",{src:te,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ia={class:"ASdivision"},da={key:0,src:ae,alt:""},ua={key:0,class:"imgrotate",src:ae,alt:""},ca={class:"bottom_center"},pa=xt('<div class="tool" data-v-a89f9b9b><span data-v-a89f9b9b><img src="'+Dt+'" alt="" data-v-a89f9b9b></span><span data-v-a89f9b9b><img src="'+Et+'" alt="" data-v-a89f9b9b></span><span data-v-a89f9b9b><img src="'+Ct+'" alt="" data-v-a89f9b9b></span><span data-v-a89f9b9b><img src="'+Nt+'" alt="" data-v-a89f9b9b></span><span data-v-a89f9b9b><img src="'+Ft+'" alt="" data-v-a89f9b9b></span><span data-v-a89f9b9b><img src="'+Lt+'" alt="" data-v-a89f9b9b></span></div>',1),fa={class:"mt-4"},ha={id:"popup",class:"ol-popup"},ga=k(()=>n("div",{class:"pophead",style:{width:"100%"}},[n("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"}}),n("a",{href:"#",id:"popup-closer",class:"ol-popup-closer"})],-1)),ma={id:"popup-content",style:{padding:"10px"}},va={class:"perform_children"},ya=k(()=>n("img",{src:zt},null,-1)),ba=k(()=>n("span",null,"\u6D2A\u6D9D\u533A",-1)),_a=k(()=>n("div",{id:"popup-pagination"},null,-1)),wa={id:"pop"},xa={key:0},Sa=k(()=>n("div",null,"\u6751\u540D\uFF1A",-1)),ka={class:"tabulation"},Da={class:"searchDiv"},Ea=k(()=>n("img",{src:Tt,alt:""},null,-1)),Ca={class:"chartMode"},La={__name:"FloodExtraction",setup(_){const Be=yt();let oe=r(null);const _e=r(null),we=r(null);r(null);const w=r("370211");r(null);let T=ve({arr:[],brr:[
popper-class="select_city"
@change="selectTab(item)"
v-model="value"
placeholder="\u5168\u90E8"
>
<el-option
v-for="item in Township.arr"
:key="item.subregion"
:label="item.name"
:value="item.subregion"
/>
</el-select> `),n("div",ia,[u(l,{"cell-style":{textAlign:"center"},"header-cell-style":{"text-align":"center"},data:c(P),style:{width:"100%","font-size":"12px"}},{default:m(()=>[u(o,{prop:"name",label:"\u533A\u57DF\u540D\u79F0"}),u(o,{prop:"yesFloodingPercentage",width:"120",label:"\u6D2A\u6D9D\u9762\u79EF(\u4EA9\uFF09"}),u(o,{prop:"createdTime",width:"100",label:"\u76D1\u6D4B\u65F6\u95F4"})]),_:1},8,["data"])])]),n("div",{class:"rightFoldDiv",onClick:e[5]||(e[5]=d=>Ke())},[u(i,{disabled:!c(q),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:m(()=>[c(q)?(b(),E("img",da)):N("v-if",!0)]),_:1},8,["disabled"]),u(i,{disabled:c(q),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:m(()=>[c(q)?N("v-if",!0):(b(),E("img",ua))]),_:1},8,["disabled"])])]),n("div",ca,[c(ue).length>0?(b(),I(Wt,{key:0,dataSource:c(ue),onDataHandle:ft},null,8,["dataSource"])):N("v-if",!0)]),pa,u(y,{class:"legend",accordion:""},{default:m(()=>[u(p,{name:"1"},{title:m(()=>[L("\u56FE\u4F8B")]),default:m(()=>[n("div",fa,[u(h,{modelValue:H.value,"onUpdate:modelValue":e[6]||(e[6]=d=>H.value=d),onChange:a.change},{default:m(()=>[(b(!0),E(J,null,$(c(ce),(d,S,me)=>(b(),I(t,{key:me,style:wt({backgroundColor:d.color,border:"1px solid value.color",width:"100%"}),"v-model":d.disabled,disabled:d.disabled,label:S},null,8,["style","v-model","disabled","label"]))),128))]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1}),n("div",ha,[ga,n("div",ma,[(b(!0),E(J,null,$(c(Se),(d,S)=>(b(),E("div",{class:"perform",key:S},[n("div",va,[ya,ba,L(" : "),n("span",null,K(d.yesFloodingPercentage)+"(\u4EA9)",1)])]))),128))]),_a]),n("div",wa,[(b(!0),E(J,null,$(c(X).label,(d,S)=>(b(),E("div",{key:S},[n("div",null,K(d.crop)+"\uFF1A",1),n("div",null,K(d.Shape_Area)+" \u4EA9",1)]))),128)),c(X).XZQMC?(b(),E("div",xa,[Sa,n("div",null,K(c(X).XZQMC),1)])):N("v-if",!0),n("div",{class:"cancel",onClick:Ae},"X")]),le.value?(b(),I(x,{key:0,class:"back_button",onClick:e[7]||(e[7]=d=>gt())},{default:m(()=>[L("\u8FD4\u56DE")]),_:1})):N("v-if",!0)]),n("div",ka,[n("div",Da,[u(O,{inline:!0,model:c(f),class:"demo-form-inline"},{default:m(()=>[u(A,{label:"\u65F6\u95F4:"},{default:m(()=>[u(F,{"popper-class":"selectCity",modelValue:c(f).time,"onUpdate:modelValue":e[8]||(e[8]=d=>c(f).time=d),placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[(b(!0),E(J,null,$(c(ie),(d,S)=>(b(),I(s,{key:S,label:a.Zitem,value:d},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),u(A,{label:"\u7EDF\u8BA1\u65B9\u5F0F:"},{default:m(()=>[u(F,{"popper-class":"selectCity",modelValue:c(f).statistical,"onUpdate:modelValue":e[9]||(e[9]=d=>c(f).statistical=d),placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[u(s,{label:"\u4F5C\u7269\u7C7B\u578B",value:"\u4F5C\u7269\u7C7B\u578B"}),u(s,{label:"\u884C\u653F\u533A\u5212",value:"\u884C\u653F\u533A\u5212"}),u(s,{label:"\u9AD8\u6807\u51C6\u519C\u7530",value:"\u9AD8\u6807\u51C6\u519C\u7530"})]),_:1},8,["modelValue"])]),_:1}),u(A,{label:"\u9547"},{default:m(()=>[u(F,{modelValue:c(f).droughtRating,"onUpdate:modelValue":e[10]||(e[10]=d=>c(f).droughtRating=d),"popper-class":"selectCity",disabled:c(f).statistical!=="\u884C\u653F\u533A\u5212",placeholder:c(f).statistical==="\u884C\u653F\u533A\u5212"?"\u5168\u90E8":"\u8BF7\u9009\u62E9"},{default:m(()=>[(b(!0),E(J,null,$(c(Z),(d,S)=>(b(),I(s,{key:S,label:d.name,value:d.subregion},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled","placeholder"])]),_:1}),u(A,{label:"\u9762\u79EF(\u4EA9)>"},{default:m(()=>[u(z,{modelValue:se.value,"onUpdate:modelValue":e[11]||(e[11]=d=>se.value=d),min:0,onChange:et},null,8,["modelValue"])]),_:1}),u(A,null,{default:m(()=>[u(x,{type:"primary",onClick:ge},{default:m(()=>[L("\u67E5\u8BE2")]),_:1}),u(x,{plain:"",onClick:tt},{default:m(()=>[L("\u91CD\u7F6E")]),_:1}),c(R)?N("v-if",!0):(b(),I(x,{key:0,type:"primary",text:"",onClick:ut},{default:m(()=>[Ea,L(" \u4E0B\u8F7D ")]),_:1}))]),_:1})]),_:1},8,["model"])]),n("