3 lines
22 KiB
JavaScript
3 lines
22 KiB
JavaScript
import{O as W,_ as Ze,r as c,G as Ke,t as et,F as tt,a1 as ie,a9 as at,R as de,d as A,o as S,c as E,k as r,N as Ae,f as p,I as H,K as U,m as N,j as D,w as C,U as ue,V as ce,l as G,e as Q,M as ot,y as X,C as rt,p as nt,q as lt}from"./index.9c864c60.js";import Ee from"./downloads.4cdbbcc5.js";import{_ as st}from"./qx.88a5ecd3.js";import{_ as it,a as dt}from"./zhankaiss.dd067ea4.js";import{_ as ut,a as ct,b as pt,c as gt}from"./position.3b2b2301.js";import{_ as ht,a as mt}from"./face.9a19de2e.js";import"./index.5edff79b.js";import"./linesGL.ef5bef0f.js";import{T as ft}from"./TimeLine.a8e7fc26.js";import{u as pe}from"./useEcharts.b0697ce5.js";import{d as ge}from"./download.71b1811b.js";import{e as he}from"./element-resize-detector.ff2fdb0d.js";import{ai as me,bj as vt}from"./linkSeriesData.77e8a68a.js";/* empty css */import"./browser-detector.e77caf03.js";function fe(w){return W({url:"equipment/nonGrain",method:"get",params:w})}function qe(w){return W({url:"equipment/nonGrainChun",method:"get",params:w})}function yt(w){return W({url:"equipment/nonGrainHuoChun",method:"get",params:w})}function _t(w){return W({url:"equipment/flYear ",method:"get",params:w})}function Fe(w){return W({url:"equipment/flHeith",method:"get",params:w})}const b=w=>(nt("data-v-347ac844"),w=w(),lt(),w),bt={class:"center"},wt=b(()=>r("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),St={class:"rightWra"},xt={class:"tabar"},Lt={class:"rightbottom"},kt={class:"title"},Ct=b(()=>r("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),zt=b(()=>r("span",null,"\u975E\u7CAE\u5316\u8015\u5730\u9762\u79EF\u7EDF\u8BA1",-1)),At=b(()=>r("img",{src:Ee,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),qt={class:"rightbottom"},Ft=b(()=>r("div",{class:"title"},[r("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}}),r("span",null,"\u975E\u7CAE\u5316\u8015\u5730\u9762\u79EF\u5360\u6BD4")],-1)),Et={class:"rightTop"},Dt={class:"title"},Gt=b(()=>r("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),It=b(()=>r("span",null,"\u9AD8\u6807\u51C6\u519C\u7530",-1)),Pt=b(()=>r("img",{src:Ee,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),jt={key:0},Nt=b(()=>r("img",{src:st},null,-1)),$t=[Nt],Tt=b(()=>r("img",{src:it},null,-1)),Mt=b(()=>r("img",{src:dt},null,-1)),Qt={class:"mt-4"},Wt={class:"bottom_center"},Vt=rt('<div class="tool" data-v-347ac844><span data-v-347ac844><img src="'+ut+'" alt="" data-v-347ac844></span><span data-v-347ac844><img src="'+ct+'" alt="" data-v-347ac844></span><span data-v-347ac844><img src="'+pt+'" alt="" data-v-347ac844></span><span data-v-347ac844><img src="'+ht+'" alt="" data-v-347ac844></span><span data-v-347ac844><img src="'+mt+'" alt="" data-v-347ac844></span><span data-v-347ac844><img src="'+gt+'" alt="" data-v-347ac844></span></div>',1),Jt={id:"popup",class:"ol-popup"},Yt=b(()=>r("div",{class:"pophead",style:{width:"100%"}},[r("div",{id:"popup-title",style:{"font-size":"20px","font-weight":"400","letter-spacing":"1px","line-height":"42px","padding-left":"15px","border-radius":"8px",margin:"20px",background:"rgba(100, 195, 164, 0.05)"}}),r("a",{href:"#",id:"popup-closer",class:"ol-popup-closer"})],-1)),Ot={id:"popup-content",style:{padding:"10px"}},Bt={class:"perform_children"},Rt=b(()=>r("div",{class:"label"},"\u975E\u7CAE\u5316:",-1)),Ht={class:"perform_children"},Ut=b(()=>r("div",{class:"label"},"\u7ECF\u7EAC\u5EA6\uFF1A",-1)),Xt=b(()=>r("div",{id:"popup-pagination"},null,-1)),Zt={__name:"index",setup(w){c(null);const Z=c(null),K=c(null);let $=Ke({arr:[],brr:[],crr:[]}),q=c([]);const L=c("370211");c({info:[]});const De=c(!1);c(!0);let F=c(!1);const I=c([]);let T=c([]),ee=c([]),te=c([]),V=c([]),h=c(""),ae=c(1),ve=c([]),oe=c(""),J=c(5),Y=c([]),P=c(!0),j=!(window.localStorage.getItem("divisions").length>6),ye=c([]);const re=c(null);let _e=window.localStorage.getItem("deptName")=="\u9752\u5C9B\u897F\u6D77\u5CB8\u65B0\u533A"?"\u9EC4\u5C9B\u533A":window.localStorage.getItem("deptName");const Ge=t=>{L.value=="370211"?fe({yearMonth:h.value.name,whetherToDownload:!0}).then(e=>{ge(e.data[e.data.length-1].downloadPath)}):qe({divisions:L.value,yearMonth:h.value.name,whetherToDownload:!0}).then(e=>{ge(e.data[e.data.length-1].downloadPath)})};let M={\u975E\u7CAE\u5316:{color:"rgba(47, 236, 56, 0.8)",disabled:!1}},k={},O=c(null);const be=t=>{P.value=t,t?(ne(),le()):ze()};et(()=>{Ie()});function Ie(){Je(),Pe(),Me(),Te();for(const e in M)M[e].disabled!==!0&&T.value.push(e);I.value=T.value;let t=document.querySelector(".rightWra");t.style.transform="translate(101%,0)"}tt(()=>{document.querySelector(".mode").style.display="none",window.document.querySelector("#screenfull").style.display="block"}),ie(()=>h.value,(t,e)=>{L.value=window.localStorage.getItem("divisions"),j?ke(h.value.name):Ce(L.value,h.value.name);let a=h.value.name.replace(/-/g,"_");k={\u975E\u7CAE\u5316:{setOf:`${h.value.name}-gengdi`,name:`T${a}_feilianghua`}}});let i=c(null);c(null),c(null);let we=c(null),B=c(null);function Pe(){var t=document.querySelector(".center"),e=document.getElementById("cesiumContainer");i=new ol.Map({target:"cesiumContainer",controls:[],view:new ol.View({center:[119.86763411957472,35.88435182141938],zoom:11,maxZoom:16.5,projection:"EPSG:4326"}),layers:[new ol.layer.Tile({source:new ol.source.XYZ({url:`${serverAPI.tiandituLayers}`,projection:serverAPI.flag?"EPSG:4326":"EPSG:3857"}),preload:20})]}),Ne(),$e(),i.on("moveend",function(a){var o=i.getView().getZoom();o>=13?O.setVisible(!0):O.setVisible(!1)}),i.on("singleclick",function(a){var o=a.coordinate;if(j){var u=o[0],s=o[1],m=i.getView(),v=i.getView().getZoom();m.animate({center:[u,s],duration:1e3}),v>=13?R(a,"CJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u6751"):R(a,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u9547")}else{let f=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,d=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:"XJQY3702112019WGS84@huangdaoqu_bianjie",attributeFilter:`XJQYMC = '${_e}'`},datasetNames:["huangdaoqu_bianjie:XJQY3702112019WGS84"]});new ol.supermap.FeatureService(f).getFeaturesBySQL(d,function(l){let y=new ol.format.GeoJSON().readFeatures(l.result.features),g=new ol.source.Vector;g.addFeatures(y);let z=new ol.layer.Vector({source:g}).getSource().getFeatures();for(var x=0;x<z.length;x++)if(z[x].getGeometry().intersectsCoordinate(o)){var se=o[0],He=o[1],Ue=i.getView(),Xe=i.getView().getZoom();Ue.animate({center:[se,He],duration:1e3}),Xe>=13?R(a,"CJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u6751"):R(a,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u9547")}})}});var n=new ResizeObserver(function(a){a.forEach(function(o){var u=o.contentRect.width,s=o.contentRect.height;e.style.width=u+"px",e.style.height=s+"px",i.updateSize()})});n.observe(t),je(_e)}function je(t){let e="",n="",a="",o="",u="";n=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,e=t,a="XJQY3702112019WGS84",o="huangdaoqu_bianjie",u="XJQYMC";var s=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:`${a}@${o}`,attributeFilter:`${u} like '%${e}%'`},datasetNames:[`${o}:${a}`]});new ol.supermap.FeatureService(n).getFeaturesBySQL(s,function(m){if(m.result.featureCount!=0){var v=i.getLayers().getArray().find(_=>_.get("id")==="zhezhao");i.removeLayer(v);var f=i.getLayers().getArray().find(_=>_.get("id")==="dianjigaoliang");i.removeLayer(f);var d=new ol.format.GeoJSON().readFeatures(m.result.features);xe(m.result.features.features[0].geometry.coordinates,"qu","rgba( 105, 105, 105, 1)",9999);var l=new ol.source.Vector;l.addFeatures(d);const g=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:2})});var y=new ol.layer.Vector({id:"dianjigaoliang",source:l});y.setStyle(g),i.addLayer(y),i.getView().fit(l.getExtent())}})}const Ne=()=>{O=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+"/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie",cacheEnabled:!1}),name:"CJQY3702112019WGS84",projection:"EPSG:4326",zIndex:9999}),i.addLayer(O)},$e=()=>{var t=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+"/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie",cacheEnabled:!1}),name:"XJQY3702112019WGS84",projection:"EPSG:4326",zIndex:9999});i.addLayer(t)},Se=t=>{let e=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+`/map-${t.setOf}/rest/maps/${t.name}@${t.setOf}`,cacheEnabled:!1}),name:t.name,projection:"EPSG:4326"});i.addLayer(e)};function R(t,e,n,a){te.value=t.Tn;let o=[];var u=new ol.geom.Point(t.coordinate),s=new ol.supermap.QueryByGeometryParameters({queryParams:{name:e},geometry:u});let m=document.querySelector("#popup-title"),v=c(null),f=c(null);new ol.supermap.QueryService(n).queryByGeometry(s,function(d){f=i.getLayers().getArray().find(g=>g.get("id")==="zhezhao"),i.removeLayer(f);let l="";if(a=="\u9547"&&d.result.recordsets[0].features.features[0].properties.XJQYDM){let g=d.result.recordsets[0].features.features[0].properties.XJQYDM;L.value=g;let _=[];fe({divisions:"370211",yearMonth:h.value.name}).then(z=>{z.data.forEach(x=>{x.subregionCode==g&&(l=x.subregionName,_.push(x))}),y(),ee.value=_})}else if(a=="\u6751"&&d.result.recordsets[0].features.features[0].properties.CJQYDM){let g=d.result.recordsets[0].features.features[0].properties.CJQYDM,_=[];yt({divisions:g,yearMonth:h.value.name}).then(z=>{z.data.forEach(x=>{x.subregionCode==g&&(l=x.subregionName,_.push(x))}),ee.value=_,y()})}function y(){if(d.result.currentCount>0){d.result.recordsets[0].features&&(B.setPosition(u.flatCoordinates),m.innerHTML=l),v=i.getLayers().getArray().find(se=>se.get("id")==="dianjigaoliang"),i.removeLayer(v);var g=new ol.format.GeoJSON().readFeatures(d.result.recordsets[0].features);o=d.result.recordsets[0].features.features[0].geometry.coordinates,xe(d.result.recordsets[0].features.features[0].geometry.coordinates);var _=new ol.source.Vector;_.addFeatures(g);const x=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(255, 219, 113, 1.0)",width:5})});var z=new ol.layer.Vector({id:"dianjigaoliang",source:_,zIndex:9999});z.setStyle(x),i.addLayer(z)}}}),we.addEventListener("click",function(){f=i.getLayers().getArray().find(d=>d.get("id")==="zhezhao"),i.removeLayer(f),Le(o),L.value=window.localStorage.getItem("divisions"),v=i.getLayers().getArray().find(d=>d.get("id")==="dianjigaoliang"),i.removeLayer(v),B.setPosition(void 0)})}const Te=()=>{document.getElementById("popup"),document.getElementById("popup-content"),we=document.getElementById("popup-closer"),B=new ol.Overlay({element:document.getElementById("popup"),positioning:"bottom-center",stopEvent:!0,offset:[0,-10]}),i.addOverlay(B)};function Me(){at.get("/json/huangdao.json").then(({data:t})=>{new ol.format.GeoJSON().readFeatures(t)[0]})}function xe(t,e,n,a){let o=new ol.source.Vector;var u=new ol.layer.Vector({id:e||"zhezhao",source:o,zIndex:a||50,style:new ol.style.Style({fill:new ol.style.Fill({color:n||"rgba( 105, 105, 105, 0.9)"})})});const s=Le(t),m=new ol.Feature({geometry:s});u.getSource().addFeature(m),i.addLayer(u)}function Le(t){const e=[-180,-90,180,90],n=ol.geom.Polygon.fromExtent(e);return t.forEach(o=>{const u=new ol.geom.LinearRing(o[0]);n.appendLinearRing(u)}),n}ie(()=>L.value,()=>{Be()});const Qe=()=>{ae.value=0};ie(()=>I.value,(t,e)=>{t.length>e.length&&ae.value<1?t.filter(a=>{if(e.findIndex(u=>u===a)<0)return a}).forEach(a=>{k[a]&&Se(k[a])}):t.length<e.length&&e.filter(a=>{if(t.findIndex(u=>u===a)<0)return a}).forEach(a=>{k[a]&&(i.getLayers().getArray().indexOf(k[a].name),i.getLayers().getArray().forEach((o,u)=>{o.A.name&&o.A.name==k[a].name&&i.getLayers().removeAt(u)}))})});function We(){if(F.value=!F.value,F.value){let t=document.querySelector(".rightWra");t.style.transform="translate(0,0)"}else{let t=document.querySelector(".rightWra");t.style.transform="translate(101%,0)"}}const Ve=t=>{V.value=Y.value.slice((t-1)*J.value,t*J.value)},Je=()=>{_t().then(t=>{h.value={name:t.data[t.data.length-1]};let e=[];t.data.forEach(o=>{e.push({name:o})}),Y.value=e,ve.value=Math.ceil(Y.value.length/5),oe=Math.ceil(e.length/5),V.value=Y.value.slice((oe-1)*J.value,oe*J.value);let a=h.value.name.replace(/-/g,"_");k={\u975E\u7CAE\u5316:{setOf:`${h.value.name}-gengdi`,name:`T${a}_feilianghua`}},Ye()})},Ye=()=>{Fe({divisions:"370211",yearMonth:h.value.name}).then(t=>{ye.value=t.data,t.data.length>0&&ze()})},Oe=t=>{Fe({divisions:"370211",yearMonth:h.value.name,whetherToDownload:!0}).then(e=>{ge(e.data[e.data.length-1].downloadPath)})},ke=t=>{fe({yearMonth:t}).then(e=>{$.arr=[],q.value=[],e.data.forEach(o=>{o.farm>0&&($.arr.push(o),q.value.push(o))}),$.arr.unshift({subregionCode:"370211",subregionName:"\u5168\u90E8"});let n=[...e.data],a=[];n.splice(0,1),n.forEach(o=>{a.push(o.subregionCode)}),[...Object.values(a)],ne($.arr),le()})},Ce=(t,e)=>{qe({divisions:t,yearMonth:e}).then(n=>{q.value=[],n.data.forEach(a=>{a.farm>0&&q.value.push(a)}),ne(),le()})},Be=()=>{L.value=="370211"?ke(h.value.name):L.value&&Ce(L.value,h.value.name)},Re=t=>{ae.value+=1,T.value=[];for(const n in M)M[n].disabled!==!0&&T.value.push(n);I.value=T.value;for(const n in k)i.getLayers().getArray().forEach((a,o)=>{a.A.name==k[n].name&&i.getLayers().removeAt(o)});h.value=t;let e=t.name.replace(/-/g,"_");k={\u975E\u7CAE\u5316:{setOf:`${t.name}-gengdi`,name:`T${e}_feilianghua`}},I.value.forEach(n=>{Se(k[n])})};function ne(){const t=me(Z.value);q.value.sort((s,m)=>m.farm-s.farm);var e=[],n=[];q.value.forEach(s=>{e.push(s.subregionName),n.push(Number(s.farm).toFixed(2))});let a=3/q.value.length*100;var o={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!0,top:"10",right:"5%",textStyle:{color:"rgba(153, 153, 153, 1)"},itemWidth:20,itemHeight:12.5,icon:"rect",backgroundColor:"transparent"},dataZoom:[{type:"slider",width:"40%",zoomLock:!0,top:"90%",start:0,end:a,show:!1,showDataShadow:!1,showDetail:!1,fillerColor:"rgba(64, 158, 255)",borderRadius:"50%",moveHandleSize:0,moveHandleStyle:{},left:"35%",height:12,handleSize:"80%",handleIcon:"path://M512,512m-448,0a448,448,0,1,0,896,0a448,448,0,1,0,-896,0Z",handleStyle:{borderWidth:0,color:"rgba(64, 158, 255)"}},{type:"inside"}],grid:{left:"5%",right:"5%",bottom:"9%",top:"10%",containLabel:!0},xAxis:{data:e,triggerEvent:!0,axisTick:{show:!1},axisLine:{show:!0,lineStyle:{color:"#70F5FE"}},axisLabel:{show:!0,rotate:0,interval:0,textStyle:{padding:[8,0,0,0],fontSize:14,color:"rgba(153, 153, 153, 1)"}}},yAxis:{name:"",triggerEvent:!0,nameTextStyle:{color:"rgba(153, 153, 153, 1)",fontSize:16,padding:[0,0,10,-20]},splitLine:{show:!0,lineStyle:{color:"#A6D9F6",type:"dashed"}},axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,textStyle:{color:"rgba(153, 153, 153, 1)",fontSize:14}}},series:[{name:"\u9762\u79EF(\u4EA9)",barMinHeight:10,type:"pictorialBar",barCategoryGap:"60%",symbolOffset:[1,-5],symbol:"path://M0,10 L10,10 C5.5,10 5.5,5 5,0 C4.5,5 4.5,10 0,10 z",itemStyle:{normal:{color:new vt(0,0,0,1,[{offset:0,color:"rgba(255, 211, 81, 1)"},{offset:.7,color:"rgba(255, 211, 81, 1)"},{offset:1,color:"rgba(255, 211, 81, 0.05)"}])}},label:{show:!0,position:"top",textStyle:{color:"#ffffff"}},data:n,z:0}]};t.on("click",s=>ChartClickRB(s)),pe(t,o),he().listenTo(Z.value,()=>{de(()=>{t.resize()})})}function le(){const t=me(K.value);let e=q.value,n=0;e.forEach(u=>{u.name=u.subregionName,u.value=Number(u.farm).toFixed(2),n+=u.farm});let a={color:["rgba(49, 235, 7, 1)","rgba(84, 170, 255, 1)","rgba(255, 251, 0, 1)","rgba(255, 168, 8, 1)","rgba(255, 0, 255, 1)"],title:{text:"\u975E\u7CAE\u5316\u603B\u9762\u79EF",subtext:`${n.toFixed(2)}\u4EA9`,textStyle:{color:"rgba(51, 51, 51, 1)",fontSize:14},subtextStyle:{fontSize:14,color:["#ff9d19"]},x:"center",y:"center"},grid:{top:0},tooltip:{trigger:"item",axisPointer:{type:"shadow"},formatter:"{a} <br/>{b} : {c}\u4EA9 <br/>\u767E\u5206\u6BD4 : {d}%"},series:[{radius:["50%","71%"],center:["50%","50%"],type:"pie",label:{normal:{show:!1}},labelLine:{normal:{show:!1}},name:"\u975E\u7CAE\u5316\u9762\u79EF\u5360\u6BD4",data:e},{radius:["50%","54%"],center:["50%","50%"],type:"pie",label:{normal:{show:!1},emphasis:{show:!1}},labelLine:{normal:{show:!1},emphasis:{show:!1}},animation:!1,tooltip:{show:!1},data:[{value:1,itemStyle:{color:"rgba(250,250,250,0.3)"}}]}]};pe(t,a),he().listenTo(K.value,()=>{de(()=>{t.resize()})})}function ze(){const t=me(re.value);let e=[],n=[];ye.value.forEach(s=>{e.push(s.subregionName),n.push(s.farm)});let a=3/e.length*100,o={tooltip:{trigger:"axis",formatter:function(s,m,v){for(var f=s[0].name,d=0,l=s.length;d<l;d++)s[d].seriesType==="line"?f+="<br/>"+s[d].seriesName+" : "+(s[d].value?s[d].value:"-")+"h":f+="<br/>"+s[d].seriesName+" : "+(s[d].value?s[d].value:"-");return f}},grid:{top:"15%",bottom:"15%",left:"15%",right:"10%"},dataZoom:[{show:!1,type:"slider",width:"40%",zoomLock:!1,top:"90%",start:0,end:a,showDataShadow:!1,showDetail:!1,fillerColor:"rgba(64, 158, 255)",borderRadius:"50%",moveHandleSize:0,moveHandleStyle:{},left:"35%",height:12,handleSize:"80%",handleIcon:"path://M512,512m-448,0a448,448,0,1,0,896,0a448,448,0,1,0,-896,0Z",handleStyle:{borderWidth:0,color:"rgba(64, 158, 255)"}},{type:"inside"}],xAxis:[{type:"category",nameTextStyle:{fontSize:12},axisLabel:{interval:0,formatter:function(s){var m="",v=5,f=s.length,d=Math.ceil(f/v);if(d>1){for(var l=0;l<d;l++){var y="",g=l*v,_=g+v;y=s.substring(g,_)+`
|
|
`,m+=y}return m}else return s}},splitLine:{show:!1},axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}},axisPointer:{type:"shadow"},data:e}],yAxis:[{type:"value",name:"\u9762\u79EF(\u4EA9)",splitLine:{show:!0},nameTextStyle:{fontSize:12},axisLabel:{fontSize:14,relativeSize:-2,formatter:"{value}"},axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}},splitLine:{lineStyle:{type:"dashed",color:"rgba(153, 153, 153, 1)"}},min:0,position:"top"}],series:[{name:"\u9762\u79EF(\u4EA9)",type:"bar",barWidth:"10%",yAxisIndex:0,data:n,itemStyle:{normal:{barBorderRadius:2,color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(64, 192, 87, 0.5)"},{offset:1,color:"rgba(64, 192, 87, 0.2)"}],global:!1},shadowColor:"rgba(255, 255, 255, 0.5)",shadowBlur:10}}}]};o&&t.setOption(o,{notMerge:!0,grid:{bottom:20}}),pe(t,o),he().listenTo(re.value,()=>{de(()=>{t.resize()})})}return(t,e)=>{const n=A("el-option"),a=A("el-select"),o=A("el-icon"),u=A("el-tooltip"),s=A("el-checkbox"),m=A("el-checkbox-group"),v=A("el-collapse-item"),f=A("el-collapse"),d=A("el-button");return S(),E("div",bt,[wt,r("div",St,[r("div",xt,[r("div",{class:Ae(p(P)?"tabarS":""),onClick:e[0]||(e[0]=l=>be(!0))},"\u884C\u653F\u533A\u5212",2),r("div",{class:Ae(p(P)?"":"tabarS"),onClick:e[1]||(e[1]=l=>be(!1))}," \u9AD8\u6807\u51C6\u519C\u7530 ",2)]),H(r("div",Lt,[r("div",kt,[Ct,zt,r("p",{onClick:e[2]||(e[2]=l=>Ge())},[N(" \u4E0B\u8F7D \xA0 "),At])]),p(j)?(S(),D(a,{key:0,"popper-class":"select_city",modelValue:L.value,"onUpdate:modelValue":e[3]||(e[3]=l=>L.value=l),clearable:"",placeholder:"\u5168\u90E8"},{default:C(()=>[(S(!0),E(ue,null,ce(p($).arr,l=>(S(),D(n,{key:l.subregionCode,label:l.subregionName,value:l.subregionCode},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])):G("",!0),r("div",{ref_key:"ASdivisionDiv",ref:Z,class:"ASdivision"},null,512)],512),[[U,p(P)]]),H(r("div",qt,[Ft,r("div",{ref_key:"typesofDiv",ref:K,class:"typesofDiv"},null,512)],512),[[U,p(P)]]),H(r("div",Et,[r("div",Dt,[Gt,It,p(j)?(S(),E("p",{key:0,onClick:e[4]||(e[4]=l=>Oe())},[N(" \u4E0B\u8F7D \xA0 "),Pt])):G("",!0)]),H(r("div",{ref_key:"farmlandDiv",ref:re,class:"farmlandDiv"},null,512),[[U,p(j)]]),p(j)?G("",!0):(S(),E("div",jt,$t))],512),[[U,!p(P)]]),r("div",{class:"rightFoldDiv",onClick:e[5]||(e[5]=l=>We())},[Q(u,{disabled:!p(F),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:C(()=>[p(F)?(S(),D(o,{key:0},{default:C(()=>[Tt]),_:1})):G("",!0)]),_:1},8,["disabled"]),Q(u,{disabled:p(F),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:C(()=>[p(F)?G("",!0):(S(),D(o,{key:0},{default:C(()=>[Mt]),_:1}))]),_:1},8,["disabled"])])]),Q(f,{class:"legend",accordion:""},{default:C(()=>[Q(v,{name:"1"},{title:C(()=>[N("\u56FE\u4F8B")]),default:C(()=>[r("div",Qt,[Q(m,{modelValue:I.value,"onUpdate:modelValue":e[6]||(e[6]=l=>I.value=l),onChange:Qe},{default:C(()=>[(S(!0),E(ue,null,ce(p(M),(l,y,g)=>(S(),D(s,{key:g,"v-model":l.disabled,disabled:l.disabled,label:y},{default:C(()=>[r("span",{style:ot({background:l.color,border:`1px solid ${l.color}`,width:"10px",height:"10px",display:"flex","margin-right":"5px"})},null,4),N(" "+X(y),1)]),_:2},1032,["v-model","disabled","label"]))),128))]),_:1},8,["modelValue"])])]),_:1})]),_:1}),r("div",Wt,[p(V).length>0?(S(),D(ft,{key:0,dataSource:p(V),onDataHandle:Re,allCount:p(ve),onGetcurrentPage:Ve},null,8,["dataSource","allCount"])):G("",!0)]),Vt,r("div",Jt,[Yt,r("div",Ot,[(S(!0),E(ue,null,ce(p(ee),(l,y)=>(S(),E("div",{class:"perform",key:y},[r("div",Bt,[Rt,r("span",null,X(Number(l.farm).toFixed(2))+"(\u4EA9)",1)]),N(" \u2003 "),r("div",Ht,[Ut,r("span",null,X(p(te)[0].toFixed(6))+","+X(p(te)[1].toFixed(6)),1)])]))),128))]),Xt]),De.value?(S(),D(d,{key:0,class:"back_button",onClick:e[7]||(e[7]=l=>t.back())},{default:C(()=>[N("\u8FD4\u56DE")]),_:1})):G("",!0)])}}},ma=Ze(Zt,[["__scopeId","data-v-347ac844"]]);export{ma as default};
|