Agriculture-front-end/dist/assets/index.3eb9455e.js

15 lines
25 KiB
JavaScript
Raw Normal View History

2023-07-11 08:43:34 +08:00
import{H as G,_ as et,a as tt,r as n,A as at,V as lt,W as ot,U as nt,d as y,o as m,c as _,l as a,m as D,e as c,w as p,f as i,g as x,k as E,x as M,L as R,N as j,G as we,C as xe,D as Se,y as st,p as rt,q as it}from"./index.afd881ee.js";import le from"./downloads.4cdbbcc5.js";import{_ as $}from"./close1.45635d81.js";import{_ as ut,a as dt,b as ct,c as pt}from"./position.a021215f.js";import{_ as ht,a as mt}from"./TimeLine.vue_vue_type_style_index_0_scoped_26e8a223_lang.891b9335.js";import{_ as vt}from"./dow.2a8d74cb.js";import"./index.6098b0aa.js";import{T as ft}from"./TimeLine.7d9e99e3.js";import{u as te,w as gt}from"./xlsx.86b9426e.js";import{u as ae}from"./useEcharts.a1c5140e.js";import"./linesGL.306b5757.js";import{d as bt}from"./download.5dddc0da.js";import{i as B,L as ke}from"./install.6cb28b74.js";function Ve(f){return G({url:"equipment/wheatTotalYearValue",method:"get",params:f})}function De(f){return G({url:"equipment/wheatHeightStandardFarmland",method:"get",params:f})}function Ce(f){return G({url:"equipment/wheatGetAllTowns",method:"get",params:f})}function yt(f){return G({url:"equipment/wheatGetAllVillages",method:"get",params:f})}function _t(f){return G({url:"equipment/wheatYear",method:"get",params:f})}function wt(f){return G({url:"equipment/parameterEstimation",method:"get",params:f})}const S=f=>(rt("data-v-7527f9ca"),f=f(),it(),f),xt={class:"fatherDiv"},St={class:"centerBox"},kt=S(()=>a("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Vt={class:"leftWra"},Dt={class:"leftTop"},Ct={class:"title"},Lt=S(()=>a("span",null,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30",-1)),zt=S(()=>a("img",{src:le,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Ot={key:0,src:$,alt:""},Nt={key:0,class:"imgrotate",src:$,alt:""},Tt={class:"rightWra"},At={class:"rightTop"},Wt={class:"title"},qt=S(()=>a("span",null,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30-\u9AD8\u6807\u51C6\u519C\u7530",-1)),Et=S(()=>a("img",{src:le,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),It={class:"rightbottom"},Ut={class:"title"},Mt=S(()=>a("span",null,"\u4F5C\u7269\u957F\u52BF\u7B49\u7EA7\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),Bt=S(()=>a("img",{src:le,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Gt={key:0,src:$,alt:""},Rt={key:0,class:"imgrotate",src:$,alt:""},jt={class:"bottom_center"},Ft=st('<div class="tool" data-v-7527f9ca><span data-v-7527f9ca><img src="'+ut+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+dt+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+ct+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+ht+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+mt+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+pt+'" alt="" data-v-7527f9ca></span></div>',1),Ht={id:"popup"},Yt={id:"pop"},Pt={class:"rowWra"},$t=S(()=>a("span",null,"\u5730\u533A\uFF1A",-1)),Jt=S(()=>a("span",null,"\u5355\u4EA7\u91CF\uFF1A",-1)),Qt=S(()=>a("span",null,"\u603B\u4EA7\u91CF\uFF1A",-1)),Zt={class:"mt-4"},Xt={class:"tabulation"},Kt={class:"searchDiv"},ea=S(()=>a("img",{src:vt,alt:""},null,-1)),ta={class:"tableBox"},aa={class:"tableBorder"},la={class:"example-pagination-block"},oa={class:"chartMode"},na={__name:"index",setup(f){const Le=tt();let J=n(null);const oe=n(null),ne=n(null),se=n(null),C=n("");let I=at({arr:[],brr:[],crr:[]});const L=n({name:"",value:""});n([]);const re=n(!1);let N=n(!0),T=n(!0),ie=n([]),ue=n({}),de=n([]);const A=n([]);let W=n(!0),ce=n([]),z=n(1),O=n(12),Q=n([]),pe=n([]),he=n([]);const me=n(1);let Z=n(!0);const F=n(null);let ze=n(""),X=n([]),U=n(""),w=n([{wheatUnitOutputValue:0,wheatOutput:0}]),ve=n(""),g=n({time:"",statistical:"\u9547",droughtRating:"\u5C0F\u9EA6",area:me.value}),H=n(null);lt(()=>{Oe()});function Oe(){Ue(),Ne(),fe(),ge()}ot(()=>{localStorage.getItem(Le.currentRoute.value.path)=="false"?(document.querySelector(".mode").style.display="block",document.querySelector(".mode").innerText="\u5730\u56FE\u6A21\u5F0F"):(document.querySelector(".mode").style.display="block",document.querySelector
v-for="(value, item, key) in dic"
:key="key"
:style="{
background: value.color,
border: \`1px solid \${value.color}\`,
width: \`100%\`,
}"
v-model="checked3"
:disabled="value.disabled"
:label="item"
/> `),c(d,{style:{background:"rgba(255, 238, 204, 1)",border:"1px solid rgba(251, 171, 60, 1)",width:"100%"},modelValue:t.checked3,"onUpdate:modelValue":e[6]||(e[6]=r=>t.checked3=r),label:"0-200"},null,8,["modelValue"]),c(d,{style:{background:"rgba(255, 220, 153, 1)",border:"1px solid rgba(251, 219, 13, 1)",width:"100%"},modelValue:t.checked4,"onUpdate:modelValue":e[7]||(e[7]=r=>t.checked4=r),label:"200-400"},null,8,["modelValue"]),c(d,{style:{background:"rgba(255, 203, 102, 1)",border:"1px solid rgba(244, 218, 136, 1)",width:"100%"},modelValue:t.checked3,"onUpdate:modelValue":e[8]||(e[8]=r=>t.checked3=r),label:"400-600"},null,8,["modelValue"]),c(d,{style:{background:"rgba(255, 185, 51, 1)",border:"1px solid rgba(174, 83, 110, 1)",width:"100%"},modelValue:t.checked4,"onUpdate:modelValue":e[9]||(e[9]=r=>t.checked4=r),label:"600-800"},null,8,["modelValue"]),c(d,{style:{background:"rgba(255, 168, 0, 1)",border:"1px solid rgba(242, 177, 167, 1)",width:"100%"},modelValue:t.checked3,"onUpdate:modelValue":e[10]||(e[10]=r=>t.checked3=r),label:"800-1000"},null,8,["modelValue"])]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1})]),a("div",Xt,[a("div",Kt,[c(ee,{inline:!0,model:i(g),class:"demo-form-inline"},{default:p(()=>[c(b,{label:"\u65F6\u95F4:"},{default:p(()=>[c(h,{"popper-class":"selectCity",modelValue:i(g).time,"onUpdate:modelValue":e[12]||(e[12]=r=>i(g).time=r),placeholder:"\u8BF7\u9009\u62E9"},{default:p(()=>[(m(!0),_(R,null,j(i(ce),(r,V)=>(m(),E(v,{key:V,label:t.Zitem,value:r},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),c(b,{label:"\u7EDF\u8BA1\u65B9\u5F0F:"},{default:p(()=>[c(h,{"popper-class":"selectCity",modelValue:i(g).statistical,"onUpdate:modelValue":e[13]||(e[13]=r=>i(g).statistical=r),placeholder:"\u8BF7\u9009\u62E9"},{default:p(()=>[c(v,{label:"\u9547\u7EA7",value:"\u9547"}),c(v,{label:"\u9AD8\u6807\u51C6\u519C\u7530",value:"\u9AD8\u6807\u51C6\u519C\u7530"})]),_:1},8,["modelValue"])]),_:1}),c(b,{label:"\u4F5C\u7269\u79CD\u7C7B"},{default:p(()=>[c(h,{modelValue:i(g).droughtRating,"onUpdate:modelValue":e[14]||(e[14]=r=>i(g).droughtRating=r),"popper-class":"selectCity",placeholder:"\u8BF7\u9009\u62E9"},{default:p(()=>[c(v,{label:"\u5C0F\u9EA6",value:"\u5C0F\u9EA6"}),x(` <el-option label="\u7389\u7C73" value="\u7389\u7C73" />
<el-option label="\u5927\u8C46" value="\u5927\u8C46" />
<el-option label="\u82B1\u751F" value="\u82B1\u751F" /> `)]),_:1},8,["modelValue"])]),_:1}),c(b,null,{default:p(()=>[c(l,{type:"primary",onClick:K},{default:p(()=>[D("\u67E5\u8BE2")]),_:1}),c(l,{plain:"",onClick:Ie,disabled:!i(W)},{default:p(()=>[D(" \u91CD\u7F6E ")]),_:1},8,["disabled"]),i(Z)?x("v-if",!0):(m(),E(l,{key:0,type:"primary",text:"",onClick:He},{default:p(()=>[ea,D(" \u4E0B\u8F7D ")]),_:1}))]),_:1})]),_:1},8,["model"]),a("div",{class:"modeDiv",onClick:Ee},[a("div",{class:we(i(W)?"Selected":"")},"\u8868\u683C\u6A21\u5F0F",2),a("div",{class:we(i(W)?"":"Selecteds")},"\u56FE\u8868\u6A21\u5F0F",2)])]),xe(a("div",ta,[a("div",aa,[i(Z)?x("v-if",!0):(m(),E(_e,{key:0,data:i(w),"header-cell-style":{"text-align":"center"},style:{width:"100%"},"highlight-current-row":"","header-row-class-name":"tabth"},{default:p(()=>[c(P,{align:"center",prop:"\u5408\u8BA1",width:"80"}),(m(!0),_(R,null,j(i(he),(r,V)=>(m(),E(P,{key:V,prop:r.value,label:r.lable,align:"center"},null,8,["prop","label"]))),128))]),_:1},8,["data"]))]),c(_e,{data:i(Q),"header-cell-style":{"text-align":"center"},height:"80%","highlight-current-row":"","header-row-class-name":"tabth"},{default:p(()=>[c(P,{type:"index",width:"80",align:"center",label:"\u5E8F\u53F7",index:$e}),(m(!0),_(R,null,j(i(pe),(r,V)=>(m(),E(P,{key:V,prop:r.value,label:r.lable,align:"center"},null,8,["prop","label"]))),128))]),_:1},8,["data"]),a("div",la,[D(" \u5171"+M(A.value.length)+"\u6761 ",1),c(Ke,{background:"",layout:"prev, pager, next",total:A.value.length,"current-page":i(z),"page-size":i(O),onCurrentChange:Pe},null,8,["total","current-page","page-size"])])],512),[[Se,i(W)]]),xe(a("div",oa,[a("div",{ref_key:"chartModeDiv",ref:F,class:"chartModeDiv"},null,512)],512),[[Se,!i(W)]])])])}}},ya=et(na,[["__scopeId","data-v-7527f9ca"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/crops/output/wheat/index.vue"]]);export{ya as default};