guhongwei 4 年之前
父節點
當前提交
ac324b1e9c
共有 2 個文件被更改,包括 10 次插入2 次删除
  1. 9 1
      src/layout/userCenter/menuInfo.vue
  2. 1 1
      src/views/userCenter/basicInfo/index.vue

+ 9 - 1
src/layout/userCenter/menuInfo.vue

@@ -51,6 +51,12 @@
               </template>
             </el-menu-item>
             <el-menu-item index="7">
+              <template slot="title">
+                <i class="el-icon-circle-close"></i>
+                <span>返回对接会</span>
+              </template>
+            </el-menu-item>
+            <el-menu-item index="8">
               <template slot="title">
                 <i class="el-icon-circle-close"></i>
                 <span>退出登录</span>
@@ -103,13 +109,15 @@ export default {
     },
     // 菜单跳转
     selectMenu(key) {
-      if (key == '7') {
+      if (key == '8') {
         this.logout();
         this.$message({
           message: '退出登录成功',
           type: 'success',
         });
         this.$router.push({ path: '/newlogin' });
+      } else if (key == '7') {
+        this.$router.go(-1);
       } else {
         this.$router.push({ path: '/userCenter/index', query: { num: key } });
       }

+ 1 - 1
src/views/userCenter/basicInfo/index.vue

@@ -20,7 +20,7 @@
             </el-form-item>
             <el-form-item label="用户类别" prop="role">
               <el-radio-group v-model="form.role">
-                <el-radio label="7" disabled>临时用户</el-radio>
+                <!-- <el-radio label="7" disabled>临时用户</el-radio> -->
                 <el-radio label="4">个人</el-radio>
                 <el-radio label="5">机构用户</el-radio>
                 <el-radio label="6">专家</el-radio>