16 lines
44 KiB
JavaScript
16 lines
44 KiB
JavaScript
|
import{_ as Ot,a as Rt,r as b,A as Ue,U as Ze,V as zt,W as At,d as P,o as w,c as L,l as c,m as z,L as H,N as F,x as Z,F as Me,f as m,e as x,w as S,g as T,k as A,G as Ye,C as Qe,D as Xe,y as Vt,a2 as qt,p as Ht,q as Ft}from"./index.9172db1d.js";import ge from"./downloads.e955445d.js";import{_ as $t}from"./crops.d314ada0.js";import{_ as be}from"./close1.45635d81.js";import{_ as jt,a as Gt,b as Jt,c as Ut,d as Zt,e as Yt}from"./linesGL.90f708a5.js";import{_ as Qt}from"./dow.f37c8d82.js";import{d as We}from"./download.f7ec50f1.js";import{i as Y,L as me}from"./index.c9f5bd8b.js";import{T as Xt}from"./TimeLine.6ff87a01.js";import{u as re}from"./useEcharts.963c5809.js";import{b as Ke,g as Kt,d as Ne,e as et,f as tt,h as ea,i as ta,c as at,j as aa}from"./classify.7a190974.js";import{u as Ie,w as oa}from"./xlsx.86b9426e.js";const R=ie=>(Ht("data-v-076bbc79"),ie=ie(),Ft(),ie),la={class:"fatherDiv"},ra={class:"centerBox"},ia=R(()=>c("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),sa={class:"leftWra"},na={class:"leftTop"},da={class:"title"},ca=R(()=>c("span",null,"\u4F5C\u7269\u5206\u7C7B\u9762\u79EF\u7EDF\u8BA1",-1)),ua=R(()=>c("img",{src:ge,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),fa={class:"leftbottom"},ha={class:"title"},pa=R(()=>c("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1",-1)),ma=R(()=>c("img",{src:ge,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ga={class:"tableDiv"},ba=R(()=>c("img",{src:$t,alt:""},null,-1)),va={key:0,src:be,alt:""},ya={key:0,class:"imgrotate",src:be,alt:""},wa={class:"rightWra"},_a={class:"rightTop"},xa={class:"title"},Sa=R(()=>c("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530",-1)),Ca=R(()=>c("img",{src:ge,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ka={class:"rightbottom"},Ma={class:"title"},Wa=R(()=>c("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),Na=R(()=>c("img",{src:ge,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Ia={key:0,src:be,alt:""},Ea={key:0,class:"imgrotate",src:be,alt:""},Da={class:"mt-4"},La={class:"bottom_center"},Ta=Vt('<div class="tool" data-v-076bbc79><span data-v-076bbc79><img src="'+jt+'" alt="" data-v-076bbc79></span><span data-v-076bbc79><img src="'+Gt+'" alt="" data-v-076bbc79></span><span data-v-076bbc79><img src="'+Jt+'" alt="" data-v-076bbc79></span><span data-v-076bbc79><img src="'+Ut+'" alt="" data-v-076bbc79></span><span data-v-076bbc79><img src="'+Zt+'" alt="" data-v-076bbc79></span><span data-v-076bbc79><img src="'+Yt+'" alt="" data-v-076bbc79></span></div><div id="pop" data-v-076bbc79></div>',2),Ba={id:"popup1"},Pa={class:"rowWra"},Oa=R(()=>c("span",null,"\u5730\u533A\uFF1A",-1)),Ra={class:"tabulation"},za={class:"searchDiv"},Aa=R(()=>c("img",{src:Qt,alt:""},null,-1)),Va={class:"tableBox"},qa={class:"tableBorder"},Ha=["onClick"],Fa=["onClick"],$a={class:"example-pagination-block"},ja={class:"chartMode"},Ga={__name:"Classify",setup(ie){const Ee=Rt();let g=b(null);const ve=b(null),De=b(null),Le=b(null),se=b(null),Te=b(null);let O=Ue({arr:[],brr:[],crr:[]}),ye=b([]);const I=b("370211"),Q=b({info:[]});let Be=b([]);const Pe=b(!1);let $=b(!1),j=b(!1),V=b(!0),G=b(1),q=b(14);const J=b([]);let Oe=b([]),we=b([]),U=b(!0),ne=b(null),Re=b(null),ot=b(""),ze=["\u9AD8\u6807\u51C6\u519C\u75301.0","\u9AD8\u6807\u51C6\u519C\u75302.0","\u9AD8\u6807\u51C6\u519C\u75303.0","\u9AD8\u6807\u51C6\u519C\u75304.0","\u9AD8\u6807\u51C6\u519C\u75305.0","\u9AD8\u6807\u51C6\u519C\u75306.0","\u9AD8\u6807\u51C6\u519C\u75307.0"],X={\u5C0F\u9EA6:[],\u7389\u7C73:[],\u5927\u8C46:[],\u5730\u74DC:[],\u82B1\u751F:[],\u84DD\u8393:[],\u8336\u53F6:[],\u9A6C\u94C3\u85AF:[],\u767D\u83DC\u548C\u841D\u535C:[],\u5176\u4ED6:[]},_=b({yearMonth:"",flag:"2",divisions:""}),de=b([]);Ze(()=>V.value,(t,e)=>{t?window.document.querySelector(".tableBox").style.height="90%":window.document.querySelector(".tableBox").style.height="83%"});const _e=()=>{if(!_.value.yearMonth){qt.error("\u8BF7\u9009\u62E9\u65F6\u95F4");return}let t=[],e=[];ta({yearMonth:_.value.year
|
||
|
<span>\u9762\u79EF\uFF1A</span>
|
||
|
<span>{{ item.area}} \u4EA9</span>
|
||
|
</div> `),T(` <div class="rowWra">
|
||
|
<span>\u9547\u540D\uFF1A</span>
|
||
|
<span>{{ item.town }}</span>
|
||
|
</div>
|
||
|
<div class="rowWra" v-if="item.village">
|
||
|
<span>\u6751\u540D\uFF1A</span>
|
||
|
<span>{{ item.village }}</span>
|
||
|
</div>
|
||
|
<div class="rowWra" v-if="item.people">
|
||
|
<span>\u571F\u5730\u6240\u6709\u4EBA\uFF1A</span>
|
||
|
<span>{{ item.people }}</span>
|
||
|
</div> `)]),c("div",{class:"cancel",onClick:St},"X")]),Pe.value?(w(),A(h,{key:0,class:"back_button",onClick:e[9]||(e[9]=n=>Wt())},{default:S(()=>[z("\u8FD4\u56DE")]),_:1})):T("v-if",!0)]),c("div",Ra,[c("div",za,[x(y,{inline:!0,model:m(_),class:"demo-form-inline"},{default:S(()=>[x(M,{label:"\u65F6\u95F4:"},{default:S(()=>[x(o,{"popper-class":"selectCity",modelValue:m(_).yearMonth,"onUpdate:modelValue":e[10]||(e[10]=n=>m(_).yearMonth=n),placeholder:"\u8BF7\u9009\u62E9"},{default:S(()=>[(w(!0),L(H,null,F(m(we),(n,f)=>(w(),A(a,{key:f,label:t.Zitem,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),x(M,{label:"\u7EDF\u8BA1\u65B9\u5F0F:"},{default:S(()=>[x(o,{"popper-class":"selectCity",modelValue:m(_).flag,"onUpdate:modelValue":e[11]||(e[11]=n=>m(_).flag=n),placeholder:"\u8BF7\u9009\u62E9"},{default:S(()=>[x(a,{label:"\u884C\u653F\u533A\u5212",value:"2"}),x(a,{label:"\u9AD8\u6807\u51C6\u519C\u7530",value:"1"})]),_:1},8,["modelValue"])]),_:1}),x(M,{label:"\u9547:"},{default:S(()=>[x(o,{modelValue:m(_).divisions,"onUpdate:modelValue":e[12]||(e[12]=n=>m(_).divisions=n),disabled:m(_).flag!="2",placeholder:m(_).flag=="2"?"\u5168\u90E8":"\u8BF7\u9009\u62E9","popper-class":"selectCity"},{default:S(()=>[(w(!0),L(H,null,F(m(ye),(n,f)=>(w(),A(a,{key:f,label:n.tomeName,value:n.tomeCode},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled","placeholder"])]),_:1}),x(M,null,{default:S(()=>[x(h,{type:"primary",onClick:_e},{default:S(()=>[z("\u67E5\u8BE2")]),_:1}),x(h,{plain:"",onClick:lt,disabled:!m(U)},{default:S(()=>[z(" \u91CD\u7F6E ")]),_:1},8,["disabled"]),m(V)?T("v-if",!0):(w(),A(h,{key:0,type:"primary",text:"",onClick:dt},{default:S(()=>[Aa,z(" \u4E0B\u8F7D ")]),_:1}))]),_:1})]),_:1},8,["model"]),c("div",{class:"modeDiv",onClick:Ct},[c("div",{class:Ye(m(U)?"Selected":"")},"\u8868\u683C\u6A21\u5F0F",2),c("div",{class:Ye(m(U)?"":"Selecteds")},"\u56FE\u8868\u6A21\u5F0F",2)])]),Qe(c("div",Va,[c("div",qa,[m(V)?T("v-if",!0):(w(),A(D,{key:0,data:m(de),"header-cell-style":{"text-align":"center"},style:{width:"100%"},"highlight-current-row":"","header-row-class-name":"tabth"},{default:S(()=>[x(k,{align:"center",prop:"\u5408\u8BA1",width:"80"}),(w(!0),L(H,null,F(m(ee),(n,f)=>(w(),A(k,{key:f,prop:n.value,label:f==0?n.lable:n.lable+"(\u4EA9)",align:"center"},null,8,["prop","label"]))),128)),m(V)?(w(),A(k,{key:0,prop:"address",align:"center",label:"\u64CD\u4F5C"},{default:S(n=>[c("span",{style:{color:"rgba(67, 181, 143, 1)",cursor:"pointer"},onClick:f=>Ae(n.row)}," \u4E0B\u8F7D ",8,Ha)]),_:1})):T("v-if",!0)]),_:1},8,["data"]))]),x(D,{data:m(xe),"header-cell-style":{"text-align":"center"},height:"90%","highlight-current-row":"","header-row-class-name":"tabth"},{default:S(()=>[x(k,{type:"index",width:"80",align:"center",label:"\u5E8F\u53F7",index:Mt}),(w(!0),L(H,null,F(m(ee),(n,f)=>(w(),A(k,{key:f,prop:n.value,label:f==0?n.lable:n.lable+"(\u4EA9)",align:"center"},null,8,["prop","label"]))),128)),m(V)?(w(),A(k,{key:0,prop:"address",align:"center",label:"\u64CD\u4F5C"},{default:S(n=>[c("span",{style:{color:"rgba(67, 181, 143, 1)",cursor:"pointer"},onClick:f=>Ae(n.row)}," \u4E0B\u8F7D ",8,Fa)]),_:1})):T("v-if",!0)]),_:1},8,["data"]),c("div",$a,[z(" \u5171"+Z(J.value.length)+"\u6761 ",1),x(E,{background:"",layout:"prev, pager, next",total:J.value.length,"current-page":m(G),"page-size":m(q),onCurrentChange:kt},null,8,["total","current-page","page-size"])])],512),[[Xe,m(U)]]),Qe(c("div",ja,[c("div",{ref_key:"chartModeDiv",ref:se,class:"chartModeDiv"},null,512)],512),[[Xe,!m(U)]])])])}}},ro=Ot(Ga,[["__scopeId","data-v-076bbc79"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/crops/classify/Classify.vue"]]);export{ro as default};
|