3 lines
56 KiB
JavaScript
3 lines
56 KiB
JavaScript
|
import{_ as Za,u as Ka,r as h,I as va,a2 as Z,x as et,H as at,aa as tt,S as Ye,d as N,o as z,c as I,l as d,O as $e,f as m,K,M as ee,n as B,m as T,k as W,w as $,V as ae,W as te,e as A,N as ot,A as Ee,a8 as rt,q as lt,s as nt}from"./index.064676a5.js";import Ae from"./downloads.e955445d.js";import{_ as it}from"./qx.88a5ecd3.js";import{_ as st,a as ut}from"./zhankaiss.6870329f.js";import{_ as dt}from"./fh.7489c25e.js";import{_ as wa}from"./dow.b4b83e88.js";import{d as Ce}from"./download.fe7036ba.js";import"./index.2809c208.js";import"./linesGL.76a64914.js";import{T as ct}from"./TimeLine.b15d4f73.js";import{u as fe}from"./useEcharts.c88e6744.js";import{g as Ue,c as ft,d as Me,a as ba,e as Le,f as ya,h as gt,i as ht,j as mt}from"./classify.6293b435.js";import{u as Xe,w as pt}from"./xlsx.881b8a71.js";import{e as He}from"./element-resize-detector.d4d1cd8d.js";import"./moment.2cad4b18.js";import{ai as G,aj as V}from"./linkSeriesData.e74eae00.js";/* empty css */import"./browser-detector.d146ab9e.js";const M=ge=>(lt("data-v-bb59c22b"),ge=ge(),nt(),ge),vt={class:"fatherDiv"},bt={class:"centerBox"},yt=M(()=>d("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),wt={class:"rightWra"},St={class:"tabar"},_t={class:"rightTop"},xt={class:"title"},kt=M(()=>d("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),zt=M(()=>d("span",null,"\u4F5C\u7269\u5206\u7C7B\u9762\u79EF\u7EDF\u8BA1",-1)),$t=M(()=>d("img",{src:Ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Et={key:0,class:"rightbottom"},Ct={class:"title"},Mt=M(()=>d("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),Lt=M(()=>d("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1",-1)),At=M(()=>d("img",{src:Ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Wt={class:"rightTop"},Nt={class:"title"},Tt=M(()=>d("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),Dt=M(()=>d("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530",-1)),It=M(()=>d("img",{src:Ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Bt={key:0},Ot=M(()=>d("img",{src:it},null,-1)),jt=[Ot],Pt={class:"rightbottom"},qt={class:"title"},Vt=M(()=>d("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),Ft=M(()=>d("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),Gt=M(()=>d("img",{src:Ae,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Rt={class:"el_select_div"},Qt=M(()=>d("img",{src:st},null,-1)),Jt=M(()=>d("img",{src:ut},null,-1)),Yt=M(()=>d("img",{src:dt},null,-1)),Ut=M(()=>d("span",null,"\u8FD4\u56DE",-1)),Xt=[Yt,Ut],Ht={class:"mt-4"},Zt={class:"bottom_center"},Kt=M(()=>d("div",{id:"pop"},null,-1)),eo={id:"popup",class:"ol-popup"},ao=M(()=>d("div",{class:"pophead",style:{width:"100%"}},[d("div",{id:"popup-title",style:{"font-size":"20px","font-weight":"400","letter-spacing":"1px","line-height":"42px","padding-left":"20px","border-radius":"8px",margin:"20px",background:"rgba(100, 195, 164, 0.05)"}}),d("a",{href:"#",id:"popup-closer",class:"ol-popup-closer"})],-1)),to={id:"popup-content",style:{padding:"30px"}},oo={class:"label"},ro=M(()=>d("div",{id:"popup-pagination"},null,-1)),lo={class:"tabulation"},no={class:"searchDiv"},io=M(()=>d("img",{src:wa,alt:""},null,-1)),so=M(()=>d("img",{src:wa,alt:""},null,-1)),uo={class:"tableBox"},co={class:"tableBorder"},fo=["onClick"],go=["onClick"],ho={class:"example-pagination-block"},mo={class:"chartMode"},po={__name:"Classify",setup(ge){const We=Ka();let Sa=h(null);const he=h(null),oe=h(null),Ne=h(null),me=h(null),Te=h(null);let O=va({arr:[],brr:[],crr:[]}),De=h([]);const C=h("");C.value=window.localStorage.getItem("divisions");let ie=h("\u884C\u653F\u533A\u5212"),_a=h([]);const Ze=h(!1);let R=h(!1),q=h(!0),Q=h(1),F=h
|
||
|
`,c+=S}return c}else return i}},axisTick:{show:!1}}],yAxis:{name:"\u9762\u79EF(\u4EA9)",nameTextStyle:{color:"rgba(153, 153, 153, 1)",fontSize:14},type:"value",axisLabel:{color:" rgba(153, 153, 153, 1)"},splitLine:{lineStyle:{type:"dashed",color:"rgba(235, 238, 245, 1)"},show:!0},minInterval:1,axisLine:{show:!1},axisTick:{show:!1}},dataZoom:[{show:e,zoomLock:!0,type:"slider",realtime:!0,startValue:0,endValue:14,xAxisIndex:[0],bottom:"10",left:"30",height:10,borderColor:"rgba(0,0,0,0)",textStyle:{color:"#05D5FF"}}],series:[{type:"bar",data:o,barWidth:"15",itemStyle:{normal:{color:new V(0,0,0,1,[{offset:0,color:"rgba(255, 142, 67, 1)"},{offset:.98,color:"rgba(255, 142, 67, 0.4)"}],!1),shadowColor:"rgba(255, 142, 67, 1)",shadowBlur:4,borderRadius:[5,5,0,0]}}}]};fe(t,r),He().listenTo(he.value,()=>{Ye(()=>{t.resize()})})}}Z(()=>[oe.value,xe.value],()=>{oe.value&&xe.value&&ha()});function ha(){const r=G(oe.value);let t=o(_e.arr,0);r.clear(),r.setOption(t);function n(e,a,i,c,u,v){const g=(e+a)/2,y=e*Math.PI*2,S=a*Math.PI*2,s=g*Math.PI*2;e===0&&a===1&&(i=!1),u=typeof u<"u"?u:1/3;const w=i?Math.cos(s)*.1:0,_=i?Math.sin(s)*.1:0,l=c?1.05:1;return{u:{min:-Math.PI,max:Math.PI*3,step:Math.PI/32},v:{min:0,max:Math.PI*2,step:Math.PI/20},x(p,x){return p<y?w+Math.cos(y)*(1+Math.cos(x)*u)*l:p>S?w+Math.cos(S)*(1+Math.cos(x)*u)*l:w+Math.cos(p)*(1+Math.cos(x)*u)*l},y(p,x){return p<y?_+Math.sin(y)*(1+Math.cos(x)*u)*l:p>S?_+Math.sin(S)*(1+Math.cos(x)*u)*l:_+Math.sin(p)*(1+Math.cos(x)*u)*l},z(p,x){return p<-Math.PI*.5?Math.sin(p):p>Math.PI*2.5?Math.sin(p)*v*.1:Math.sin(x)>0?1*v*.1:-1}}}function o(e,a){const i=[];let c=0,u=0,v=0;const g=[],y=typeof a<"u"?(1-a)/(1+a):1/3;for(let s=0;s<e.length;s+=1){c+=e[s].value;const w={name:typeof e[s].name>"u"?`series${s}`:e[s].name,type:"surface",parametric:!0,wireframe:{show:!1},pieData:e[s],pieStatus:{selected:!1,hovered:!1,k:y}};if(typeof e[s].itemStyle<"u"){const{itemStyle:_}=e[s];typeof e[s].itemStyle.color<"u"&&(_.color=e[s].itemStyle.color),typeof e[s].itemStyle.opacity<"u"&&(_.opacity=e[s].itemStyle.opacity),w.itemStyle=_}i.push(w)}for(let s=0;s<i.length;s+=1)v=u+i[s].pieData.value,i[s].pieData.startRatio=u/c,i[s].pieData.endRatio=v/c,i[s].parametricEquation=n(i[s].pieData.startRatio,i[s].pieData.endRatio,!1,!1,y,i[s].pieData.value===i[0].pieData.value?35:10),u=v,g.push(i[s].name);return{legend:{show:!0,bottom:30,textStyle:{color:"rgba(51, 51, 51, 1)"}},tooltip:{formatter:s=>{if(s.seriesName!=="mouseoutSeries"){let w="";return _e.arr.forEach(_=>{_.name==s.seriesName&&(w=_.area)}),`<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:${s.color};"></span>${s.seriesName}:${Number(w)}\u4EA9`}return""}},xAxis3D:{min:-1.5,max:1.5},yAxis3D:{min:-1.5,max:1.5},zAxis3D:{min:-1.5,max:1.5},grid3D:{show:!1,boxHeight:5,top:"-10%",viewControl:{alpha:35,beta:30,rotateSensitivity:1,zoomSensitivity:0,panSensitivity:0,autoRotate:!1,distance:300},postEffect:{enable:!0,bloom:{enable:!0,bloomIntensity:.1},SSAO:{enable:!0,quality:"medium",radius:2}}},series:i}}fe(r,t)}function Qe(){const r=G(Ne.value);let t=[];for(const e in D)L[e].forEach(a=>{a&&t.push(e)});let n={grid:{left:"10%",right:"0%",bottom:"0%",top:"10%",containLabel:!1},legend:{show:!0,top:"0px",itemGap:5,textStyle:{fontSize:12,color:"rgba(153, 153, 153, 1)"},itemWidth:5,itemHeight:5,data:t},tooltip:{formatter:function(e){let a=0;return ga.value.forEach(i=>{i.name==e.seriesName&&i.region==e.name&&(a=i.area)}),e.seriesName+'<span style="font-size: 14px; color: #f00;">'+a+"</span>\u4EA9"}},xAxis:{type:"value",max:500,show:!1,axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1}},yAxis:{type:"category",inverse:!0,offset:-160,splitLine:{show:!1},axisTick:{show:!1},axisLine:{show:!1},axisLabel:{interval:0,color:"rgba(51, 51, 51, 1)",fontSize:14,verticalAlign:"bottom",lineHeight:42},data:aa},dataZoom:[{type:"slider",show:!1,zoomLock:!0,width:8,yAxisIndex:[0],bottom:30,top:20,right:10,startValue:0,endValue:4,handleIcon:"M-292,322.2c-3.2,0-6.4-0.6-9.3-1.9c-2.9-1.2-5.4-2.9-7.6-5.1s-3.9-4.8-5.1-7.6c-1.3-3-1.9-6.
|