15 lines
25 KiB
JavaScript
15 lines
25 KiB
JavaScript
|
import{H as G,_ as Xe,a as Ke,r as s,A as et,V as tt,W as at,U as lt,d as b,o as m,c as _,l as a,m as D,e as c,w as p,f as r,g as x,k as E,x as M,L as j,N as R,G as ye,C as _e,D as we,y as ot,p as nt,q as st}from"./index.955aa49e.js";import ae from"./downloads.4cdbbcc5.js";import{_ as $}from"./close1.45635d81.js";import{_ as it,a as rt,b as ut,c as dt}from"./position.a021215f.js";import{_ as ct,a as pt}from"./TimeLine.vue_vue_type_style_index_0_scoped_26e8a223_lang.891b9335.js";import{_ as ht}from"./dow.2a8d74cb.js";import"./index.6098b0aa.js";import{T as mt}from"./TimeLine.c55795b7.js";import{u as ee,w as vt}from"./xlsx.86b9426e.js";import{u as te}from"./useEcharts.586cdb9c.js";import"./linesGL.306b5757.js";import{d as ft}from"./download.2f5946e0.js";import{i as B,L as xe}from"./install.6cb28b74.js";function Se(f){return G({url:"equipment/wheatTotalYearValue",method:"get",params:f})}function ke(f){return G({url:"equipment/wheatHeightStandardFarmland",method:"get",params:f})}function Ve(f){return G({url:"equipment/wheatGetAllTowns",method:"get",params:f})}function gt(f){return G({url:"equipment/wheatGetAllVillages",method:"get",params:f})}function bt(f){return G({url:"equipment/wheatYear",method:"get",params:f})}function yt(f){return G({url:"equipment/parameterEstimation",method:"get",params:f})}const S=f=>(nt("data-v-7527f9ca"),f=f(),st(),f),_t={class:"fatherDiv"},wt={class:"centerBox"},xt=S(()=>a("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),St={class:"leftWra"},kt={class:"leftTop"},Vt={class:"title"},Dt=S(()=>a("span",null,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30",-1)),Ct=S(()=>a("img",{src:ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Lt={key:0,src:$,alt:""},zt={key:0,class:"imgrotate",src:$,alt:""},Ot={class:"rightWra"},Nt={class:"rightTop"},Tt={class:"title"},At=S(()=>a("span",null,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30-\u9AD8\u6807\u51C6\u519C\u7530",-1)),Wt=S(()=>a("img",{src:ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),qt={class:"rightbottom"},Et={class:"title"},It=S(()=>a("span",null,"\u4F5C\u7269\u957F\u52BF\u7B49\u7EA7\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),Ut=S(()=>a("img",{src:ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Mt={key:0,src:$,alt:""},Bt={key:0,class:"imgrotate",src:$,alt:""},Gt={class:"bottom_center"},jt=ot('<div class="tool" data-v-7527f9ca><span data-v-7527f9ca><img src="'+it+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+rt+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+ut+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+ct+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+pt+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+dt+'" alt="" data-v-7527f9ca></span></div>',1),Rt={id:"popup"},Ft={id:"pop"},Ht={class:"rowWra"},Yt=S(()=>a("span",null,"\u5730\u533A\uFF1A",-1)),Pt=S(()=>a("span",null,"\u5355\u4EA7\u91CF\uFF1A",-1)),$t=S(()=>a("span",null,"\u603B\u4EA7\u91CF\uFF1A",-1)),Jt={class:"mt-4"},Qt={class:"tabulation"},Zt={class:"searchDiv"},Xt=S(()=>a("img",{src:ht,alt:""},null,-1)),Kt={class:"tableBox"},ea={class:"tableBorder"},ta={class:"example-pagination-block"},aa={class:"chartMode"},la={__name:"index",setup(f){const De=Ke();let J=s(null);const le=s(null),oe=s(null),ne=s(null),C=s("");let I=et({arr:[],brr:[],crr:[]});const L=s({name:"",value:""});s([]);const se=s(!1);let N=s(!0),T=s(!0),ie=s([]),re=s({}),ue=s([]);const A=s([]);let W=s(!0),de=s([]),z=s(1),O=s(12),Q=s([]),ce=s([]),pe=s([]);const Ce=s(1);let Z=s(!0);const F=s(null);let Le=s(""),X=s([]),U=s(""),w=s([{wheatUnitOutputValue:0,wheatOutput:0}]),y=s({time:"",statistical:"\u9547",droughtRating:"\u5C0F\u9EA6",area:Ce.value}),H=s(null);tt(()=>{ze()});function ze(){Ee(),Oe(),me(),ve()}at(()=>{localStorage.getItem(De.currentRoute.value.path)=="false"?document.querySelector(".mode").innerText="\u5730\u56FE\u6A21\u5F0F":document.querySelector(".mode").innerText="\u5217\u8868\u6A21\u5F0F"}),lt(()=>U.value,(t,e)=>{C.value="370211",Ie(C.value,U.value.name),Ue(C.v
|
||
|
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]=i=>t.checked3=i),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]=i=>t.checked4=i),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]=i=>t.checked3=i),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]=i=>t.checked4=i),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]=i=>t.checked3=i),label:"800-1000"},null,8,["modelValue"])]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1})]),a("div",Qt,[a("div",Zt,[c(K,{inline:!0,model:r(y),class:"demo-form-inline"},{default:p(()=>[c(g,{label:"\u65F6\u95F4:"},{default:p(()=>[c(h,{"popper-class":"selectCity",modelValue:r(y).time,"onUpdate:modelValue":e[12]||(e[12]=i=>r(y).time=i),placeholder:"\u8BF7\u9009\u62E9"},{default:p(()=>[(m(!0),_(j,null,R(r(de),(i,V)=>(m(),E(v,{key:V,label:t.Zitem,value:i},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),c(g,{label:"\u7EDF\u8BA1\u65B9\u5F0F:"},{default:p(()=>[c(h,{"popper-class":"selectCity",modelValue:r(y).statistical,"onUpdate:modelValue":e[13]||(e[13]=i=>r(y).statistical=i),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(g,{label:"\u4F5C\u7269\u79CD\u7C7B"},{default:p(()=>[c(h,{modelValue:r(y).droughtRating,"onUpdate:modelValue":e[14]||(e[14]=i=>r(y).droughtRating=i),"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(g,null,{default:p(()=>[c(l,{type:"primary",onClick:he},{default:p(()=>[D("\u67E5\u8BE2")]),_:1}),c(l,{plain:"",onClick:t.resetForm,disabled:!r(W)},{default:p(()=>[D(" \u91CD\u7F6E ")]),_:1},8,["onClick","disabled"]),r(Z)?x("v-if",!0):(m(),E(l,{key:0,type:"primary",text:"",onClick:Re},{default:p(()=>[Xt,D(" \u4E0B\u8F7D ")]),_:1}))]),_:1})]),_:1},8,["model"]),a("div",{class:"modeDiv",onClick:qe},[a("div",{class:ye(r(W)?"Selected":"")},"\u8868\u683C\u6A21\u5F0F",2),a("div",{class:ye(r(W)?"":"Selecteds")},"\u56FE\u8868\u6A21\u5F0F",2)])]),_e(a("div",Kt,[a("div",ea,[r(Z)?x("v-if",!0):(m(),E(be,{key:0,data:r(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),_(j,null,R(r(pe),(i,V)=>(m(),E(P,{key:V,prop:i.value,label:i.lable,align:"center"},null,8,["prop","label"]))),128))]),_:1},8,["data"]))]),c(be,{data:r(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:Ye}),(m(!0),_(j,null,R(r(ce),(i,V)=>(m(),E(P,{key:V,prop:i.value,label:i.lable,align:"center"},null,8,["prop","label"]))),128))]),_:1},8,["data"]),a("div",ta,[D(" \u5171"+M(A.value.length)+"\u6761 ",1),c(Ze,{background:"",layout:"prev, pager, next",total:A.value.length,"current-page":r(z),"page-size":r(O),onCurrentChange:He},null,8,["total","current-page","page-size"])])],512),[[we,r(W)]]),_e(a("div",aa,[a("div",{ref_key:"chartModeDiv",ref:F,class:"chartModeDiv"},null,512)],512),[[we,!r(W)]])])])}}},ga=Xe(la,[["__scopeId","data-v-7527f9ca"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/crops/output/wheat/index.vue"]]);export{ga as default};
|