Agriculture-front-end/dist/assets/index.a7b8539a.js

15 lines
28 KiB
JavaScript
Raw Normal View History

2023-06-22 06:50:23 +08:00
import{H as R,_ as it,a as ut,r as i,A as dt,V as ct,W as pt,X as Q,d as b,o as g,c as _,l,m as V,e as d,w as m,f as c,g as C,x as U,L as q,N as G,k as B,G as ke,C as Ce,D as Le,y as ht,p as mt,q as ft}from"./index.9172db1d.js";import ae from"./downloads.e955445d.js";import{_ as Y}from"./close1.45635d81.js";import{_ as vt,a as gt,b as yt,c as bt,d as wt,e as _t}from"./linesGL.90f708a5.js";import{_ as xt}from"./dow.f37c8d82.js";import{i as P,L as De}from"./index.c9f5bd8b.js";import{T as St}from"./TimeLine.6ff87a01.js";import{u as K,w as kt}from"./xlsx.86b9426e.js";import{u as ee}from"./useEcharts.963c5809.js";import{g as Ct}from"./site.c6d6d51a.js";import{d as Lt}from"./download.f7ec50f1.js";function Ve(y){return R({url:"equipment/wheatTotalYearValue",method:"get",params:y})}function Ne(y){return R({url:"equipment/wheatHeightStandardFarmland",method:"get",params:y})}function te(y){return R({url:"equipment/wheatGetAllTowns",method:"get",params:y})}function Dt(y){return R({url:"equipment/wheatGetAllVillages",method:"get",params:y})}function Vt(y){return R({url:"equipment/parameterEstimationYear",method:"get",params:y})}function Nt(y){return R({url:"equipment/parameterEstimation",method:"get",params:y})}const S=y=>(mt("data-v-7527f9ca"),y=y(),ft(),y),Ot={class:"fatherDiv"},It={class:"centerBox"},Tt=S(()=>l("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),zt={class:"leftWra"},At={class:"leftTop"},Mt={class:"title"},Et=S(()=>l("span",null,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30",-1)),Wt=S(()=>l("img",{src:ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Ft={key:0,src:Y,alt:""},Ut={key:0,class:"imgrotate",src:Y,alt:""},Bt={class:"rightWra"},Pt={class:"rightTop"},Rt={class:"title"},qt=S(()=>l("span",null,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30-\u9AD8\u6807\u51C6\u519C\u7530",-1)),Gt=S(()=>l("img",{src:ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Zt={class:"rightbottom"},Ht={class:"title"},Jt=S(()=>l("span",null,"\u4F5C\u7269\u957F\u52BF\u7B49\u7EA7\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),Xt=S(()=>l("img",{src:ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Yt={key:0,src:Y,alt:""},jt={key:0,class:"imgrotate",src:Y,alt:""},$t={class:"bottom_center"},Qt=ht('<div class="tool" data-v-7527f9ca><span data-v-7527f9ca><img src="'+vt+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+gt+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+yt+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+bt+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+wt+'" alt="" data-v-7527f9ca></span><span data-v-7527f9ca><img src="'+_t+'" alt="" data-v-7527f9ca></span></div>',1),Kt={id:"popup"},ea={id:"pop"},ta={class:"rowWra"},aa=S(()=>l("span",null,"\u5730\u533A\uFF1A",-1)),la=S(()=>l("span",null,"\u5355\u4EA7\u91CF\uFF1A",-1)),oa=S(()=>l("span",null,"\u603B\u4EA7\u91CF\uFF1A",-1)),na={class:"mt-4"},sa={class:"tabulation"},ra={class:"searchDiv"},ia=S(()=>l("img",{src:xt,alt:""},null,-1)),ua={class:"tableBox"},da={class:"tableBorder"},ca={class:"example-pagination-block"},pa={class:"chartMode"},ha={__name:"index",setup(y){const Oe=ut();let p=i(null);const le=i(null),oe=i(null),ne=i(null),I=i("");let W=dt({arr:[],brr:[],crr:[]});const L=i({name:"",value:""}),Ie=i([]),se=i(!1);let T=i(!0),z=i(!0),re=i([]),ie=i({}),ue=i([]);const A=i([]);let M=i(!0),de=i([]),N=i(1),O=i(12),j=i([]),ce=i([]),pe=i([]);const Te=i(1);let $=i(!0);const Z=i(null);let H=i(null),he=i(null),me=i(""),x=i([{wheatUnitOutputValue:0,wheatOutput:0}]),w=i({time:"",statistical:"\u9547",droughtRating:"\u5C0F\u9EA6",area:Te.value});ct(()=>{ze()});function ze(){He(),Je(),Xe(),Ze(),Me(),ve(),ge(),Pe()}pt(()=>{localStorage.getItem(Oe.currentRoute.value.path)=="false"?document.querySelector(".mode").innerText="\u5730\u56FE\u6A21\u5F0F":document.querySelector(".mode").innerText="\u5217\u8868\u6A21\u5F0F"});const Ae={url:"http://{s}.tianditu.gov.cn/img_c/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=c&TileMatrix={TileMatrix}&TileRow={Ti
2023-06-20 16:37:55 +08:00
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"
/> `),d(s,{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]=n=>t.checked3=n),label:"0-200"},null,8,["modelValue"]),d(s,{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]=n=>t.checked4=n),label:"200-400"},null,8,["modelValue"]),d(s,{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]=n=>t.checked3=n),label:"400-600"},null,8,["modelValue"]),d(s,{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]=n=>t.checked4=n),label:"600-800"},null,8,["modelValue"]),d(s,{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]=n=>t.checked3=n),label:"800-1000"},null,8,["modelValue"])]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1})]),l("div",sa,[l("div",ra,[d(F,{inline:!0,model:c(w),class:"demo-form-inline"},{default:m(()=>[d(v,{label:"\u65F6\u95F4:"},{default:m(()=>[d(u,{"popper-class":"selectCity",modelValue:c(w).time,"onUpdate:modelValue":e[12]||(e[12]=n=>c(w).time=n),placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[(g(!0),_(q,null,G(c(de),(n,D)=>(g(),B(f,{key:D,label:t.Zitem,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),d(v,{label:"\u7EDF\u8BA1\u65B9\u5F0F:"},{default:m(()=>[d(u,{"popper-class":"selectCity",modelValue:c(w).statistical,"onUpdate:modelValue":e[13]||(e[13]=n=>c(w).statistical=n),placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[d(f,{label:"\u9547\u7EA7",value:"\u9547"}),d(f,{label:"\u9AD8\u6807\u51C6\u519C\u7530",value:"\u9AD8\u6807\u51C6\u519C\u7530"})]),_:1},8,["modelValue"])]),_:1}),d(v,{label:"\u4F5C\u7269\u79CD\u7C7B"},{default:m(()=>[d(u,{modelValue:c(w).droughtRating,"onUpdate:modelValue":e[14]||(e[14]=n=>c(w).droughtRating=n),"popper-class":"selectCity",placeholder:"\u8BF7\u9009\u62E9"},{default:m(()=>[d(f,{label:"\u5C0F\u9EA6",value:"\u5C0F\u9EA6"}),C(` <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}),d(v,null,{default:m(()=>[d(a,{type:"primary",onClick:fe},{default:m(()=>[V("\u67E5\u8BE2")]),_:1}),d(a,{plain:"",onClick:t.resetForm,disabled:!c(M)},{default:m(()=>[V(" \u91CD\u7F6E ")]),_:1},8,["onClick","disabled"]),c($)?C("v-if",!0):(g(),B(a,{key:0,type:"primary",text:"",onClick:Ke},{default:m(()=>[ia,V(" \u4E0B\u8F7D ")]),_:1}))]),_:1})]),_:1},8,["model"]),l("div",{class:"modeDiv",onClick:Ge},[l("div",{class:ke(c(M)?"Selected":"")},"\u8868\u683C\u6A21\u5F0F",2),l("div",{class:ke(c(M)?"":"Selecteds")},"\u56FE\u8868\u6A21\u5F0F",2)])]),Ce(l("div",ua,[l("div",da,[c($)?C("v-if",!0):(g(),B(Se,{key:0,data:c(x),"header-cell-style":{"text-align":"center"},style:{width:"100%"},"highlight-current-row":"","header-row-class-name":"tabth"},{default:m(()=>[d(E,{align:"center",prop:"\u5408\u8BA1",width:"80"}),(g(!0),_(q,null,G(c(pe),(n,D)=>(g(),B(E,{key:D,prop:n.value,label:n.lable,align:"center"},null,8,["prop","label"]))),128))]),_:1},8,["data"]))]),d(Se,{data:c(j),"header-cell-style":{"text-align":"center"},height:"80%","highlight-current-row":"","header-row-class-name":"tabth"},{default:m(()=>[d(E,{type:"index",width:"80",align:"center",label:"\u5E8F\u53F7",index:at}),(g(!0),_(q,null,G(c(ce),(n,D)=>(g(),B(E,{key:D,prop:n.value,label:n.lable,align:"center"},null,8,["prop","label"]))),128))]),_:1},8,["data"]),l("div",ca,[V(" \u5171"+U(A.value.length)+"\u6761 ",1),d(rt,{background:"",layout:"prev, pager, next",total:A.value.length,"current-page":c(N),"page-size":c(O),onCurrentChange:tt},null,8,["total","current-page","page-size"])])],512),[[Le,c(M)]]),Ce(l("div",pa,[l("div",{ref_key:"chartModeDiv",ref:Z,class:"chartModeDiv"},null,512)],512),[[Le,!c(M)]])])])}}},Ca=it(ha,[["__scopeId","data-v-7527f9ca"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/crops/output/wheat/index.vue"]]);export{Ca as default};