feat:更新前端路由
This commit is contained in:
@@ -551,9 +551,9 @@ export default {
|
||||
} else {
|
||||
array.push(...[
|
||||
{path: 'personal', name: '个人设置', divided: true},
|
||||
|
||||
{path: 'review', name: '审批中心'},
|
||||
{path: 'version', name: '更新版本', divided: true, visible: !!this.clientNewVersion},
|
||||
|
||||
|
||||
{path: 'workReport', name: '工作报告', divided: true},
|
||||
{path: 'archivedProject', name: '已归档的项目'},
|
||||
])
|
||||
@@ -752,6 +752,11 @@ export default {
|
||||
this.goForward('index');
|
||||
}
|
||||
return;
|
||||
case 'review':
|
||||
if (this.menu.findIndex((m) => m.path == path) > -1) {
|
||||
this.goForward({name: 'manage-review'});
|
||||
}
|
||||
return;
|
||||
case 'logout':
|
||||
$A.modalConfirm({
|
||||
title: '退出登录',
|
||||
|
||||
Vendored
+1
-1
@@ -32,7 +32,7 @@ export default [
|
||||
{
|
||||
name: 'manage-review',//审批
|
||||
path: 'review',
|
||||
component: () => import('./pages/manage/review'),
|
||||
component: () => import('./pages/manage/review/index.vue'),
|
||||
},
|
||||
{
|
||||
name: 'manage-setting',
|
||||
|
||||
Reference in New Issue
Block a user