3 lines
22 KiB
JavaScript
3 lines
22 KiB
JavaScript
import{L as W,_ as Ue,r as c,D as Ze,t as Ke,C as et,Y as le,a5 as tt,N as se,d as A,o as w,c as T,k as n,K as Ce,f as g,G as X,H,m as $,j as q,w as C,Q as ie,R as ue,l as D,e as Q,I as at,x as Ee,A as ot,p as rt,q as nt}from"./index.4144b0df.js";import Ie from"./downloads.4cdbbcc5.js";import{_ as lt}from"./qx.88a5ecd3.js";import{_ as st,a as it}from"./zhankaiss.dd067ea4.js";import{_ as ut,a as dt,b as ct,c as pt}from"./position.3b2b2301.js";import{_ as gt,a as ft}from"./face.9a19de2e.js";import"./index.b8675889.js";import"./linesGL.901ceb35.js";import{T as ht}from"./TimeLine.547816ff.js";import{u as de}from"./useEcharts.4511b2cd.js";import{d as ce}from"./download.1ecc0939.js";import{e as pe}from"./element-resize-detector.ff2fdb0d.js";import{i as ge,ar as mt}from"./install.5b5161c6.js";/* empty css */import"./browser-detector.e77caf03.js";function fe(b){return W({url:"equipment/nonGrain",method:"get",params:b})}function Ae(b){return W({url:"equipment/nonGrainChun",method:"get",params:b})}function vt(b){return W({url:"equipment/nonGrainHuoChun",method:"get",params:b})}function yt(b){return W({url:"equipment/flYear ",method:"get",params:b})}function ze(b){return W({url:"equipment/flHeith",method:"get",params:b})}const S=b=>(rt("data-v-720f25c7"),b=b(),nt(),b),_t={class:"center"},bt=S(()=>n("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),wt={class:"rightWra"},St={class:"tabar"},xt={class:"rightbottom"},Lt={class:"title"},kt=S(()=>n("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),Ct=S(()=>n("span",null,"\u975E\u7CAE\u5316\u8015\u5730\u9762\u79EF\u7EDF\u8BA1",-1)),Et=S(()=>n("img",{src:Ie,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),At={class:"rightbottom"},zt=S(()=>n("div",{class:"title"},[n("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}}),n("span",null,"\u975E\u7CAE\u5316\u8015\u5730\u9762\u79EF\u5360\u6BD4")],-1)),It={class:"rightTop"},Tt={class:"title"},qt=S(()=>n("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),Dt=S(()=>n("span",null,"\u9AD8\u6807\u51C6\u519C\u7530",-1)),Ft=S(()=>n("img",{src:Ie,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Gt={key:0},Pt=S(()=>n("img",{src:lt},null,-1)),jt=[Pt],Nt=S(()=>n("img",{src:st},null,-1)),Mt=S(()=>n("img",{src:it},null,-1)),$t={class:"mt-4"},Qt={class:"bottom_center"},Wt=ot('<div class="tool" data-v-720f25c7><span data-v-720f25c7><img src="'+ut+'" alt="" data-v-720f25c7></span><span data-v-720f25c7><img src="'+dt+'" alt="" data-v-720f25c7></span><span data-v-720f25c7><img src="'+ct+'" alt="" data-v-720f25c7></span><span data-v-720f25c7><img src="'+gt+'" alt="" data-v-720f25c7></span><span data-v-720f25c7><img src="'+ft+'" alt="" data-v-720f25c7></span><span data-v-720f25c7><img src="'+pt+'" alt="" data-v-720f25c7></span></div>',1),Vt={id:"popup",class:"ol-popup"},Yt=S(()=>n("div",{class:"pophead",style:{width:"100%"}},[n("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)"}}),n("a",{href:"#",id:"popup-closer",class:"ol-popup-closer"})],-1)),Jt={id:"popup-content",style:{padding:"10px"}},Rt={class:"perform_children"},Ot=S(()=>n("div",{class:"label"},"\u975E\u7CAE\u5316:",-1)),Bt=S(()=>n("div",{id:"popup-pagination"},null,-1)),Xt={__name:"index",setup(b){c(null);const U=c(null),Z=c(null);let j=Ze({arr:[],brr:[],crr:[]}),z=c([]);const L=c("370211");c({info:[]});const Te=c(!1);c(!0);let I=c(!1);const F=c([]);let N=c([]),K=c([]),V=c([]),f=c(""),ee=c(1),he=c([]),te=c(""),Y=c(5),J=c([]),G=c(!0),P=!(window.localStorage.getItem("divisions").length>6),me=c([]);const ae=c(null);let ve=window.localStorage.getItem("deptName")=="\u9752\u5C9B\u897F\u6D77\u5CB8\u65B0\u533A"?"\u9EC4\u5C9B\u533A":window.localStorage.getItem("deptName");const qe=t=>{L.value=="370211"?fe({yearMonth:f.value.name,whetherToDownload:!0}).then(e=>{ce(e.data[e.data.length-1].downloadPath)}):Ae({divisions:L.value,yearMonth:f.value.name,whetherToDownload:!0}).then(e=>{ce(e.data[e.data.length-1].downloadPath)})};let M={\u975E\u7CAE\u5316:{color:"rgba(47, 236, 56, 0.8)",disabled:!1}},k={},R=c(null);const ye=t=>{G.value=t,t?(oe(),re()):ke()};Ke(()=>{De()});function De(){Ve(),Fe(),Me(),Ne();for(const e in M)M[e].disabled!==!0&&N.value.push(e);F.value=N.value;let t=document.querySelector(".rightWra");t.style.transform="translate(101%,0)"}et(()=>{document.querySelector(".mode").style.display="none",window.document.querySelector("#screenfull").style.display="block"}),le(()=>f.value,(t,e)=>{L.value=window.localStorage.getItem("divisions"),P?xe(f.value.name):Le(L.value,f.value.name);let a=f.value.name.replace(/-/g,"_");k={\u975E\u7CAE\u5316:{setOf:`${f.value.name}-gengdi`,name:`T${a}_feilianghua`}}});let i=c(null);c(null),c(null);let _e=c(null),O=c(null);function Fe(){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.tiandituLayers=="http://59.206.203.34/tileservice/SdRasterPubMap?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=sdimg2017&STYLE=default&TILEMATRIXSET=img2017&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=application%2Fpng"?"EPSG:4326":"EPSG:3857"}),preload:20})]}),Pe(),je(),i.on("moveend",function(a){var o=i.getView().getZoom();o>=13?R.setVisible(!0):R.setVisible(!1)}),i.on("singleclick",function(a){var o=a.coordinate;if(P){var d=o[0],s=o[1],h=i.getView(),v=i.getView().getZoom();h.animate({center:[d,s],duration:1e3}),v>=13?B(a,"CJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u6751"):B(a,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u9547")}else{let m=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,u=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:"XJQY3702112019WGS84@huangdaoqu_bianjie",attributeFilter:`XJQYMC = '${ve}'`},datasetNames:["huangdaoqu_bianjie:XJQY3702112019WGS84"]});new ol.supermap.FeatureService(m).getFeaturesBySQL(u,function(l){let y=new ol.format.GeoJSON().readFeatures(l.result.features),p=new ol.source.Vector;p.addFeatures(y);let E=new ol.layer.Vector({source:p}).getSource().getFeatures();for(var x=0;x<E.length;x++)if(E[x].getGeometry().intersectsCoordinate(o)){var ne=o[0],Be=o[1],Xe=i.getView(),He=i.getView().getZoom();Xe.animate({center:[ne,Be],duration:1e3}),He>=13?B(a,"CJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u6751"):B(a,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u9547")}})}});var r=new ResizeObserver(function(a){a.forEach(function(o){var d=o.contentRect.width,s=o.contentRect.height;e.style.width=d+"px",e.style.height=s+"px",i.updateSize()})});r.observe(t),Ge(ve)}function Ge(t){let e="",r="",a="",o="",d="";r=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,e=t,a="XJQY3702112019WGS84",o="huangdaoqu_bianjie",d="XJQYMC";var s=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:`${a}@${o}`,attributeFilter:`${d} like '%${e}%'`},datasetNames:[`${o}:${a}`]});new ol.supermap.FeatureService(r).getFeaturesBySQL(s,function(h){if(h.result.featureCount!=0){var v=i.getLayers().getArray().find(_=>_.get("id")==="zhezhao");i.removeLayer(v);var m=i.getLayers().getArray().find(_=>_.get("id")==="dianjigaoliang");i.removeLayer(m);var u=new ol.format.GeoJSON().readFeatures(h.result.features);we(h.result.features.features[0].geometry.coordinates,"qu","rgba( 105, 105, 105, 1)",9999);var l=new ol.source.Vector;l.addFeatures(u);const p=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(p),i.addLayer(y),i.getView().fit(l.getExtent())}})}const Pe=()=>{R=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(R)},je=()=>{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)},be=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 B(t,e,r,a){let o=[];var d=new ol.geom.Point(t.coordinate),s=new ol.supermap.QueryByGeometryParameters({queryParams:{name:e},geometry:d});let h=document.querySelector("#popup-title"),v=c(null),m=c(null);new ol.supermap.QueryService(r).queryByGeometry(s,function(u){m=i.getLayers().getArray().find(p=>p.get("id")==="zhezhao"),i.removeLayer(m);let l="";if(a=="\u9547"&&u.result.recordsets[0].features.features[0].properties.XJQYDM){let p=u.result.recordsets[0].features.features[0].properties.XJQYDM;L.value=p;let _=[];fe({divisions:"370211",yearMonth:f.value.name}).then(E=>{E.data.forEach(x=>{x.subregionCode==p&&(l=x.subregionName,_.push(x))}),y(),K.value=_})}else if(a=="\u6751"&&u.result.recordsets[0].features.features[0].properties.CJQYDM){let p=u.result.recordsets[0].features.features[0].properties.CJQYDM,_=[];vt({divisions:p,yearMonth:f.value.name}).then(E=>{E.data.forEach(x=>{x.subregionCode==p&&(l=x.subregionName,_.push(x))}),K.value=_,y()})}function y(){if(u.result.currentCount>0){u.result.recordsets[0].features&&(O.setPosition(d.flatCoordinates),h.innerHTML=l),v=i.getLayers().getArray().find(ne=>ne.get("id")==="dianjigaoliang"),i.removeLayer(v);var p=new ol.format.GeoJSON().readFeatures(u.result.recordsets[0].features);o=u.result.recordsets[0].features.features[0].geometry.coordinates,we(u.result.recordsets[0].features.features[0].geometry.coordinates);var _=new ol.source.Vector;_.addFeatures(p);const x=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(255, 219, 113, 1.0)",width:5})});var E=new ol.layer.Vector({id:"dianjigaoliang",source:_,zIndex:9999});E.setStyle(x),i.addLayer(E)}}}),_e.addEventListener("click",function(){m=i.getLayers().getArray().find(u=>u.get("id")==="zhezhao"),i.removeLayer(m),Se(o),L.value=window.localStorage.getItem("divisions"),v=i.getLayers().getArray().find(u=>u.get("id")==="dianjigaoliang"),i.removeLayer(v),O.setPosition(void 0)})}const Ne=()=>{document.getElementById("popup"),document.getElementById("popup-content"),_e=document.getElementById("popup-closer"),O=new ol.Overlay({element:document.getElementById("popup"),positioning:"bottom-center",stopEvent:!0,offset:[0,-10]}),i.addOverlay(O)};function Me(){tt.get("/json/huangdao.json").then(({data:t})=>{new ol.format.GeoJSON().readFeatures(t)[0]})}function we(t,e,r,a){let o=new ol.source.Vector;var d=new ol.layer.Vector({id:e||"zhezhao",source:o,zIndex:a||50,style:new ol.style.Style({fill:new ol.style.Fill({color:r||"rgba( 105, 105, 105, 0.9)"})})});const s=Se(t),h=new ol.Feature({geometry:s});d.getSource().addFeature(h),i.addLayer(d)}function Se(t){const e=[-180,-90,180,90],r=ol.geom.Polygon.fromExtent(e);return t.forEach(o=>{const d=new ol.geom.LinearRing(o[0]);r.appendLinearRing(d)}),r}le(()=>L.value,()=>{Re()});const $e=()=>{ee.value=0};le(()=>F.value,(t,e)=>{t.length>e.length&&ee.value<1?t.filter(a=>{if(e.findIndex(d=>d===a)<0)return a}).forEach(a=>{k[a]&&be(k[a])}):t.length<e.length&&e.filter(a=>{if(t.findIndex(d=>d===a)<0)return a}).forEach(a=>{k[a]&&(i.getLayers().getArray().indexOf(k[a].name),i.getLayers().getArray().forEach((o,d)=>{o.A.name&&o.A.name==k[a].name&&i.getLayers().removeAt(d)}))})});function Qe(){if(I.value=!I.value,I.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 We=t=>{V.value=J.value.slice((t-1)*Y.value,t*Y.value)},Ve=()=>{yt().then(t=>{f.value={name:t.data[t.data.length-1]};let e=[];t.data.forEach(o=>{e.push({name:o})}),J.value=e,he.value=Math.ceil(J.value.length/5),te=Math.ceil(e.length/5),V.value=J.value.slice((te-1)*Y.value,te*Y.value);let a=f.value.name.replace(/-/g,"_");k={\u975E\u7CAE\u5316:{setOf:`${f.value.name}-gengdi`,name:`T${a}_feilianghua`}},Ye()})},Ye=()=>{ze({divisions:"370211",yearMonth:f.value.name}).then(t=>{me.value=t.data,t.data.length>0&&ke()})},Je=t=>{ze({divisions:"370211",yearMonth:f.value.name,whetherToDownload:!0}).then(e=>{ce(e.data[e.data.length-1].downloadPath)})},xe=t=>{fe({yearMonth:t}).then(e=>{j.arr=[],z.value=[],e.data.forEach(o=>{o.farm>0&&(j.arr.push(o),z.value.push(o))}),j.arr.unshift({subregionCode:"370211",subregionName:"\u5168\u90E8"});let r=[...e.data],a=[];r.splice(0,1),r.forEach(o=>{a.push(o.subregionCode)}),[...Object.values(a)],oe(j.arr),re()})},Le=(t,e)=>{Ae({divisions:t,yearMonth:e}).then(r=>{z.value=[],r.data.forEach(a=>{a.farm>0&&z.value.push(a)}),oe(),re()})},Re=()=>{L.value=="370211"?xe(f.value.name):L.value&&Le(L.value,f.value.name)},Oe=t=>{ee.value+=1,N.value=[];for(const r in M)M[r].disabled!==!0&&N.value.push(r);F.value=N.value;for(const r in k)i.getLayers().getArray().forEach((a,o)=>{a.A.name==k[r].name&&i.getLayers().removeAt(o)});f.value=t;let e=t.name.replace(/-/g,"_");k={\u975E\u7CAE\u5316:{setOf:`${t.name}-gengdi`,name:`T${e}_feilianghua`}},F.value.forEach(r=>{be(k[r])})};function oe(){const t=ge(U.value);z.value.sort((s,h)=>h.farm-s.farm);var e=[],r=[];z.value.forEach(s=>{e.push(s.subregionName),r.push(Number(s.farm).toFixed(2))});let a=3/z.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 mt(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:r,z:0}]};t.on("click",s=>ChartClickRB(s)),de(t,o),pe().listenTo(U.value,()=>{se(()=>{t.resize()})})}function re(){const t=ge(Z.value);let e=z.value,r=0;e.forEach(d=>{d.name=d.subregionName,d.value=Number(d.farm).toFixed(2),r+=d.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:`${r.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)"}}]}]};de(t,a),pe().listenTo(Z.value,()=>{se(()=>{t.resize()})})}function ke(){const t=ge(ae.value);let e=[],r=[];me.value.forEach(s=>{e.push(s.subregionName),r.push(s.farm)});let a=3/e.length*100,o={tooltip:{trigger:"axis",formatter:function(s,h,v){for(var m=s[0].name,u=0,l=s.length;u<l;u++)s[u].seriesType==="line"?m+="<br/>"+s[u].seriesName+" : "+(s[u].value?s[u].value:"-")+"h":m+="<br/>"+s[u].seriesName+" : "+(s[u].value?s[u].value:"-");return m}},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 h="",v=5,m=s.length,u=Math.ceil(m/v);if(u>1){for(var l=0;l<u;l++){var y="",p=l*v,_=p+v;y=s.substring(p,_)+`
|
|
`,h+=y}return h}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:r,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}}),de(t,o),pe().listenTo(ae.value,()=>{se(()=>{t.resize()})})}return(t,e)=>{const r=A("el-option"),a=A("el-select"),o=A("el-icon"),d=A("el-tooltip"),s=A("el-checkbox"),h=A("el-checkbox-group"),v=A("el-collapse-item"),m=A("el-collapse"),u=A("el-button");return w(),T("div",_t,[bt,n("div",wt,[n("div",St,[n("div",{class:Ce(g(G)?"tabarS":""),onClick:e[0]||(e[0]=l=>ye(!0))},"\u884C\u653F\u533A\u5212",2),n("div",{class:Ce(g(G)?"":"tabarS"),onClick:e[1]||(e[1]=l=>ye(!1))},"\u9AD8\u6807\u51C6\u519C\u7530",2)]),X(n("div",xt,[n("div",Lt,[kt,Ct,n("p",{onClick:e[2]||(e[2]=l=>qe())},[$(" \u4E0B\u8F7D \xA0 "),Et])]),g(P)?(w(),q(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(()=>[(w(!0),T(ie,null,ue(g(j).arr,l=>(w(),q(r,{key:l.subregionCode,label:l.subregionName,value:l.subregionCode},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])):D("",!0),n("div",{ref_key:"ASdivisionDiv",ref:U,class:"ASdivision"},null,512)],512),[[H,g(G)]]),X(n("div",At,[zt,n("div",{ref_key:"typesofDiv",ref:Z,class:"typesofDiv"},null,512)],512),[[H,g(G)]]),X(n("div",It,[n("div",Tt,[qt,Dt,g(P)?(w(),T("p",{key:0,onClick:e[4]||(e[4]=l=>Je())},[$(" \u4E0B\u8F7D \xA0 "),Ft])):D("",!0)]),X(n("div",{ref_key:"farmlandDiv",ref:ae,class:"farmlandDiv"},null,512),[[H,g(P)]]),g(P)?D("",!0):(w(),T("div",Gt,jt))],512),[[H,!g(G)]]),n("div",{class:"rightFoldDiv",onClick:e[5]||(e[5]=l=>Qe())},[Q(d,{disabled:!g(I),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:C(()=>[g(I)?(w(),q(o,{key:0},{default:C(()=>[Nt]),_:1})):D("",!0)]),_:1},8,["disabled"]),Q(d,{disabled:g(I),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:C(()=>[g(I)?D("",!0):(w(),q(o,{key:0},{default:C(()=>[Mt]),_:1}))]),_:1},8,["disabled"])])]),Q(m,{class:"legend",accordion:""},{default:C(()=>[Q(v,{name:"1"},{title:C(()=>[$("\u56FE\u4F8B")]),default:C(()=>[n("div",$t,[Q(h,{modelValue:F.value,"onUpdate:modelValue":e[6]||(e[6]=l=>F.value=l),onChange:$e},{default:C(()=>[(w(!0),T(ie,null,ue(g(M),(l,y,p)=>(w(),q(s,{key:p,"v-model":l.disabled,disabled:l.disabled,label:y},{default:C(()=>[n("span",{style:at({background:l.color,border:`1px solid ${l.color}`,width:"10px",height:"10px",display:"flex","margin-right":"5px"})},null,4),$(" "+Ee(y),1)]),_:2},1032,["v-model","disabled","label"]))),128))]),_:1},8,["modelValue"])])]),_:1})]),_:1}),n("div",Qt,[g(V).length>0?(w(),q(ht,{key:0,dataSource:g(V),onDataHandle:Oe,allCount:g(he),onGetcurrentPage:We},null,8,["dataSource","allCount"])):D("",!0)]),Wt,n("div",Vt,[Yt,n("div",Jt,[(w(!0),T(ie,null,ue(g(K),(l,y)=>(w(),T("div",{class:"perform",key:y},[n("div",Rt,[Ot,n("span",null,Ee(Number(l.farm).toFixed(2))+"(\u4EA9)",1)])]))),128))]),Bt]),Te.value?(w(),q(u,{key:0,class:"back_button",onClick:e[7]||(e[7]=l=>t.back())},{default:C(()=>[$("\u8FD4\u56DE")]),_:1})):D("",!0)])}}},pa=Ue(Xt,[["__scopeId","data-v-720f25c7"]]);export{pa as default};
|