|
@@ -1,7 +1,8 @@
|
|
<template>
|
|
<template>
|
|
<div class="page projectInfoPage">
|
|
<div class="page projectInfoPage">
|
|
<div class="timeBox">{{ time }}</div>
|
|
<div class="timeBox">{{ time }}</div>
|
|
- <div class="kaiguanBox"><img src="../../../../public/largeScreenImg/kaiguan.png" style="width: 30px;height: 30px" @click="pushZaiXian()"/></div>
|
|
|
|
|
|
+ <div class="kaiguanBox"><img src="../../../../public/largeScreenImg/kaiguan.png" style="width: 30px;height: 30px"
|
|
|
|
+ @click="pushZaiXian()"/></div>
|
|
<div class="topTiltle">
|
|
<div class="topTiltle">
|
|
<span class="title">前期项目信息</span>
|
|
<span class="title">前期项目信息</span>
|
|
</div>
|
|
</div>
|
|
@@ -69,20 +70,36 @@
|
|
<div id="mapBtuFive" class="mapBtu mapBtuAfter" @click="clickBtu('mapBtuFive')">
|
|
<div id="mapBtuFive" class="mapBtu mapBtuAfter" @click="clickBtu('mapBtuFive')">
|
|
<span class="mapBtuText">光资源分布图</span>
|
|
<span class="mapBtuText">光资源分布图</span>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div id="mapBtu3D" class="mapBtu mapBtuAfter" @click="dialog3DMap()">
|
|
|
|
+ <span class="mapBtuText">3D地形图</span>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div v-if="mapMark === 'mapBtuOne'">
|
|
<div v-if="mapMark === 'mapBtuOne'">
|
|
- <bige-map ref="childMethod" :mapValue="mapValue"/>
|
|
|
|
|
|
+ <bige-map ref="childMethod" :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>
|
|
|
|
+ <!--3D弹窗-->
|
|
|
|
+ <div class="map3D">
|
|
|
|
+ <el-dialog
|
|
|
|
+ :visible.sync="dialogVisible" :modal-append-to-body="false"
|
|
|
|
+ width="80%"
|
|
|
|
+ :before-close="handleClose">
|
|
|
|
+ <bige-map3-d :mapValue="mapValue" v-if="dialogVisible"/>
|
|
|
|
+ </el-dialog>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+<!-- <div v-if="mapMark === 'mapBtu3D'">-->
|
|
|
|
+<!-- <bige-map3-d ref="childMethod" :mapValue="mapValue"/>-->
|
|
|
|
+<!-- </div>-->
|
|
<div class="bottomPushBtu" @click="pushPreProjectResource()">
|
|
<div class="bottomPushBtu" @click="pushPreProjectResource()">
|
|
<span>前期项目资源信息</span>
|
|
<span>前期项目资源信息</span>
|
|
</div>
|
|
</div>
|
|
@@ -90,15 +107,17 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import {projectMapInfo,getPointMap} from "@/api/biz/dataQuery/largeScreenPage";
|
|
|
|
|
|
+import {projectMapInfo, getPointMap} from "@/api/biz/dataQuery/largeScreenPage";
|
|
import bigeMap from "@/views/largeScreenPage/components/bigeMap";
|
|
import bigeMap from "@/views/largeScreenPage/components/bigeMap";
|
|
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 bigeMap3D from "@/views/largeScreenPage/components/3DbigeMap";
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
name: "projectInfo",
|
|
name: "projectInfo",
|
|
components: {
|
|
components: {
|
|
- bigeMap, bigeHeatMap,bigeHeatSunMap,zaiXianBigeMap
|
|
|
|
|
|
+ bigeMap, bigeHeatMap, bigeHeatSunMap, zaiXianBigeMap, bigeMap3D
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -106,7 +125,7 @@ export default {
|
|
time: '',
|
|
time: '',
|
|
project: {},
|
|
project: {},
|
|
projectName: '',
|
|
projectName: '',
|
|
- coordinates:[],//中心点坐标
|
|
|
|
|
|
+ coordinates: [],//中心点坐标
|
|
// projectOverview: '依兰县位于黑龙江省中南部。 黑龙江华电哈尔滨依兰鸡冠山四期200MW风电项目中心位于黑龙江省哈尔滨市依兰县东侧15km的鸡冠砬子山上,整个场址为低山丘陵区,场区实际可利用面积约63km2。',
|
|
// projectOverview: '依兰县位于黑龙江省中南部。 黑龙江华电哈尔滨依兰鸡冠山四期200MW风电项目中心位于黑龙江省哈尔滨市依兰县东侧15km的鸡冠砬子山上,整个场址为低山丘陵区,场区实际可利用面积约63km2。',
|
|
projectOverview: '',
|
|
projectOverview: '',
|
|
// resourcesOverview: '根据风能资源推测120m数据分析,年平均风速为8.007m/s,平均风功率密度为567W/m²,属于3级风场。主风向为WSW,次风向为W,空气密度为1.2kg/m³。'
|
|
// resourcesOverview: '根据风能资源推测120m数据分析,年平均风速为8.007m/s,平均风功率密度为567W/m²,属于3级风场。主风向为WSW,次风向为W,空气密度为1.2kg/m³。'
|
|
@@ -118,9 +137,10 @@ export default {
|
|
center: [],//中心坐标
|
|
center: [],//中心坐标
|
|
allStationInfo: null,//场站坐标
|
|
allStationInfo: null,//场站坐标
|
|
projectInfo: null,//项目坐标
|
|
projectInfo: null,//项目坐标
|
|
- allPointInfo:null,//所有点位信息
|
|
|
|
|
|
+ allPointInfo: null,//所有点位信息
|
|
},
|
|
},
|
|
- allPointInfo:[]
|
|
|
|
|
|
+ allPointInfo: [],
|
|
|
|
+ dialogVisible:false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
destroyed() {
|
|
destroyed() {
|
|
@@ -134,22 +154,22 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
/*所有风机、塔、拐点坐标信息*/
|
|
/*所有风机、塔、拐点坐标信息*/
|
|
- getPointMap(){
|
|
|
|
- if(this.$store.getters.allPointInfo.length>0){
|
|
|
|
|
|
+ getPointMap() {
|
|
|
|
+ if (this.$store.getters.allPointInfo.length > 0) {
|
|
this.allPointInfo = JSON.parse(this.$store.getters.allPointInfo).info
|
|
this.allPointInfo = JSON.parse(this.$store.getters.allPointInfo).info
|
|
this.getInfo()
|
|
this.getInfo()
|
|
- }else {
|
|
|
|
- getPointMap().then(res=>{
|
|
|
|
|
|
+ } else {
|
|
|
|
+ getPointMap().then(res => {
|
|
// console.log(res.data)
|
|
// console.log(res.data)
|
|
this.allPointInfo = res.data
|
|
this.allPointInfo = res.data
|
|
this.getInfo()
|
|
this.getInfo()
|
|
- sessionStorage.setItem("allPointInfo", JSON.stringify({info:this.allPointInfo}))
|
|
|
|
- this.$store.dispatch('equipmentInfo/allPointInfo', JSON.stringify({info:this.allPointInfo}))
|
|
|
|
- }).catch(err=>{
|
|
|
|
- console.log('所有点位坐标:'+err)
|
|
|
|
|
|
+ sessionStorage.setItem("allPointInfo", JSON.stringify({info: this.allPointInfo}))
|
|
|
|
+ this.$store.dispatch('equipmentInfo/allPointInfo', JSON.stringify({info: this.allPointInfo}))
|
|
|
|
+ }).catch(err => {
|
|
|
|
+ console.log('所有点位坐标:' + err)
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- console.log(this.allPointInfo)
|
|
|
|
|
|
+ //console.log(this.allPointInfo)
|
|
},
|
|
},
|
|
getInfo() {
|
|
getInfo() {
|
|
this.project = JSON.parse(this.$store.getters.projectInfo)
|
|
this.project = JSON.parse(this.$store.getters.projectInfo)
|
|
@@ -168,22 +188,22 @@ export default {
|
|
},
|
|
},
|
|
// 获取项目信息
|
|
// 获取项目信息
|
|
getProjectInfo(projectId) {
|
|
getProjectInfo(projectId) {
|
|
- projectMapInfo({projectId:projectId}).then(res=>{
|
|
|
|
|
|
+ projectMapInfo({projectId: projectId}).then(res => {
|
|
let data = res.data
|
|
let data = res.data
|
|
this.projectOverview = data.projectOverview
|
|
this.projectOverview = data.projectOverview
|
|
this.resourcesOverview = data.resourcesOverview
|
|
this.resourcesOverview = data.resourcesOverview
|
|
- this.coordinates = [Number(data.latitude),Number(data.longitude)]
|
|
|
|
- this.mapValue ={
|
|
|
|
|
|
+ this.coordinates = [Number(data.latitude), Number(data.longitude)]
|
|
|
|
+ this.mapValue = {
|
|
params: new Date(),
|
|
params: new Date(),
|
|
level: 12,//地图层级
|
|
level: 12,//地图层级
|
|
center: this.coordinates,//中心坐标
|
|
center: this.coordinates,//中心坐标
|
|
allStationInfo: null,//场站坐标
|
|
allStationInfo: null,//场站坐标
|
|
projectInfo: null,//项目坐标
|
|
projectInfo: null,//项目坐标
|
|
- id:projectId,
|
|
|
|
- allPointInfo:this.allPointInfo,//所有点位信息
|
|
|
|
|
|
+ id: projectId,
|
|
|
|
+ allPointInfo: this.allPointInfo,//所有点位信息
|
|
}
|
|
}
|
|
- }).catch(err=>{
|
|
|
|
- console.log('单个项目信获取异常:'+err)
|
|
|
|
|
|
+ }).catch(err => {
|
|
|
|
+ console.log('单个项目信获取异常:' + err)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
push() {
|
|
push() {
|
|
@@ -193,7 +213,7 @@ export default {
|
|
this.$router.push({path: "/homepage/projectEvolve"})
|
|
this.$router.push({path: "/homepage/projectEvolve"})
|
|
},
|
|
},
|
|
pushInfo() {
|
|
pushInfo() {
|
|
- let project = {projectId:this.project.id,equipmentNo:null}
|
|
|
|
|
|
+ let project = {projectId: this.project.id, equipmentNo: null}
|
|
sessionStorage.setItem("emailWindTowerInfo", JSON.stringify(project))
|
|
sessionStorage.setItem("emailWindTowerInfo", JSON.stringify(project))
|
|
this.$store.dispatch('equipmentInfo/emailWindTowerInfo', JSON.stringify(project))
|
|
this.$store.dispatch('equipmentInfo/emailWindTowerInfo', JSON.stringify(project))
|
|
this.$router.push({path: "/homepage/emailResourcesInfo"})
|
|
this.$router.push({path: "/homepage/emailResourcesInfo"})
|
|
@@ -204,33 +224,50 @@ export default {
|
|
pushPreProjectResource() {
|
|
pushPreProjectResource() {
|
|
this.$router.push({path: "/homepage/preProjectResources"})
|
|
this.$router.push({path: "/homepage/preProjectResources"})
|
|
},
|
|
},
|
|
- pushZaiXian(){
|
|
|
|
- if(this.mapMark === 'mapBtuOne'){
|
|
|
|
|
|
+ pushZaiXian() {
|
|
|
|
+ if (this.mapMark === 'mapBtuOne') {
|
|
let center = this.$refs.childMethod.center
|
|
let center = this.$refs.childMethod.center
|
|
let level = this.$refs.childMethod.level
|
|
let level = this.$refs.childMethod.level
|
|
- this.mapValue ={
|
|
|
|
|
|
+ this.mapValue = {
|
|
params: new Date(),
|
|
params: new Date(),
|
|
- level: level === ''?null:level,//地图层级
|
|
|
|
- center: center.length === 0?[]:[center.lat,center.lng],//中心坐标
|
|
|
|
|
|
+ level: level === '' ? null : level,//地图层级
|
|
|
|
+ center: center.length === 0 ? [] : [center.lat, center.lng],//中心坐标
|
|
allStationInfo: null,//场站坐标
|
|
allStationInfo: null,//场站坐标
|
|
projectInfo: null,//项目坐标
|
|
projectInfo: null,//项目坐标
|
|
- id:this.project.id,
|
|
|
|
- allPointInfo:this.allPointInfo,//所有点位信息
|
|
|
|
|
|
+ id: this.project.id,
|
|
|
|
+ allPointInfo: this.allPointInfo,//所有点位信息
|
|
}
|
|
}
|
|
this.mapMark = 'mapBtu'
|
|
this.mapMark = 'mapBtu'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ dialog3DMap(){
|
|
|
|
+ let center = this.$refs.childMethod.center
|
|
|
|
+ let level = this.$refs.childMethod.level
|
|
|
|
+ this.mapValue = {
|
|
|
|
+ params: new Date(),
|
|
|
|
+ level: level === '' ? null : level,//地图层级
|
|
|
|
+ center: center.length === 0 ? [] : [center.lat, center.lng],//中心坐标
|
|
|
|
+ allStationInfo: null,//场站坐标
|
|
|
|
+ projectInfo: null,//项目坐标
|
|
|
|
+ id: this.project.id,
|
|
|
|
+ allPointInfo: this.allPointInfo,//所有点位信息
|
|
|
|
+ }
|
|
|
|
+ this.dialogVisible = true
|
|
|
|
+ },
|
|
|
|
+ handleClose(){
|
|
|
|
+ this.dialogVisible = false
|
|
|
|
+ },
|
|
clickBtu(id) {
|
|
clickBtu(id) {
|
|
let center = this.$refs.childMethod.center
|
|
let center = this.$refs.childMethod.center
|
|
let level = this.$refs.childMethod.level
|
|
let level = this.$refs.childMethod.level
|
|
- this.mapValue ={
|
|
|
|
|
|
+ this.mapValue = {
|
|
params: new Date(),
|
|
params: new Date(),
|
|
- level: level === ''?null:level,//地图层级
|
|
|
|
- center: center.length === 0?[]:[center.lat,center.lng],//中心坐标
|
|
|
|
|
|
+ level: level === '' ? null : level,//地图层级
|
|
|
|
+ center: center.length === 0 ? [] : [center.lat, center.lng],//中心坐标
|
|
allStationInfo: null,//场站坐标
|
|
allStationInfo: null,//场站坐标
|
|
projectInfo: null,//项目坐标
|
|
projectInfo: null,//项目坐标
|
|
- id:this.project.id,
|
|
|
|
- allPointInfo:this.allPointInfo,//所有点位信息
|
|
|
|
|
|
+ id: this.project.id,
|
|
|
|
+ allPointInfo: this.allPointInfo,//所有点位信息
|
|
}
|
|
}
|
|
this.mapMark = id
|
|
this.mapMark = id
|
|
let clickItem = document.getElementById(id)
|
|
let clickItem = document.getElementById(id)
|
|
@@ -353,7 +390,7 @@ export default {
|
|
width: 20%;
|
|
width: 20%;
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
- z-index: 100000;
|
|
|
|
|
|
+ z-index: 1000;
|
|
}
|
|
}
|
|
|
|
|
|
.rightBg {
|
|
.rightBg {
|
|
@@ -367,7 +404,7 @@ export default {
|
|
right: 22%;
|
|
right: 22%;
|
|
top: 7%;
|
|
top: 7%;
|
|
width: 10%;
|
|
width: 10%;
|
|
- z-index: 100000;
|
|
|
|
|
|
+ z-index: 1000;
|
|
}
|
|
}
|
|
|
|
|
|
.rightTiltleTextBg {
|
|
.rightTiltleTextBg {
|
|
@@ -439,11 +476,19 @@ export default {
|
|
margin-top: 1%;
|
|
margin-top: 1%;
|
|
margin-right: 4%;
|
|
margin-right: 4%;
|
|
}
|
|
}
|
|
-.kaiguanBox{
|
|
|
|
|
|
+
|
|
|
|
+.kaiguanBox {
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 22%;
|
|
left: 22%;
|
|
top: .5%;
|
|
top: .5%;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+.map3D /deep/ .el-dialog__header, .map3D /deep/ .el-dialog__body {
|
|
|
|
+ padding: 0;
|
|
|
|
+}
|
|
|
|
+.map3D /deep/ .el-dialog__headerbtn {
|
|
|
|
+ z-index: 100;
|
|
|
|
+ top: 10px;
|
|
|
|
+ right: 10px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|