15 lines
28 KiB
JavaScript
15 lines
28 KiB
JavaScript
|
import{H as P,_ as it,a as ut,r as n,A as dt,V as ct,W as pt,a1 as Q,d as b,o as g,c as _,l,m as V,e as d,w as h,f as c,g as C,x as U,L as R,N as G,k as q,G as ke,C as Ce,D as Le,y as mt,p as ht,q as ft}from"./index.ae0c781d.js";import ae from"./downloads.4cdbbcc5.js";import{_ as X}from"./close1.45635d81.js";import{_ as vt,a as gt,b as yt,c as bt,d as wt,e as _t}from"./linesGL.97ae14ae.js";import{_ as xt}from"./dow.f37c8d82.js";import{i as B,L as De}from"./index.c9f5bd8b.js";import{T as St}from"./TimeLine.64a8bde3.js";import{u as K,w as kt}from"./xlsx.86b9426e.js";import{u as ee}from"./useEcharts.dbdb546a.js";import{g as Ct}from"./site.4d8277bf.js";import{d as Lt}from"./download.8084913c.js";function Ve(y){return P({url:"equipment/wheatTotalYearValue",method:"get",params:y})}function Ne(y){return P({url:"equipment/wheatHeightStandardFarmland",method:"get",params:y})}function te(y){return P({url:"equipment/wheatGetAllTowns",method:"get",params:y})}function Dt(y){return P({url:"equipment/wheatGetAllVillages",method:"get",params:y})}function Vt(y){return P({url:"equipment/parameterEstimationYear",method:"get",params:y})}function Nt(y){return P({url:"equipment/parameterEstimation",method:"get",params:y})}const S=y=>(ht("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:X,alt:""},Ut={key:0,class:"imgrotate",src:X,alt:""},qt={class:"rightWra"},Bt={class:"rightTop"},Pt={class:"title"},Rt=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)),Yt=S(()=>l("img",{src:ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Xt={key:0,src:X,alt:""},jt={key:0,class:"imgrotate",src:X,alt:""},$t={class:"bottom_center"},Qt=mt('<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)),ra={class:"mt-4"},na={class:"tabulation"},sa={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"},ma={__name:"index",setup(y){const Oe=ut();let p=n(null);const le=n(null),oe=n(null),re=n(null),I=n("");let W=dt({arr:[],brr:[],crr:[]});const L=n({name:"",value:""}),Ie=n([]),ne=n(!1);let T=n(!0),z=n(!0),se=n([]),ie=n({}),ue=n([]);const A=n([]);let M=n(!0),de=n([]),N=n(1),O=n(12),j=n([]),ce=n([]),pe=n([]);const Te=n(1);let $=n(!0);const Z=n(null);let H=n(null),me=n(null),he=n("");n(!1);let x=n([{wheatUnitOutputValue:0,wheatOutput:0}]),w=n({time:"",statistical:"\u9547",droughtRating:"\u5C0F\u9EA6",area:Te.value});ct(()=>{ze()});function ze(){He(),Je(),Ye(),Ze(),Me(),ve(),ge(),Be()}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}&
|
||
|
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]=r=>t.checked3=r),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]=r=>t.checked4=r),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]=r=>t.checked3=r),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]=r=>t.checked4=r),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]=r=>t.checked3=r),label:"800-1000"},null,8,["modelValue"])]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1})]),l("div",na,[l("div",sa,[d(F,{inline:!0,model:c(w),class:"demo-form-inline"},{default:h(()=>[d(v,{label:"\u65F6\u95F4:"},{default:h(()=>[d(u,{"popper-class":"selectCity",modelValue:c(w).time,"onUpdate:modelValue":e[12]||(e[12]=r=>c(w).time=r),placeholder:"\u8BF7\u9009\u62E9"},{default:h(()=>[(g(!0),_(R,null,G(c(de),(r,D)=>(g(),q(f,{key:D,label:t.Zitem,value:r},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),d(v,{label:"\u7EDF\u8BA1\u65B9\u5F0F:"},{default:h(()=>[d(u,{"popper-class":"selectCity",modelValue:c(w).statistical,"onUpdate:modelValue":e[13]||(e[13]=r=>c(w).statistical=r),placeholder:"\u8BF7\u9009\u62E9"},{default:h(()=>[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:h(()=>[d(u,{modelValue:c(w).droughtRating,"onUpdate:modelValue":e[14]||(e[14]=r=>c(w).droughtRating=r),"popper-class":"selectCity",placeholder:"\u8BF7\u9009\u62E9"},{default:h(()=>[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:h(()=>[d(a,{type:"primary",onClick:fe},{default:h(()=>[V("\u67E5\u8BE2")]),_:1}),d(a,{plain:"",onClick:t.resetForm,disabled:!c(M)},{default:h(()=>[V(" \u91CD\u7F6E ")]),_:1},8,["onClick","disabled"]),c($)?C("v-if",!0):(g(),q(a,{key:0,type:"primary",text:"",onClick:Ke},{default:h(()=>[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(),q(Se,{key:0,data:c(x),"header-cell-style":{"text-align":"center"},style:{width:"100%"},"highlight-current-row":"","header-row-class-name":"tabth"},{default:h(()=>[d(E,{align:"center",prop:"\u5408\u8BA1",width:"80"}),(g(!0),_(R,null,G(c(pe),(r,D)=>(g(),q(E,{key:D,prop:r.value,label:r.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:h(()=>[d(E,{type:"index",width:"80",align:"center",label:"\u5E8F\u53F7",index:at}),(g(!0),_(R,null,G(c(ce),(r,D)=>(g(),q(E,{key:D,prop:r.value,label:r.lable,align:"center"},null,8,["prop","label"]))),128))]),_:1},8,["data"]),l("div",ca,[V(" \u5171"+U(A.value.length)+"\u6761 ",1),d(st,{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(ma,[["__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};
|