浏览代码

页面隐藏

zy 1 年之前
父节点
当前提交
5022cdb6da

+ 1 - 1
wrdep-ui/.env.development

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 新能源风光资源管理平台
+VUE_APP_TITLE = 风资源数据分析
 
 # 开发环境配置
 ENV = 'development'

+ 1 - 1
wrdep-ui/.env.production

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 新能源风光资源管理平台
+VUE_APP_TITLE = 风资源数据分析
 
 # 生产环境配置
 ENV = 'production'

+ 1 - 1
wrdep-ui/.env.staging

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 新能源风光资源管理平台
+VUE_APP_TITLE = 风资源数据分析
 
 NODE_ENV = production
 

+ 1 - 1
wrdep-ui/package.json

@@ -1,7 +1,7 @@
 {
   "name": "nerp",
   "version": "1.0.0",
-  "description": "新能源风光资源管理平台",
+  "description": "风资源数据分析平台",
   "author": "jiayuepowertech",
   "license": "MIT",
   "scripts": {

+ 1 - 0
wrdep-ui/src/layout/components/TagsView/index.vue

@@ -64,6 +64,7 @@ export default {
            && value.name !== "emailResourcesInfo"
            && value.name !== "realResourcesInfo"
            && value.name !== "realPvResourcesInfo"
+           && value.name !== "largeScreenPage"
          ){
            finnalRoutes.push(value)
          }

+ 7 - 7
wrdep-ui/src/router/index.js

@@ -82,10 +82,11 @@ export const constantRoutes = [
   //   hidden: true
   // },
   {
-    path: '/',
+    path: '/largeScreenPage',
     component: () => import('@/views/largeScreenPage/index'),
-    name: 'homePage',
-    meta: { title: '首页', icon: 'dashboard', affix: true }
+    name: 'largeScreenPage',
+    meta: { title: '地图首页', icon: 'dashboard', affix: true },
+    hidden: true
   },{
     path: '/homepage/provincialEnergyStations',
     component: () => import('@/views/largeScreenPage/Subpage/provincialEnergyStations'),
@@ -123,11 +124,10 @@ export const constantRoutes = [
     meta: { title: '项目进展情况', icon: 'dashboard', affix: true },
     hidden: true
   },{
-    path: '/homepage/emailResourcesInfo',
+    path: '/',
     component: () => import('@/views/largeScreenPage/Subpage/emailResourcesInfo'),
-    name: 'emailResourcesInfo',
-    meta: { title: '资源信息', icon: 'dashboard', affix: true },
-    hidden: true
+    name: 'homePage',
+    meta: { title: '首页', icon: 'dashboard', affix: true }
   },{
     path: '/homepage/realResourcesInfo',
     component: () => import('@/views/largeScreenPage/Subpage/realResourcesInfo'),

+ 22 - 22
wrdep-ui/src/views/largeScreenPage/Subpage/emailResourcesInfo.vue

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

+ 1 - 1
wrdep-ui/src/views/login.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="login">
     <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
-      <h3 class="title">新能源风资源管理平台</h3>
+      <h3 class="title">风资源数据分析平台</h3>
       <el-form-item prop="username">
         <el-input
           v-model="loginForm.username"