guhongwei 4 years ago
parent
commit
845700d1fe
2 changed files with 8 additions and 1 deletions
  1. 1 0
      .env
  2. 7 1
      src/views/userCenter/parts/menuInfo.vue

+ 1 - 0
.env

@@ -1,2 +1,3 @@
 VUE_APP_AXIOS_BASE_URL = ''
 VUE_APP_ROUTER="platlive"
+VUE_APP_HOST="http://broadcast.waityou24.cn"

+ 7 - 1
src/views/userCenter/parts/menuInfo.vue

@@ -38,13 +38,19 @@ export default {
         { num: '4', icon: 'el-icon-video-camera', title: '展会管理' },
         { num: '5', icon: 'el-icon-notebook-1', title: '事项管理' },
         { num: '6', icon: 'el-icon-edit', title: '修改密码' },
+        { num: '7', icon: 'el-icon-view', title: '成果评价系统' },
       ],
     };
   },
   created() {},
   methods: {
     selectMenu(key) {
-      this.$router.push({ path: '/userCenter', query: { num: key } });
+      if (key == '7') {
+        let token = localStorage.getItem('token');
+        window.location.href = `${process.env.VUE_APP_HOST}/liveAchieve`;
+      } else {
+        this.$router.push({ path: '/userCenter', query: { num: key } });
+      }
     },
   },
   computed: {