4 lines
39 KiB
JavaScript
4 lines
39 KiB
JavaScript
import{_ as Lt,u as zt,r as m,D as At,t as Et,C as kt,Y as Ct,a5 as Ot,N as we,d as O,o as w,c as E,k as o,f as v,K as ie,G as U,H as Q,m as q,l as T,e as L,w as z,j as D,Q as W,R as G,x as J,A as Dt,p as Nt,q as Tt}from"./index.57224d07.js";import{_ as Ft}from"./fh.7489c25e.js";import Ae from"./downloads.4cdbbcc5.js";import{_ as It}from"./qx.88a5ecd3.js";import{_ as Vt,a as qt}from"./zhankaiss.dd067ea4.js";import{_ as Pt,a as Mt,b as Bt,c as Wt}from"./position.3b2b2301.js";import{_ as Gt,a as jt}from"./face.9a19de2e.js";import{_ as $t}from"./dow.b4b83e88.js";import"./index.b8675889.js";import{T as Rt}from"./TimeLine.dbdee48d.js";import{u as Se,w as Ut}from"./xlsx.86b9426e.js";import{u as _e}from"./useEcharts.c43bfe26.js";import{g as xe,a as Le,b as Qt,c as Qe,d as Jt,e as Yt}from"./wheat.ddfad8b6.js";import"./linesGL.901ceb35.js";import{d as Ht}from"./download.60adf562.js";import{e as ze}from"./element-resize-detector.ff2fdb0d.js";import{i as Y,ar as ue}from"./install.5b5161c6.js";/* empty css */import"./browser-detector.e77caf03.js";const S=Z=>(Nt("data-v-3939b351"),Z=Z(),Tt(),Z),Xt={class:"fatherDiv"},Zt={class:"centerBox"},Kt=S(()=>o("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),ea=S(()=>o("div",{id:"labelText",title:"\u70B9\u6807\u6CE8"},"\u522B\u70B9\u6211",-1)),ta={class:"rightWra"},aa=S(()=>o("img",{src:Ft},null,-1)),oa=S(()=>o("span",null,"\u8FD4\u56DE",-1)),ra=[aa,oa],la={class:"tabar"},na={class:"leftTop"},sa={class:"title"},ia=S(()=>o("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),ua=S(()=>o("span",null,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30",-1)),da=S(()=>o("img",{src:Ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ca={class:"rightTop"},pa={class:"title"},ha=S(()=>o("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),ga=S(()=>o("span",null,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30-\u9AD8\u6807\u51C6\u519C\u7530",-1)),ma=S(()=>o("img",{src:Ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),va={key:0},ya=S(()=>o("img",{src:It},null,-1)),fa=[ya],ba={class:"rightbottom"},wa={class:"title"},Sa=S(()=>o("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),_a=S(()=>o("span",null,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30-\u884C\u653F\u533A\u5212",-1)),xa=S(()=>o("img",{src:Ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),La=S(()=>o("img",{src:Vt},null,-1)),za=S(()=>o("img",{src:qt},null,-1)),Aa={class:"bottom_center"},Ea=Dt('<div class="tool" data-v-3939b351><span data-v-3939b351><img src="'+Pt+'" alt="" data-v-3939b351></span><span data-v-3939b351><img src="'+Mt+'" alt="" data-v-3939b351></span><span data-v-3939b351><img src="'+Bt+'" alt="" data-v-3939b351></span><span data-v-3939b351><img src="'+Gt+'" alt="" data-v-3939b351></span><span data-v-3939b351><img src="'+jt+'" alt="" data-v-3939b351></span><span data-v-3939b351><img src="'+Wt+'" alt="" data-v-3939b351></span></div>',1),ka={id:"popup",class:"ol-popup"},Ca=S(()=>o("div",{class:"pophead",style:{width:"100%"}},[o("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)"}}),o("a",{href:"#",id:"popup-closer",class:"ol-popup-closer"})],-1)),Oa={id:"popup-content",style:{padding:"30px"}},Da=S(()=>o("div",{class:"label"},"\u5355\u4EA7\u91CF\uFF1A",-1)),Na=S(()=>o("div",{class:"label"},"\u603B\u4EA7\u91CF\uFF1A",-1)),Ta=S(()=>o("div",{id:"popup-pagination"},null,-1)),Fa={id:"pop"},Ia={class:"rowWra"},Va=S(()=>o("span",null,"\u5730\u533A\uFF1A",-1)),qa=S(()=>o("span",null,"\u5355\u4EA7\u91CF\uFF1A",-1)),Pa=S(()=>o("span",null,"\u603B\u4EA7\u91CF\uFF1A",-1)),Ma={class:"tabulation"},Ba={class:"searchDiv"},Wa=S(()=>o("img",{src:$t,alt:""},null,-1)),Ga={class:"tableBox"},ja={class:"tableBorder"},$a={class:"example-pagination-block"},Ra={class:"chartMode"},Ua={__name:"index",setup(Z){const Ee=zt();let Je=m(null);const de=m(null),ce=m(null),pe=m(null),N=m("");N.value=window.localStorage.getItem("divisions");let j=At({arr:[],brr:[],crr:[]});const ke=m({name:"",value:""});m([]);const Ce=m(!1);m(!0);let P=m(!1),Oe=m([]),De=m({}),he=m([]);const M=m([]);let B=m(!0),Ne=m([]),F=m(1),I=m(12),ge=m([]),Te=m([]),Fe=m([]);const Ie=m(1);let me=m(!0);const K=m(null);let Ye=m(""),ee=m([]),k=m(""),te=m([]),Ve=m(""),qe=m([]),ve=m(""),ae=m(5),oe=m([]),$=m(!0),H=!(window.localStorage.getItem("divisions").length>6),Pe=window.localStorage.getItem("deptName")=="\u9752\u5C9B\u897F\u6D77\u5CB8\u65B0\u533A"?"\u9EC4\u5C9B\u533A":window.localStorage.getItem("deptName"),C=m([{wheatUnitOutputValue:0,wheatOutput:0}]),Me=m(""),A=m({time:"",statistical:"\u9547",droughtRating:"\u5C0F\u9EA6",area:Ie.value}),X=m(null);Et(()=>{He()});function He(){ut(),dt(),Ze(),Ke(),et(),be();for(var t=document.querySelectorAll(".alerDiv"),e=0;e<t.length;e++){var u=t[e];u.style.display="block"}let r=document.querySelector(".rightWra");r.style.transform="translate(101%,0)",localStorage.setItem(Ee.currentRoute.value.path,!0)}kt(()=>{localStorage.getItem(Ee.currentRoute.value.path)=="false"?(document.querySelector(".mode").style.display="block",document.querySelector(".mode").innerText="\u5730\u56FE\u6A21\u5F0F"):(document.querySelector(".mode").style.display="block",document.querySelector(".mode").innerText="\u5217\u8868\u6A21\u5F0F")}),Ct(()=>k.value,(t,e)=>{N.value=window.localStorage.getItem("divisions"),ct(N.value,k.value.name),pt(N.value,k.value.name)});let i=m(null);m(null),m(null);let Be=m(null),re=m(null),Xe=[{\u6D77\u9752\u9547:[119.55673590487976,35.65921960953274]},{\u5927\u573A\u9547:[119.62381239722713,35.66588089759648]},{\u6CCA\u91CC\u9547:[119.74667707697716,35.64649984120179]},{\u7405\u740A\u9547:[119.87030449159289,35.66431631585516]},{\u5927\u6751\u9547:[119.69265171077753,35.81549722988757]},{\u85CF\u9A6C\u9547:[119.78396543008807,35.76160172256371]},{\u5F20\u5BB6\u697C\u8857\u9053:[119.87512724002988,35.80195653922014]},{\u6EE8\u6D77\u8857\u9053:[119.97581635161251,35.77818590595386]},{\u9690\u73E0\u8857\u9053:[120.02465043714614,35.86822190145625]},{\u73E0\u6D77\u8857\u9053:[119.9054471577447,35.868205749221545]},{\u516D\u6C6A\u9547:[119.76550614744232,35.952002955399706]},{\u94C1\u5C71\u8857\u9053:[119.9003966708421,35.940916580021934]},{\u80F6\u5357\u8857\u9053:[119.99585866840519,35.92909063508609]},{\u7075\u5C71\u5C9B\u7701\u7EA7\u81EA\u7136\u4FDD\u62A4\u533A:[120.16665402696374,35.76466422432871]},{\u7075\u5C71\u536B\u8857\u9053:[120.09901058402102,35.93194068930856]},{\u5B9D\u5C71\u9547:[119.87425420478907,36.00930267491887]},{\u738B\u53F0\u8857\u9053:[119.99939657505232,36.055865563101804]},{\u7EA2\u77F3\u5D16\u8857\u9053:[120.09213798349893,36.069986617313006]},{\u8F9B\u5B89\u8857\u9053:[120.14491642202691,36.008342604564874]},{\u957F\u6C5F\u8DEF\u8857\u9053:[120.16674794518045,35.961185596094154]},{\u9EC4\u5C9B\u8857\u9053:[120.19699376304628,36.04732099123903]},{\u7075\u73E0\u5C71\u8857\u9053:[120.07050399805128,36.00779971701293]},{\u859B\u5BB6\u5C9B\u8857\u9053:[120.2165772076387,35.95291190919208]}];function Ze(){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})]}),Ge(),i.on("singleclick",function(r){var g=r.coordinate;if(H){var h=g[0],l=g[1],s=i.getView();s.animate({center:[h,l],duration:1e3});let n=!1;if(["XJQY3702112019WGS84"].forEach(d=>{i.getLayers().getArray().forEach((p,a)=>{if(d==p.A.name){n=!0;return}})}),n)le(r,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u9547");else{let d=`${serverAPI.geoserverUrl}/data-2019-2022gaobiaozhunnongtian/rest/data`,p=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:"T2019_2022\u9AD8\u6807\u51C6\u519C\u7530\u7247\u533A@2019-2022gaobiaozhunnongtian",attributeFilter:`DKMC = '${Ve.value}'`},datasetNames:["2019-2022gaobiaozhunnongtian:T2019_2022\u9AD8\u6807\u51C6\u519C\u7530\u7247\u533A"]});new ol.supermap.FeatureService(d).getFeaturesBySQL(p,function(a){let c=new ol.format.GeoJSON().readFeatures(a.result.features),f=new ol.source.Vector;f.addFeatures(c);let b=new ol.layer.Vector({source:f}).getSource().getFeatures();for(var x=0;x<b.length;x++)b[x].getGeometry().intersectsCoordinate(g)&&le(r,"T2019_2022\u9AD8\u6807\u51C6\u519C\u7530\u7247\u533A@2019-2022gaobiaozhunnongtian",`${serverAPI.geoserverUrl}/map-2019-2022gaobiaozhunnongtian/rest/maps/T2019_2022%E9%AB%98%E6%A0%87%E5%87%86%E5%86%9C%E7%94%B0%E7%89%87%E5%8C%BA@2019-2022gaobiaozhunnongtian`,"\u9AD8\u6807\u51C6")})}}else{let n=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,y=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:"XJQY3702112019WGS84@huangdaoqu_bianjie",attributeFilter:`XJQYMC = '${Pe}'`},datasetNames:["huangdaoqu_bianjie:XJQY3702112019WGS84"]});new ol.supermap.FeatureService(n).getFeaturesBySQL(y,function(d){let p=new ol.format.GeoJSON().readFeatures(d.result.features),a=new ol.source.Vector;a.addFeatures(p);let f=new ol.layer.Vector({source:a}).getSource().getFeatures();for(var _=0;_<f.length;_++)if(f[_].getGeometry().intersectsCoordinate(g)){var b=g[0],x=g[1],V=i.getView();V.animate({center:[b,x],duration:1e3});let se=!1;["XJQY3702112019WGS84"].forEach(_t=>{i.getLayers().getArray().forEach((xt,Ja)=>{if(_t==xt.A.name){se=!0;return}})}),se?le(r,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"\u9547"):le(r,"T2019_2022\u9AD8\u6807\u51C6\u519C\u7530\u7247\u533A@2019-2022gaobiaozhunnongtian",`${serverAPI.geoserverUrl}/map-2019-2022gaobiaozhunnongtian/rest/maps/T2019_2022%E9%AB%98%E6%A0%87%E5%87%86%E5%86%9C%E7%94%B0%E7%89%87%E5%8C%BA@2019-2022gaobiaozhunnongtian`,"\u9AD8\u6807\u51C6")}})}});var u=new ResizeObserver(function(r){r.forEach(function(g){var h=g.contentRect.width,l=g.contentRect.height;e.style.width=h+"px",e.style.height=l+"px",i.updateSize()})});u.observe(t),tt(Pe)}function le(t,e,u,r){let g=[];var h=new ol.geom.Point(t.coordinate),l=new ol.supermap.QueryByGeometryParameters({queryParams:{name:e},geometry:h});let s=document.querySelector("#popup-title"),n=m(null),y=m(null);new ol.supermap.QueryService(u).queryByGeometry(l,function(d){y=i.getLayers().getArray().find(c=>c.get("id")==="zhezhao"),i.removeLayer(y);let p="";if(r=="\u9547"&&d.result.recordsets[0].features.features[0].properties.XJQYDM){let c=d.result.recordsets[0].features.features[0].properties.XJQYDM;N.value=c;let f=[];xe({divisions:"370211",yearMonth:k.value.name,type:"\u5C0F\u9EA6"}).then(_=>{_.data.forEach(b=>{b.subregion==c&&(p=b.subName,f.push(b))}),te.value=f,a()})}else if(r=="\u9AD8\u6807\u51C6"&&d.result.recordsets[0].features.features[0].properties.DKMC){let c=d.result.recordsets[0].features.features[0].properties.DKMC,f=[];Le({yearMonth:k.value.name,type:"\u5C0F\u9EA6"}).then(_=>{_.data.forEach(b=>{b.subName==c&&f.push(b)}),p=c,te.value=f,a()})}function a(){if(d.result.currentCount>0){d.result.recordsets[0].features&&(re.setPosition(h.flatCoordinates),s.innerHTML=p),n=i.getLayers().getArray().find(se=>se.get("id")==="dianjigaoliang"),i.removeLayer(n);var c=new ol.format.GeoJSON().readFeatures(d.result.recordsets[0].features);g=d.result.recordsets[0].features.features[0].geometry.coordinates,ye(d.result.recordsets[0].features.features[0].geometry.coordinates);var f=new ol.source.Vector;f.addFeatures(c);const R=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(255, 219, 113, 1.0)",width:5})});var _=new ol.layer.Vector({id:"dianjigaoliang",source:f,zIndex:9999});_.setStyle(R),i.addLayer(_);for(var b=document.querySelectorAll(".alerDiv"),x=0;x<b.length;x++){var V=b[x];V.style.display="none"}}}}),Be.addEventListener("click",function(){y=i.getLayers().getArray().find(c=>c.get("id")==="zhezhao"),i.removeLayer(y),We(g),N.value=window.localStorage.getItem("divisions"),n=i.getLayers().getArray().find(c=>c.get("id")==="dianjigaoliang"),i.removeLayer(n),n=i.getLayers().getArray().find(c=>c.get("id")==="gao"),i.removeLayer(n),re.setPosition(void 0);for(var d=document.querySelectorAll(".alerDiv"),p=0;p<d.length;p++){var a=d[p];a.style.display="block"}})}function ye(t,e,u,r){let g=new ol.source.Vector;var h=new ol.layer.Vector({id:e||"zhezhao",source:g,zIndex:r||50,style:new ol.style.Style({fill:new ol.style.Fill({color:u||"rgba( 105, 105, 105, 0.9)"})})});const l=We(t),s=new ol.Feature({geometry:l});h.getSource().addFeature(s),i.addLayer(h)}function Ke(){Ot.get("/json/huangdao.json").then(({data:t})=>{new ol.format.GeoJSON().readFeatures(t)[0]})}function We(t){const e=[-180,-90,180,90],u=ol.geom.Polygon.fromExtent(e);return t.forEach(g=>{const h=new ol.geom.LinearRing(g[0]);u.appendLinearRing(h)}),u}const et=()=>{document.getElementById("popup"),document.getElementById("popup-content"),Be=document.getElementById("popup-closer"),re=new ol.Overlay({element:document.getElementById("popup"),positioning:"bottom-center",stopEvent:!0,offset:[0,-10]}),i.addOverlay(re)};function tt(t){let e="",u="",r="",g="",h="";u=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,e=t,r="XJQY3702112019WGS84",g="huangdaoqu_bianjie",h="XJQYMC";var l=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:`${r}@${g}`,attributeFilter:`${h} like '%${e}%'`},datasetNames:[`${g}:${r}`]});new ol.supermap.FeatureService(u).getFeaturesBySQL(l,function(s){if(s.result.featureCount!=0){var n=i.getLayers().getArray().find(f=>f.get("id")==="zhezhao");i.removeLayer(n);var y=i.getLayers().getArray().find(f=>f.get("id")==="dianjigaoliang");i.removeLayer(y);var d=new ol.format.GeoJSON().readFeatures(s.result.features);ye(s.result.features.features[0].geometry.coordinates,"qu","rgba( 105, 105, 105, 1)",9999);var p=new ol.source.Vector;p.addFeatures(d);const c=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:2})});var a=new ol.layer.Vector({id:"dianjigaoliang",source:p});a.setStyle(c),i.addLayer(a),i.getView().fit(p.getExtent())}})}const at=()=>{X=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(X)},Ge=()=>{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)};function ot(t){let e="",u="",r="",g="",h="";u=`${serverAPI.geoserverUrl}/data-2019-2022gaobiaozhunnongtian/rest/data`,e=t,r="T2019_2022\u9AD8\u6807\u51C6\u519C\u7530\u7247\u533A",g="2019-2022gaobiaozhunnongtian",h="DKMC";var l=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:`${r}@${g}`,attributeFilter:`${h} like '%${e}%'`},datasetNames:[`${g}:${r}`]});new ol.supermap.FeatureService(u).getFeaturesBySQL(l,function(s){if(s.result.featureCount!=0){var n=i.getLayers().getArray().find(b=>b.get("id")==="zhezhao");i.removeLayer(n);var y=i.getLayers().getArray().find(b=>b.get("id")==="dianjigaoliang");i.removeLayer(y);var d=i.getLayers().getArray().find(b=>b.get("id")==="gbz");i.removeLayer(d);var p=i.getLayers().getArray().find(b=>b.get("id")==="dianjigaoliangs");i.removeLayer(p);var a=new ol.format.GeoJSON().readFeatures(s.result.features);ye(s.result.features.features[0].geometry.coordinates,"gbz","rgba( 105, 105, 105, 1)",9999);var c=new ol.source.Vector;c.addFeatures(a);const _=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:2})});var f=new ol.layer.Vector({id:"dianjigaoliang",source:c});f.setStyle(_),i.addLayer(f),i.getView().fit(c.getExtent())}})}let rt=()=>{document.querySelector(".tool").style.display="none",at(),X.setVisible(!1),Ge(),["2019-2022gaobiaozhunnongtian","gbz","dianjigaoliang","dianjigaoliangs","gao","zhezhao"].forEach(h=>{i.getLayers().getArray().forEach((l,s)=>{(l.A.name==h||l.A.id==h)&&i.getLayers().removeAt(s)})});var e=i.getView();e.animate({center:["119.88661841637813","35.85667692242919"],duration:1e3,zoom:11});for(var u=document.querySelectorAll(".alerDiv"),r=0;r<u.length;r++){var g=u[r];g.style.display="block"}};const je=t=>{$.value=t,t?$e():(Re(),be())};function lt(){if(P.value=!P.value,P.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 nt=()=>{B.value=!B.value;const t=K.value;t.style.width=document.querySelector(".chartMode").offsetWidth+"px",t.style.height=document.querySelector(".chartMode").offsetHeight+"px";const e=Y(t);window.addEventListener("resize",()=>{t.style.width=document.querySelector(".chartMode").offsetWidth+"px",t.style.height=document.querySelector(".chartMode").offsetHeight+"px",e.resize()}),Ue()},st=()=>{A.value.year=Me.value,A.value.statistical="\u9547",A.value.droughtRating="\u5C0F\u9EA6",A.value.area=Ie.value,fe()},it=t=>{ee.value=oe.value.slice((t-1)*ae.value,t*ae.value)},ut=()=>{Qt({type:"\u5C0F\u9EA6"}).then(t=>{Me.value={name:t.data[0]},k.value={name:t.data[t.data.length-1]},Ne.value=t.data;let e=[];t.data.forEach(u=>{e.push({name:u})}),A.value.time=t.data[t.data.length-1],oe.value=e,qe.value=Math.ceil(oe.value.length/5),ve=Math.ceil(e.length/5),ee.value=oe.value.slice((ve-1)*ae.value,ve*ae.value),fe()})},dt=(t,e)=>{Qe({divisions:t,type:"\u5C0F\u9EA6"}).then(u=>{De.value=u.data,$e()})},ct=(t,e)=>{Le({divisions:t,yearMonth:e,type:"\u5C0F\u9EA6"}).then(u=>{Oe.value=u.data,u.data.length>0&&Re()})},pt=(t,e)=>{xe({divisions:t,yearMonth:e,type:"\u5C0F\u9EA6"}).then(u=>{he.value=u.data,j.brr=JSON.parse(JSON.stringify(u.data)),j.arr=j.brr.sort((l,s)=>l.subName.length-s.subName.length),j.arr.unshift({subregion:"",subName:"\u5168\u90E8"});let r=[],g=[];j.arr.forEach(l=>{r.indexOf(l.subName)==-1&&(r.push(l.subName),g.push({subName:l.subName,subregion:l.subregion,area:l.area,type:l.type}))}),j.arr=g,be();let h=[];Xe.forEach(l=>{u.data.forEach((s,n)=>{l[s.subName]&&h.push({weizhi:l[s.subName],dom1:`popup${n}`,dom2:`popup-content${n}`,subName:s.subName,subregion:s.subRegion,wheatOutput:s.wheatOutput,wheatUnitOutputValue:s.wheatUnitOutputValue})})}),h.forEach((l,s)=>{var n=document.createElement("div");n.setAttribute("class","alerDiv"),n.id=l.dom2,n.style.display="block";var y=document.createElement("div");y.id=l.dom1,y.style.display="block",y.appendChild(n),document.body.appendChild(y);var d=document.getElementById(l.dom1),p=document.getElementById(l.dom2);p.innerHTML='<div class="content-children"><div>\u5355\u4EA7: <span>'+l.wheatUnitOutputValue+'</span><span class="active">\u516C\u65A4/\u4EA9</span></div><div>\u603B\u4EA7: <span>'+l.wheatOutput.toFixed(1)+'</span><span class="active">\u5428</span></div></div>';var a=new ol.Overlay({element:d,autoPan:!0,positioning:"bottom-center",stopEvent:!0,offset:[0,-10],autoPanAnimation:{duration:250}});i.addOverlay(a),a.setPosition(l.weizhi)})})},ht=t=>{Qe({divisions:N.value,yearMonth:k.value.name,whetherToDownload:!0,type:"\u5C0F\u9EA6"}).then(e=>{Ht(e.data[e.data.length-1].excelPath)})},gt=t=>{Le({yearMonth:k.value.name,type:"\u5C0F\u9EA6"}).then(e=>{ne(e.data,"\u9AD8\u6807\u51C6\u519C\u7530","Sheet1")})},mt=t=>{N.value===""?xe({yearMonth:k.value.name,type:"\u5C0F\u9EA6"}).then(e=>{ne(e.data,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30-\u884C\u653F\u533A\u5212","Sheet1")}):Yt({divisions:N.value,yearMonth:k.value.name,type:"\u5C0F\u9EA6"}).then(e=>{ne(e.data,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30-\u884C\u653F\u533A\u5212","Sheet1")})},vt=()=>{let t=JSON.parse(JSON.stringify(C.value[0]));M.value.push(t),ne(M.value,"\u5C0F\u9EA6\u9762\u79EF\u7EDF\u8BA1\u8868","Sheet1")},fe=()=>{F.value=1,Jt({year:A.value.time,statistical:A.value.statistical,type:A.value.droughtRating,area:A.value.area}).then(t=>{Te.value=[{lable:"\u5730\u533A",value:"subName"},{lable:"\u5355\u4EA7\u91CF(\u516C\u65A4/\u4EA9)",value:"wheatUnitOutputValue"},{lable:"\u603B\u4EA7\u91CF(\u5428)",value:"wheatOutput"}],Fe.value=[{lable:"",value:"subName"},{lable:"\u5355\u4EA7\u91CF(\u516C\u65A4/\u4EA9)",value:"wheatUnitOutputValue"},{lable:"\u603B\u4EA7\u91CF(\u5428)",value:"wheatOutput"}],me.value=!1,M.value=t.data,ge.value=t.data.slice((F.value-1)*I.value,(F.value-1)*I.value+I.value),C.value[0].wheatUnitOutputValue=0,C.value[0].wheatOutput=0,C.value[0].subName="\u5408\u8BA1",t.data.forEach(r=>{r.wheatUnitOutputValue&&(C.value[0].wheatUnitOutputValue+=Number(r.wheatUnitOutputValue)!==NaN?Number(r.wheatUnitOutputValue)/t.data.length:0),r.wheatOutput&&(C.value[0].wheatOutput+=Number(r.wheatOutput)!==NaN?Number(r.wheatOutput):0)});for(const r in C.value[0])C.value[0][r]!=="\u5408\u8BA1"&&(C.value[0][r]=C.value[0][r].toFixed(2));const e=K.value;e.style.width=document.querySelector(".app-main").offsetWidth-50+"px",e.style.height=document.querySelector(".app-main").offsetHeight+"px";const u=Y(e);window.addEventListener("resize",()=>{e.style.width=document.querySelector(".app-main").offsetWidth+"px",e.style.height=document.querySelector(".app-main").offsetHeight+"px",u.resize()}),Ue()})},yt=(t,e)=>t.map(r=>{const g={};for(const h in r)e[h]&&(g[e[h]]=r[h]);return g}),ne=(t,e="\u7528\u6237\u5217\u8868",u="Sheet1")=>{const g=yt(t,{subName:"\u533A\u57DF\u540D\u79F0",wheatUnitOutputValue:"\u5355\u4EA7\u91CF(\u516C\u65A4/\u4EA9)",wheatOutput:"\u603B\u4EA7\u91CF(\u5428)"}),h=Se.json_to_sheet(g),l=Se.book_new();Se.book_append_sheet(l,h,u),Ut(l,`${e}.xlsx`)},ft=t=>{F.value=t,ge.value=M.value.slice((F.value-1)*I.value,(F.value-1)*I.value+I.value)},bt=t=>{const e=F.value,u=I.value;return t+1+(e-1)*u},wt=t=>{k.value=t};function $e(){const t=Y(de.value);let e={xData:[],yData:[{data:[]},{data:[]}],yData2:[{data:[]},{data:[]}]};De.value.forEach(h=>{e.xData.push(h.dataTime),e.yData[0].data.push(h.wheatUnitOutputValue),e.yData[1].data.push(h.wheatOutput),e.yData2[0].data.push(h.tjWheatUnitOutputValue),e.yData2[1].data.push(h.tjWheatOutput)});let u=3/e.xData.length*100;var r={tooltip:{trigger:"item",axisPointer:{type:"shadow"}},grid:{left:"2%",right:"4%",bottom:"14%",top:"16%",containLabel:!0},legend:{data:["\u5355\u4EA7","\u7EDF\u8BA1\u5E74\u9274\u5355\u4EA7","\u603B\u4EA7","\u7EDF\u8BA1\u5E74\u9274\u603B\u4EA7"],left:"7%",top:"0%",textStyle:{color:"#666666"},itemWidth:15,itemHeight:10,itemGap:15},dataZoom:[{show:!1,type:"slider",width:"40%",zoomLock:!1,top:"90%",start:0,end:u,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",data:e.xData,axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}},axisLabel:{interval:0,textStyle:{color:"#666666"}},axisTick:{show:!1}},yAxis:[{type:"log",name:"\u5355\u4EA7(\u516C\u65A4/\u4EA9)",min:1,logBase:3,nameTextStyle:{color:"#666666"},axisLine:{show:!0,lineStyle:{color:"#cdd5e2"}},splitLine:{show:!1},axisLabel:{textStyle:{color:"#666666"}},axisLine:{lineStyle:{color:"#cdd5e2"}},splitLine:{show:!0}},{type:"value",name:"\u603B\u4EA7(\u5428)",nameTextStyle:{color:"#666666"},position:"right",axisLine:{lineStyle:{color:"#cdd5e2"}},splitLine:{show:!1},axisLabel:{show:!0,formatter:"{value}",textStyle:{color:"#666666"}}}],series:[{name:"\u5355\u4EA7",type:"bar",barWidth:"12px",itemStyle:{normal:{color:new ue(0,0,0,1,[{offset:0,color:"#29acff"},{offset:1,color:"#4bdfff"}]),barBorderRadius:[6,6,0,0]}},data:e.yData[0].data},{name:"\u7EDF\u8BA1\u5E74\u9274\u5355\u4EA7",type:"bar",barWidth:"12px",itemStyle:{normal:{color:new ue(0,0,0,1,[{offset:0,color:"#01c871"},{offset:1,color:"#55f49c"}]),barBorderRadius:[6,6,0,0]}},data:e.yData2[0].data},{name:"\u603B\u4EA7",type:"line",yAxisIndex:1,smooth:!1,symbol:"circle",symbolSize:8,itemStyle:{normal:{color:"#00FFFF",lineStyle:{color:"#00FFFF",width:1}}},lineStyle:{color:"#00FFFF"},data:e.yData[1].data},{name:"\u7EDF\u8BA1\u5E74\u9274\u603B\u4EA7",type:"line",yAxisIndex:1,smooth:!1,symbol:"circle",symbolSize:8,itemStyle:{normal:{color:"#FF9000",lineStyle:{color:"#FF9000",width:1}}},lineStyle:{color:"#FF9000"},data:e.yData2[1].data}]};r&&t.setOption(r),ze().listenTo(de.value,()=>{we(()=>{t.resize()})})}function Re(){const t=Y(ce.value);let e=[],u=[],r=[];Oe.value.forEach(s=>{e.push(s.subName),u.push(s.wheatUnitOutputValue),r.push(s.wheatOutput)});let g=3/e.length*100,h={tooltip:{trigger:"axis",formatter:function(s,n,y){for(var d=s[0].name,p=0,a=s.length;p<a;p++)s[p].seriesType==="line"?d+="<br/>"+s[p].seriesName+" : "+(s[p].value?s[p].value:"-")+"h":d+="<br/>"+s[p].seriesName+" : "+(s[p].value?s[p].value:"-");return d}},grid:{top:"15%",bottom:"15%",left:"15%",right:"15%"},dataZoom:[{show:!1,type:"slider",width:"40%",zoomLock:!1,top:"90%",start:0,end:g,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"}],legend:{data:["\u5355\u4EA7\u91CF","\u603B\u4EA7\u91CF"],textStyle:{color:"rgba(153, 153, 153, 1)",fontSize:12},type:"scroll",top:"3%"},xAxis:[{type:"category",nameTextStyle:{fontSize:12},axisLabel:{interval:0,formatter:function(s){var n="",y=5,d=s.length,p=Math.ceil(d/y);if(p>1){for(var a=0;a<p;a++){var c="",f=a*y,_=f+y;c=s.substring(f,_)+`
|
|
`,n+=c}return n}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:"\u4EA7\u91CF(\u5428)",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"},{type:"value",name:"\u4EA7\u91CF(\u516C\u65A4/\u4EA9)",min:0,position:"bottom",splitLine:{show:!1},nameTextStyle:{fontSize:12},axisLabel:{formatter:s=>(s&&(s=s/1e4+"\u4E07"),s)},axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}}}],series:[{name:"\u5355\u4EA7\u91CF",type:"bar",barWidth:"10%",yAxisIndex:0,data:u,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}}},{name:"\u603B\u4EA7\u91CF",type:"bar",yAxisIndex:1,barWidth:"10%",data:r,itemStyle:{normal:{barBorderRadius:2,color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(143, 186, 243, 0.5)"},{offset:1,color:"rgba(143, 186, 243, 0.2)"}],global:!1},shadowColor:"rgba(255, 255, 255, 0.5)",shadowBlur:10}}}]};t.on("click",function(s){var n=window.location.host,y=/^(([-\u4E00-\u9FA5a-z0-9]{1,63})\.)+([\u4E00-\u9FA5a-z]{2,63})\.?$/;if(!y.test(n)){document.querySelector(".tool").style.display="block",Ve.value=s.name;let f=["XJQY3702112019WGS84","CJQY3702112019WGS84"];ot(s.name),f.forEach(x=>{i.getLayers().getArray().forEach((V,R)=>{V.A.name==x&&i.getLayers().removeAt(R)})});for(var d=document.querySelectorAll(".alerDiv"),p=0;p<d.length;p++){var a=d[p];a.style.display="none"}["2019-2022gaobiaozhunnongtian"].forEach(x=>{i.getLayers().getArray().forEach((V,R)=>{V.A.name==x&&i.getLayers().removeAt(R)})});let b=i.getLayers().getArray().find(x=>x.get("id")==="gbz");i.removeLayer(b);var c=i.getLayers().getArray().find(x=>x.get("id")==="dianjigaoliang");i.removeLayer(c);var c=i.getLayers().getArray().find(x=>x.get("id")==="dianjigaoliangs");i.removeLayer(c),X=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:`${serverAPI.geoserverUrl}/map-2019-2022gaobiaozhunnongtian/rest/maps/T2019_2022%E9%AB%98%E6%A0%87%E5%87%86%E5%86%9C%E7%94%B0%E7%89%87%E5%8C%BA@2019-2022gaobiaozhunnongtian`,cacheEnabled:!1}),name:"2019-2022gaobiaozhunnongtian",projection:"EPSG:4326",zIndex:9999}),i.addLayer(X)}}),h&&t.setOption(h,{notMerge:!0,grid:{bottom:20}}),_e(t,h),ze().listenTo(ce.value,()=>{we(()=>{t.resize()})})}function St(){deleteEntityByName("townLine"),deleteEntityByName("villageLine"),Je.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),Ce.value=!1}function be(){const t=Y(pe.value);he.value.sort((n,y)=>n.subName.length-y.subName.length);let e=[],u=[],r=[];he.value.forEach(n=>{e.push(n.subName),u.push(n.wheatUnitOutputValue),r.push(n.wheatOutput)});var g=e.sort((n,y)=>n.length-y.length);let h=3/g.length*100;new ue(1,0,0,0,[{offset:0,color:"rgba(4, 247, 227, 1)"},{offset:1,color:"rgba(4, 247, 227, 1)"}],!1),new ue(1,0,0,0,[{offset:0,color:"rgba(33, 187, 251, 1)"},{offset:1,color:"rgba(33, 187, 251, 1)"}],!1),_e(t,{tooltip:{trigger:"axis",formatter:function(n,y,d){for(var p=n[0].name,a=0,c=n.length;a<c;a++)n[a].seriesType==="line"?p+="<br/>"+n[a].seriesName+" : "+(n[a].value?n[a].value:"-")+"h":p+="<br/>"+n[a].seriesName+" : "+(n[a].value?n[a].value:"-");return p}},grid:{top:"15%",bottom:"15%",left:"15%",right:"15%"},dataZoom:[{show:!1,type:"slider",width:"40%",zoomLock:!1,top:"90%",start:0,end:h,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"}],legend:{data:["\u5355\u4EA7\u91CF","\u603B\u4EA7\u91CF"],textStyle:{color:"rgba(153, 153, 153, 1)",fontSize:12},type:"scroll",top:"3%"},xAxis:[{type:"category",nameTextStyle:{fontSize:12},axisLabel:{interval:0,formatter:function(n){var y="",d=5,p=n.length,a=Math.ceil(p/d);if(a>1){for(var c=0;c<a;c++){var f="",_=c*d,b=_+d;f=n.substring(_,b)+`
|
|
`,y+=f}return y}else return n}},splitLine:{show:!1},axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}},axisPointer:{type:"shadow"},data:e}],yAxis:[{type:"value",name:"\u4EA7\u91CF(\u5428)",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"},{type:"value",name:"\u4EA7\u91CF(\u516C\u65A4/\u4EA9)",min:0,position:"bottom",splitLine:{show:!1},nameTextStyle:{fontSize:12},axisLabel:{formatter:n=>(n&&(n=n/1e4+"\u4E07"),n)},axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}}}],series:[{name:"\u5355\u4EA7\u91CF",type:"bar",barWidth:"10%",yAxisIndex:0,data:u,itemStyle:{normal:{barBorderRadius:2,color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(255, 211, 81, 0.5)"},{offset:1,color:"rgba(255, 211, 81, 0.2)"}],global:!1},shadowColor:"rgba(255, 255, 255, 0.5)",shadowBlur:10}}},{name:"\u603B\u4EA7\u91CF",type:"bar",yAxisIndex:1,barWidth:"10%",data:r,itemStyle:{normal:{barBorderRadius:2,color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(33, 187, 251, 0.5)"},{offset:1,color:"rgba(33, 187, 251, 0.2)"}],global:!1},shadowColor:"rgba(255, 255, 255, 0.5)",shadowBlur:10}}}]}),ze().listenTo(pe.value,()=>{we(()=>{t.resize()})})}function Ue(){const t=Y(K.value);let e=[],u=[],r=[];M.value.forEach(l=>{e.push(l.subName),l.wheatUnitOutputValue!==void 0?u.push(l.wheatUnitOutputValue):u.push(0),l.wheatOutput!==void 0?r.push(l.wheatOutput):r.push(0)});let g=10/e.length*100;_e(t,{color:["rgba(4, 247, 227, 1)","rgba(33, 187, 251, 1)"],tooltip:{trigger:"axis",formatter:function(l,s,n){for(var y=l[0].name,d=0,p=l.length;d<p;d++)l[d].seriesType==="line"?y+="<br/>"+l[d].seriesName+" : "+(l[d].value?l[d].value:"-")+"h":y+="<br/>"+l[d].seriesName+" : "+(l[d].value?l[d].value:"-");return y}},grid:{top:"5%",bottom:"20%"},dataZoom:[{type:"slider",width:"40%",zoomLock:!0,top:"85%",start:0,end:g,showDataShadow:!1,showDetail:!1,fillerColor:"rgba(64, 158, 255)",borderRadius:"50%",moveHandleSize:0,moveHandleStyle:{},left:"30%",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:{fontSize:14,relativeSize:-2},splitLine:{show:!1},axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(102, 102, 102, 1)"}},axisPointer:{type:"shadow"},data:e}],yAxis:[{type:"value",name:"\u5355\u4EA7\u91CF(\u516C\u65A4/\u4EA9)",splitLine:{show:!0,lineStyle:{type:"dashed"}},nameTextStyle:{fontSize:12},axisLabel:{fontSize:14,relativeSize:-2,formatter:"{value}"},axisLine:{lineStyle:{color:"rgba(102, 102, 102, 1)"}},min:0,position:"top"},{type:"value",name:"\u603B\u4EA7\u91CF(\u5428)",min:0,position:"bottom",splitLine:{show:!1},nameTextStyle:{fontSize:12},axisLabel:{fontSize:14,relativeSize:-2,formatter:"{value}"},axisLine:{lineStyle:{color:"rgba(102, 102, 102, 1)"}}}],series:[{name:"\u5355\u4EA7\u91CF(\u516C\u65A4/\u4EA9)",type:"bar",yAxisIndex:0,data:u},{name:"\u603B\u4EA7\u91CF(\u5428)",type:"bar",yAxisIndex:1,data:r}]})}return(t,e)=>{const u=O("el-icon"),r=O("el-tooltip"),g=O("el-button"),h=O("el-option"),l=O("el-select"),s=O("el-form-item"),n=O("el-form"),y=O("el-table-column"),d=O("el-table"),p=O("el-pagination");return w(),E("div",Xt,[o("div",Zt,[Kt,ea,o("div",ta,[o("div",{class:"tool",onClick:e[0]||(e[0]=a=>v(rt)())},ra),o("div",la,[o("div",{class:ie(v($)?"tabarS":""),onClick:e[1]||(e[1]=a=>je(!0))},"\u9EC4\u5C9B\u533A",2),o("div",{class:ie(v($)?"":"tabarS"),onClick:e[2]||(e[2]=a=>je(!1))},"\u884C\u653F\u533A",2)]),U(o("div",na,[o("div",sa,[ia,ua,o("p",{onClick:e[3]||(e[3]=a=>ht())},[q(" \u4E0B\u8F7D \xA0 "),da])]),o("div",{ref_key:"areaDiv",ref:de,class:"areaDiv"},null,512)],512),[[Q,v($)]]),U(o("div",ca,[o("div",pa,[ha,ga,v(H)?(w(),E("p",{key:0,onClick:e[4]||(e[4]=a=>gt())},[q(" \u4E0B\u8F7D \xA0 "),ma])):T("",!0)]),U(o("div",{ref_key:"farmlandDiv",ref:ce,class:"farmlandDiv"},null,512),[[Q,v(H)]]),v(H)?T("",!0):(w(),E("div",va,fa))],512),[[Q,!v($)]]),U(o("div",ba,[o("div",wa,[Sa,_a,o("p",{onClick:e[5]||(e[5]=a=>mt())},[q(" \u4E0B\u8F7D \xA0 "),xa])]),o("div",{ref_key:"ASdivisionDiv",ref:pe,class:"ASdivision"},null,512)],512),[[Q,!v($)]]),o("div",{class:"rightFoldDiv",onClick:e[6]||(e[6]=a=>lt())},[L(r,{disabled:!v(P),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:z(()=>[v(P)?(w(),D(u,{key:0},{default:z(()=>[La]),_:1})):T("",!0)]),_:1},8,["disabled"]),L(r,{disabled:v(P),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:z(()=>[v(P)?T("",!0):(w(),D(u,{key:0},{default:z(()=>[za]),_:1}))]),_:1},8,["disabled"])])]),o("div",Aa,[v(ee).length>0?(w(),D(Rt,{key:0,dataSource:v(ee),onDataHandle:wt,allCount:v(qe),onGetcurrentPage:it},null,8,["dataSource","allCount"])):T("",!0)]),Ea,o("div",ka,[Ca,o("div",Oa,[(w(!0),E(W,null,G(v(te),(a,c)=>(w(),E("p",{key:c},[Da,o("span",null,J(a.wheatUnitOutputValue)+"(\u516C\u65A4/\u4EA9)",1)]))),128)),(w(!0),E(W,null,G(v(te),(a,c)=>(w(),E("p",{key:c},[Na,o("span",null,J(a.wheatOutput)+"(\u5428)",1)]))),128))]),Ta]),o("div",Fa,[o("div",null,[o("div",Ia,[Va,o("span",null,J(v(Ye)),1)]),(w(!0),E(W,null,G(ke.value.info,(a,c)=>(w(),E("div",{key:c,class:"rowWra"},[qa,o("span",null,J(a.wheatUnitOutputValue)+"\u516C\u65A4/\u4EA9",1)]))),128)),(w(!0),E(W,null,G(ke.value.info,(a,c)=>(w(),E("div",{key:c,class:"rowWra"},[Pa,o("span",null,J(a.wheatOutput)+"\u4EA9",1)]))),128))]),o("div",{class:"cancel",onClick:e[7]||(e[7]=(...a)=>t.hiddenOverlayChart&&t.hiddenOverlayChart(...a))},"X")]),Ce.value?(w(),D(g,{key:0,class:"back_button",onClick:e[8]||(e[8]=a=>St())},{default:z(()=>[q("\u8FD4\u56DE")]),_:1})):T("",!0)]),o("div",Ma,[o("div",Ba,[L(n,{inline:!0,model:v(A),class:"demo-form-inline"},{default:z(()=>[L(s,{label:"\u65F6\u95F4:"},{default:z(()=>[L(l,{"popper-class":"selectCity",modelValue:v(A).time,"onUpdate:modelValue":e[9]||(e[9]=a=>v(A).time=a),placeholder:"\u8BF7\u9009\u62E9"},{default:z(()=>[(w(!0),E(W,null,G(v(Ne),(a,c)=>(w(),D(h,{key:c,label:t.Zitem,value:a},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),L(s,{label:"\u7EDF\u8BA1\u65B9\u5F0F:"},{default:z(()=>[L(l,{"popper-class":"selectCity",modelValue:v(A).statistical,"onUpdate:modelValue":e[10]||(e[10]=a=>v(A).statistical=a),placeholder:"\u8BF7\u9009\u62E9"},{default:z(()=>[L(h,{label:"\u9547\u7EA7",value:"\u9547"}),v(H)?(w(),D(h,{key:0,label:"\u9AD8\u6807\u51C6\u519C\u7530",value:"\u9AD8\u6807\u51C6\u519C\u7530"})):T("",!0)]),_:1},8,["modelValue"])]),_:1}),L(s,{label:"\u4F5C\u7269\u79CD\u7C7B"},{default:z(()=>[L(l,{modelValue:v(A).droughtRating,"onUpdate:modelValue":e[11]||(e[11]=a=>v(A).droughtRating=a),"popper-class":"selectCity",placeholder:"\u8BF7\u9009\u62E9"},{default:z(()=>[L(h,{label:"\u5C0F\u9EA6",value:"\u5C0F\u9EA6"})]),_:1},8,["modelValue"])]),_:1}),L(s,null,{default:z(()=>[L(g,{type:"primary",onClick:fe},{default:z(()=>[q("\u67E5\u8BE2")]),_:1}),L(g,{plain:"",onClick:st,disabled:!v(B)},{default:z(()=>[q(" \u91CD\u7F6E ")]),_:1},8,["disabled"]),v(me)?T("",!0):(w(),D(g,{key:0,type:"primary",text:"",onClick:vt},{default:z(()=>[Wa,q(" \u4E0B\u8F7D ")]),_:1}))]),_:1})]),_:1},8,["model"]),o("div",{class:"modeDiv",onClick:nt},[o("div",{class:ie(v(B)?"Selected":"")},"\u8868\u683C\u6A21\u5F0F",2),o("div",{class:ie(v(B)?"":"Selecteds")},"\u56FE\u8868\u6A21\u5F0F",2)])]),U(o("div",Ga,[o("div",ja,[v(me)?T("",!0):(w(),D(d,{key:0,data:v(C),"header-cell-style":{"text-align":"center"},style:{width:"100%"},"highlight-current-row":"","header-row-class-name":"tabth"},{default:z(()=>[L(y,{align:"center",prop:"\u5408\u8BA1",width:"80"}),(w(!0),E(W,null,G(v(Fe),(a,c)=>(w(),D(y,{key:c,prop:a.value,label:a.lable,align:"center"},null,8,["prop","label"]))),128))]),_:1},8,["data"]))]),L(d,{data:v(ge),"header-cell-style":{"text-align":"center"},height:"80%","highlight-current-row":"","header-row-class-name":"tabth"},{default:z(()=>[L(y,{type:"index",width:"80",align:"center",label:"\u5E8F\u53F7",index:bt}),(w(!0),E(W,null,G(v(Te),(a,c)=>(w(),D(y,{key:c,prop:a.value,label:a.lable,align:"center"},null,8,["prop","label"]))),128))]),_:1},8,["data"]),o("div",$a,[q(" \u5171"+J(M.value.length)+"\u6761 ",1),L(p,{background:"",layout:"prev, pager, next",total:M.value.length,"current-page":v(F),"page-size":v(I),onCurrentChange:ft},null,8,["total","current-page","page-size"])])],512),[[Q,v(B)]]),U(o("div",Ra,[o("div",{ref_key:"chartModeDiv",ref:K,class:"chartModeDiv"},null,512)],512),[[Q,!v(B)]])])])}}},mo=Lt(Ua,[["__scopeId","data-v-3939b351"]]);export{mo as default};
|