2023-09-21 17:37:29 +08:00
|
|
|
import{L as _,_ as wt,r as p,D as Ye,Y as St,t as Et,C as Bt,d as z,o as x,c as U,k as r,e as g,w as C,f as s,l as G,K as qe,G as Ve,H as Xe,Q as He,R as Ze,j as ce,x as W,m as Z,A as It,Z as fe,a6 as Lt,N as je,p as xt,q as Mt}from"./index.57224d07.js";import{_ as Re}from"./close1.62ba8f4e.js";import{_ as Nt,a as Wt}from"./zhankaiss.dd067ea4.js";import{_ as kt,a as Pt,b as Tt,c as Ot}from"./position.3b2b2301.js";import{_ as Ut,a as Gt}from"./face.9a19de2e.js";import"./index.b8675889.js";/* empty css */import{h as $}from"./moment.9709ab41.js";import{u as Qt}from"./useEcharts.c43bfe26.js";import{b as zt}from"./classify.ed1bd2aa.js";import"./linesGL.901ceb35.js";import"./browser-detector.e77caf03.js";import{i as Yt}from"./install.5b5161c6.js";function Fe(M){return _({url:"equipment/typhoon",method:"get",params:M})}function qt(M){return _({url:"equipment/year",method:"get",params:M})}function Vt(M){return _({url:"equipment/windPower",method:"get",params:M})}function Xt(M){return _({url:"equipment/typhoonDamageSave",method:"get",params:M})}function Ne(M){return _({url:"equipment/typhoonDamageSelect",method:"get",params:M})}function Ht(M){return _({url:"equipment/typhoonDamageDelete",method:"get",params:M})}function Zt(M){return _({url:"equipment/typhoonDamage",method:"get",params:M})}const L=M=>(xt("data-v-e8bf2735"),M=M(),Mt(),M),jt={class:"center"},Ft=L(()=>r("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Rt={class:"leftWra"},Kt={key:0,src:Re,alt:""},Jt={key:0,class:"imgrotate",src:Re,alt:""},_t={class:"rightWra"},$t={class:"tabar"},ea={class:"leftTop"},ta={class:"tabulation"},aa={class:"title"},ra=L(()=>r("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),la=L(()=>r("span",null,"\u53F0\u98CE\u5217\u8868",-1)),oa={class:"tableDiv"},ia={class:"tabulation"},sa={class:"title"},na=L(()=>r("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),ua={class:"rightTop"},da=L(()=>r("div",{class:"title"},[r("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}}),r("span",null,"\u53F0\u98CE\u707E\u635F\u9884\u6D4B\u7ED3\u679C")],-1)),ma={class:"farmlandDiv"},pa={class:"farmlandHeader"},ca=L(()=>r("br",null,null,-1)),fa=["onClick"],ga=["onClick"],ha=L(()=>r("img",{src:Nt},null,-1)),Ca=L(()=>r("img",{src:Wt},null,-1)),ya=It('<div class="tool" data-v-e8bf2735><span data-v-e8bf2735><img src="'+kt+'" alt="" data-v-e8bf2735></span><span data-v-e8bf2735><img src="'+Pt+'" alt="" data-v-e8bf2735></span><span data-v-e8bf2735><img src="'+Tt+'" alt="" data-v-e8bf2735></span><span data-v-e8bf2735><img src="'+Ut+'" alt="" data-v-e8bf2735></span><span data-v-e8bf2735><img src="'+Gt+'" alt="" data-v-e8bf2735></span><span data-v-e8bf2735><img src="'+Ot+'" alt="" data-v-e8bf2735></span></div>',1),va={key:0,id:"popup"},Aa={key:0},ba=L(()=>r("span",null,"\u540D\u79F0\uFF1A",-1)),Da={key:1},wa=L(()=>r("span",null,"\u5F53\u524D\u4F4D\u7F6E\uFF1A",-1)),Sa={key:2},Ea=L(()=>r("span",null,"\u65F6\u95F4\uFF1A",-1)),Ba={key:3},Ia=L(()=>r("span",null,"\u6C14\u538B\uFF1A",-1)),La={key:4},xa=L(()=>r("span",null,"\u6700\u5927\u98CE\u901F\uFF1A",-1)),Ma={key:5},Na=L(()=>r("span",null,"\u98CE\u529B\uFF1A",-1)),Wa={id:"pop"},ka={key:0},Pa=L(()=>r("div",null,"\u6751\u540D\uFF1A",-1)),Ta={class:"frameDiv"},Oa={class:"dialog-footer"},Ua={class:"detailsDiv"},Ga={class:"center"},Qa=L(()=>r("span",null,"\u53F0\u98CE\u540D\u79F0",-1)),za=L(()=>r("span",null,"\u9884\u8BA1\u6210\u707E\u9762\u79EF\uFF08\u5355\u4F4D\uFF1A\u516C\u9877\uFF09",-1)),Ya=L(()=>r("span",null,"\u4F4D\u7F6E",-1)),qa=L(()=>r("span",null,"\u9884\u8BA1\u53D7\u5F71\u54CD\u4EBA\u53E3\uFF08\u5355\u4F4D\uFF1A\u4EBA\uFF09",-1)),Va=L(()=>r("span",null,"\u9884\u8BA1\u7ECF\u6D4E\u635F\u5931\uFF08\u5355\u4F4D\uFF1A\u4E07\u5143\uFF09",-1)),Xa=L(()=>r("span",null,"\u9884\u8BA1\u53D7\u707E\u9762\u79EF\uFF08\u5355\u4F4D\uFF1A\u516C\u9877\uF
|
2023-09-19 14:34:21 +08:00
|
|
|
\u7EBF`,font:"6pt\xA0Source\xA0Han\xA0Sans\xA0CN",fillColor:Cesium.Color.BLUE}});let i=[],u=[],h=[],A=[],V=[],me=[];if(l)for(const Y of l){let K=function(t,e,I,n,B,X,Q){if(n.length>1){let w=Math.max(...n),c=Math.min(...n),o=Math.max(...B),b=Math.min(...B),S=w-c,f=o-b;if(S>=f){let d=S/2,y=new Cesium.Rectangle.fromDegrees(c-d,b,w+d,o);t.camera.flyTo({destination:y})}else{let d=f/2,y=new Cesium.Rectangle.fromDegrees(c,b-d,w,o+d);t.camera.flyTo({destination:y})}}else t.camera.flyTo({destination:Cesium.Cartesian3.fromDegrees(n[0],B[0],1e6)});t.clock.shouldAnimate=!0;const H=Cesium.JulianDate.fromDate(new Date(2015,2,25,16)),Be=Cesium.JulianDate.addSeconds(H,e.length,new Cesium.JulianDate);t.clock.startTime=H.clone(),t.clock.stopTime=Be.clone(),t.clock.currentTime=H.clone(),t.clock.multiplier=5;const Qe=J(H,e),pe=t.entities.add({name:"\u53F0\u98CE\u8DEF\u5F84",availability:new Cesium.TimeIntervalCollection([new Cesium.TimeInterval({start:H,stop:Be})]),show:!0,position:Qe,orientation:new Cesium.VelocityOrientationProperty(Qe),path:{show:!0,leadTime:0,width:2,resolution:1,material:Cesium.Color.SLATEGREY},label:{text:e[0].name,font:"normal\xA06px\xA0SimHei",fillColor:Cesium.Color.BLACK,backgroundColor:Cesium.Color.AQUA,showBackground:!0,style:Cesium.LabelStyle.FILL_AND_OUTLINE,verticalOrigin:Cesium.VerticalOrigin.BOTTOM,horizontalOrigin:Cesium.HorizontalOrigin.LEFT,pixelOffset:new Cesium.Cartesian2(-50,-6)},billboard:{image:Te,scale:.9,rotation:0,show:!0,width:48,height:48,disableDepthTestDistance:Number.POSITIVE_INFINITY,heightReference:Cesium.HeightReference.RELATIVE_TO_GROUND}});pe.addProperty("imageClock");var ze=0;pe.imageClock=setInterval(function(){parseInt(t.clock.currentTime.secondsOfDay)<=t.clock.stopTime.secondsOfDay&&(ze+=.1,pe.billboard.rotation=ze)},20);const oe=[];t.entities.add({name:"taifeng",availability:new Cesium.TimeIntervalCollection([new Cesium.TimeInterval({start:H,stop:Be})]),show:!0,position:new Cesium.CallbackProperty(function(w,c){let o=parseInt(Cesium.JulianDate.secondsDifference(w,H));if(oe.length===0||o!==oe[oe.length-1]){if(oe.length===0){let y=Cesium.Cartesian3.fromDegrees(parseFloat(e[0].fLongitude),parseFloat(e[0].fLatitude),3e4),N;switch(e[o].strong){case"\u70ED\u5E26\u98CE\u66B4(TS)":N=new Cesium.Color(0,0,1,1);break;case"\u5F3A\u70ED\u5E26\u98CE\u66B4(STS)":N=new Cesium.Color(1,1,0,1);break;case"\u53F0\u98CE(TY)":N=new Cesium.Color(0,1,1,1);break;case"\u5F3A\u53F0\u98CE(STY)":N=new Cesium.Color(1,0,1,1);break;case"\u8D85\u5F3A\u53F0\u98CE(Super TY)":N=new Cesium.Color(1,0,0,1);break;case"\u70ED\u5E26\u4F4E\u538B(TD)":N=new Cesium.Color(0,1,0,1);break;default:N=null}t.entities.add({name:"taifeng",position:y,point:{pixelSize:6,outlineWidth:.01,color:N}})}oe.push(o);let f=Cesium.Cartesian3.fromDegrees(parseFloat(e[o].fLongitude),parseFloat(e[o].fLatitude),3e4),d;switch(e[o].strong){case"\u70ED\u5E26\u98CE\u66B4(TS)":d=new Cesium.Color(0,0,1,1);break;case"\u5F3A\u70ED\u5E26\u98CE\u66B4(STS)":d=new Cesium.Color(1,1,0,1);break;case"\u53F0\u98CE(TY)":d=new Cesium.Color(0,1,1,1);break;case"\u5F3A\u53F0\u98CE(STY)":d=new Cesium.Color(1,0,1,1);break;case"\u8D85\u5F3A\u53F0\u98CE(Super TY)":d=new Cesium.Color(1,0,0,1);break;case"\u70ED\u5E26\u4F4E\u538B(TD)":d=new Cesium.Color(0,1,0,1);break;default:d=null}if(t.entities.add({name:"taifeng",position:f,point:{pixelSize:6,outlineWidth:.01,color:d}}),o===parseInt(e.length-1)){let y=Cesium.Cartesian3.fromDegrees(parseFloat(e[e.length-1].fLongitude),parseFloat(e[e.length-1].fLatitude),3e4);var b=t.entities.add({name:"taifeng",position:y,billboard:{image:Te,scale:.9,rotation:0,show:!0,width:48,height:48,disableDepthTestDistance:Number.POSITIVE_INFINITY,heightReference:Cesium.HeightReference.RELATIVE_TO_GROUND}});t.entities.add({name:"taifeng",position:Cesium.Cartesian3.fromDegrees(parseFloat(e[0].fLongitude),parseFloat(e[0].fLatitude),3e4),label:{text:e[0].name,font:"normal\xA06px\xA0SimHei",fillColor:Cesium.Color.BLACK,backgroundColor:Cesium.Color.AQUA,showBackground:!0,style:Cesium.LabelStyle.FILL_AND_OUTLINE,verticalOrigin:Cesium.VerticalOrigin.BOTTOM,hori
|