|
@@ -2,7 +2,8 @@
|
|
<div style="height:calc(100vh);width:100%;background: #000">
|
|
<div style="height:calc(100vh);width:100%;background: #000">
|
|
<div class="page largeScreeanHomePage">
|
|
<div class="page largeScreeanHomePage">
|
|
<div class="timeBox">{{ time }}</div>
|
|
<div class="timeBox">{{ time }}</div>
|
|
- <div class="kaiguanBox"><img src="../../../public/largeScreenImg/kaiguan.png" style="width: 30px;height: 30px"/></div>
|
|
|
|
|
|
+ <div class="kaiguanBox"><img src="../../../public/largeScreenImg/kaiguan.png" style="width: 30px;height: 30px"/>
|
|
|
|
+ </div>
|
|
<div class="mapImg"><img src="../../../public/largeScreenImg/tupian.png" style="width: 30px;height: 30px"
|
|
<div class="mapImg"><img src="../../../public/largeScreenImg/tupian.png" style="width: 30px;height: 30px"
|
|
@click="clickBtu('mapImg')"/></div>
|
|
@click="clickBtu('mapImg')"/></div>
|
|
<div class="topTiltle">
|
|
<div class="topTiltle">
|
|
@@ -37,39 +38,49 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="mapBtuBg">
|
|
<div class="mapBtuBg">
|
|
- <div id="mapBtuOne" class="mapBtu mapBtuAfter" @click="clickBtu('mapBtuOne')">
|
|
|
|
|
|
+ <div id="mapBtuOne" class="mapBtu mapBtuBefore" @click="clickBtu('mapBtuOne')">
|
|
<span class="mapBtuText">地形图</span>
|
|
<span class="mapBtuText">地形图</span>
|
|
</div>
|
|
</div>
|
|
- <!-- <div id="mapBtuTwo" class="mapBtu mapBtuAfter" @click="clickBtu('mapBtuTwo')">-->
|
|
|
|
- <!-- <span class="mapBtuText">风场气象图</span>-->
|
|
|
|
- <!-- </div>-->
|
|
|
|
- <div id="mapBtuThree" class="mapBtu mapBtuAfter" @click="clickBtu('mapBtuThree')">
|
|
|
|
|
|
+ <div id="mapBtuTwo" class="mapBtu mapBtuAfter" @click="clickBtu('mapBtuTwo')">
|
|
|
|
+ <span class="mapBtuText">风场气象图</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="mapBtuSix" class="mapBtu mapBtuAfter" @click="clickBtu('mapBtuSix')">
|
|
|
|
+ <span class="mapBtuText">3D地形图</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="mapBtuThree" class="mapBtu mapBtuAfter" @click="clickBtu1('mapBtuThree')">
|
|
<span class="mapBtuText">风资源分布图</span>
|
|
<span class="mapBtuText">风资源分布图</span>
|
|
</div>
|
|
</div>
|
|
<!-- <div id="mapBtuFour" class="mapBtu mapBtuAfter" @click="clickBtu('mapBtuFour')">-->
|
|
<!-- <div id="mapBtuFour" class="mapBtu mapBtuAfter" @click="clickBtu('mapBtuFour')">-->
|
|
<!-- <span class="mapBtuText">光辐射气象图</span>-->
|
|
<!-- <span class="mapBtuText">光辐射气象图</span>-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
- <div id="mapBtuFive" class="mapBtu mapBtuAfter" @click="clickBtu('mapBtuFive')">
|
|
|
|
|
|
+ <div id="mapBtuFive" class="mapBtu mapBtuAfter" @click="clickBtu1('mapBtuFive')">
|
|
<span class="mapBtuText">光资源分布图</span>
|
|
<span class="mapBtuText">光资源分布图</span>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div id="mapImg" class="mapBtu mapBtuBefore" v-show="false"></div>
|
|
|
|
|
|
+<!-- <div id="mapImg" class="mapBtu mapBtuBefore" v-show="false"></div>-->
|
|
</div>
|
|
</div>
|
|
<div v-if="mapMark === 'mapImg'">
|
|
<div v-if="mapMark === 'mapImg'">
|
|
- <img src="../../../public/largeScreenImg/mapimg.png" style="width: 100%;height: calc(91vh);object-fit: cover;"/>
|
|
|
|
|
|
+ <img src="../../../public/largeScreenImg/mapimg.png"
|
|
|
|
+ style="width: 100%;height: calc(91vh);object-fit: cover;"/>
|
|
</div>
|
|
</div>
|
|
<div v-if="mapMark === 'mapBtuOne'">
|
|
<div v-if="mapMark === 'mapBtuOne'">
|
|
<bige-map ref="childMethod" :mapValue="mapValue"/>
|
|
<bige-map ref="childMethod" :mapValue="mapValue"/>
|
|
-<!-- <bige-map-e22 ref="childMethod" :mapValue="mapValue"/>-->
|
|
|
|
|
|
+ <!-- <bige-map-e22 ref="childMethod" :mapValue="mapValue"/>-->
|
|
|
|
+ </div>
|
|
|
|
+ <div v-if="mapMark === 'mapBtuTwo'">
|
|
|
|
+ <wind-render :mapValue="mapValue"/>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-if="mapMark === 'mapBtuSix'">
|
|
|
|
+ <bige-map3-d :mapValue="mapValue"/>
|
|
</div>
|
|
</div>
|
|
<div v-if="mapMark === 'mapBtuThree'">
|
|
<div v-if="mapMark === 'mapBtuThree'">
|
|
-<!-- <bige-heat-map ref="childMethod" :mapValue="mapValue"/>-->
|
|
|
|
|
|
+ <!-- <bige-heat-map ref="childMethod" :mapValue="mapValue"/>-->
|
|
</div>
|
|
</div>
|
|
<div v-if="mapMark === 'mapBtuFive'">
|
|
<div v-if="mapMark === 'mapBtuFive'">
|
|
-<!-- <bige-heat-sun-map ref="childMethod" :mapValue="mapValue"/>-->
|
|
|
|
|
|
+ <!-- <bige-heat-sun-map ref="childMethod" :mapValue="mapValue"/>-->
|
|
</div>
|
|
</div>
|
|
<div v-if="mapMark === 'mapBtu'">
|
|
<div v-if="mapMark === 'mapBtu'">
|
|
-<!-- <zai-xian-bige-map ref="childMethod" :mapValue="mapValue"/>-->
|
|
|
|
|
|
+ <!-- <zai-xian-bige-map ref="childMethod" :mapValue="mapValue"/>-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -79,16 +90,18 @@
|
|
<script>
|
|
<script>
|
|
import bigeMap from "@/views/largeScreenPage/components/bigeMap";
|
|
import bigeMap from "@/views/largeScreenPage/components/bigeMap";
|
|
import bigeMapE22 from "../largeScreenPage/components/bigeMapE22";
|
|
import bigeMapE22 from "../largeScreenPage/components/bigeMapE22";
|
|
|
|
+import bigeMap3D from "../largeScreenPage/components/3DbigeMap";
|
|
import bigeHeatMap from "@/views/largeScreenPage/components/bigeHeatMap";
|
|
import bigeHeatMap from "@/views/largeScreenPage/components/bigeHeatMap";
|
|
import bigeHeatSunMap from "@/views/largeScreenPage/components/bigeHeatSunMap";
|
|
import bigeHeatSunMap from "@/views/largeScreenPage/components/bigeHeatSunMap";
|
|
import zaiXianBigeMap from "@/views/largeScreenPage/components/zaiXianBigeMap";
|
|
import zaiXianBigeMap from "@/views/largeScreenPage/components/zaiXianBigeMap";
|
|
|
|
+import windRender from "../windData/windRender";
|
|
|
|
|
|
import {provincialEnergyInfo} from "@/api/biz/dataQuery/largeScreenPage";
|
|
import {provincialEnergyInfo} from "@/api/biz/dataQuery/largeScreenPage";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: "index",
|
|
name: "index",
|
|
components: {
|
|
components: {
|
|
- bigeMap, bigeHeatMap, bigeHeatSunMap, zaiXianBigeMap,bigeMapE22
|
|
|
|
|
|
+ bigeMap, bigeHeatMap, bigeHeatSunMap, zaiXianBigeMap, bigeMap3D,windRender
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -105,7 +118,7 @@ export default {
|
|
mapMark: 'mapBtuOne',
|
|
mapMark: 'mapBtuOne',
|
|
timer: null,
|
|
timer: null,
|
|
time: '',
|
|
time: '',
|
|
- resourcesOverview:'辽宁山地平原相间分布,山脉与河流多呈西南—东北走向,具有由陆地向海洋过渡的自然地理条件,也使渡海而来的夏季风能深入到更高的纬度。辽宁省地势大体自北向南,自东、西两侧向中部倾斜。',
|
|
|
|
|
|
+ resourcesOverview: '辽宁山地平原相间分布,山脉与河流多呈西南—东北走向,具有由陆地向海洋过渡的自然地理条件,也使渡海而来的夏季风能深入到更高的纬度。辽宁省地势大体自北向南,自东、西两侧向中部倾斜。',
|
|
//地图传值
|
|
//地图传值
|
|
mapValue: {
|
|
mapValue: {
|
|
level: null,//地图层级
|
|
level: null,//地图层级
|
|
@@ -156,20 +169,32 @@ export default {
|
|
this.mapMark = 'mapBtu'
|
|
this.mapMark = 'mapBtu'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ clickBtu1(id) {
|
|
|
|
+ let clickItem = document.getElementById(id)
|
|
|
|
+ let activeItem = document.querySelector('.mapBtuBefore')
|
|
|
|
+ activeItem.classList.remove('mapBtuBefore')
|
|
|
|
+ activeItem.classList.add('mapBtuAfter')
|
|
|
|
+ clickItem.classList.remove('mapBtuAfter')
|
|
|
|
+ clickItem.classList.add('mapBtuBefore')
|
|
|
|
+ },
|
|
clickBtu(id) {
|
|
clickBtu(id) {
|
|
let center = [41.18692, 123.62915]
|
|
let center = [41.18692, 123.62915]
|
|
let level = 7
|
|
let level = 7
|
|
if (this.$refs.childMethod !== undefined) {
|
|
if (this.$refs.childMethod !== undefined) {
|
|
- center = this.$refs.childMethod.center
|
|
|
|
|
|
+ let ccenter = this.$refs.childMethod.center
|
|
|
|
+ center = ccenter.length === 0 ? [] : [ccenter.lat, ccenter.lng]
|
|
level = this.$refs.childMethod.level
|
|
level = this.$refs.childMethod.level
|
|
- this.mapValue = {
|
|
|
|
- params: new Date(),
|
|
|
|
- level: level === '' ? null : level,//地图层级
|
|
|
|
- center: center.length === 0 ? [] : [center.lat, center.lng],//中心坐标
|
|
|
|
- allStationInfo: null,//场站坐标
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
- // this.mapMark = id
|
|
|
|
|
|
+ this.mapValue = {
|
|
|
|
+ params: new Date(),
|
|
|
|
+ level: level === '' ? null : level,//地图层级
|
|
|
|
+ center: center,//中心坐标
|
|
|
|
+ allStationInfo: null,//场站坐标
|
|
|
|
+ allPointInfo:null
|
|
|
|
+ }
|
|
|
|
+ if(id === 'mapBtuOne' || id ==='mapBtuTwo'|| id ==='mapBtuSix'){
|
|
|
|
+ this.mapMark = id
|
|
|
|
+ }
|
|
let clickItem = document.getElementById(id)
|
|
let clickItem = document.getElementById(id)
|
|
let activeItem = document.querySelector('.mapBtuBefore')
|
|
let activeItem = document.querySelector('.mapBtuBefore')
|
|
activeItem.classList.remove('mapBtuBefore')
|
|
activeItem.classList.remove('mapBtuBefore')
|