2 lines
37 KiB
JavaScript
2 lines
37 KiB
JavaScript
import{_ as e,u as a,r as t,I as l,x as o,H as r,a2 as n,aa as i,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 k,q as A,s as E}from"./index.e5c8b0d6.js";import{_}from"./fh.7489c25e.js";import C from"./downloads.e955445d.js";import{_ as O}from"./qx.88a5ecd3.js";import{_ as j,a as N}from"./zhankaiss.6870329f.js";import{_ as F,a as D,b as V,c as q}from"./position.3b2b2301.js";import{_ as I,a as T}from"./face.d3470a20.js";import{_ as M}from"./dow.b4b83e88.js";import"./index.2809c208.js";import{T as B}from"./TimeLine.89abb5b7.js";import{u as P,w as W}from"./xlsx.881b8a71.js";import{u as G}from"./useEcharts.31b48034.js";import{g as U,a as Q,b as J,c as R,d as $,e as X}from"./wheat.d1241014.js";import"./linesGL.76a64914.js";import{d as Y}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=>(A("data-v-12c4a8d4"),e=e(),E(),e),ae={class:"fatherDiv"},te={class:"centerBox"},le=ee((()=>p("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1))),oe={class:"rightWra"},re=[ee((()=>p("img",{src:_},null,-1))),ee((()=>p("span",null,"返回",-1)))],ne={class:"tabar"},ie={class:"leftTop"},se={class:"title"},ue=ee((()=>p("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1))),de=ee((()=>p("span",null,"作物产量预估",-1))),ce=ee((()=>p("img",{src:C,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1))),pe={class:"rightTop"},me={class:"title"},he=ee((()=>p("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1))),ge=ee((()=>p("span",null,"作物产量预估-高标准农田",-1))),ye=ee((()=>p("img",{src:C,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1))),ve={key:0},fe=[ee((()=>p("img",{src:O},null,-1)))],be={class:"rightbottom"},we={class:"title"},Se=ee((()=>p("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1))),xe=ee((()=>p("span",null,"作物产量预估-行政区划",-1))),Le=ee((()=>p("img",{src:C,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1))),ze=ee((()=>p("img",{src:j},null,-1))),ke=ee((()=>p("img",{src:N},null,-1))),Ae={class:"bottom_center"},Ee=k('<div class="tool" data-v-12c4a8d4><span data-v-12c4a8d4><img src="'+F+'" alt="" data-v-12c4a8d4></span><span data-v-12c4a8d4><img src="'+D+'" alt="" data-v-12c4a8d4></span><span data-v-12c4a8d4><img src="'+V+'" alt="" data-v-12c4a8d4></span><span data-v-12c4a8d4><img src="'+I+'" alt="" data-v-12c4a8d4></span><span data-v-12c4a8d4><img src="'+T+'" alt="" data-v-12c4a8d4></span><span data-v-12c4a8d4><img src="'+q+'" alt="" data-v-12c4a8d4></span></div>',1),_e={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))),Oe={id:"popup-content",style:{padding:"30px"}},je=ee((()=>p("div",{class:"label"},"单产量:",-1))),Ne=ee((()=>p("div",{class:"label"},"总产量:",-1))),Fe=ee((()=>p("div",{id:"popup-pagination"},null,-1))),De={id:"pop"},Ve={class:"rowWra"},qe=ee((()=>p("span",null,"地区:",-1))),Ie=ee((()=>p("span",null,"单产量:",-1))),Te=ee((()=>p("span",null,"总产量:",-1))),Me={class:"tabulation"},Be={class:"searchDiv"},Pe=ee((()=>p("img",{src:M,alt:""},null,-1))),We={class:"tableBox"},Ge={class:"tableBorder"},Ue={class:"example-pagination-block"},Qe={class:"chartMode"},Je=e({__name:"index",setup(e){const k=a();let A=t(null);const E=t(null),_=t(null),C=t(null),O=t("");O.value=window.localStorage.getItem("divisions");let j=l({arr:[],brr:[],crr:[]});const N=t({name:"",value:""});t([]);const F=t(!1);t(!0);let D=t(!1),V=t([]),q=t({}),I=t([]);const T=t([]);let M=t(!0),ee=t([]),Je=t(1),Re=t(12),$e=t([]),Xe=t([]),Ye=t([]);const He=t(1);let Ze=t(!0);const Ke=t(null);let ea=t(""),aa=t([]),ta=t(""),la=t([]),oa=t(""),ra=t([]),na=t(""),ia=t(5),sa=t([]),ua=t(!0),da=!(window.localStorage.getItem("divisions").length>6),ca="青岛西海岸新区"==window.localStorage.getItem("deptName")?"黄岛区":window.localStorage.getItem("deptName"),pa=t([{wheatUnitOutputValue:0,wheatOutput:0}]),ma=t(""),ha=t({time:"",statistical:"镇",droughtRating:"玉米",area:He.value}),ga=t(null);o((()=>{!function(){ja(),e=document.querySelector(".center"),a=document.getElementById("cesiumContainer"),ya=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(),ya.on("singleclick",(function(e){var a=e.coordinate;if(da){var t=a[0],l=a[1];ya.getView().animate({center:[t,l],duration:1e3});let o=!1;if(["XJQY3702112019WGS84"].forEach((e=>{ya.getLayers().getArray().forEach(((a,t)=>{e!=a.A.name||(o=!0)}))})),o)wa(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),o=new ol.source.Vector;o.addFeatures(l);let r=new ol.layer.Vector({source:o}).getSource().getFeatures();for(var n=0;n<r.length;n++)r[n].getGeometry().intersectsCoordinate(a)&&wa(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 = '${ca}'`},datasetNames:["huangdaoqu_bianjie:XJQY3702112019WGS84"]});new ol.supermap.FeatureService(t).getFeaturesBySQL(l,(function(t){let l=(new ol.format.GeoJSON).readFeatures(t.result.features),o=new ol.source.Vector;o.addFeatures(l);let r=new ol.layer.Vector({source:o}).getSource().getFeatures();for(var n=0;n<r.length;n++)if(r[n].getGeometry().intersectsCoordinate(a)){var i=a[0],s=a[1],u=ya.getView();ya.getView().getZoom(),u.animate({center:[i,s],duration:1e3}),wa(e,"XJQY3702112019WGS84@huangdaoqu_bianjie",`${serverAPI.geoserverUrl}/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie`,"镇")}}))}})),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",ya.updateSize()}))})).observe(e),function(e){let a="",t="",l="",o="",r="";t=`${serverAPI.geoserverUrl}/data-huangdaoqu_bianjie/rest/data`,a=e,l="XJQY3702112019WGS84",o="huangdaoqu_bianjie",r="XJQYMC";var n=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:`${l}@${o}`,attributeFilter:`${r} like '%${a}%'`},datasetNames:[`${o}:${l}`]});new ol.supermap.FeatureService(t).getFeaturesBySQL(n,(function(e){if(0!=e.result.featureCount){var a=ya.getLayers().getArray().find((e=>"zhezhao"===e.get("id")));ya.removeLayer(a);var t=ya.getLayers().getArray().find((e=>"dianjigaoliang"===e.get("id")));ya.removeLayer(t);var l=(new ol.format.GeoJSON).readFeatures(e.result.features);Sa(e.result.features.features[0].geometry.coordinates,"qu","rgba( 105, 105, 105, 1)",9999);var o=new ol.source.Vector;o.addFeatures(l);const n=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:2})});var r=new ol.layer.Vector({id:"dianjigaoliang",source:o});r.setStyle(n),ya.addLayer(r),ya.getView().fit(o.getExtent())}}))}(ca),i.get("/json/huangdao.json").then((({data:e})=>{(new ol.format.GeoJSON).readFeatures(e)[0]})),La(),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(k.currentRoute.value.path,!0)}()})),r((()=>{"false"==localStorage.getItem(k.currentRoute.value.path)?(document.querySelector(".mode").style.display="block",document.querySelector(".mode").innerText="地图模式"):(document.querySelector(".mode").style.display="block",document.querySelector(".mode").innerText="列表模式");for(var e=document.querySelectorAll(".alerDiv"),a=0;a<e.length;a++){e[a].style.display="block"}})),n((()=>ta.value),((e,a)=>{O.value=window.localStorage.getItem("divisions"),Na(O.value,ta.value.name),Fa(O.value,ta.value.name),Da(O.value,ta.value.name)}));let ya=t(null);t(null),t(null);let va=t(null),fa=t(null),ba=[{"海青镇":[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 wa(e,a,l,o){let r=[];var n=new ol.geom.Point(e.coordinate),i=new ol.supermap.QueryByGeometryParameters({queryParams:{name:a},geometry:n});let s=document.querySelector("#popup-title"),u=t(null),d=t(null);new ol.supermap.QueryService(l).queryByGeometry(i,(function(e){d=ya.getLayers().getArray().find((e=>"zhezhao"===e.get("id"))),ya.removeLayer(d);let a="";if("镇"==o&&e.result.recordsets[0].features.features[0].properties.XJQYDM){let l=e.result.recordsets[0].features.features[0].properties.XJQYDM;O.value=l;let o=[];U({divisions:"370211",yearMonth:ta.value.name,type:"玉米"}).then((e=>{e.data.forEach((e=>{e.subregion==l&&(a=e.subName,o.push(e))})),la.value=o,t()}))}else if("高标准"==o&&e.result.recordsets[0].features.features[0].properties.DKMC){let l=e.result.recordsets[0].features.features[0].properties.DKMC,o=[];Q({yearMonth:ta.value.name,type:"玉米"}).then((e=>{e.data.forEach((e=>{e.subName==l&&o.push(e)})),a=l,la.value=o,t()}))}function t(){if(e.result.currentCount>0){e.result.recordsets[0].features&&(fa.setPosition(n.flatCoordinates),s.innerHTML=a),u=ya.getLayers().getArray().find((e=>"dianjigaoliang"===e.get("id"))),ya.removeLayer(u);var t=(new ol.format.GeoJSON).readFeatures(e.result.recordsets[0].features);r=e.result.recordsets[0].features.features[0].geometry.coordinates,Sa(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 o=new ol.layer.Vector({id:"dianjigaoliang",source:l,zIndex:9999});o.setStyle(c),ya.addLayer(o);for(var i=document.querySelectorAll(".alerDiv"),d=0;d<i.length;d++){i[d].style.display="none"}}}})),va.addEventListener("click",(function(){d=ya.getLayers().getArray().find((e=>"zhezhao"===e.get("id"))),ya.removeLayer(d),xa(r),O.value=window.localStorage.getItem("divisions"),u=ya.getLayers().getArray().find((e=>"dianjigaoliang"===e.get("id"))),ya.removeLayer(u),fa.setPosition(void 0);for(var e=document.querySelectorAll(".alerDiv"),a=0;a<e.length;a++){e[a].style.display="block"}}))}function Sa(e,a,t,l){let o=new ol.source.Vector;var r=new ol.layer.Vector({id:a||"zhezhao",source:o,zIndex:l||50,style:new ol.style.Style({fill:new ol.style.Fill({color:t||"rgba( 105, 105, 105, 0.9)"})})});const n=xa(e),i=new ol.Feature({geometry:n});r.getSource().addFeature(i),ya.addLayer(r)}function xa(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 La=()=>{document.getElementById("popup"),document.getElementById("popup-content"),va=document.getElementById("popup-closer"),fa=new ol.Overlay({element:document.getElementById("popup"),positioning:"bottom-center",stopEvent:!0,offset:[0,-10]}),ya.addOverlay(fa)};let za=()=>{document.querySelector(".tool").style.display="none",ka(),ga.setVisible(!1),Aa();["2019-2022gaobiaozhunnongtian","gbz","dianjigaoliang","dianjigaoliangs","gao","zhezhao"].forEach((e=>{ya.getLayers().getArray().forEach(((a,t)=>{a.A.name!=e&&a.A.id!=e||ya.getLayers().removeAt(t)}))})),ya.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=()=>{ga=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}),ya.addLayer(ga)},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});ya.addLayer(e)};const Ea=e=>{ua.value=e,e?Pa():(Wa(),Ga())};const _a=()=>{M.value=!M.value;const e=Ke.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()},Ca=()=>{ha.value.year=ma.value,ha.value.statistical="镇",ha.value.droughtRating="玉米",ha.value.area=He.value,qa()},Oa=e=>{aa.value=sa.value.slice((e-1)*ia.value,e*ia.value)},ja=()=>{J({type:"玉米"}).then((e=>{ma.value={name:e.data[0]},ta.value={name:e.data[e.data.length-1]},ee.value=e.data;let a=[];e.data.forEach((e=>{a.push({name:e})})),ha.value.time=e.data[e.data.length-1],sa.value=a,ra.value=Math.ceil(sa.value.length/5),na=Math.ceil(a.length/5),aa.value=sa.value.slice((na-1)*ia.value,na*ia.value),qa()}))},Na=(e,a)=>{R({divisions:e,yearMonth:a,type:"玉米"}).then((e=>{q.value=e.data,Pa()}))},Fa=(e,a)=>{Q({divisions:e,yearMonth:a,type:"玉米"}).then((e=>{V.value=e.data,e.data.length>0&&Wa()}))},Da=(e,a)=>{U({divisions:e,yearMonth:a,type:"玉米"}).then((e=>{I.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=[];ba.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 o=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 r=new ol.Overlay({element:o,autoPan:!0,positioning:"bottom-center",stopEvent:!0,offset:[0,-10],autoPanAnimation:{duration:250}});ya.addOverlay(r),r.setPosition(e.weizhi)}))}))},Va=()=>{let e=JSON.parse(JSON.stringify(pa.value[0]));T.value.push(e),Ia(T.value,"玉米面积统计表","Sheet1")},qa=()=>{Je.value=1,$({year:ha.value.time,statistical:ha.value.statistical,type:ha.value.droughtRating,area:ha.value.area}).then((e=>{Xe.value=[{lable:"地区",value:"subName"},{lable:"单产量(公斤/亩)",value:"wheatUnitOutputValue"},{lable:"总产量(吨)",value:"wheatOutput"}],Ye.value=[{lable:"",value:"subName"},{lable:"单产量(公斤/亩)",value:"wheatUnitOutputValue"},{lable:"总产量(吨)",value:"wheatOutput"}],Ze.value=!1,T.value=e.data,$e.value=e.data.slice((Je.value-1)*Re.value,(Je.value-1)*Re.value+Re.value),pa.value[0].wheatUnitOutputValue=0,pa.value[0].wheatOutput=0,pa.value[0].subName="合计",e.data.forEach((a=>{a.wheatUnitOutputValue&&(pa.value[0].wheatUnitOutputValue+=NaN!==Number(a.wheatUnitOutputValue)?Number(a.wheatUnitOutputValue)/e.data.length:0),a.wheatOutput&&(pa.value[0].wheatOutput+=NaN!==Number(a.wheatOutput)?Number(a.wheatOutput):0)}));for(const l in pa.value[0])"合计"!==pa.value[0][l]&&(pa.value[0][l]=pa.value[0][l].toFixed(2));const a=Ke.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()}))},Ia=(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:"总产量(吨)"}),o=P.json_to_sheet(l),r=P.book_new();P.book_append_sheet(r,o,t),W(r,`${a}.xlsx`)},Ta=e=>{Je.value=e,$e.value=T.value.slice((Je.value-1)*Re.value,(Je.value-1)*Re.value+Re.value)},Ma=e=>e+1+(Je.value-1)*Re.value,Ba=e=>{ta.value=e};function Pa(){const e=Z(E.value);let a={xData:[],yData:[{data:[]},{data:[]}],yData2:[{data:[]},{data:[]}]};q.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:"5%",textStyle:{color:"#666666"},itemWidth:15,itemHeight:10,itemGap:25},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(E.value,(()=>{s((()=>{e.resize()}))}))}function Wa(){const e=Z(_.value);let a=[],t=[],l=[];V.value.forEach((e=>{a.push(e.subName),t.push(e.wheatUnitOutputValue),l.push(e.wheatOutput)}));let o={tooltip:{trigger:"axis",formatter:function(e,a,t){for(var l=e[0].name,o=0,r=e.length;o<r;o++)"line"===e[o].seriesType?l+="<br/>"+e[o].seriesName+" : "+(e[o].value?e[o].value:"-")+"h":l+="<br/>"+e[o].seriesName+" : "+(e[o].value?e[o].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 o=0;o<l;o++){var r=5*o,n=r+5;a+=e.substring(r,n)+"\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="",o="",r="";t=`${serverAPI.geoserverUrl}/data-2019-2022gaobiaozhunnongtian/rest/data`,a=e,l="T2019_2022高标准农田片区",o="2019-2022gaobiaozhunnongtian",r="DKMC";var n=new ol.supermap.GetFeaturesBySQLParameters({queryParameter:{name:`${l}@${o}`,attributeFilter:`DKMC like '%${a}%'`},datasetNames:[`${o}:${l}`]});new ol.supermap.FeatureService(t).getFeaturesBySQL(n,(function(e){if(0!=e.result.featureCount){var a=ya.getLayers().getArray().find((e=>"zhezhao"===e.get("id")));ya.removeLayer(a);var t=ya.getLayers().getArray().find((e=>"dianjigaoliang"===e.get("id")));ya.removeLayer(t);var l=ya.getLayers().getArray().find((e=>"gbz"===e.get("id")));ya.removeLayer(l);var o=ya.getLayers().getArray().find((e=>"dianjigaoliangs"===e.get("id")));ya.removeLayer(o);var r=(new ol.format.GeoJSON).readFeatures(e.result.features);Sa(e.result.features.features[0].geometry.coordinates,"gbz","rgba( 105, 105, 105, 1)",9999);var n=new ol.source.Vector;n.addFeatures(r);const s=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgba(85, 255, 255, 1.0)",width:2})});var i=new ol.layer.Vector({id:"dianjigaoliang",source:n});i.setStyle(s),ya.addLayer(i),ya.getView().fit(n.getExtent())}}))}(e.name),a.forEach((e=>{ya.getLayers().getArray().forEach(((a,t)=>{a.A.name==e&&ya.getLayers().removeAt(t)}))})),["2019-2022gaobiaozhunnongtian"].forEach((e=>{ya.getLayers().getArray().forEach(((a,t)=>{a.A.name==e&&ya.getLayers().removeAt(t)}))}));for(var t=document.querySelectorAll(".alerDiv"),l=0;l<t.length;l++){t[l].style.display="none"}let r=ya.getLayers().getArray().find((e=>"gbz"===e.get("id")));ya.removeLayer(r);var o=ya.getLayers().getArray().find((e=>"dianjigaoliang"===e.get("id")));ya.removeLayer(o);o=ya.getLayers().getArray().find((e=>"dianjigaoliangs"===e.get("id")));ya.removeLayer(o),ga=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}),ya.addLayer(ga)}})),o&&e.setOption(o,{notMerge:!0,grid:{bottom:20}}),G(e,o),H().listenTo(_.value,(()=>{s((()=>{e.resize()}))}))}function Ga(){const e=Z(C.value);I.value.sort(((e,a)=>e.subName.length-a.subName.length));let a=[],t=[],l=[];I.value.forEach((e=>{a.push(e.subName),t.push(e.wheatUnitOutputValue),l.push(e.wheatOutput)}));let o=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,o=0,r=e.length;o<r;o++)"line"===e[o].seriesType?l+="<br/>"+e[o].seriesName+" : "+(e[o].value?e[o].value:"-")+"h":l+="<br/>"+e[o].seriesName+" : "+(e[o].value?e[o].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:o,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 o=0;o<l;o++){var r=5*o,n=r+5;a+=e.substring(r,n)+"\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(C.value,(()=>{s((()=>{e.resize()}))}))}function Ua(){const e=Z(Ke.value);let a=[],t=[],l=[];T.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 o=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,o=0,r=e.length;o<r;o++)"line"===e[o].seriesType?l+="<br/>"+e[o].seriesName+" : "+(e[o].value?e[o].value:"-")+"h":l+="<br/>"+e[o].seriesName+" : "+(e[o].value?e[o].value:"-");return l}},grid:{top:"5%",bottom:"20%"},dataZoom:[{type:"slider",width:"40%",zoomLock:!0,top:"85%",start:0,end:o,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}]})}function Qa(){if(N.value.lon&&N.value.lat){const a=Cesium.Cartesian3.fromDegrees(Number(N.value.lon),Number(N.value.lat),0);var e=Cesium.SceneTransforms.wgs84ToWindowCoordinates(A.scene,a);if(Cesium.defined(e)){const a=document.getElementById("pop");a.style.top=e.y-10+"px",a.style.left=e.x+10+"px"}}}function Ja(){XZDM="",XZQDM="";document.getElementById("pop").style.display="none",O.value="370211",A.scene.postRender.removeEventListener(Qa),deleteEntityByName("townLine")}return t({}),(e,a)=>{const t=u("el-icon"),l=u("el-tooltip"),o=u("el-button"),r=u("el-option"),n=u("el-select"),i=u("el-form-item"),s=u("el-form"),k=u("el-table-column"),j=u("el-table"),V=u("el-pagination");return d(),c("div",ae,[p("div",te,[le,p("div",oe,[p("div",{class:"tool",onClick:a[0]||(a[0]=e=>m(za)())},re),p("div",ne,[p("div",{class:h(m(ua)?"tabarS":""),onClick:a[1]||(a[1]=e=>Ea(!0))},"黄岛区",2),p("div",{class:h(m(ua)?"":"tabarS"),onClick:a[2]||(a[2]=e=>Ea(!1))},"行政区",2)]),g(p("div",ie,[p("div",se,[ue,de,p("p",{onClick:a[3]||(a[3]=e=>{R({divisions:O.value,yearMonth:ta.value.name,whetherToDownload:!0,type:"玉米"}).then((e=>{Y(e.data[e.data.length-1].excelPath)}))})},[v(" 下载 "),ce])]),p("div",{ref_key:"areaDiv",ref:E,class:"areaDiv"},null,512)],512),[[y,m(ua)]]),g(p("div",pe,[p("div",me,[he,ge,m(da)?(d(),c("p",{key:0,onClick:a[4]||(a[4]=e=>{Q({yearMonth:ta.value.name,type:"玉米"}).then((e=>{Ia(e.data,"高标准农田","Sheet1")}))})},[v(" 下载 "),ye])):f("",!0)]),g(p("div",{ref_key:"farmlandDiv",ref:_,class:"farmlandDiv"},null,512),[[y,m(da)]]),m(da)?f("",!0):(d(),c("div",ve,fe))],512),[[y,!m(ua)]]),g(p("div",be,[p("div",we,[Se,xe,p("p",{onClick:a[5]||(a[5]=e=>{""===O.value?U({yearMonth:ta.value.name,type:"玉米"}).then((e=>{Ia(e.data,"作物产量预估-行政区划","Sheet1")})):X({divisions:O.value,yearMonth:ta.value.name,type:"玉米"}).then((e=>{Ia(e.data,"作物产量预估-行政区划","Sheet1")}))})},[v(" 下载 "),Le])]),p("div",{ref_key:"ASdivisionDiv",ref:C,class:"ASdivision"},null,512)],512),[[y,!m(ua)]]),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((()=>[ze])),_: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((()=>[ke])),_:1}))])),_:1},8,["disabled"])])]),p("div",Ae,[m(aa).length>0?(d(),S(B,{key:0,dataSource:m(aa),onDataHandle:Ba,allCount:m(ra),onGetcurrentPage:Oa},null,8,["dataSource","allCount"])):f("",!0)]),Ee,p("div",_e,[Ce,p("div",Oe,[(d(!0),c(x,null,L(m(la),((e,a)=>(d(),c("p",{key:a},[je,p("span",null,z(e.wheatUnitOutputValue)+"(公斤/亩)",1)])))),128)),(d(!0),c(x,null,L(m(la),((e,a)=>(d(),c("p",{key:a},[Ne,p("span",null,z(e.wheatOutput)+"(吨)",1)])))),128))]),Fe]),p("div",De,[p("div",null,[p("div",Ve,[qe,p("span",null,z(m(ea)),1)]),(d(!0),c(x,null,L(N.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(N.value.info,((e,a)=>(d(),c("div",{key:a,class:"rowWra"},[Te,p("span",null,z(e.wheatOutput)+"亩",1)])))),128))]),p("div",{class:"cancel",onClick:Ja},"X")]),F.value?(d(),S(o,{key:0,class:"back_button",onClick:a[7]||(a[7]=e=>(deleteEntityByName("townLine"),deleteEntityByName("villageLine"),A.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),void(F.value=!1)))},{default:w((()=>[v("返回")])),_:1})):f("",!0)]),p("div",Me,[p("div",Be,[b(s,{inline:!0,model:m(ha),class:"demo-form-inline"},{default:w((()=>[b(i,{label:"时间:"},{default:w((()=>[b(n,{"popper-class":"selectCity",modelValue:m(ha).time,"onUpdate:modelValue":a[8]||(a[8]=e=>m(ha).time=e),placeholder:"请选择"},{default:w((()=>[(d(!0),c(x,null,L(m(ee),((a,t)=>(d(),S(r,{key:t,label:e.Zitem,value:a},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),b(i,{label:"统计方式:"},{default:w((()=>[b(n,{"popper-class":"selectCity",modelValue:m(ha).statistical,"onUpdate:modelValue":a[9]||(a[9]=e=>m(ha).statistical=e),placeholder:"请选择"},{default:w((()=>[b(r,{label:"镇级",value:"镇"}),m(da)?(d(),S(r,{key:0,label:"高标准农田",value:"高标准农田"})):f("",!0)])),_:1},8,["modelValue"])])),_:1}),b(i,{label:"作物种类"},{default:w((()=>[b(n,{modelValue:m(ha).droughtRating,"onUpdate:modelValue":a[10]||(a[10]=e=>m(ha).droughtRating=e),"popper-class":"selectCity",placeholder:"请选择"},{default:w((()=>[b(r,{label:"玉米",value:"玉米"})])),_:1},8,["modelValue"])])),_:1}),b(i,null,{default:w((()=>[b(o,{type:"primary",onClick:qa},{default:w((()=>[v("查询")])),_:1}),b(o,{plain:"",onClick:Ca,disabled:!m(M)},{default:w((()=>[v(" 重置 ")])),_:1},8,["disabled"]),m(Ze)?f("",!0):(d(),S(o,{key:0,type:"primary",text:"",onClick:Va},{default:w((()=>[Pe,v(" 下载 ")])),_:1}))])),_:1})])),_:1},8,["model"]),p("div",{class:"modeDiv",onClick:_a},[p("div",{class:h(m(M)?"Selected":"")},"表格模式",2),p("div",{class:h(m(M)?"":"Selecteds")},"图表模式",2)])]),g(p("div",We,[p("div",Ge,[m(Ze)?f("",!0):(d(),S(j,{key:0,data:m(pa),"header-cell-style":{"text-align":"center"},style:{width:"100%"},"highlight-current-row":"","header-row-class-name":"tabth"},{default:w((()=>[b(k,{align:"center",prop:"合计",width:"80"}),(d(!0),c(x,null,L(m(Ye),((e,a)=>(d(),S(k,{key:a,prop:e.value,label:e.lable,align:"center"},null,8,["prop","label"])))),128))])),_:1},8,["data"]))]),b(j,{data:m($e),"header-cell-style":{"text-align":"center"},height:"80%","highlight-current-row":"","header-row-class-name":"tabth"},{default:w((()=>[b(k,{type:"index",width:"80",align:"center",label:"序号",index:Ma}),(d(!0),c(x,null,L(m(Xe),((e,a)=>(d(),S(k,{key:a,prop:e.value,label:e.lable,align:"center"},null,8,["prop","label"])))),128))])),_:1},8,["data"]),p("div",Ue,[v(" 共"+z(T.value.length)+"条 ",1),b(V,{background:"",layout:"prev, pager, next",total:T.value.length,"current-page":m(Je),"page-size":m(Re),onCurrentChange:Ta},null,8,["total","current-page","page-size"])])],512),[[y,m(M)]]),g(p("div",Qe,[p("div",{ref_key:"chartModeDiv",ref:Ke,class:"chartModeDiv"},null,512)],512),[[y,!m(M)]])])])}}},[["__scopeId","data-v-12c4a8d4"]]);export{Je as default};
|