12 lines
55 KiB
JavaScript
12 lines
55 KiB
JavaScript
|
import{Q as _,_ as wt,r as p,I as Ye,a2 as St,x as Et,H as It,d as z,o as M,c as U,l,e as g,w as C,f as s,m as G,O as Ve,K as Xe,M as He,V as Ze,W as je,k as ce,A as T,n as Z,F as Bt,a8 as fe,ae as xt,S as Re,q as Mt,s as Lt}from"./index.064676a5.js";import{_ as Ke}from"./close1.62ba8f4e.js";import{_ as Nt,a as Tt}from"./zhankaiss.6870329f.js";import{_ as Wt,a as kt,b as Pt,c as Ot}from"./position.3b2b2301.js";import{_ as Ut,a as Gt}from"./face.d3470a20.js";import"./index.2809c208.js";/* empty css */import{h as $}from"./moment.2cad4b18.js";import{u as Qt}from"./useEcharts.c88e6744.js";import{b as zt}from"./classify.6293b435.js";import"./linesGL.76a64914.js";import"./browser-detector.d146ab9e.js";import{ai as qt}from"./linkSeriesData.e74eae00.js";function Fe(L){return _({url:"equipment/typhoon",method:"get",params:L})}function Yt(L){return _({url:"equipment/year",method:"get",params:L})}function Vt(L){return _({url:"equipment/windPower",method:"get",params:L})}function Xt(L){return _({url:"equipment/typhoonDamageSave",method:"get",params:L})}function Te(L){return _({url:"equipment/typhoonDamageSelect",method:"get",params:L})}function Ht(L){return _({url:"equipment/typhoonDamageDelete",method:"get",params:L})}function Zt(L){return _({url:"equipment/typhoonDamage",method:"get",params:L})}const x=L=>(Mt("data-v-034fed01"),L=L(),Lt(),L),jt={class:"center"},Rt=x(()=>l("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Ft={class:"leftWra"},Kt={key:0,src:Ke,alt:""},Jt={key:0,class:"imgrotate",src:Ke,alt:""},_t={class:"rightWra"},$t={class:"tabar"},ea={class:"leftTop"},ta={class:"tabulation"},aa={class:"title"},la=x(()=>l("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),ra=x(()=>l("span",null,"\u53F0\u98CE\u5217\u8868",-1)),ia={class:"tableDiv"},oa={class:"tabulation"},sa={class:"title"},na=x(()=>l("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),ua={class:"rightTop"},da=x(()=>l("div",{class:"title"},[l("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}}),l("span",null,"\u53F0\u98CE\u707E\u635F\u9884\u6D4B\u7ED3\u679C")],-1)),ma={class:"farmlandDiv"},pa={class:"farmlandHeader"},ca=x(()=>l("br",null,null,-1)),fa=["onClick"],ga=["onClick"],ha=x(()=>l("img",{src:Nt},null,-1)),Ca=x(()=>l("img",{src:Tt},null,-1)),ya=Bt('<div class="tool" data-v-034fed01><span data-v-034fed01><img src="'+Wt+'" alt="" data-v-034fed01></span><span data-v-034fed01><img src="'+kt+'" alt="" data-v-034fed01></span><span data-v-034fed01><img src="'+Pt+'" alt="" data-v-034fed01></span><span data-v-034fed01><img src="'+Ut+'" alt="" data-v-034fed01></span><span data-v-034fed01><img src="'+Gt+'" alt="" data-v-034fed01></span><span data-v-034fed01><img src="'+Ot+'" alt="" data-v-034fed01></span></div>',1),va={key:0,id:"popup"},Aa={key:0},ba=x(()=>l("span",null,"\u540D\u79F0\uFF1A",-1)),Da={key:1},wa=x(()=>l("span",null,"\u5F53\u524D\u4F4D\u7F6E\uFF1A",-1)),Sa={key:2},Ea=x(()=>l("span",null,"\u65F6\u95F4\uFF1A",-1)),Ia={key:3},Ba=x(()=>l("span",null,"\u6C14\u538B\uFF1A",-1)),xa={key:4},Ma=x(()=>l("span",null,"\u6700\u5927\u98CE\u901F\uFF1A",-1)),La={key:5},Na=x(()=>l("span",null,"\u98CE\u529B\uFF1A",-1)),Ta={id:"pop"},Wa={key:0},ka=x(()=>l("div",null,"\u6751\u540D\uFF1A",-1)),Pa={class:"frameDiv"},Oa={class:"dialog-footer"},Ua={class:"detailsDiv"},Ga={class:"center"},Qa=x(()=>l("span",null,"\u53F0\u98CE\u540D\u79F0",-1)),za=x(()=>l("span",null,"\u9884\u8BA1\u6210\u707E\u9762\u79EF\uFF08\u5355\u4F4D\uFF1A\u516C\u9877\uFF09",-1)),qa=x(()=>l("span",null,"\u4F4D\u7F6E",-1)),Ya=x(()=>l("span",null,"\u9884\u8BA1\u53D7\u5F71\u54CD\u4EBA\u53E3\uFF08\u5355\u4F4D\uFF1A\u4EBA\uFF09",-1)),Va=x(()=>l("span",null,"\u9884\u8BA1\u7ECF\u6D4E\u635F\u5931\uFF08\u5355\u4F4D\uFF1A\u4E07\u5143\uFF09",-1)),Xa=x(()=>l("span",null,"\u9884\u8BA1\u53D7\u707E\u9762\u79EF\uFF08\u5355\u4F4D\uFF1A\u516C\u98
|
||
|
\u5C0F
|
||
|
\u65F6
|
||
|
\u8B66
|
||
|
\u6212
|
||
|
\u7EBF`,font:"6pt\xA0Source\xA0Han\xA0Sans\xA0CN",fillColor:Cesium.Color.RED}}),v.entities.add({name:"taifeng",polyline:{positions:Cesium.Cartesian3.fromDegreesArray([105,0,120,0,132,15,132,34]),width:2,followSurface:!1,material:new Cesium.PolylineDashMaterialProperty({color:Cesium.Color.BLUE,gapColor:Cesium.Color.TRANSPARENT,dashLength:40,dashPattern:255})},position:Cesium.Cartesian3.fromDegrees(133,34,3e4),label:{text:`48
|
||
|
\u5C0F
|
||
|
\u65F6
|
||
|
\u8B66
|
||
|
\u6212
|
||
|
\u7EBF`,font:"6pt\xA0Source\xA0Han\xA0Sans\xA0CN",fillColor:Cesium.Color.BLUE}});let o=[],u=[],h=[],A=[],V=[],me=[];if(r)for(const q of r){let K=function(t,e,B,n,I,X,Q){if(n.length>1){let w=Math.max(...n),c=Math.min(...n),i=Math.max(...I),b=Math.min(...I),S=w-c,f=i-b;if(S>=f){let d=S/2,y=new Cesium.Rectangle.fromDegrees(c-d,b,w+d,i);t.camera.flyTo({destination:y})}else{let d=f/2,y=new Cesium.Rectangle.fromDegrees(c,b-d,w,i+d);t.camera.flyTo({destination:y})}}else t.camera.flyTo({destination:Cesium.Cartesian3.fromDegrees(n[0],I[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 ze=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:ze,orientation:new Cesium.VelocityOrientationProperty(ze),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:Oe,scale:.9,rotation:0,show:!0,width:48,height:48,disableDepthTestDistance:Number.POSITIVE_INFINITY,heightReference:Cesium.HeightReference.RELATIVE_TO_GROUND}});pe.addProperty("imageClock");var qe=0;pe.imageClock=setInterval(function(){parseInt(t.clock.currentTime.secondsOfDay)<=t.clock.stopTime.secondsOfDay&&(qe+=.1,pe.billboard.rotation=qe)},20);const ie=[];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 i=parseInt(Cesium.JulianDate.secondsDifference(w,H));if(ie.length===0||i!==ie[ie.length-1]){if(ie.length===0){let y=Cesium.Cartesian3.fromDegrees(parseFloat(e[0].fLongitude),parseFloat(e[0].fLatitude),3e4),N;switch(e[i].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}})}ie.push(i);let f=Cesium.Cartesian3.fromDegrees(parseFloat(e[i].fLongitude),parseFloat(e[i].fLatitude),3e4),d;switch(e[i].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}}),i===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:Oe,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
|