import{_ as Lt,a as It,r as b,A as Qe,U as Ee,V as Ot,W as Bt,d as B,o as _,c as I,l as c,m as T,L as P,N as $,x as K,F as Ne,f as m,e as S,w as k,g as A,k as q,G as Ye,C as Xe,D as Ke,y as Rt,a2 as Tt,p as At,q as qt}from"./index.ae0c781d.js";import be from"./downloads.4cdbbcc5.js";import{_ as jt}from"./crops.d314ada0.js";import{_ as me}from"./close1.45635d81.js";import{_ as Vt,a as Pt,b as $t,c as Ft,d as Ht,e as Gt}from"./linesGL.97ae14ae.js";import{_ as Jt}from"./dow.f37c8d82.js";import{d as Me}from"./download.8084913c.js";import{i as U,L as pe}from"./index.c9f5bd8b.js";import{T as Ut}from"./TimeLine.64a8bde3.js";import{u as le}from"./useEcharts.dbdb546a.js";import{d as Zt,b as et,g as Qt,e as We,f as tt,h as at,i as Yt,j as Xt,c as ot}from"./classify.b33c3463.js";import{u as ze,w as Kt}from"./xlsx.86b9426e.js";const R=re=>(At("data-v-076bbc79"),re=re(),qt(),re),ea={class:"fatherDiv"},ta={class:"centerBox"},aa=R(()=>c("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),oa={class:"leftWra"},la={class:"leftTop"},ra={class:"title"},na=R(()=>c("span",null,"\u4F5C\u7269\u5206\u7C7B\u9762\u79EF\u7EDF\u8BA1",-1)),sa=R(()=>c("img",{src:be,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ia={class:"leftbottom"},da={class:"title"},ca=R(()=>c("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1",-1)),ua=R(()=>c("img",{src:be,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),fa={class:"tableDiv"},ha=R(()=>c("img",{src:jt,alt:""},null,-1)),pa={key:0,src:me,alt:""},ba={key:0,class:"imgrotate",src:me,alt:""},ma={class:"rightWra"},ga={class:"rightTop"},va={class:"title"},ya=R(()=>c("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530",-1)),_a=R(()=>c("img",{src:be,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),wa={class:"rightbottom"},xa={class:"title"},Sa=R(()=>c("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),ka=R(()=>c("img",{src:be,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Ca={key:0,src:me,alt:""},Da={key:0,class:"imgrotate",src:me,alt:""},Ea={class:"mt-4"},Na={class:"bottom_center"},Ma=Rt('
',2),Wa={id:"popup",class:"ol-popup"},za=R(()=>c("div",{class:"pophead",style:{width:"100%",height:"20px"}},[c("div",{id:"popup-title",style:{font:"bold 15px sans-serif",align:"left",position:"absolute",left:"17px",color:"#fff"}}),c("a",{href:"#",id:"popup-closer",class:"ol-popup-closer",style:{color:"#8e908c"}})],-1)),La={id:"popup-content",style:{padding:"10px"}},Ia=R(()=>c("div",{id:"popup-pagination"},null,-1)),Oa={class:"tabulation"},Ba={class:"searchDiv"},Ra=R(()=>c("img",{src:Jt,alt:""},null,-1)),Ta={class:"tableBox"},Aa={class:"tableBorder"},qa=["onClick"],ja=["onClick"],Va={class:"example-pagination-block"},Pa={class:"chartMode"},$a={__name:"Classify",setup(re){const Le=It();let lt=b(null);const ge=b(null),Ie=b(null),Oe=b(null),ne=b(null),Be=b(null);let O=Qe({arr:[],brr:[],crr:[]}),ve=b([]);const W=b("370211");b({info:[]});let Re=b([]);const Te=b(!1);let F=b(!1),H=b(!1),j=b(!0),G=b(1),V=b(14);const J=b([]);let Ae=b([]),ye=b([]),Z=b(!0);b("");let se=b(null),_e=b([]),qe=["\u9AD8\u6807\u51C6\u519C\u75301","\u9AD8\u6807\u51C6\u519C\u75302","\u9AD8\u6807\u51C6\u519C\u75303","\u9AD8\u6807\u51C6\u519C\u75304","\u9AD8\u6807\u51C6\u519C\u75305","\u9AD8\u6807\u51C6\u519C\u75306","\u9AD8\u6807\u51C6\u519C\u75307"],Q={\u5C0F\u9EA6:[],\u7389\u7C73:[],\u5927\u8C46:[],\u5730\u74DC:[],\u82B1\u751F:[],\u84DD\u8393:[],\u8336\u53F6:[],\u9A6C\u94C3\u85AF:[],\u767D\u83DC\u548C\u841D\u535C:[],\u5176\u4ED6:[]},w=b({yearMonth:"",flag:"2",divisions:""}),ie=b([]);Ee(()=>j.value,(o,t)=>{o?window.document.querySelector(".tableBox").style.height="90%":window.document.querySelector(".tableBox").style.height="83%"});const we=()=>{if(!w.value.yearMonth){Tt.error("\u8BF7\u9009\u62E9\u65F6\u95F4");return}let o=[],t=[];Xt({yearMonth:w.value.yearMonth,flag:w.value.flag===""?0:w.value.flag,divisions:w.value.divisions}).then(l=>{if(ie.value=[{region:"\u9AD8\u6807\u51C6\u519C\u7530",\u5176\u4ED6:l.data[l.data.length-1].otherSum,\u5730\u74DC:l.data[l.data.length-1].sweetPotatoSum,\u5927\u8C46:l.data[l.data.length-1].soyBeanSum,\u5C0F\u9EA6:l.data[l.data.length-1].wheatSum,\u82B1\u751F:l.data[l.data.length-1].peanutSum,\u8336\u53F6:l.data[l.data.length-1].teaSum,\u84DD\u8393:l.data[l.data.length-1].blueberrySum,\u5408\u8BA1:"\u5408\u8BA1"}],w.value.flag=="1")w.value.divisions="",ee.value=[{lable:"\u533A\u57DF\u540D\u79F0",value:"region"},{lable:"\u5C0F\u9EA6",value:"\u5C0F\u9EA6"},{lable:"\u7389\u7C73",value:"\u7389\u7C73"},{lable:"\u5927\u8C46",value:"\u5927\u8C46"},{lable:"\u5730\u74DC",value:"\u5730\u74DC"},{lable:"\u82B1\u751F",value:"\u82B1\u751F"},{lable:"\u84DD\u8393",value:"\u84DD\u8393"},{lable:"\u8336\u53F6",value:"\u8336\u53F6"},{lable:"\u9A6C\u94C3\u85AF",value:"\u9A6C\u94C3\u85AF"},{lable:"\u767D\u83DC\u548C\u841D\u535C",value:"\u767D\u83DC\u548C\u841D\u535C"},{lable:"\u5176\u4ED6",value:"\u5176\u4ED6"}],l.data.forEach(r=>{o.indexOf(r.region)==-1&&o.push(r.region)}),o.forEach(r=>{t.push(Object.create(null,{regio:{value:r}}))}),t.forEach(r=>{l.data.map(s=>{r.regio===s.region&&(r.region=s.region,r[s.name]=s.area)})}),j.value=!1;else if(w.value.flag=="2"){let r=[],s=[];We({divisions:w.value.divisions?w.value.divisions:"370211"}).then(d=>{d.data.forEach(p=>{r.indexOf(p.tomeName)==-1&&r.push(p.tomeName)}),r.forEach(p=>{s.push(Object.create(null,{regio:{value:p}}))}),s.forEach(p=>{d.data.map(h=>{p.regio===h.tomeName&&(p.region=h.tomeName,p[h.name]=h.area)})}),O.arr.forEach(p=>{if(w.value.divisions==p.tomeCode){s[0].region=p.tomeName,s[0].\u5408\u8BA1="\u5408\u8BA1";return}else p.tomeCode=="370211"&&(s[0].region="\u9EC4\u5C9B\u533A",s[0].\u5408\u8BA1="\u5408\u8BA1")}),ie.value=s}),ee.value=[{lable:"\u533A\u57DF\u540D\u79F0",value:"region"},{lable:"\u5C0F\u9EA6",value:"\u5C0F\u9EA6"},{lable:"\u7389\u7C73",value:"\u7389\u7C73"},{lable:"\u5927\u8C46",value:"\u5927\u8C46"},{lable:"\u5730\u74DC",value:"\u5730\u74DC"},{lable:"\u82B1\u751F",value:"\u82B1\u751F"},{lable:"\u84DD\u8393",value:"\u84DD\u8393"},{lable:"\u8336\u53F6",value:"\u8336\u53F6"},{lable:"\u9A6C\u94C3\u85AF",value:"\u9A6C\u94C3\u85AF"},{lable:"\u767D\u83DC\u548C\u841D\u535C",value:"\u767D\u83DC\u548C\u841D\u535C"},{lable:"\u5176\u4ED6",value:"\u5176\u4ED6"}],l.data.forEach(d=>{o.indexOf(d.tomeName)==-1&&o.push(d.tomeName)}),o.forEach(d=>{t.push(Object.create(null,{regio:{value:d}}))}),t.forEach(d=>{l.data.map(p=>{d.regio===p.tomeName&&(d.region=p.tomeName,d[p.name]=p.area)})}),j.value=!1}else w.value.flag==0&&(j.value=!0,t=l.data,ee=b([{lable:"\u65F6\u95F4",value:"dateTime"},{lable:"\u6570\u636E\u540D\u79F0",value:"excelName"}]));J.value=t,xe.value=t.slice((G.value-1)*V.value,(G.value-1)*V.value+V.value);const a=ne.value;a.style.width=window.innerWidth-100+"px",a.style.height=window.innerHeight-100+"px";const e=U(a);window.addEventListener("resize",()=>{a.style.width=window.innerWidth-200+"px",a.style.height=window.innerHeight-200+"px",e.resize()}),Ze()})},rt=()=>{w.yearMonth=ye.value[0],w.flag=2,w.value.divisions="",j.value=!0,we()};let ee=b([{lable:"\u65F6\u95F4",value:"dateTime"},{lable:"\u6570\u636E\u540D\u79F0",value:"excelName"}]),xe=b([]);const nt=o=>{We({divisions:W.value,whetherToDownload:!0}).then(t=>{Me(t.data[t.data.length-1].downloadPath)})},st=o=>{tt({divisions:W.value,whetherToDownload:!0}).then(t=>{Me(t.data[t.data.length-1].downloadPath)})},it=o=>{at({divisions:W.value,whetherToDownload:!1}).then(t=>{let l=[],a=[];t.data.forEach(e=>{l.indexOf(e.region)==-1&&l.push(e.region)}),l.forEach(e=>{a.push(Object.create(null,{regio:{value:e}}))}),a.forEach(e=>{t.data.map(r=>{e.regio===r.region&&(e.region=r.region,e[r.name]=r.area)})}),de(a,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530","Sheet1")})},dt=o=>{let t="";O.arr.forEach(l=>{l.subregion==W.value&&(t=l.subregionName=="\u5168\u90E8"?"\u9EC4\u5C9B\u533A":l.subregionName)}),W.value==="370211"?et({divisions:W.value,whetherToDownload:!1}).then(l=>{let a=[],e=[];l.data.forEach(r=>{a.indexOf(r.tomeName)==-1&&a.push(r.tomeName)}),a.forEach(r=>{e.push(Object.create(null,{regio:{value:r}}))}),e.forEach(r=>{l.data.map(s=>{r.regio===s.tomeName&&(r.region=s.tomeName,r[s.name]=s.area)})}),de(e,`${t}\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u884C\u653F\u533A\u5212`,"Sheet1")}):ot({divisions:W.value,whetherToDownload:!1}).then(l=>{let a=[],e=[];l.data.forEach(r=>{a.indexOf(r.tomeName)==-1&&a.push(r.tomeName)}),a.forEach(r=>{e.push(Object.create(null,{regio:{value:r}}))}),e.forEach(r=>{l.data.map(s=>{r.regio===s.tomeName&&(r.region=s.tomeName,r[s.name]=s.area)})}),de(e,`${t}\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u884C\u653F\u533A\u5212`,"Sheet1")})},je=o=>{Me(o.download)},ct=()=>{let o=JSON.parse(JSON.stringify(ie.value[0]));o.region="\u5408\u8BA1",J.value.push(o),de(J.value,"\u519C\u4F5C\u7269\u79CD\u690D\u9762\u79EF\u7EDF\u8BA1\u8868","Sheet1")},ut=(o,t)=>o.map(a=>{const e={};for(const r in a)t[r]&&(e[t[r]]=a[r]);return e}),de=(o,t="\u7528\u6237\u5217\u8868",l="Sheet1")=>{const e=ut(o,{region:"\u533A\u57DF\u540D\u79F0",\u5C0F\u9EA6:"\u5C0F\u9EA6(\u4EA9)",\u7389\u7C73:"\u7389\u7C73(\u4EA9)",\u5927\u8C46:"\u5927\u8C46(\u4EA9)",\u5730\u74DC:"\u5730\u74DC(\u4EA9)",\u82B1\u751F:"\u82B1\u751F(\u4EA9)",\u84DD\u8393:"\u84DD\u8393(\u4EA9)",\u8336\u53F6:"\u8336\u53F6(\u4EA9)",\u9A6C\u94C3\u85AF:"\u9A6C\u94C3\u85AF(\u4EA9)",\u767D\u83DC\u548C\u841D\u535C:"\u767D\u83DC\u548C\u841D\u535C(\u4EA9)",\u5176\u4ED6:"\u5176\u4ED6(\u4EA9)"}),r=ze.json_to_sheet(e),s=ze.book_new();ze.book_append_sheet(s,r,l),Kt(s,`${t}.xlsx`)};let M={\u5C0F\u9EA6:[],\u7389\u7C73:[],\u5927\u8C46:[],\u5730\u74DC:[],\u82B1\u751F:[],\u84DD\u8393:[],\u8336\u53F6:[],\u9A6C\u94C3\u85AF:[],\u767D\u83DC\u548C\u841D\u535C:[],\u5176\u4ED6:[]},te={\u5C0F\u9EA6:{color:"rgba(25, 196, 22, 1)",disabled:!1},\u7389\u7C73:{color:"rgba(255, 240, 26, 1)",disabled:!0},\u5927\u8C46:{color:"rgba(255, 184, 148, 1)",disabled:!1},\u5730\u74DC:{color:"rgba(255, 18, 18, 1)",disabled:!1},\u82B1\u751F:{color:"rgba(255, 140, 255, 1)",disabled:!1},\u84DD\u8393:{color:" rgba(0, 153, 255, 1)",disabled:!1},\u8336\u53F6:{color:"rgba(0, 209, 195, 1)",disabled:!1},\u9A6C\u94C3\u85AF:{color:"rgba(253, 127, 1, 1)",disabled:!0},\u767D\u83DC\u548C\u841D\u535C:{color:"rgba(201, 255, 148, 1)",disabled:!0},\u5176\u4ED6:{color:"rgba(166, 224, 255, 1)",disabled:!1}},ae={\u5C0F\u9EA6:{setOf:"2023-05-30-nongzuowufenlei",name:"T2023_05_30_xiaomai"},\u5927\u8C46:{setOf:"2023-05-30-nongzuowufenlei",name:"T2023_05_30_dadou"},\u5730\u74DC:{setOf:"2023-05-30-nongzuowufenlei",name:"T2023_05_30_digua"},\u82B1\u751F:{setOf:"2023-05-30-nongzuowufenlei",name:"T2023_05_30_huasheng"},\u84DD\u8393:{setOf:"2023-05-30-nongzuowufenlei",name:"T2023_05_30_lanmei"},\u8336\u53F6:{setOf:"2023-05-30-nongzuowufenlei",name:"T2023_05_30_chaye"},\u5176\u4ED6:{setOf:"2023-05-30-nongzuowufenlei",name:"T2023_05_30_qitanongzuowu"}},oe=[{name:"\u5C0F\u9EA6",value:0,itemStyle:{opacity:.8,color:"rgba(25, 196, 22, 1)"},area:""},{name:"\u7389\u7C73",value:0,itemStyle:{opacity:.8,color:"rgba(255, 240, 26, 1)"},area:""},{name:"\u82B1\u751F",area:"",value:0,itemStyle:{opacity:.8,color:"rgba(255, 140, 255, 1)"},label:{show:!0}},{name:"\u5927\u8C46",area:"",value:156,itemStyle:{opacity:.8,color:"rgba(255, 184, 148, 1)"},label:{show:!0}},{name:"\u5730\u74DC",area:"",value:156,itemStyle:{opacity:.8,color:"rgba(255, 18, 18, 1)"},label:{show:!0}},{name:"\u84DD\u8393",area:"",value:56,itemStyle:{opacity:.8,color:" rgba(0, 153, 255, 1)"},label:{show:!0}},{name:"\u8336\u53F6",area:"",value:56,itemStyle:{opacity:.8,color:"rgba(0, 209, 195, 1)"},label:{show:!0}},{name:"\u9A6C\u94C3\u85AF",area:"",value:56,itemStyle:{opacity:.8,color:"rgba(253, 127, 1, 1)"},label:{show:!0}},{name:"\u767D\u83DC\u548C\u841D\u535C",area:"",value:56,itemStyle:{opacity:.8,color:"rgba(201, 255, 148, 1)"},label:{show:!0}},{name:"\u5176\u4ED6",area:"",value:56,itemStyle:{opacity:.8,color:"rgba(166, 224, 255, 1)"},label:{show:!0}}],ce=Qe({arr:[]});var Y={title:["\u533A\u57DF\u4E00","\u533A\u57DF\u4E8C","\u533A\u57DF\u4E09","\u533A\u57DF\u56DB","\u533A\u57DF\u4E94","\u533A\u57DF\u516D","\u533A\u57DF\u4E03","\u533A\u57DF\u516B"]};let X=b([]),Se=b([]);Ot(()=>{ft()});function ft(){Ce("370211"),De("370211"),Dt(),ke("370211"),ht(),Ge(),Je(),Ue(),he(),Et(),Mt(),vt();for(const l in te)te[l].disabled!==!0&&Ae.value.push(l);fe.value=Ae.value;let o=document.querySelector(".leftWra");o&&(o.style.transform="translate(-107%,0)");let t=document.querySelector(".rightWra");t.style.transform="translate(107%,0)",localStorage.setItem(Le.currentRoute.value.path,!0)}Bt(()=>{localStorage.getItem(Le.currentRoute.value.path)=="false"?(document.querySelector(".mode").innerText="\u5730\u56FE\u6A21\u5F0F",window.document.querySelector("#screenfull").style.display="none"):(document.querySelector(".mode").innerText="\u5217\u8868\u6A21\u5F0F",window.document.querySelector("#screenfull").style.display="block")});let x=b(null);b(null),b(null);let Ve=b(null),ue=b(null);function ht(){var o=document.querySelector(".centerBox"),t=document.getElementById("cesiumContainer");x=new ol.Map({target:"cesiumContainer",controls:[],view:new ol.View({center:[119.86763411957472,35.88435182141938],zoom:11,projection:"EPSG:4326"}),layers:[new ol.layer.Tile({source:new ol.source.Tianditu({layerType:"img",key:"1d109683f4d84198e37a38c442d68311"})})]}),x.on("moveend",function(a){var e=x.getView().getZoom();e>=13?se.setVisible(!0):se.setVisible(!1)}),x.on("singleclick",function(a){var e=a.coordinate,r=e[0],s=e[1],d=x.getView(),p=x.getView().getZoom();console.log(r,s),d.animate({center:[r,s],duration:1e3}),console.log(p,"zoom========================"),p>=13?$e(a,"huangdaoqu_village@huangdaoqu_bianjie","http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/huangdaoqu_village@huangdaoqu_bianjie","\u6751"):$e(a,"huangdaoqu_town@huangdaoqu_bianjie","http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/huangdaoqu_town@huangdaoqu_bianjie","\u9547")});var l=new ResizeObserver(function(a){a.forEach(function(e){var r=e.contentRect.width,s=e.contentRect.height;t.style.width=r+"px",t.style.height=s+"px",x.updateSize()})});l.observe(o)}function pt(o){let t=new ol.source.Vector;var l=new ol.layer.Vector({id:"zhezhao",source:t,style:new ol.style.Style({fill:new ol.style.Fill({color:"rgba( 105, 105, 105, 0.9)"})})});const a=Pe(o),e=new ol.Feature({geometry:a});l.getSource().addFeature(e),x.addLayer(l)}function Pe(o){console.log(o);const t=[-180,-90,180,90],l=ol.geom.Polygon.fromExtent(t),a=o;return console.log(a),a.forEach(e=>{const r=new ol.geom.LinearRing(e[0]);l.appendLinearRing(r)}),l}const bt=()=>{se=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:"http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/huangdaoqu_village@huangdaoqu_bianjie",cacheEnabled:!1}),name:"huangdaoqu_village",projection:"EPSG:4326",zIndex:9999}),x.addLayer(se)},mt=()=>{var o=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:"http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/huangdaoqu_town@huangdaoqu_bianjie",cacheEnabled:!1}),projection:"EPSG:4326",zIndex:9999});x.addLayer(o)},gt=o=>{let t=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+`/map-${o.setOf}/rest/maps/${o.name}@${o.setOf}`,cacheEnabled:!1}),name:o.name,projection:"EPSG:4326"});x.addLayer(t)};function $e(o,t,l,a){let e=[];var r=new ol.geom.Point(o.coordinate),s=new ol.supermap.QueryByGeometryParameters({queryParams:{name:t},geometry:r});let d=document.querySelector("#popup-title"),p=b(null),h=b(null);new ol.supermap.QueryService(l).queryByGeometry(s,function(g){h=x.getLayers().getArray().find(N=>N.get("id")==="zhezhao"),x.removeLayer(h);let y="";if(a=="\u9547"&&g.result.recordsets[0].features.features[0].properties.XJQYDM){let N=g.result.recordsets[0].features.features[0].properties.XJQYDM;W.value=N,ke();let D=[];O.brr.forEach(n=>{n.tomeCode==N&&(y=n.tomeName,D.push(n)),_e.value=D}),C()}else if(a=="\u6751"&&g.result.recordsets[0].features.features[0].properties.CJQYDM){let N=g.result.recordsets[0].features.features[0].properties.CJQYDM,D=[];Zt({divisions:N}).then(n=>{n.data.forEach(u=>{D.push(u)}),y=n.data[0].tomeName,_e.value=D,C()})}function C(){if(g.result.currentCount>0){console.log(g.result.recordsets[0].features),g.result.recordsets[0].features&&(ue.setPosition(r.flatCoordinates),console.log(y),d.innerHTML=y),p=x.getLayers().getArray().find(L=>L.get("id")==="dianjigaoliang"),x.removeLayer(p);var N=new ol.format.GeoJSON().readFeatures(g.result.recordsets[0].features);e=g.result.recordsets[0].features.features[0].geometry.coordinates,pt(g.result.recordsets[0].features.features[0].geometry.coordinates);var D=new ol.source.Vector;D.addFeatures(N);const u=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(255, 219, 113, 1.0)",width:5})});var n=new ol.layer.Vector({id:"dianjigaoliang",source:D,zIndex:9999});n.setStyle(u),x.addLayer(n)}}}),Ve.addEventListener("click",function(){h=x.getLayers().getArray().find(g=>g.get("id")==="zhezhao"),x.removeLayer(h),Pe(e),W.value="370211",p=x.getLayers().getArray().find(g=>g.get("id")==="dianjigaoliang"),x.removeLayer(p),ue.setPosition(void 0)})}const vt=()=>{document.getElementById("popup"),document.getElementById("popup-content"),Ve=document.getElementById("popup-closer"),ue=new ol.Overlay({element:document.getElementById("popup"),positioning:"bottom-center",stopEvent:!0,offset:[0,-10]}),x.addOverlay(ue)},fe=b(["false"]);let Fe=0;Ee(()=>W.value,()=>{Nt()}),Ee(()=>fe.value,(o,t)=>{o.length>t.length?o.filter(a=>{if(t.findIndex(r=>r===a)<0)return a}).forEach(a=>{ae[a]&>(ae[a])}):o.length{if(o.findIndex(r=>r===a)<0)return a}).forEach(a=>{ae[a]&&(x.getLayers().getArray().indexOf(ae[a].name),console.log(x.getLayers().getArray()),x.getLayers().getArray().forEach((e,r)=>{e.A.name&&e.A.name==ae[a].name&&x.getLayers().removeAt(r)}))}),Fe++,Fe==1&&(bt(),mt())});function yt(){Z.value=!Z.value;const o=ne.value;o.style.width=window.innerWidth-100+"px",o.style.height=window.innerHeight-100+"px";const t=U(o);window.addEventListener("resize",()=>{o.style.width=window.innerWidth-200+"px",o.style.height=window.innerHeight-200+"px",t.resize()}),Ze()}b([]);const _t=o=>{G.value=o,xe.value=J.value.slice((G.value-1)*V.value,(G.value-1)*V.value+V.value)},wt=o=>{const t=G.value,l=V.value;return o+1+(t-1)*l};function xt(){W.value="370211",deleteEntityByName("townLine"),lt.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),Te.value=!1}function St(){if(F.value=!F.value,F.value){let o=document.querySelector(".leftWra");o.style.transform="translate(0,0)"}else{let o=document.querySelector(".leftWra");o.style.transform="translate(-107%,0)"}}function kt(){if(H.value=!H.value,H.value){let o=document.querySelector(".rightWra");o.style.transform="translate(0,0)"}else{let o=document.querySelector(".rightWra");o.style.transform="translate(107%,0)"}}const ke=o=>{M={\u5C0F\u9EA6:[],\u7389\u7C73:[],\u5927\u8C46:[],\u5730\u74DC:[],\u82B1\u751F:[],\u84DD\u8393:[],\u8336\u53F6:[],\u9A6C\u94C3\u85AF:[],\u767D\u83DC\u548C\u841D\u535C:[],\u5176\u4ED6:[]},et({divisions:o}).then(t=>{t.data.forEach((s,d)=>{for(let p=0;ps.tomeName.length-d.tomeName.length),O.arr.unshift({tomeCode:"370211",tomeName:"\u5168\u90E8"});let l=[],a=[];O.arr.forEach(s=>{l.indexOf(s.tomeName)==-1&&(l.push(s.tomeName),a.push({tomeName:s.tomeName,tomeCode:s.tomeCode,area:s.area,type:s.type}))}),O.arr=a,ve.value=JSON.parse(JSON.stringify(O.arr)),ve.value[0].tomeCode="";let e=[...t.data],r=[];e.splice(0,1),e.forEach(s=>{r.indexOf(s.tomeName)==-1&&r.push(s.tomeName)}),Y.title=[...Object.values(r)],Y.title.forEach((s,d)=>{let p=t.data.map(h=>{if(s===h.tomeName)return h});Object.keys(M).forEach(h=>{p.findIndex(y=>y&&y.name===h)>-1?M[h].push(10):M[h].push(null)})}),he()})},Ct=o=>{M={\u5C0F\u9EA6:[],\u7389\u7C73:[],\u5927\u8C46:[],\u5730\u74DC:[],\u82B1\u751F:[],\u84DD\u8393:[],\u8336\u53F6:[],\u9A6C\u94C3\u85AF:[],\u767D\u83DC\u548C\u841D\u535C:[],\u5176\u4ED6:[]},ot({divisions:o}).then(t=>{O.brr=t.data;let l=[...t.data],a=[];l.splice(0,1),l.forEach(e=>{a.indexOf(e.tomeName)==-1&&a.push(e.tomeName)}),Y.title=[...Object.values(a)],Y.title.forEach((e,r)=>{let s=t.data.map(d=>{if(e===d.tomeName)return d});Object.keys(M).forEach(d=>{s.findIndex(h=>h&&h.name===d&&Number(h.area)>0)>-1?M[d].push(1):M[d].push(null)})}),he()})},Dt=()=>{Qt().then(o=>{o.features&&(O.crr=o.features,Y.title.forEach((t,l)=>{let a=o.features.map(e=>{if(t===e.properties.town)return e.properties});Object.keys(M).forEach(e=>{a.findIndex(s=>s&&s.crop===e)>-1?M[e].push(1):M[e].push(null)})})),he()})},Ce=o=>{console.log(111),X=b([]),Se=b([]),console.log(X),We({divisions:o}).then(t=>{console.log(t.data),t.data.forEach(l=>{X.value.unshift(l.area),Se.value.unshift(l.name)}),Ge()})},De=o=>{ce.arr=[],tt({divisions:o}).then(t=>{let l=[];t.data.forEach(a=>{for(let e=0;e{at().then(o=>{He.value=o.data,console.log(o.data),qe.forEach((t,l)=>{let a=o.data.map(e=>{if(t===e.region)return e});Object.keys(M).forEach(e=>{a.findIndex(s=>s&&s.name===e&&Number(s.area)>0)>-1?Q[e].push(100):Q[e].push(null)})}),Ue()})},Nt=()=>{if(W.value=="370211"){ke("370211"),Ce("370211"),De("370211");return}else Ce(W.value),De(W.value),Ct(W.value)},Mt=()=>{Yt().then(o=>{ye.value=o.data,w.value.yearMonth=o.data[0],Wt(o.data[0])})},Wt=o=>{we()};function Ge(){if(ge.value){const o=U(ge.value);console.log(X);let t={textStyle:{color:"#c0c3cd",fontSize:14},toolbox:{show:!1,feature:{saveAsImage:{backgroundColor:"#031245"},restore:{}},iconStyle:{borderColor:"#c0c3cd"}},legend:{top:10,itemWidth:8,itemHeight:8,icon:"circle",left:"center",padding:0,textStyle:{color:"#c0c3cd",fontSize:14,padding:[2,0,0,0]},border:"1px solid rgba(4, 153, 153, 1)"},color:["#00D7E9","rgba(0, 215, 233, 0.9)"],grid:{containLabel:!0,left:20,right:20,bottom:10,top:40},xAxis:[{type:"category",data:Se.value,axisLine:{lineStyle:{color:"#C0C4CC",width:1}},axisTick:{show:!1},axisLabel:{margin:10,color:"rgba(255, 255, 255, 0.7)",textStyle:{fontSize:14}}}],yAxis:{nameTextStyle:{color:"#c0c3cd",padding:[0,0,0,0],fontSize:14},axisLabel:{color:"#c0c3cd",fontSize:14},axisTick:{lineStyle:{color:"#668092",width:1},show:!1},splitLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.7)",type:"dashed"}},axisLine:{lineStyle:{color:"rgba(255, 255, 255, 0.7)",width:1},show:!1},name:"\u9762\u79EF(\u4EA9)"},series:[{data:X.value,type:"bar",barMaxWidth:"auto",barWidth:30,itemStyle:{color:{x:0,y:0,x2:0,y2:1,type:"linear",colorStops:[{offset:0,color:" rgba(0, 208, 255, 0.1)"},{offset:1,color:"rgba(0, 208, 255, 0.9) "}]},borderWidth:1,borderColor:"black"},label:{show:!1,position:"top",distance:10,color:"#fff"},emphasis:{itemStyle:{shadowBlur:20,shadowColor:"rgba(0, 147, 252, 1)"}}},{data:[1,1,1,1,1],type:"pictorialBar",barMaxWidth:"20",symbol:"diamond",symbolOffset:[0,"50%"],symbolSize:[30,15],tooltip:{show:!1}},{data:X.value,type:"pictorialBar",barMaxWidth:"20",symbolPosition:"end",symbol:"diamond",symbolOffset:[0,"-50%"],symbolSize:[30,12],zlevel:2}],tooltip:{show:!0,formatter:"\u9762\u79EF:{c0}"}};le(o,t)}}function Je(){const o=U(Ie.value);let t="",l="",a="",e=s(ce.arr,0);function r(d,p,h,g,y,C){const N=(d+p)/2,D=d*Math.PI*2,n=p*Math.PI*2,u=N*Math.PI*2;d===0&&p===1&&(h=!1),y=typeof y<"u"?y:1/3;const L=h?Math.cos(u)*.1:0,f=h?Math.sin(u)*.1:0,z=g?1.05:1;return{u:{min:-Math.PI,max:Math.PI*3,step:Math.PI/32},v:{min:0,max:Math.PI*2,step:Math.PI/20},x(E,v){return En?L+Math.cos(n)*(1+Math.cos(v)*y)*z:L+Math.cos(E)*(1+Math.cos(v)*y)*z},y(E,v){return En?f+Math.sin(n)*(1+Math.cos(v)*y)*z:f+Math.sin(E)*(1+Math.cos(v)*y)*z},z(E,v){return E<-Math.PI*.5?Math.sin(E):E>Math.PI*2.5?Math.sin(E)*C*.1:Math.sin(v)>0?1*C*.1:-1}}}function s(d,p){const h=[];let g=0,y=0,C=0;const N=[],D=typeof p<"u"?(1-p)/(1+p):1/3;for(let u=0;u"u"?`series${u}`:d[u].name,type:"surface",parametric:!0,wireframe:{show:!1},pieData:d[u],pieStatus:{selected:!1,hovered:!1,k:D}};if(typeof d[u].itemStyle<"u"){const{itemStyle:f}=d[u];typeof d[u].itemStyle.color<"u"&&(f.color=d[u].itemStyle.color),typeof d[u].itemStyle.opacity<"u"&&(f.opacity=d[u].itemStyle.opacity),L.itemStyle=f}h.push(L)}for(let u=0;u{if(u.seriesName!=="mouseoutSeries"){let L="";return ce.arr.forEach(f=>{f.name==u.seriesName&&(L=f.area)}),`${u.seriesName}:${Number(L)}\u4EA9`}return""}},xAxis3D:{min:-1,max:1},yAxis3D:{min:-1,max:1},zAxis3D:{min:-1,max:1},grid3D:{show:!1,boxHeight:10,top:"-10%",viewControl:{alpha:35,beta:30,rotateSensitivity:1,zoomSensitivity:0,panSensitivity:0,autoRotate:!1,distance:300},postEffect:{enable:!0,bloom:{enable:!0,bloomIntensity:.1},SSAO:{enable:!0,quality:"medium",radius:2}}},series:h}}o.on("mouseover",function(d){let p,h,g,y,C,N;a!==d.seriesIndex&&(a!==""&&(p=e.series[a].pieStatus.selected,h=!1,g=e.series[a].pieData.startRatio,y=e.series[a].pieData.endRatio,C=e.series[a].pieStatus.k,N=e.series[a].pieData.value===e.series[0].pieData.value?35:10,e.series[a].parametricEquation=r(g,y,p,h,C,N),e.series[a].pieStatus.hovered=h,a=""),d.seriesName!=="mouseoutSeries"&&(p=e.series[d.seriesIndex].pieStatus.selected,h=!0,g=e.series[d.seriesIndex].pieData.startRatio,y=e.series[d.seriesIndex].pieData.endRatio,C=e.series[d.seriesIndex].pieStatus.k,e.series[d.seriesIndex].parametricEquation=r(g,y,p,h,C,e.series[d.seriesIndex].pieData.value+5),e.series[d.seriesIndex].pieStatus.hovered=h,a=d.seriesIndex),o.setOption(e))}),o.on("globalout",function(){if(a!==""){t=e.series[a].pieStatus.selected,l=!1;let d=e.series[a].pieStatus.k;startRatio=e.series[a].pieData.startRatio,endRatio=e.series[a].pieData.endRatio,i=e.series[a].pieData.value===e.series[0].pieData.value?35:10,e.series[a].parametricEquation=r(startRatio,endRatio,t,l,d,i),e.series[a].pieStatus.hovered=l,a=""}o.setOption(e)}),le(o,e)}function Ue(){const o=U(Oe.value);let t={grid:{left:"3%",right:"4%",bottom:"3%",top:"10%",containLabel:!0},tooltip:{formatter:function(l){let a=0;return He.value.forEach(e=>{e.name==l.seriesName&&e.region==l.name&&(a=e.area)}),l.seriesName+''+a+"\u4EA9"}},xAxis:{type:"value",max:500,show:!1,axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1}},yAxis:{type:"category",inverse:!0,splitLine:{show:!1},axisTick:{show:!1},axisLine:{show:!1},axisLabel:{interval:0,color:"rgba(255, 255, 255, 1)",fontSize:14},data:qe},series:[{name:"\u5C0F\u9EA6",type:"bar",barWidth:12,stack:"stack",data:Q.\u5C0F\u9EA6,itemStyle:{normal:{barBorderRadius:0,color:new pe(0,0,.9,0,[{offset:1,color:"rgba(25, 196, 22, 1)"},{offset:0,color:"rgba(25, 196, 22, 1)"}])}}},{name:"\u5927\u8C46",type:"bar",barWidth:12,stack:"stack",data:Q.\u5927\u8C46,itemStyle:{normal:{barBorderRadius:0,color:new pe(0,0,.9,0,[{offset:1,color:"rgba(255, 184, 148, 1)"},{offset:0,color:"rgba(255, 184, 148, 1)"}])}}},{name:"\u8336\u53F6",type:"bar",barWidth:12,stack:"stack",data:Q.\u8336\u53F6,itemStyle:{normal:{barBorderRadius:0,color:new pe(0,0,.9,0,[{offset:1,color:"rgba(0, 209, 195, 1)"},{offset:0,color:"rgba(0, 209, 195, 1)"}])}}},{name:"\u82B1\u751F",type:"bar",barWidth:12,stack:"stack",data:Q.\u82B1\u751F,itemStyle:{normal:{barBorderRadius:0,color:new pe(0,0,.9,0,[{offset:1,color:"rgba(255, 140, 255, 1)"},{offset:0,color:"rgba(255, 140, 255, 1)"}])}}}]};le(o,t)}function he(){const o=U(Be.value);var t={grid:{bottom:"8%",left:"10%",right:"6%",top:"6%",containLabel:!0},tooltip:{formatter:function(l){let a=0;return O.brr.forEach(e=>{e.name==l.seriesName&&e.tomeName==l.name&&(a=e.area)}),l.seriesName+''+a+"\u4EA9"}},dataZoom:[{type:"slider",show:!1,zoomLock:!0,width:8,yAxisIndex:[0],bottom:30,top:20,right:10,startValue:0,endValue:4,handleIcon:"M-292,322.2c-3.2,0-6.4-0.6-9.3-1.9c-2.9-1.2-5.4-2.9-7.6-5.1s-3.9-4.8-5.1-7.6c-1.3-3-1.9-6.1-1.9-9.3c0-3.2,0.6-6.4,1.9-9.3c1.2-2.9,2.9-5.4,5.1-7.6s4.8-3.9,7.6-5.1c3-1.3,6.1-1.9,9.3-1.9c3.2,0,6.4,0.6,9.3,1.9c2.9,1.2,5.4,2.9,7.6,5.1s3.9,4.8,5.1,7.6c1.3,3,1.9,6.1,1.9,9.3c0,3.2-0.6,6.4-1.9,9.3c-1.2,2.9-2.9,5.4-5.1,7.6s-4.8,3.9-7.6,5.1C-285.6,321.5-288.8,322.2-292,322.2z",handleSize:"100%",handleStyle:{color:"#DBDBDB",height:"100%"},backgroundColor:"transparent",fillerColor:"#DBDBDB",textStyle:{color:"transparent"},dataBackground:{lineStyle:{color:"transparent"},areaStyle:{color:"transparent"}},borderColor:"transparent"},{type:"inside",id:"insideY",yAxisIndex:0,start:0,end:50,zoomOnMouseWheel:!1,moveOnMouseMove:!0,moveOnMouseWheel:!0}],xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1},axisLabel:{show:!1}},yAxis:[{type:"category",axisTick:{show:!1},axisLine:{show:!1,lineStyle:{color:"#cdd3ee"}},splitLine:{show:!1},axisLabel:{show:!0,fontSize:12,color:"rgba(255, 255, 255, 1)",formatter:"{value}"},data:Y.title,inverse:!0}],series:[{type:"bar",name:"\u8336\u53F6",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"inside",formatter:"\u8336\u53F6",textStyle:{fontSize:12,fontWeight:"bolder",color:"black"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:"rgba(0, 209, 195, 1)",color:{colorStops:[{offset:0,color:"rgba(0, 209, 195, 1)"},{offset:1,color:"rgba(0, 209, 195, 1)"}]}},data:M.\u8336\u53F6},{type:"bar",name:"\u5730\u74DC",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"inside",formatter:"\u5730\u74DC",textStyle:{fontSize:12,fontWeight:"bolder",color:"black"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:"rgba(255, 18, 18, 1)",color:{colorStops:[{offset:0,color:"rgba(255, 18, 18, 1)"},{offset:1,color:"rgba(255, 18, 18, 1)"}]}},data:M.\u5730\u74DC},{type:"bar",name:"\u5927\u8C46",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"inside",formatter:"\u5927\u8C46",textStyle:{fontSize:12,fontWeight:"bolder",color:"black"}},itemStyle:{barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:"rgba(255, 184, 148, 1)",color:{colorStops:[{offset:0,color:"rgba(255, 184, 148, 1)"},{offset:1,color:"rgba(255, 184, 148, 1)"}]}},data:M.\u5927\u8C46},{type:"bar",name:"\u82B1\u751F",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"inside",formatter:"\u82B1\u751F",textStyle:{fontSize:12,fontWeight:"bolder",color:"black"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:"rgba(255, 140, 255, 1)",color:{colorStops:[{offset:0,color:"rgba(255, 140, 255, 1)"},{offset:1,color:"rgba(255, 140, 255, 1)"}]}},data:M.\u82B1\u751F},{type:"bar",name:"\u5C0F\u9EA6",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"inside",formatter:"\u5C0F\u9EA6",textStyle:{fontSize:12,fontWeight:"bolder",color:"black"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:"rgba(25, 196, 22, 1)",color:{colorStops:[{offset:0,color:"rgba(25, 196, 22, 1)"},{offset:1,color:"rgba(25, 196, 22, 1)"}]}},data:M.\u5C0F\u9EA6},{type:"bar",name:"\u84DD\u8393",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"inside",formatter:"\u84DD\u8393",textStyle:{fontSize:12,fontWeight:"bolder",color:"black"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:" rgba(0, 153, 255, 1)",color:{colorStops:[{offset:0,color:" rgba(0, 153, 255, 1)"},{offset:1,color:" rgba(0, 153, 255, 1)"}]}},data:M.\u84DD\u8393},{type:"bar",name:"\u5176\u4ED6",stack:"\u603B\u91CF",barMaxWidth:30,label:{show:!0,position:"inside",formatter:"\u5176\u4ED6",textStyle:{fontSize:12,fontWeight:"bolder",color:"black"}},itemStyle:{barBorderRadius:[0,0,0,0],barBorderRadius:[0,0,0,0],borderWidth:1,borderColor:"rgba(166, 224, 255, 1)",color:{colorStops:[{offset:0,color:"rgba(166, 224, 255, 1)"},{offset:1,color:"rgba(166, 224, 255, 1)"}]}},data:M.\u5176\u4ED6}]};le(o,t)}function Ze(){const o=U(ne.value);let t=[],l=[],a=[],e=[],r=[],s=[],d=[],p=[],h=[],g=[],y=[];J.value.forEach(f=>{t.push(f.region),f.\u5C0F\u9EA6!==void 0&&l.push(f.\u5C0F\u9EA6),f.\u7389\u7C73!==void 0&&a.push(f.\u7389\u7C73),f.\u5927\u8C46!==void 0&&e.push(f.\u5927\u8C46),f.\u5730\u74DC!==void 0&&r.push(f.\u5730\u74DC),f.\u82B1\u751F!==void 0&&s.push(f.\u82B1\u751F),f.\u84DD\u8393!==void 0&&d.push(f.\u84DD\u8393),f.\u8336\u53F6!==void 0&&p.push(f.\u8336\u53F6),f.\u9A6C\u94C3\u85AF!==void 0&&h.push(f.\u9A6C\u94C3\u85AF),f.\u767D\u83DC\u548C\u841D\u535C!==void 0&&g.push(f.\u767D\u83DC\u548C\u841D\u535C),f.\u5176\u4ED6!==void 0&&y.push(f.\u5176\u4ED6)});let C=10/t.length*100,N={tooltip:{trigger:"axis",formatter:function(f){let z=f[0].axisValueLabel+"",E=0;for(let v=0;v");for(let v=0;v",E=0;for(let v=0;v`;E+=f[v].value,z+=zt+f[v].seriesName+"\uFF1A"+f[v].value+""}for(let v=0;v{const l=B("el-tooltip"),a=B("el-option"),e=B("el-select"),r=B("el-checkbox"),s=B("el-checkbox-group"),d=B("el-collapse-item"),p=B("el-collapse"),h=B("el-button"),g=B("el-form-item"),y=B("el-form"),C=B("el-table-column"),N=B("el-table"),D=B("el-pagination");return _(),I("div",ea,[c("div",ta,[aa,c("div",oa,[c("div",la,[c("div",ra,[na,c("p",{onClick:t[0]||(t[0]=n=>nt())},[T(" \u4E0B\u8F7D \xA0 "),sa])]),c("div",{ref_key:"areaDiv",ref:ge,class:"areaDiv"},null,512)]),c("div",ia,[c("div",da,[ca,c("p",{onClick:t[1]||(t[1]=n=>st())},[T(" \u4E0B\u8F7D \xA0 "),ua])]),c("div",{ref_key:"typesofDiv",ref:Ie,class:"typesofDiv"},null,512)]),c("div",fa,[c("div",null,[(_(!0),I(P,null,$(m(Re),(n,u)=>(_(),I("div",{key:u,class:"Crops"},[c("div",null,[ha,T(" "+K(n.type),1)]),c("div",{style:Ne({color:n.content.color})},K(n.content.value)+"\u4EA9 ",5),c("div",{style:Ne({color:n.content.color})},K(n.content.percent),5)]))),128))])]),c("div",{class:"leftFoldDiv",onClick:t[2]||(t[2]=n=>St())},[S(l,{disabled:m(F),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:k(()=>[A(' '),m(F)?A("v-if",!0):(_(),I("img",pa))]),_:1},8,["disabled"]),S(l,{disabled:!m(F),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:k(()=>[A(' '),m(F)?(_(),I("img",ba)):A("v-if",!0)]),_:1},8,["disabled"])])]),c("div",ma,[c("div",ga,[c("div",va,[ya,c("p",{onClick:t[3]||(t[3]=n=>it())},[T(" \u4E0B\u8F7D \xA0 "),_a])]),c("div",{ref_key:"farmlandDiv",ref:Oe,class:"farmlandDiv"},null,512),A(' ')]),c("div",wa,[c("div",xa,[Sa,c("p",{onClick:t[4]||(t[4]=n=>dt())},[T(" \u4E0B\u8F7D \xA0 "),ka])]),S(e,{"popper-class":"select_city",modelValue:W.value,"onUpdate:modelValue":t[5]||(t[5]=n=>W.value=n),placeholder:"\u5168\u90E8"},{default:k(()=>[(_(!0),I(P,null,$(m(O).arr,n=>(_(),q(a,{key:n.tomeCode,label:n.tomeName,value:n.tomeCode},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),c("div",{ref_key:"ASdivisionDiv",ref:Be,class:"ASdivision"},null,512)]),c("div",{class:"rightFoldDiv",onClick:t[6]||(t[6]=n=>kt())},[S(l,{disabled:!m(H),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:k(()=>[m(H)?(_(),I("img",Ca)):A("v-if",!0)]),_:1},8,["disabled"]),S(l,{disabled:m(H),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:k(()=>[m(H)?A("v-if",!0):(_(),I("img",Da))]),_:1},8,["disabled"])])]),S(p,{class:"legend",accordion:""},{default:k(()=>[S(d,{name:"1"},{title:k(()=>[T("\u56FE\u4F8B")]),default:k(()=>[c("div",Ea,[S(s,{modelValue:fe.value,"onUpdate:modelValue":t[7]||(t[7]=n=>fe.value=n),onChange:o.change},{default:k(()=>[(_(!0),I(P,null,$(m(te),(n,u,L)=>(_(),q(r,{key:L,style:Ne({background:n.color,border:`1px solid ${n.color}`,width:"100%"}),"v-model":n.disabled,disabled:n.disabled,label:u},null,8,["style","v-model","disabled","label"]))),128))]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1}),c("div",Na,[S(Ut)]),Ma,c("div",Wa,[za,c("div",La,[(_(!0),I(P,null,$(m(_e),(n,u)=>(_(),I("div",{key:u},[c("p",null,[c("span",null,K(n.name),1),T(" : "),c("span",null,K(n.area)+"(\u4EA9)",1)])]))),128))]),Ia]),Te.value?(_(),q(h,{key:0,class:"back_button",onClick:t[8]||(t[8]=n=>xt())},{default:k(()=>[T("\u8FD4\u56DE")]),_:1})):A("v-if",!0)]),c("div",Oa,[c("div",Ba,[S(y,{inline:!0,model:m(w),class:"demo-form-inline"},{default:k(()=>[S(g,{label:"\u65F6\u95F4:"},{default:k(()=>[S(e,{"popper-class":"selectCity",modelValue:m(w).yearMonth,"onUpdate:modelValue":t[9]||(t[9]=n=>m(w).yearMonth=n),placeholder:"\u8BF7\u9009\u62E9"},{default:k(()=>[(_(!0),I(P,null,$(m(ye),(n,u)=>(_(),q(a,{key:u,label:o.Zitem,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),S(g,{label:"\u7EDF\u8BA1\u65B9\u5F0F:"},{default:k(()=>[S(e,{"popper-class":"selectCity",modelValue:m(w).flag,"onUpdate:modelValue":t[10]||(t[10]=n=>m(w).flag=n),placeholder:"\u8BF7\u9009\u62E9"},{default:k(()=>[S(a,{label:"\u884C\u653F\u533A\u5212",value:"2"}),S(a,{label:"\u9AD8\u6807\u51C6\u519C\u7530",value:"1"})]),_:1},8,["modelValue"])]),_:1}),S(g,{label:"\u9547:"},{default:k(()=>[S(e,{modelValue:m(w).divisions,"onUpdate:modelValue":t[11]||(t[11]=n=>m(w).divisions=n),disabled:m(w).flag!="2",placeholder:m(w).flag=="2"?"\u5168\u90E8":"\u8BF7\u9009\u62E9","popper-class":"selectCity"},{default:k(()=>[(_(!0),I(P,null,$(m(ve),(n,u)=>(_(),q(a,{key:u,label:n.tomeName,value:n.tomeCode},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled","placeholder"])]),_:1}),S(g,null,{default:k(()=>[S(h,{type:"primary",onClick:we},{default:k(()=>[T("\u67E5\u8BE2")]),_:1}),S(h,{plain:"",onClick:rt},{default:k(()=>[T("\u91CD\u7F6E")]),_:1}),m(j)?A("v-if",!0):(_(),q(h,{key:0,type:"primary",text:"",onClick:ct},{default:k(()=>[Ra,T(" \u4E0B\u8F7D ")]),_:1}))]),_:1})]),_:1},8,["model"]),c("div",{class:"modeDiv",onClick:yt},[c("div",{class:Ye(m(Z)?"Selected":"")},"\u8868\u683C\u6A21\u5F0F",2),c("div",{class:Ye(m(Z)?"":"Selecteds")},"\u56FE\u8868\u6A21\u5F0F",2)])]),Xe(c("div",Ta,[c("div",Aa,[m(j)?A("v-if",!0):(_(),q(N,{key:0,data:m(ie),"header-cell-style":{"text-align":"center"},style:{width:"100%"},"highlight-current-row":"","header-row-class-name":"tabth"},{default:k(()=>[S(C,{align:"center",prop:"\u5408\u8BA1",width:"80"}),(_(!0),I(P,null,$(m(ee),(n,u)=>(_(),q(C,{key:u,prop:n.value,label:u==0?n.lable:n.lable+"(\u4EA9)",align:"center"},null,8,["prop","label"]))),128)),m(j)?(_(),q(C,{key:0,prop:"address",align:"center",label:"\u64CD\u4F5C"},{default:k(n=>[c("span",{style:{color:"rgba(67, 181, 143, 1)",cursor:"pointer"},onClick:u=>je(n.row)}," \u4E0B\u8F7D ",8,qa)]),_:1})):A("v-if",!0)]),_:1},8,["data"]))]),S(N,{data:m(xe),"header-cell-style":{"text-align":"center"},height:"90%","highlight-current-row":"","header-row-class-name":"tabth"},{default:k(()=>[S(C,{type:"index",width:"80",align:"center",label:"\u5E8F\u53F7",index:wt}),(_(!0),I(P,null,$(m(ee),(n,u)=>(_(),q(C,{key:u,prop:n.value,label:u==0?n.lable:n.lable+"(\u4EA9)",align:"center"},null,8,["prop","label"]))),128)),m(j)?(_(),q(C,{key:0,prop:"address",align:"center",label:"\u64CD\u4F5C"},{default:k(n=>[c("span",{style:{color:"rgba(67, 181, 143, 1)",cursor:"pointer"},onClick:u=>je(n.row)}," \u4E0B\u8F7D ",8,ja)]),_:1})):A("v-if",!0)]),_:1},8,["data"]),c("div",Va,[T(" \u5171"+K(J.value.length)+"\u6761 ",1),S(D,{background:"",layout:"prev, pager, next",total:J.value.length,"current-page":m(G),"page-size":m(V),onCurrentChange:_t},null,8,["total","current-page","page-size"])])],512),[[Ke,m(Z)]]),Xe(c("div",Pa,[c("div",{ref_key:"chartModeDiv",ref:ne,class:"chartModeDiv"},null,512)],512),[[Ke,!m(Z)]])])])}}},ao=Lt($a,[["__scopeId","data-v-076bbc79"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/crops/classify/Classify.vue"]]);export{ao as default};