mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-27 04:58:12 +00:00
feat:手机端菜单 添加okr
This commit is contained in:
parent
9d7d2b3fda
commit
6e2e915d95
@ -85,6 +85,7 @@ export default {
|
||||
[
|
||||
{icon: '', name: 'workReport', label: '工作报告'},
|
||||
{icon: '', name: 'approve', label: '审批中心'},
|
||||
{icon: '', name: 'okrManage', label: 'OkR管理'},
|
||||
]
|
||||
],
|
||||
|
||||
@ -100,6 +101,7 @@ export default {
|
||||
}
|
||||
if (this.userIsAdmin) {
|
||||
this.navMore[2].splice(0, 0, {icon: '', name: 'allUser', label: '团队管理'})
|
||||
this.navMore[2].push({icon: '', name: 'okrAnalyze', label: 'OkR结果分析'})
|
||||
}
|
||||
},
|
||||
|
||||
@ -283,6 +285,16 @@ export default {
|
||||
case 'contacts':
|
||||
location = {name: 'manage-messenger', params: {dialogAction: 'contacts'}};
|
||||
break;
|
||||
|
||||
case 'okrManage':
|
||||
case 'okrAnalyze':
|
||||
this.goForward({
|
||||
path:'/manage/apps/' + ( path == 'okrManage' ? '/#/list' : '/#/analysis') ,
|
||||
query: {
|
||||
baseUrl: this.okrUrl
|
||||
}
|
||||
});
|
||||
return;
|
||||
|
||||
default:
|
||||
location = {name: 'manage-' + path};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user