Agriculture-front-end/dist/assets/index.edb5180a.js

2 lines
37 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,u as a,r as t,I as l,x as r,H as o,a2 as i,aa as n,S as s,d as u,o as d,c,l as p,f as m,O as h,K as g,M as y,n as v,m as f,e as b,w,k as S,V as x,W as L,A as z,F as A,q as E,s as k}from"./index.e5c8b0d6.js";import{_}from"./fh.7489c25e.js";import O from"./downloads.e955445d.js";import{_ as C}from"./qx.88a5ecd3.js";import{_ as j,a as F}from"./zhankaiss.6870329f.js";import{_ as N,a as D,b as T,c as V}from"./position.3b2b2301.js";import{_ as q,a as I}from"./face.d3470a20.js";import{_ as B}from"./dow.b4b83e88.js";import"./index.2809c208.js";import{T as P}from"./TimeLine.89abb5b7.js";import{u as M,w as W}from"./xlsx.881b8a71.js";import{u as G}from"./useEcharts.31b48034.js";import{g as U,a as J,b as Q,c as R,d as $,e as Y}from"./wheat.d1241014.js";import"./linesGL.76a64914.js";import{d as X}from"./download.57166482.js";import{e as H}from"./element-resize-detector.d4d1cd8d.js";import{ai as Z,aj as K}from"./linkSeriesData.e74eae00.js";/* empty css */import"./browser-detector.d146ab9e.js";const ee=e=>(E("data-v-07273d78"),e=e(),k(),e),ae={class:"fatherDiv"},te={class:"centerBox"},le=ee((()=>p("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1))),re=ee((()=>p("div",{id:"labelText",title:"点标注"},"别点我",-1))),oe={class:"rightWra"},ie=[ee((()=>p("img",{src:_},null,-1))),ee((()=>p("span",null,"返回",-1)))],ne={class:"tabar"},se={class:"leftTop"},ue={class:"title"},de=ee((()=>p("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1))),ce=ee((()=>p("span",null,"作物产量预估",-1))),pe=ee((()=>p("img",{src:O,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1))),me={class:"rightTop"},he={class:"title"},ge=ee((()=>p("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1))),ye=ee((()=>p("span",null,"作物产量预估-高标准农田",-1))),ve=ee((()=>p("img",{src:O,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1))),fe={key:0},be=[ee((()=>p("img",{src:C},null,-1)))],we={class:"rightbottom"},Se={class:"title"},xe=ee((()=>p("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1))),Le=ee((()=>p("span",null,"作物产量预估-行政区划",-1))),ze=ee((()=>p("img",{src:O,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1))),Ae=ee((()=>p("img",{src:j},null,-1))),Ee=ee((()=>p("img",{src:F},null,-1))),ke={class:"bottom_center"},_e=A('<div class="tool" data-v-07273d78><span data-v-07273d78><img src="'+N+'" alt="" data-v-07273d78></span><span data-v-07273d78><img src="'+D+'" alt="" data-v-07273d78></span><span data-v-07273d78><img src="'+T+'" alt="" data-v-07273d78></span><span data-v-07273d78><img src="'+q+'" alt="" data-v-07273d78></span><span data-v-07273d78><img src="'+I+'" alt="" data-v-07273d78></span><span data-v-07273d78><img src="'+V+'" alt="" data-v-07273d78></span></div>',1),Oe={id:"popup",class:"ol-popup"},Ce=ee((()=>p("div",{class:"pophead",style:{width:"100%"}},[p("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)"}}),p("a",{href:"#",id:"popup-closer",class:"ol-popup-closer"})],-1))),je={id:"popup-content",style:{padding:"30px"}},Fe=ee((()=>p("div",{class:"label"},"单产量:",-1))),Ne=ee((()=>p("div",{class:"label"},"总产量:",-1))),De=ee((()=>p("div",{id:"popup-pagination"},null,-1))),Te={id:"pop"},Ve={class:"rowWra"},qe=ee((()=>p("span",null,"地区:",-1))),Ie=ee((()=>p("span",null,"单产量:",-1))),Be=ee((()=>p("span",null,"总产量:",-1))),Pe={class:"tabulation"},Me={class:"searchDiv"},We=ee((()=>p("img",{src:B,alt:""},null,-1))),Ge={class:"tableBox"},Ue={class:"tableBorder"},Je={class:"example-pagination-block"},Qe={class:"chartMode"},Re=e({__name:"index",setup(e){const A=a();let E=t(null);const k=t(null),_=t(null),O=t(null),C=t("");C.value=window.localStorage.getItem("divisions");let j=l({arr:[],brr:[],crr:[]});const F=t({name:"",value:""});t([]);const N=t(!1);t(!0);let D=t(!1),T=t([]),V=t({}),q=t([]);const I=t([]);let B=t(!0),ee=t([]),Re=t(1),$e=t(12),Ye=t([]),Xe=t([]),He=t([]);const Ze=t(1);let Ke=t(!0);const ea=t(null);let aa=t(""),ta=t([]),la=t(""),ra=t([]),oa=t(""),ia=t([]),na=t(""),sa=t(5),ua=t([]),da=t(!0),ca=!(window.localStorage.getItem("divisions").length>6),pa="青岛西海岸新区"==window.localStorage.getItem("deptName")?"黄岛区":window.localStorage.getItem("deptName"),ma=t([{wheatUnitOutputValue:0,wheatOutput:0}]),ha=t(""),ga=t({time:"",statistical:"镇",droughtRating:"小麦",area:Ze.value}),ya=t(null);r((()=>{!function(){ja(),Fa(),e=document.querySelector(".center"),a=document.getElementById("cesiumContainer"),va=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})]}),Aa(),va.on("singleclick",(function(e){var a=e.coordinate;if(ca){var t=a[0],l=a[1];va.getView().animate({center:[t,l],duration:1e3});let r=!1;if(["XJQY3702112019WGS84"].forEach((e=>{va.getLayers().getArray().forEach(((a,t)=>{e!=a.A.name||(r=!0)}))})),r)Sa(e,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"镇");else{let t=`${serverAPI.geoserverUrl}/data-2019-2022gaobiaozhunnongtian/rest/data`,l=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:"T2019_2022高标准农田片区@2019-2022gaobiaozhunnongtian",attributeFilter:`DKMC = '${oa.value}'`},datasetNames:["2019-2022gaobiaozhunnongtian:T2019_2022高标准农田片区"]});new ol.supermap.FeatureService(t).getFeaturesBySQL(l,(function(t){let l=(new ol.format.GeoJSON).readFeatures(t.result.features),r=new ol.source.Vector;r.addFeatures(l);let o=new ol.layer.Vector({source:r}).getSource().getFeatures();for(var i=0;i<o.length;i++)o[i].getGeometry().intersectsCoordinate(a)&&Sa(e,"T2019_2022高标准农田片区@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`,"高标准")}))}}else{let t=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,l=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:"XJQY3702112019WGS84@huangdaoqu_bianjie",attributeFilter:`XJQYMC = '${pa}'`},datasetNames:["huangdaoqu_bianjie:XJQY3702112019WGS84"]});new ol.supermap.FeatureService(t).getFeaturesBySQL(l,(function(t){let l=(new ol.format.GeoJSON).readFeatures(t.result.features),r=new ol.source.Vector;r.addFeatures(l);let o=new ol.layer.Vector({source:r}).getSource().getFeatures();for(var i=0;i<o.length;i++)if(o[i].getGeometry().intersectsCoordinate(a)){var n=a[0],s=a[1];va.getView().animate({center:[n,s],duration:1e3});let t=!1;["XJQY3702112019WGS84"].forEach((e=>{va.getLayers().getArray().forEach(((a,l)=>{e!=a.A.name||(t=!0)}))})),t?Sa(e,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"镇"):Sa(e,"T2019_2022高标准农田片区@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`,"高标准")}}))}})),new ResizeObserver((function(e){e.forEach((function(e){var t=e.contentRect.width,l=e.contentRect.height;a.style.width=t+"px",a.style.height=l+"px",va.updateSize()}))})).observe(e),function(e){let a="",t="",l="",r="",o="";t=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,a=e,l="XJQY3702112019WGS84",r="huangdaoqu_bianjie",o="XJQYMC";var i=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:`${l}@${r}`,attributeFilter:`${o} like '%${a}%'`},datasetNames:[`${r}:${l}`]});new ol.supermap.FeatureService(t).getFeaturesBySQL(i,(function(e){if(0!=e.result.featureCount){var a=va.getLayers().getArray().find((e=>"zhezhao"===e.get("id")));va.removeLayer(a);var t=va.getLayers().getArray().find((e=>"dianjigaoliang"===e.get("id")));va.removeLayer(t);var l=(new ol.format.GeoJSON).readFeatures(e.result.features);xa(e.result.features.features[0].geometry.coordinates,"qu","rgba( 105, 105, 105, 1)",9999);var r=new ol.source.Vector;r.addFeatures(l);const i=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:2})});var o=new ol.layer.Vector({id:"dianjigaoliang",source:r});o.setStyle(i),va.addLayer(o),va.getView().fit(r.getExtent())}}))}(pa),n.get("/json/huangdao.json").then((({data:e})=>{(new ol.format.GeoJSON).readFeatures(e)[0]})),za(),Ga();var e,a;for(var t=document.querySelectorAll(".alerDiv"),l=0;l<t.length;l++){t[l].style.display="block"}document.querySelector(".rightWra").style.transform="translate(101%,0)",localStorage.setItem(A.currentRoute.value.path,!0)}()})),o((()=>{"false"==localStorage.getItem(A.currentRoute.value.path)?(document.querySelector(".mode").style.display="block",document.querySelector(".mode").innerText="地图模式"):(document.querySelector(".mode").style.display="block",document.querySelector(".mode").innerText="列表模式")})),i((()=>la.value),((e,a)=>{C.value=window.localStorage.getItem("divisions"),Na(C.value,la.value.name),Da(C.value,la.value.name)}));let va=t(null);t(null),t(null);let fa=t(null),ba=t(null),wa=[{"海青镇":[119.55673590487976,35.65921960953274]},{"大场镇":[119.62381239722713,35.66588089759648]},{"泊里镇":[119.74667707697716,35.64649984120179]},{"琅琊镇":[119.87030449159289,35.66431631585516]},{"大村镇":[119.69265171077753,35.81549722988757]},{"藏马镇":[119.78396543008807,35.76160172256371]},{"张家楼街道":[119.87512724002988,35.80195653922014]},{"滨海街道":[119.97581635161251,35.77818590595386]},{"隐珠街道":[120.02465043714614,35.86822190145625]},{"珠海街道":[119.9054471577447,35.868205749221545]},{"六汪镇":[119.76550614744232,35.952002955399706]},{"铁山街道":[119.9003966708421,35.940916580021934]},{"胶南街道":[119.99585866840519,35.92909063508609]},{"灵山岛省级自然保护区":[120.16665402696374,35.76466422432871]},{"灵山卫街道":[120.09901058402102,35.93194068930856]},{"宝山镇":[119.87425420478907,36.00930267491887]},{"王台街道":[119.99939657505232,36.055865563101804]},{"红石崖街道":[120.09213798349893,36.069986617313006]},{"辛安街道":[120.14491642202691,36.008342604564874]},{"长江路街道":[120.16674794518045,35.961185596094154]},{"黄岛街道":[120.19699376304628,36.04732099123903]},{"灵珠山街道":[120.07050399805128,36.00779971701293]},{"薛家岛街道":[120.2165772076387,35.95291190919208]}];function Sa(e,a,l,r){let o=[];var i=new ol.geom.Point(e.coordinate),n=new ol.supermap.QueryByGeometryParameters({queryParams:{name:a},geometry:i});let s=document.querySelector("#popup-title"),u=t(null),d=t(null);new ol.supermap.QueryService(l).queryByGeometry(n,(function(e){d=va.getLayers().getArray().find((e=>"zhezhao"===e.get("id"))),va.removeLayer(d);let a="";if("镇"==r&&e.result.recordsets[0].features.features[0].properties.XJQYDM){let l=e.result.recordsets[0].features.features[0].properties.XJQYDM;C.value=l;let r=[];U({divisions:"370211",yearMonth:la.value.name,type:"小麦"}).then((e=>{e.data.forEach((e=>{e.subregion==l&&(a=e.subName,r.push(e))})),ra.value=r,t()}))}else if("高标准"==r&&e.result.recordsets[0].features.features[0].properties.DKMC){let l=e.result.recordsets[0].features.features[0].properties.DKMC,r=[];J({yearMonth:la.value.name,type:"小麦"}).then((e=>{e.data.forEach((e=>{e.subName==l&&r.push(e)})),a=l,ra.value=r,t()}))}function t(){if(e.result.currentCount>0){e.result.recordsets[0].features&&(ba.setPosition(i.flatCoordinates),s.innerHTML=a),u=va.getLayers().getArray().find((e=>"dianjigaoliang"===e.get("id"))),va.removeLayer(u);var t=(new ol.format.GeoJSON).readFeatures(e.result.recordsets[0].features);o=e.result.recordsets[0].features.features[0].geometry.coordinates,xa(e.result.recordsets[0].features.features[0].geometry.coordinates);var l=new ol.source.Vector;l.addFeatures(t);const c=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(255, 219, 113, 1.0)",width:5})});var r=new ol.layer.Vector({id:"dianjigaoliang",source:l,zIndex:9999});r.setStyle(c),va.addLayer(r);for(var n=document.querySelectorAll(".alerDiv"),d=0;d<n.length;d++){n[d].style.display="none"}}}})),fa.addEventListener("click",(function(){d=va.getLayers().getArray().find((e=>"zhezhao"===e.get("id"))),va.removeLayer(d),La(o),C.value=window.localStorage.getItem("divisions"),u=va.getLayers().getArray().find((e=>"dianjigaoliang"===e.get("id"))),va.removeLayer(u),u=va.getLayers().getArray().find((e=>"gao"===e.get("id"))),va.removeLayer(u),ba.setPosition(void 0);for(var e=document.querySelectorAll(".alerDiv"),a=0;a<e.length;a++){e[a].style.display="block"}}))}function xa(e,a,t,l){let r=new ol.source.Vector;var o=new ol.layer.Vector({id:a||"zhezhao",source:r,zIndex:l||50,style:new ol.style.Style({fill:new ol.style.Fill({color:t||"rgba( 105, 105, 105, 0.9)"})})});const i=La(e),n=new ol.Feature({geometry:i});o.getSource().addFeature(n),va.addLayer(o)}function La(e){const a=ol.geom.Polygon.fromExtent([-180,-90,180,90]);return e.forEach((e=>{const t=new ol.geom.LinearRing(e[0]);a.appendLinearRing(t)})),a}const za=()=>{document.getElementById("popup"),document.getElementById("popup-content"),fa=document.getElementById("popup-closer"),ba=new ol.Overlay({element:document.getElementById("popup"),positioning:"bottom-center",stopEvent:!0,offset:[0,-10]}),va.addOverlay(ba)};const Aa=()=>{var e=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});va.addLayer(e)};let Ea=()=>{document.querySelector(".tool").style.display="none",ya=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}),va.addLayer(ya),ya.setVisible(!1),Aa();["2019-2022gaobiaozhunnongtian","gbz","dianjigaoliang","dianjigaoliangs","gao","zhezhao"].forEach((e=>{va.getLayers().getArray().forEach(((a,t)=>{a.A.name!=e&&a.A.id!=e||va.getLayers().removeAt(t)}))})),va.getView().animate({center:["119.88661841637813","35.85667692242919"],duration:1e3,zoom:11});for(var e=document.querySelectorAll(".alerDiv"),a=0;a<e.length;a++){e[a].style.display="block"}};const ka=e=>{da.value=e,e?Ma():(Wa(),Ga())};const _a=()=>{B.value=!B.value;const e=ea.value;e.style.width=document.querySelector(".chartMode").offsetWidth+"px",e.style.height=document.querySelector(".chartMode").offsetHeight+"px";const a=Z(e);window.addEventListener("resize",(()=>{e.style.width=document.querySelector(".chartMode").offsetWidth+"px",e.style.height=document.querySelector(".chartMode").offsetHeight+"px",a.resize()})),Ua()},Oa=()=>{ga.value.year=ha.value,ga.value.statistical="镇",ga.value.droughtRating="小麦",ga.value.area=Ze.value,Va()},Ca=e=>{ta.value=ua.value.slice((e-1)*sa.value,e*sa.value)},ja=()=>{Q({type:"小麦"}).then((e=>{ha.value={name:e.data[0]},la.value={name:e.data[e.data.length-1]},ee.value=e.data;let a=[];e.data.forEach((e=>{a.push({name:e})})),ga.value.time=e.data[e.data.length-1],ua.value=a,ia.value=Math.ceil(ua.value.length/5),na=Math.ceil(a.length/5),ta.value=ua.value.slice((na-1)*sa.value,na*sa.value),Va()}))},Fa=(e,a)=>{R({divisions:e,type:"小麦"}).then((e=>{V.value=e.data,Ma()}))},Na=(e,a)=>{J({divisions:e,yearMonth:a,type:"小麦"}).then((e=>{T.value=e.data,e.data.length>0&&Wa()}))},Da=(e,a)=>{U({divisions:e,yearMonth:a,type:"小麦"}).then((e=>{q.value=e.data,j.brr=JSON.parse(JSON.stringify(e.data)),j.arr=j.brr.sort(((e,a)=>e.subName.length-a.subName.length)),j.arr.unshift({subregion:"",subName:"全部"});let a=[],t=[];j.arr.forEach((e=>{-1==a.indexOf(e.subName)&&(a.push(e.subName),t.push({subName:e.subName,subregion:e.subregion,area:e.area,type:e.type}))})),j.arr=t,Ga();let l=[];wa.forEach((a=>{e.data.forEach(((e,t)=>{a[e.subName]&&l.push({weizhi:a[e.subName],dom1:`popup${t}`,dom2:`popup-content${t}`,subName:e.subName,subregion:e.subRegion,wheatOutput:e.wheatOutput,wheatUnitOutputValue:e.wheatUnitOutputValue})}))})),l.forEach(((e,a)=>{var t=document.createElement("div");t.setAttribute("class","alerDiv"),t.id=e.dom2,t.style.display="block";var l=document.createElement("div");l.id=e.dom1,l.style.display="block",l.appendChild(t),document.body.appendChild(l);var r=document.getElementById(e.dom1);document.getElementById(e.dom2).innerHTML='<div class="content-children"><div>单产: <span>'+e.wheatUnitOutputValue+'</span><span class="active">公斤/亩</span></div><div>总产: <span>'+e.wheatOutput.toFixed(1)+'</span><span class="active">吨</span></div></div>';var o=new ol.Overlay({element:r,autoPan:!0,positioning:"bottom-center",stopEvent:!0,offset:[0,-10],autoPanAnimation:{duration:250}});va.addOverlay(o),o.setPosition(e.weizhi)}))}))},Ta=()=>{let e=JSON.parse(JSON.stringify(ma.value[0]));I.value.push(e),qa(I.value,"小麦面积统计表","Sheet1")},Va=()=>{Re.value=1,$({year:ga.value.time,statistical:ga.value.statistical,type:ga.value.droughtRating,area:ga.value.area}).then((e=>{Xe.value=[{lable:"地区",value:"subName"},{lable:"单产量(公斤/亩)",value:"wheatUnitOutputValue"},{lable:"总产量(吨)",value:"wheatOutput"}],He.value=[{lable:"",value:"subName"},{lable:"单产量(公斤/亩)",value:"wheatUnitOutputValue"},{lable:"总产量(吨)",value:"wheatOutput"}],Ke.value=!1,I.value=e.data,Ye.value=e.data.slice((Re.value-1)*$e.value,(Re.value-1)*$e.value+$e.value),ma.value[0].wheatUnitOutputValue=0,ma.value[0].wheatOutput=0,ma.value[0].subName="合计",e.data.forEach((a=>{a.wheatUnitOutputValue&&(ma.value[0].wheatUnitOutputValue+=NaN!==Number(a.wheatUnitOutputValue)?Number(a.wheatUnitOutputValue)/e.data.length:0),a.wheatOutput&&(ma.value[0].wheatOutput+=NaN!==Number(a.wheatOutput)?Number(a.wheatOutput):0)}));for(const l in ma.value[0])"合计"!==ma.value[0][l]&&(ma.value[0][l]=ma.value[0][l].toFixed(2));const a=ea.value;a.style.width=document.querySelector(".app-main").offsetWidth-50+"px",a.style.height=document.querySelector(".app-main").offsetHeight+"px";const t=Z(a);window.addEventListener("resize",(()=>{a.style.width=document.querySelector(".app-main").offsetWidth+"px",a.style.height=document.querySelector(".app-main").offsetHeight+"px",t.resize()})),Ua()}))},qa=(e,a="用户列表",t="Sheet1")=>{const l=((e,a)=>e.map((e=>{const t={};for(const l in e)a[l]&&(t[a[l]]=e[l]);return t})))(e,{subName:"区域名称",wheatUnitOutputValue:"单产量(公斤/亩)",wheatOutput:"总产量(吨)"}),r=M.json_to_sheet(l),o=M.book_new();M.book_append_sheet(o,r,t),W(o,`${a}.xlsx`)},Ia=e=>{Re.value=e,Ye.value=I.value.slice((Re.value-1)*$e.value,(Re.value-1)*$e.value+$e.value)},Ba=e=>e+1+(Re.value-1)*$e.value,Pa=e=>{la.value=e};function Ma(){const e=Z(k.value);let a={xData:[],yData:[{data:[]},{data:[]}],yData2:[{data:[]},{data:[]}]};V.value.forEach((e=>{a.xData.push(e.dataTime),a.yData[0].data.push(e.wheatUnitOutputValue),a.yData[1].data.push(e.wheatOutput),a.yData2[0].data.push(e.tjWheatUnitOutputValue),a.yData2[1].data.push(e.tjWheatOutput)}));var t={tooltip:{trigger:"item",axisPointer:{type:"shadow"}},grid:{left:"2%",right:"4%",bottom:"14%",top:"16%",containLabel:!0},legend:{data:["单产","统计年鉴单产","总产","统计年鉴总产"],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:3/a.xData.length*100,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:a.xData,axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}},axisLabel:{interval:0,textStyle:{color:"#666666"}},axisTick:{show:!1}},yAxis:[{type:"log",name:"单产(公斤/亩)",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:"总产(吨)",nameTextStyle:{color:"#666666"},position:"right",axisLine:{lineStyle:{color:"#cdd5e2"}},splitLine:{show:!1},axisLabel:{show:!0,formatter:"{value}",textStyle:{color:"#666666"}}}],series:[{name:"单产",type:"bar",barWidth:"12px",itemStyle:{normal:{color:new K(0,0,0,1,[{offset:0,color:"#29acff"},{offset:1,color:"#4bdfff"}]),barBorderRadius:[6,6,0,0]}},data:a.yData[0].data},{name:"统计年鉴单产",type:"bar",barWidth:"12px",itemStyle:{normal:{color:new K(0,0,0,1,[{offset:0,color:"#01c871"},{offset:1,color:"#55f49c"}]),barBorderRadius:[6,6,0,0]}},data:a.yData2[0].data},{name:"总产",type:"line",yAxisIndex:1,smooth:!1,symbol:"circle",symbolSize:8,itemStyle:{normal:{color:"#00FFFF",lineStyle:{color:"#00FFFF",width:1}}},lineStyle:{color:"#00FFFF"},data:a.yData[1].data},{name:"统计年鉴总产",type:"line",yAxisIndex:1,smooth:!1,symbol:"circle",symbolSize:8,itemStyle:{normal:{color:"#FF9000",lineStyle:{color:"#FF9000",width:1}}},lineStyle:{color:"#FF9000"},data:a.yData2[1].data}]};t&&e.setOption(t),H().listenTo(k.value,(()=>{s((()=>{e.resize()}))}))}function Wa(){const e=Z(_.value);let a=[],t=[],l=[];T.value.forEach((e=>{a.push(e.subName),t.push(e.wheatUnitOutputValue),l.push(e.wheatOutput)}));let r={tooltip:{trigger:"axis",formatter:function(e,a,t){for(var l=e[0].name,r=0,o=e.length;r<o;r++)"line"===e[r].seriesType?l+="<br/>"+e[r].seriesName+" : "+(e[r].value?e[r].value:"-")+"h":l+="<br/>"+e[r].seriesName+" : "+(e[r].value?e[r].value:"-");return l}},grid:{top:"15%",bottom:"15%",left:"15%",right:"15%"},dataZoom:[{show:!1,type:"slider",width:"40%",zoomLock:!1,top:"90%",start:0,end:3/a.length*100,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:["单产量","总产量"],textStyle:{color:"rgba(153, 153, 153, 1)",fontSize:12},type:"scroll",top:"3%"},xAxis:[{type:"category",nameTextStyle:{fontSize:12},axisLabel:{interval:0,formatter:function(e){var a="",t=e.length,l=Math.ceil(t/5);if(l>1){for(var r=0;r<l;r++){var o=5*r,i=o+5;a+=e.substring(o,i)+"\n"}return a}return e}},splitLine:{show:!1},axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}},axisPointer:{type:"shadow"},data:a}],yAxis:[{type:"value",name:"产量(吨)",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:"产量(公斤/亩)",min:0,position:"bottom",splitLine:{show:!1},nameTextStyle:{fontSize:12},axisLabel:{formatter:e=>(e&&(e=e/1e4+"万"),e)},axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}}}],series:[{name:"单产量",type:"bar",barWidth:"10%",yAxisIndex:0,data:t,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:"总产量",type:"bar",yAxisIndex:1,barWidth:"10%",data:l,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}}}]};e.on("click",(function(e){var a=window.location.host;if(!/^(([-\u4E00-\u9FA5a-z0-9]{1,63})\.)+([\u4E00-\u9FA5a-z]{2,63})\.?$/.test(a)){document.querySelector(".tool").style.display="block",oa.value=e.name;let a=["XJQY3702112019WGS84","CJQY3702112019WGS84"];!function(e){let a="",t="",l="",r="",o="";t=`${serverAPI.geoserverUrl}/data-2019-2022gaobiaozhunnongtian/rest/data`,a=e,l="T2019_2022高标准农田片区",r="2019-2022gaobiaozhunnongtian",o="DKMC";var i=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:`${l}@${r}`,attributeFilter:`DKMC like '%${a}%'`},datasetNames:[`${r}:${l}`]});new ol.supermap.FeatureService(t).getFeaturesBySQL(i,(function(e){if(0!=e.result.featureCount){var a=va.getLayers().getArray().find((e=>"zhezhao"===e.get("id")));va.removeLayer(a);var t=va.getLayers().getArray().find((e=>"dianjigaoliang"===e.get("id")));va.removeLayer(t);var l=va.getLayers().getArray().find((e=>"gbz"===e.get("id")));va.removeLayer(l);var r=va.getLayers().getArray().find((e=>"dianjigaoliangs"===e.get("id")));va.removeLayer(r);var o=(new ol.format.GeoJSON).readFeatures(e.result.features);xa(e.result.features.features[0].geometry.coordinates,"gbz","rgba( 105, 105, 105, 1)",9999);var i=new ol.source.Vector;i.addFeatures(o);const s=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:2})});var n=new ol.layer.Vector({id:"dianjigaoliang",source:i});n.setStyle(s),va.addLayer(n),va.getView().fit(i.getExtent())}}))}(e.name),a.forEach((e=>{va.getLayers().getArray().forEach(((a,t)=>{a.A.name==e&&va.getLayers().removeAt(t)}))}));for(var t=document.querySelectorAll(".alerDiv"),l=0;l<t.length;l++){t[l].style.display="none"}["2019-2022gaobiaozhunnongtian"].forEach((e=>{va.getLayers().getArray().forEach(((a,t)=>{a.A.name==e&&va.getLayers().removeAt(t)}))}));let o=va.getLayers().getArray().find((e=>"gbz"===e.get("id")));va.removeLayer(o);var r=va.getLayers().getArray().find((e=>"dianjigaoliang"===e.get("id")));va.removeLayer(r);r=va.getLayers().getArray().find((e=>"dianjigaoliangs"===e.get("id")));va.removeLayer(r),ya=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}),va.addLayer(ya)}})),r&&e.setOption(r,{notMerge:!0,grid:{bottom:20}}),G(e,r),H().listenTo(_.value,(()=>{s((()=>{e.resize()}))}))}function Ga(){const e=Z(O.value);q.value.sort(((e,a)=>e.subName.length-a.subName.length));let a=[],t=[],l=[];q.value.forEach((e=>{a.push(e.subName),t.push(e.wheatUnitOutputValue),l.push(e.wheatOutput)}));let r=3/a.sort(((e,a)=>e.length-a.length)).length*100;new K(1,0,0,0,[{offset:0,color:"rgba(4, 247, 227, 1)"},{offset:1,color:"rgba(4, 247, 227, 1)"}],!1),new K(1,0,0,0,[{offset:0,color:"rgba(33, 187, 251, 1)"},{offset:1,color:"rgba(33, 187, 251, 1)"}],!1),G(e,{tooltip:{trigger:"axis",formatter:function(e,a,t){for(var l=e[0].name,r=0,o=e.length;r<o;r++)"line"===e[r].seriesType?l+="<br/>"+e[r].seriesName+" : "+(e[r].value?e[r].value:"-")+"h":l+="<br/>"+e[r].seriesName+" : "+(e[r].value?e[r].value:"-");return l}},grid:{top:"15%",bottom:"15%",left:"15%",right:"15%"},dataZoom:[{show:!1,type:"slider",width:"40%",zoomLock:!1,top:"90%",start:0,end:r,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:["单产量","总产量"],textStyle:{color:"rgba(153, 153, 153, 1)",fontSize:12},type:"scroll",top:"3%"},xAxis:[{type:"category",nameTextStyle:{fontSize:12},axisLabel:{interval:0,formatter:function(e){var a="",t=e.length,l=Math.ceil(t/5);if(l>1){for(var r=0;r<l;r++){var o=5*r,i=o+5;a+=e.substring(o,i)+"\n"}return a}return e}},splitLine:{show:!1},axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}},axisPointer:{type:"shadow"},data:a}],yAxis:[{type:"value",name:"产量(吨)",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:"产量(公斤/亩)",min:0,position:"bottom",splitLine:{show:!1},nameTextStyle:{fontSize:12},axisLabel:{formatter:e=>(e&&(e=e/1e4+"万"),e)},axisLine:{lineStyle:{color:"rgba(153, 153, 153, 1)"}}}],series:[{name:"单产量",type:"bar",barWidth:"10%",yAxisIndex:0,data:t,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:"总产量",type:"bar",yAxisIndex:1,barWidth:"10%",data:l,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}}}]}),H().listenTo(O.value,(()=>{s((()=>{e.resize()}))}))}function Ua(){const e=Z(ea.value);let a=[],t=[],l=[];I.value.forEach((e=>{a.push(e.subName),void 0!==e.wheatUnitOutputValue?t.push(e.wheatUnitOutputValue):t.push(0),void 0!==e.wheatOutput?l.push(e.wheatOutput):l.push(0)}));let r=10/a.length*100;G(e,{color:["rgba(4, 247, 227, 1)","rgba(33, 187, 251, 1)"],tooltip:{trigger:"axis",formatter:function(e,a,t){for(var l=e[0].name,r=0,o=e.length;r<o;r++)"line"===e[r].seriesType?l+="<br/>"+e[r].seriesName+" : "+(e[r].value?e[r].value:"-")+"h":l+="<br/>"+e[r].seriesName+" : "+(e[r].value?e[r].value:"-");return l}},grid:{top:"5%",bottom:"20%"},dataZoom:[{type:"slider",width:"40%",zoomLock:!0,top:"85%",start:0,end:r,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:a}],yAxis:[{type:"value",name:"单产量(公斤/亩)",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:"总产量(吨)",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:"单产量(公斤/亩)",type:"bar",yAxisIndex:0,data:t},{name:"总产量(吨)",type:"bar",yAxisIndex:1,data:l}]})}return(e,a)=>{const t=u("el-icon"),l=u("el-tooltip"),r=u("el-button"),o=u("el-option"),i=u("el-select"),n=u("el-form-item"),s=u("el-form"),A=u("el-table-column"),j=u("el-table"),T=u("el-pagination");return d(),c("div",ae,[p("div",te,[le,re,p("div",oe,[p("div",{class:"tool",onClick:a[0]||(a[0]=e=>m(Ea)())},ie),p("div",ne,[p("div",{class:h(m(da)?"tabarS":""),onClick:a[1]||(a[1]=e=>ka(!0))},"黄岛区",2),p("div",{class:h(m(da)?"":"tabarS"),onClick:a[2]||(a[2]=e=>ka(!1))},"行政区",2)]),g(p("div",se,[p("div",ue,[de,ce,p("p",{onClick:a[3]||(a[3]=e=>{R({divisions:C.value,yearMonth:la.value.name,whetherToDownload:!0,type:"小麦"}).then((e=>{X(e.data[e.data.length-1].excelPath)}))})},[v(" 下载   "),pe])]),p("div",{ref_key:"areaDiv",ref:k,class:"areaDiv"},null,512)],512),[[y,m(da)]]),g(p("div",me,[p("div",he,[ge,ye,m(ca)?(d(),c("p",{key:0,onClick:a[4]||(a[4]=e=>{J({yearMonth:la.value.name,type:"小麦"}).then((e=>{qa(e.data,"高标准农田","Sheet1")}))})},[v(" 下载   "),ve])):f("",!0)]),g(p("div",{ref_key:"farmlandDiv",ref:_,class:"farmlandDiv"},null,512),[[y,m(ca)]]),m(ca)?f("",!0):(d(),c("div",fe,be))],512),[[y,!m(da)]]),g(p("div",we,[p("div",Se,[xe,Le,p("p",{onClick:a[5]||(a[5]=e=>{""===C.value?U({yearMonth:la.value.name,type:"小麦"}).then((e=>{qa(e.data,"作物产量预估-行政区划","Sheet1")})):Y({divisions:C.value,yearMonth:la.value.name,type:"小麦"}).then((e=>{qa(e.data,"作物产量预估-行政区划","Sheet1")}))})},[v(" 下载   "),ze])]),p("div",{ref_key:"ASdivisionDiv",ref:O,class:"ASdivision"},null,512)],512),[[y,!m(da)]]),p("div",{class:"rightFoldDiv",onClick:a[6]||(a[6]=e=>(D.value=!D.value,void(D.value?document.querySelector(".rightWra").style.transform="translate(0,0)":document.querySelector(".rightWra").style.transform="translate(101%,0)")))},[b(l,{disabled:!m(D),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"收起",placement:"top"},{default:w((()=>[m(D)?(d(),S(t,{key:0},{default:w((()=>[Ae])),_:1})):f("",!0)])),_:1},8,["disabled"]),b(l,{disabled:m(D),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"展开",placement:"top"},{default:w((()=>[m(D)?f("",!0):(d(),S(t,{key:0},{default:w((()=>[Ee])),_:1}))])),_:1},8,["disabled"])])]),p("div",ke,[m(ta).length>0?(d(),S(P,{key:0,dataSource:m(ta),onDataHandle:Pa,allCount:m(ia),onGetcurrentPage:Ca},null,8,["dataSource","allCount"])):f("",!0)]),_e,p("div",Oe,[Ce,p("div",je,[(d(!0),c(x,null,L(m(ra),((e,a)=>(d(),c("p",{key:a},[Fe,p("span",null,z(e.wheatUnitOutputValue)+"(公斤/亩)",1)])))),128)),(d(!0),c(x,null,L(m(ra),((e,a)=>(d(),c("p",{key:a},[Ne,p("span",null,z(e.wheatOutput)+"(吨)",1)])))),128))]),De]),p("div",Te,[p("div",null,[p("div",Ve,[qe,p("span",null,z(m(aa)),1)]),(d(!0),c(x,null,L(F.value.info,((e,a)=>(d(),c("div",{key:a,class:"rowWra"},[Ie,p("span",null,z(e.wheatUnitOutputValue)+"公斤/亩",1)])))),128)),(d(!0),c(x,null,L(F.value.info,((e,a)=>(d(),c("div",{key:a,class:"rowWra"},[Be,p("span",null,z(e.wheatOutput)+"亩",1)])))),128))]),p("div",{class:"cancel",onClick:a[7]||(a[7]=(...a)=>e.hiddenOverlayChart&&e.hiddenOverlayChart(...a))},"X")]),N.value?(d(),S(r,{key:0,class:"back_button",onClick:a[8]||(a[8]=e=>(deleteEntityByName("townLine"),deleteEntityByName("villageLine"),E.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),void(N.value=!1)))},{default:w((()=>[v("返回")])),_:1})):f("",!0)]),p("div",Pe,[p("div",Me,[b(s,{inline:!0,model:m(ga),class:"demo-form-inline"},{default:w((()=>[b(n,{label:"时间:"},{default:w((()=>[b(i,{"popper-class":"selectCity",modelValue:m(ga).time,"onUpdate:modelValue":a[9]||(a[9]=e=>m(ga).time=e),placeholder:"请选择"},{default:w((()=>[(d(!0),c(x,null,L(m(ee),((a,t)=>(d(),S(o,{key:t,label:e.Zitem,value:a},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),b(n,{label:"统计方式:"},{default:w((()=>[b(i,{"popper-class":"selectCity",modelValue:m(ga).statistical,"onUpdate:modelValue":a[10]||(a[10]=e=>m(ga).statistical=e),placeholder:"请选择"},{default:w((()=>[b(o,{label:"镇级",value:"镇"}),m(ca)?(d(),S(o,{key:0,label:"高标准农田",value:"高标准农田"})):f("",!0)])),_:1},8,["modelValue"])])),_:1}),b(n,{label:"作物种类"},{default:w((()=>[b(i,{modelValue:m(ga).droughtRating,"onUpdate:modelValue":a[11]||(a[11]=e=>m(ga).droughtRating=e),"popper-class":"selectCity",placeholder:"请选择"},{default:w((()=>[b(o,{label:"小麦",value:"小麦"})])),_:1},8,["modelValue"])])),_:1}),b(n,null,{default:w((()=>[b(r,{type:"primary",onClick:Va},{default:w((()=>[v("查询")])),_:1}),b(r,{plain:"",onClick:Oa,disabled:!m(B)},{default:w((()=>[v(" 重置 ")])),_:1},8,["disabled"]),m(Ke)?f("",!0):(d(),S(r,{key:0,type:"primary",text:"",onClick:Ta},{default:w((()=>[We,v(" 下载 ")])),_:1}))])),_:1})])),_:1},8,["model"]),p("div",{class:"modeDiv",onClick:_a},[p("div",{class:h(m(B)?"Selected":"")},"表格模式",2),p("div",{class:h(m(B)?"":"Selecteds")},"图表模式",2)])]),g(p("div",Ge,[p("div",Ue,[m(Ke)?f("",!0):(d(),S(j,{key:0,data:m(ma),"header-cell-style":{"text-align":"center"},style:{width:"100%"},"highlight-current-row":"","header-row-class-name":"tabth"},{default:w((()=>[b(A,{align:"center",prop:"合计",width:"80"}),(d(!0),c(x,null,L(m(He),((e,a)=>(d(),S(A,{key:a,prop:e.value,label:e.lable,align:"center"},null,8,["prop","label"])))),128))])),_:1},8,["data"]))]),b(j,{data:m(Ye),"header-cell-style":{"text-align":"center"},height:"80%","highlight-current-row":"","header-row-class-name":"tabth"},{default:w((()=>[b(A,{type:"index",width:"80",align:"center",label:"序号",index:Ba}),(d(!0),c(x,null,L(m(Xe),((e,a)=>(d(),S(A,{key:a,prop:e.value,label:e.lable,align:"center"},null,8,["prop","label"])))),128))])),_:1},8,["data"]),p("div",Je,[v(" 共"+z(I.value.length)+"条 ",1),b(T,{background:"",layout:"prev, pager, next",total:I.value.length,"current-page":m(Re),"page-size":m($e),onCurrentChange:Ia},null,8,["total","current-page","page-size"])])],512),[[y,m(B)]]),g(p("div",Qe,[p("div",{ref_key:"chartModeDiv",ref:ea,class:"chartModeDiv"},null,512)],512),[[y,!m(B)]])])])}}},[["__scopeId","data-v-07273d78"]]);export{Re as default};