|
@@ -2,12 +2,12 @@
|
|
<div class="page emailResourcesInfoPage">
|
|
<div class="page emailResourcesInfoPage">
|
|
<div class="timeBox">{{ time }}</div>
|
|
<div class="timeBox">{{ time }}</div>
|
|
<div class="topTiltle">
|
|
<div class="topTiltle">
|
|
- <span class="title">前 期 塔 资 源 信 息</span>
|
|
|
|
|
|
+ <span class="title">风 资 源 数 据 分 析</span>
|
|
</div>
|
|
</div>
|
|
<div class="btuGroup">
|
|
<div class="btuGroup">
|
|
- <div class="topBtu topLeftBtu" @click="back()">
|
|
|
|
- <span class="btuText">返回 </span>
|
|
|
|
- </div>
|
|
|
|
|
|
+<!-- <div class="topBtu topLeftBtu" @click="back()">-->
|
|
|
|
+<!-- <span class="btuText">返回 </span>-->
|
|
|
|
+<!-- </div>-->
|
|
<div class="topBtu topRightBtu" @click="push()">
|
|
<div class="topBtu topRightBtu" @click="push()">
|
|
<span class="btuText">后台管理</span>
|
|
<span class="btuText">后台管理</span>
|
|
</div>
|
|
</div>
|
|
@@ -207,9 +207,9 @@
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="bottomPushBtu" @click="pushPreProjectResource()">
|
|
|
|
- <span>前期项目资源信息</span>
|
|
|
|
- </div>
|
|
|
|
|
|
+<!-- <div class="bottomPushBtu" @click="pushPreProjectResource()">-->
|
|
|
|
+<!-- <span>前期项目资源信息</span>-->
|
|
|
|
+<!-- </div>-->
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -260,7 +260,7 @@ export default {
|
|
this.timer = null
|
|
this.timer = null
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- this.emailWindTowerInfo = JSON.parse(this.$store.getters.emailWindTowerInfo)
|
|
|
|
|
|
+ // this.emailWindTowerInfo = JSON.parse(this.$store.getters.emailWindTowerInfo)
|
|
this.formatTime()
|
|
this.formatTime()
|
|
this.getProjectSelect()
|
|
this.getProjectSelect()
|
|
this.timer = setInterval(this.formatTime, 1000 * 60)
|
|
this.timer = setInterval(this.formatTime, 1000 * 60)
|
|
@@ -270,24 +270,24 @@ export default {
|
|
getProjectSelect() {
|
|
getProjectSelect() {
|
|
projectSelect().then(res => {
|
|
projectSelect().then(res => {
|
|
this.projectOption = res.data
|
|
this.projectOption = res.data
|
|
- if (this.emailWindTowerInfo !== undefined) {
|
|
|
|
- this.projectId = this.emailWindTowerInfo.projectId
|
|
|
|
- let project = this.projectOption.find(w => w.value === this.projectId)
|
|
|
|
- this.towerOption = project.equipmentDto
|
|
|
|
- if (this.emailWindTowerInfo.equipmentNo !== null && this.emailWindTowerInfo.equipmentNo !== undefined) {
|
|
|
|
- this.cftNo = this.emailWindTowerInfo.equipmentNo
|
|
|
|
- let towerInfo = this.towerOption.find(w => w.value === this.cftNo)
|
|
|
|
- this.wdHeight = towerInfo.wdHeight
|
|
|
|
- } else {
|
|
|
|
- this.cftNo = this.towerOption[0].value
|
|
|
|
- this.wdHeight = this.towerOption[0].wdHeight
|
|
|
|
- }
|
|
|
|
- } else {
|
|
|
|
|
|
+ // if (this.emailWindTowerInfo !== undefined) {
|
|
|
|
+ // this.projectId = this.emailWindTowerInfo.projectId
|
|
|
|
+ // let project = this.projectOption.find(w => w.value === this.projectId)
|
|
|
|
+ // this.towerOption = project.equipmentDto
|
|
|
|
+ // if (this.emailWindTowerInfo.equipmentNo !== null && this.emailWindTowerInfo.equipmentNo !== undefined) {
|
|
|
|
+ // this.cftNo = this.emailWindTowerInfo.equipmentNo
|
|
|
|
+ // let towerInfo = this.towerOption.find(w => w.value === this.cftNo)
|
|
|
|
+ // this.wdHeight = towerInfo.wdHeight
|
|
|
|
+ // } else {
|
|
|
|
+ // this.cftNo = this.towerOption[0].value
|
|
|
|
+ // this.wdHeight = this.towerOption[0].wdHeight
|
|
|
|
+ // }
|
|
|
|
+ // } else {
|
|
this.projectId = this.projectOption[0].value
|
|
this.projectId = this.projectOption[0].value
|
|
this.towerOption = this.projectOption[0].equipmentDto
|
|
this.towerOption = this.projectOption[0].equipmentDto
|
|
this.cftNo = this.towerOption[0].value
|
|
this.cftNo = this.towerOption[0].value
|
|
this.wdHeight = this.towerOption[0].wdHeight
|
|
this.wdHeight = this.towerOption[0].wdHeight
|
|
- }
|
|
|
|
|
|
+ // }
|
|
this.cftInfo = {equipmentNo: this.cftNo, wdHeights: this.wdHeight}
|
|
this.cftInfo = {equipmentNo: this.cftNo, wdHeights: this.wdHeight}
|
|
this.getTowerInfo()
|
|
this.getTowerInfo()
|
|
}).catch(err => {
|
|
}).catch(err => {
|