18 lines
54 KiB
JavaScript
18 lines
54 KiB
JavaScript
|
import{_ as gt,r as f,A as ke,U as ht,V as Ct,W as we,d as F,o as z,c as Q,l as r,e as p,w as C,L as Oe,N as ze,k as Ue,f as h,x as M,g as Y,m as H,y as vt,a0 as Se,a1 as yt,J as At,p as bt,q as Dt}from"./index.48137ccf.js";import{_ as ce}from"./close1.45635d81.js";import{_ as wt,a as St,b as Et,c as Bt,d as It,e as Mt}from"./linesGL.90f708a5.js";import{i as Lt}from"./index.c9f5bd8b.js";import{h as J}from"./moment.9709ab41.js";import{u as xt}from"./useEcharts.5ac9cbca.js";import{a as Nt}from"./classify.9cf5ad7c.js";import{g as Fe,a as Ge,b as Pt,c as Wt,d as Tt,e as kt,f as Ot}from"./estimate.3fe34455.js";const L=ae=>(bt("data-v-cddc5283"),ae=ae(),Dt(),ae),zt={class:"center"},Ut=L(()=>r("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Ft={class:"leftWra"},Gt={class:"leftTop"},Qt={class:"title"},Yt=L(()=>r("span",null,"\u53F0\u98CE\u6570\u636E\u9009\u62E9",-1)),Vt={class:"tabulation"},qt=L(()=>r("div",{class:"chart_div_title"},[r("span",null,"\u53F0\u98CE\u5217\u8868")],-1)),Xt={class:"tableDiv"},Ht={class:"tabulation"},Zt={class:"chart_div_title"},Rt={key:0,src:ce,alt:""},jt={key:0,class:"imgrotate",src:ce,alt:""},Kt={class:"rightWra"},Jt={class:"rightTop"},_t=L(()=>r("div",{class:"title"},[r("span",null,"\u53F0\u98CE\u707E\u635F\u9884\u6D4B\u7ED3\u679C")],-1)),$t={class:"farmlandDiv"},ea={class:"farmlandHeader"},ta=L(()=>r("br",null,null,-1)),aa=["onClick"],la=["onClick"],ra={key:0,src:ce,alt:""},oa={key:0,class:"imgrotate",src:ce,alt:""},ia=vt('<div class="tool" data-v-cddc5283><span data-v-cddc5283><img src="'+wt+'" alt="" data-v-cddc5283></span><span data-v-cddc5283><img src="'+St+'" alt="" data-v-cddc5283></span><span data-v-cddc5283><img src="'+Et+'" alt="" data-v-cddc5283></span><span data-v-cddc5283><img src="'+Bt+'" alt="" data-v-cddc5283></span><span data-v-cddc5283><img src="'+It+'" alt="" data-v-cddc5283></span><span data-v-cddc5283><img src="'+Mt+'" alt="" data-v-cddc5283></span></div>',1),sa={id:"popup"},na=L(()=>r("span",null,"\u540D\u79F0\uFF1A",-1)),ua=L(()=>r("span",null,"\u5F53\u524D\u4F4D\u7F6E\uFF1A",-1)),da=L(()=>r("span",null,"\u65F6\u95F4\uFF1A",-1)),ca=L(()=>r("span",null,"\u6C14\u538B\uFF1A",-1)),ma=L(()=>r("span",null,"\u6700\u5927\u98CE\u901F\uFF1A",-1)),pa=L(()=>r("span",null,"\u98CE\u529B\uFF1A",-1)),fa={id:"pop"},ga={key:0},ha=L(()=>r("div",null,"\u6751\u540D\uFF1A",-1)),Ca={class:"frameDiv"},va={class:"dialog-footer"},ya={class:"detailsDiv"},Aa={class:"center"},ba=L(()=>r("span",null,"\u53F0\u98CE\u540D\u79F0",-1)),Da=L(()=>r("span",null,"\u9884\u8BA1\u6210\u707E\u9762\u79EF\uFF08\u5355\u4F4D\uFF1A\u516C\u9877\uFF09",-1)),wa=L(()=>r("span",null,"\u4F4D\u7F6E",-1)),Sa=L(()=>r("span",null,"\u9884\u8BA1\u53D7\u5F71\u54CD\u4EBA\u53E3\uFF08\u5355\u4F4D\uFF1A\u4EBA\uFF09",-1)),Ea=L(()=>r("span",null,"\u9884\u8BA1\u7ECF\u6D4E\u635F\u5931\uFF08\u5355\u4F4D\uFF1A\u4E07\u5143\uFF09",-1)),Ba=L(()=>r("span",null,"\u9884\u8BA1\u53D7\u707E\u9762\u79EF\uFF08\u5355\u4F4D\uFF1A\u516C\u9877\uFF09",-1)),Ia={key:0,class:"dialog-footer"},Ma={__name:"index",setup(ae){let y=f(null);const G=f("2023");let le=ke({arr:[],brr:[],crr:[]}),re=f({name:"",value:""});const Qe=f([]),oe=f(!1);let R=f(!1),j=f(!1);f(["false"]);const Ee=f(null),K=f(""),Be=f([]);f([]);const ie=f(!1),_=f(!1);let T=f({});f(!1);let x=f([]);const Ie=f();let me=f([]),pe=f([]),se=f(""),ne=f([]);f([{date1:"\u9EC4\u5C9B\u533A",date2:"",date3:"",date4:"",date5:""}]);const fe=f([]);let ge=f(!1);const c=f({lng:"",lat:"",radius7:"",qxdm:"370211",duration:"",power:"",speed:"",pressure:"",time:""});var Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEkAAABNCAYAAADq4knKAAAAAXNSR0IArs4c6QAAIABJREFUeF7cvGesZdl1JrbzPvnme1+sevXqVXWlztXsZlRTgUqQNZKGDQ9Gli3YEA3YFmAbAxj+Q/KHMTZmLAm0NYBkGxKEsQw3ZWmUKGlEsZmpDtW5u3J6+b2b74k7G6coEuxRGGpGggHfP+9d4Kazzt5rfev7vrUh+P/48clPOvTpT0P7nT/DOQc/9cUv4saQ03m+7BrhAeQgwVlKYBFr8amPX1Sf+hSA/+b7/r4uBf59ffB3/bnOQQCh+9br66CtrFzBYr2BwARwzMSDAEqqSP13pmgB3rmo6///fxWk559/Hr/T68FPf/SjDy6ufv7cc8+ZbwXmM5+7ybMsTZywJOQeVZWpSGwlyIwPAgCwQQ/eFyTMmG6VfuLyZfVd34S/gxf+va+kf/Ybb4QwpF1rrKBUVTgXdtIg2kWp7OytBTA2kbPKl6WjyAEpAJhGSP
|
||
|
\u5C0F
|
||
|
\u65F6
|
||
|
\u8B66
|
||
|
\u6212
|
||
|
\u7EBF`,font:"6pt\xA0Source\xA0Han\xA0Sans\xA0CN",fillColor:Cesium.Color.RED}}),y.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 a=[],o=[],s=[],u=[],B=[],k=[];if(l)for(const O of l){let V=function(t,e,w,n,D,q,U){if(n.length>1){let A=Math.max(...n),m=Math.min(...n),i=Math.max(...D),S=Math.min(...D),E=A-m,g=i-S;if(E>=g){let d=E/2,v=new Cesium.Rectangle.fromDegrees(m-d,S,A+d,i);t.camera.flyTo({destination:v})}else{let d=g/2,v=new Cesium.Rectangle.fromDegrees(m,S-d,A,i+d);t.camera.flyTo({destination:v})}}else t.camera.flyTo({destination:Cesium.Cartesian3.fromDegrees(n[0],D[0],1e6)});t.clock.shouldAnimate=!0;const X=Cesium.JulianDate.fromDate(new Date(2015,2,25,16)),ve=Cesium.JulianDate.addSeconds(X,e.length,new Cesium.JulianDate);t.clock.startTime=X.clone(),t.clock.stopTime=ve.clone(),t.clock.currentTime=X.clone(),t.clock.multiplier=5;const We=Z(X,e),de=t.entities.add({name:"\u53F0\u98CE\u8DEF\u5F84",availability:new Cesium.TimeIntervalCollection([new Cesium.TimeInterval({start:X,stop:ve})]),show:!0,position:We,orientation:new Cesium.VelocityOrientationProperty(We),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:Me,scale:.9,rotation:0,show:!0,width:48,height:48,disableDepthTestDistance:Number.POSITIVE_INFINITY,heightReference:Cesium.HeightReference.RELATIVE_TO_GROUND}});de.addProperty("imageClock");var Te=0;de.imageClock=setInterval(function(){parseInt(t.clock.currentTime.secondsOfDay)<=t.clock.stopTime.secondsOfDay&&(Te+=.1,de.billboard.rotation=Te)},20);const te=[];t.entities.add({name:"taifeng",availability:new Cesium.TimeIntervalCollection([new Cesium.TimeInterval({start:X,stop:ve})]),show:!0,position:new Cesium.CallbackProperty(function(A,m){let i=parseInt(Cesium.JulianDate.secondsDifference(A,X));if(te.length===0||i!==te[te.length-1]){if(te.length===0){let v=Cesium.Cartesian3.fromDegrees(parseFloat(e[0].fLongitude),parseFloat(e[0].fLatitude),3e4),I;switch(e[i].strong){case"\u70ED\u5E26\u98CE\u66B4(TS)":I=new Cesium.Color(0,0,1,1);break;case"\u5F3A\u70ED\u5E26\u98CE\u66B4(STS)":I=new Cesium.Color(1,1,0,1);break;case"\u53F0\u98CE(TY)":I=new Cesium.Color(0,1,1,1);break;case"\u5F3A\u53F0\u98CE(STY)":I=new Cesium.Color(1,0,1,1);break;case"\u8D85\u5F3A\u53F0\u98CE(Super\xA0TY)":I=new Cesium.Color(1,0,0,1);break;case"\u70ED\u5E26\u4F4E\u538B(TD)":I=new Cesium.Color(0,1,0,1);break;default:I=null}t.entities.add({name:"taifeng",position:v,point:{pixelSize:6,outlineWidth:.01,color:I}})}te.push(i);let g=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\xA0TY)":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:g,point:{pixelSize:6,outlineWidth:.01,color:d}}),i===parseInt(e.length-1)){let v=Cesium.Cartesian3.fromDegrees(parseFloat(e[e.length-1].fLongitude),parseFloat(e[e.length-1].fLatitude),3e4);var S=t.entities.add({name:"taifeng",position:v,billboard:{image:Me,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
|
||
|
<span>\u53F0\u98CE\u8FC7\u5883\u65F6\u95F4</span>
|
||
|
<p></p>
|
||
|
</div> `),r("div",null,[Da,r("p",null,M(h(T).affectedArea),1)]),r("div",null,[wa,r("p",null,M(`${h(T).longitude}\xB0E/${h(T).latitude}\xB0N`),1)]),r("div",null,[Sa,r("p",null,M(h(T).affectedPopulation),1)]),r("div",null,[Ea,r("p",null,M(h(T).economicLosses),1)]),r("div",null,[Ba,r("p",null,M(h(T).disasterArea),1)]),Y(` <div>
|
||
|
<span></span>
|
||
|
<p></p>
|
||
|
</div> `)])]),_:1},8,["modelValue"])])])}}},Ua=gt(Ma,[["__scopeId","data-v-cddc5283"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/meteorological/remoteSense/estimate/index.vue"]]);export{Ua as default};
|