Agriculture-front-end/dist/assets/Site.872fc089.js

28 lines
40 KiB
JavaScript
Raw Normal View History

2023-07-11 08:43:34 +08:00
import{H as $,_ as Ot,a as Rt,r as s,A as Xe,U as ze,V as jt,W as qt,a1 as Ft,d as z,o as w,c as E,l,m as T,e as i,w as m,f as c,g as A,L as ae,N as oe,k as F,x as M,B as $t,F as Pt,G as Ye,C as Ke,D as et,y as Gt,p as Ht,q as Zt}from"./index.afd881ee.js";import be from"./downloads.4cdbbcc5.js";import{_ as ye}from"./close1.45635d81.js";import{_ as Jt,a as Qt,b as Ut,c as Xt}from"./position.a021215f.js";import{_ as Yt,a as Kt}from"./TimeLine.vue_vue_type_style_index_0_scoped_26e8a223_lang.891b9335.js";import{_ as le}from"./icon.d0cb5387.js";import{_ as ea}from"./dow.2a8d74cb.js";import"./index.6098b0aa.js";import{T as ta}from"./TimeLine.7d9e99e3.js";import{u as V,w as We}from"./xlsx.86b9426e.js";import{u as me}from"./useEcharts.a1c5140e.js";import"./linesGL.306b5757.js";import{i as Z,L as K}from"./install.6cb28b74.js";function tt(_){return $({url:"crops/farmland",method:"get",params:_})}function aa(_){return $({url:"crops/statistics",method:"get",params:_})}function at(_){return $({url:"crops/highStandards",method:"get",params:_})}function Ee(_){return $({url:"crops/gradeStatistics",method:"get",params:_})}function ot(_){return $({url:"crops/administrativeDivisions",method:"get",params:_})}function oa(_){return $({url:"crops/growthTime",method:"get",params:_})}function la(_){return $({url:"crops/growthList",method:"get",params:_})}function ra(_){return $({url:"crops/administrativeDivisionsChun",method:"get",params:_})}const b=_=>(Ht("data-v-1e2a71d9"),_=_(),Zt(),_),na={class:"fatherDiv"},sa={class:"centerBox"},ia=b(()=>l("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),da={class:"leftWra"},ca={class:"leftTop"},ua={class:"title"},pa=b(()=>l("span",null,"\u4F5C\u7269\u957F\u52BF\u7B49\u7EA7\u9762\u79EF\u7EDF\u8BA1",-1)),fa=b(()=>l("img",{src:be,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ha={class:"leftbottom"},ga={class:"title"},va=b(()=>l("span",null,"\u4F5C\u7269\u957F\u52BF\u7B49\u7EA7\u9762\u79EF\u5360\u6BD4",-1)),ma=b(()=>l("img",{src:be,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ba={class:"tableDiv"},ya={key:0,src:ye,alt:""},_a={key:0,class:"imgrotate",src:ye,alt:""},wa={class:"rightWra"},xa={class:"rightTop"},Sa={class:"title"},ka=b(()=>l("span",null,"\u4F5C\u7269\u957F\u52BF\u7B49\u7EA7\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530",-1)),Na=b(()=>l("img",{src:be,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Ca={class:"rightbottom"},La={class:"title"},Da=b(()=>l("span",null,"\u4F5C\u7269\u957F\u52BF\u7B49\u7EA7\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),za=b(()=>l("img",{src:be,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Wa={key:0,src:ye,alt:""},Ea={key:0,class:"imgrotate",src:ye,alt:""},Aa={class:"bottom_center"},Ba=Gt('<div class="tool" data-v-1e2a71d9><span data-v-1e2a71d9><img src="'+Jt+'" alt="" data-v-1e2a71d9></span><span data-v-1e2a71d9><img src="'+Qt+'" alt="" data-v-1e2a71d9></span><span data-v-1e2a71d9><img src="'+Ut+'" alt="" data-v-1e2a71d9></span><span data-v-1e2a71d9><img src="'+Yt+'" alt="" data-v-1e2a71d9></span><span data-v-1e2a71d9><img src="'+Kt+'" alt="" data-v-1e2a71d9></span><span data-v-1e2a71d9><img src="'+Xt+'" alt="" data-v-1e2a71d9></span></div>',1),Ta={id:"popup",class:"ol-popup"},Ma=b(()=>l("div",{class:"pophead",style:{width:"100%"}},[l("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"}}),l("a",{href:"#",id:"popup-closer",class:"ol-popup-closer"})],-1)),Va={id:"popup-content",style:{padding:"10px"}},Ia={class:"perform"},Oa={class:"perform_children"},Ra=b(()=>l("img",{src:le},null,-1)),ja=b(()=>l("span",{class:"label"},"\u597D\uFF1A",-1)),qa={class:"perform_children"},Fa=b(()=>l("img",{src:le},null,-1)),$a=b(()=>l("span",{class:"label"},"\u8F83\u597D\uFF1A",-1)),Pa={class:"perform"},Ga={class:"perform_children"},Ha=b(()=>l("img",{src:le},null,-1)),Za=b(()=>l("span",{class:"label"},"\u9002\u4E2D\uFF1A",-1)),Ja={class:"perform_children"},Qa=b(()=>l("img",{src:le},null,-1)),Ua=b
<p>
<span>\u597D</span>
:
<span>{{ alterArr.good }}(\u4EA9)</span>
</p>
<p>
<span>\u8F83\u597D</span>
:
<span>{{ alterArr.better }}(\u4EA9)</span>
</p>
<p>
<span>\u9002\u4E2D</span>
:
<span>{{ alterArr.moderate }}(\u4EA9)</span>
</p>
<p>
<span>\u8F83\u5DEE</span>
:
<span>{{ alterArr.poor }}(\u4EA9)</span>
</p>
<p>
<span>\u5DEE</span>
:
<span>{{ alterArr.difference }}(\u4EA9)</span>
</p>
</div> `)]),to]),l("div",ao,[(w(!0),E(ae,null,oe(c(pe).label,(u,B)=>(w(),E("div",{key:B},[l("div",null,M(u.crop)+"\uFF1A",1),l("div",null,M(u.Shape_Area.toFixed(2))+" \u4EA9",1)]))),128)),c(pe).XZQMC?(w(),E("div",oo,[lo,l("div",null,M(c(pe).XZQMC),1)])):A("v-if",!0),l("div",{class:"cancel",onClick:Ue},"X")]),i(C,{class:"legend",accordion:""},{default:m(()=>[i(q,{name:"1"},{title:m(()=>[T("\u56FE\u4F8B")]),default:m(()=>[l("div",ro,[i(y,{modelValue:c(J),"onUpdate:modelValue":t[8]||(t[8]=u=>$t(J)?J.value=u:J=u),onChange:nt},{default:m(()=>[(w(!0),E(ae,null,oe(c(Ne),(u,B,It)=>(w(),F(h,{key:It,style:Pt({backgroundColor:u.color,border:"1px solid value.color",width:"100%"}),"v-model":u.disabled,disabled:u.disabled,label:B},null,8,["style","v-model","disabled","label"]))),128))]),_:1},8,["modelValue"])])]),_:1})]),_:1}),Oe.value?(w(),F(d,{key:0,class:"back_button",onClick:t[9]||(t[9]=u=>Mt())},{default:m(()=>[T("\u8FD4\u56DE")]),_:1})):A("v-if",!0)]),l("div",no,[l("div",so,[i(f,{inline:!0,model:c(k),class:"demo-form-inline"},{default:m(()=>[i(L,{label:"\u65F6\u95F4:"},{default:m(()=>[i(p,{"popper-class":"selectCity",modelValue:c(k).time,"onUpdate:modelValue":t[10]||(t[10]=u=>c(k).time=u),placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[(w(!0),E(ae,null,oe(c(Se),(u,B)=>(w(),F(n,{key:B,label:a.Zitem,value:u},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),i(L,{label:"\u7EDF\u8BA1\u65B9\u5F0F:"},{default:m(()=>[i(p,{"popper-class":"selectCity",modelValue:c(k).statistical,"onUpdate:modelValue":t[11]||(t[11]=u=>c(k).statistical=u),placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[i(n,{label:"\u9547\u7EA7",value:"\u9547"}),i(n,{label:"\u6751\u7EA7",value:"\u6751"}),i(n,{label:"\u9AD8\u6807\u51C6\u519C\u7530",value:"\u9AD8\u6807\u51C6\u519C\u7530"})]),_:1},8,["modelValue"])]),_:1}),i(L,{label:"\u957F\u52BF\u7B49\u7EA7"},{default:m(()=>[i(p,{modelValue:c(k).droughtRating,"onUpdate:modelValue":t[12]||(t[12]=u=>c(k).droughtRating=u),"popper-class":"selectCity",placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[i(n,{label:"\u5168\u90E8",value:""}),i(n,{label:"\u597D",value:"\u597D"}),i(n,{label:"\u8F83\u597D",value:"\u8F83\u597D"}),i(n,{label:"\u9002\u4E2D",value:"\u9002\u4E2D"}),i(n,{label:"\u8F83\u5DEE",value:"\u8F83\u5DEE"}),i(n,{label:"\u5DEE",value:"\u5DEE"})]),_:1},8,["modelValue"])]),_:1}),i(L,{label:"\u9762\u79EF(\u4EA9)>"},{default:m(()=>[i(N,{modelValue:xe.value,"onUpdate:modelValue":t[13]||(t[13]=u=>xe.value=u),min:0,onChange:bt},null,8,["modelValue"])]),_:1}),i(L,null,{default:m(()=>[i(d,{type:"primary",onClick:Ce},{default:m(()=>[T("\u67E5\u8BE2")]),_:1}),i(d,{plain:"",onClick:vt},{default:m(()=>[T(" \u91CD\u7F6E ")]),_:1}),c(ie)?A("v-if",!0):(w(),F(d,{key:0,type:"primary",text:"",onClick:zt},{default:m(()=>[io,T(" \u4E0B\u8F7D ")]),_:1}))]),_:1})]),_:1},8,["model"]),l("div",{class:"modeDiv",onClick:mt},[l("div",{class:Ye(c(Q)?"Selected":"")},"\u8868\u683C\u6A21\u5F0F",2),l("div",{class:Ye(c(Q)?"":"Selecteds")},"\u56FE\u8868\u6A21\u5F0F",2)])]),Ke(l("div",co,[l("div",uo,[c(ie)?A("v-if",!0):(w(),F(e,{key:0,data:c(S),"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},style:{width:"100%"},"highlight-current-row":"","header-row-class-name":"tabth"},{default:m(()=>[i(o,{prop:"",width:"80"}),(w(!0),E(ae,null,oe(c(qe),(u,B)=>(w(),F(o,{key:B,prop:u.value,label:B==0?u.lable:u.lable+"(\u4EA9)"},null,8,["prop","label"]))),128))]),_:1},8,["data"]))]),i(e,{data:c(se),"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},height:"80%","highlight-current-row":"","header-row-class-name":"tabth"},{default:m(()=>[i(o,{type:"index",width:"80",label:"\u5E8F\u53F7",index:_t}),i(o,{prop:"subName",label:"\u533A\u57DF\u540D\u79F0"}),i(o,{prop:"good",label:"\u597D(\u4EA9)"}),i(o,{prop:"better",label:"\u8F83\u597D(\u4EA9)"}),i(o,{prop:"moderate",label:"\u9002\u4E2D(\u4EA9)"}),i(o,{prop:"poor",label:"\u8F83\u5DEE(\u4EA9)"}),i(o,{prop:"difference",label:"\u5DEE(\u4EA9)"})]),_:1},8,["data"]),l("div",po,[T(" \u5171"+M(X.value.length)+"\u6761 ",1),i(W,{backgroun