mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-27 13:08:13 +00:00
feat:更新前端路由
This commit is contained in:
parent
a53aaff620
commit
7f0a150b74
@ -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: '退出登录',
|
||||
|
||||
2
resources/assets/js/routes.js
vendored
2
resources/assets/js/routes.js
vendored
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user