|
@@ -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 } });
|
|
|
}
|