mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-03 03:18: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: 'workReport', label: '工作报告'},
|
||||||
{icon: '', name: 'approve', label: '审批中心'},
|
{icon: '', name: 'approve', label: '审批中心'},
|
||||||
|
{icon: '', name: 'okrManage', label: 'OkR管理'},
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
||||||
@ -100,6 +101,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if (this.userIsAdmin) {
|
if (this.userIsAdmin) {
|
||||||
this.navMore[2].splice(0, 0, {icon: '', name: 'allUser', label: '团队管理'})
|
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':
|
case 'contacts':
|
||||||
location = {name: 'manage-messenger', params: {dialogAction: 'contacts'}};
|
location = {name: 'manage-messenger', params: {dialogAction: 'contacts'}};
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'okrManage':
|
||||||
|
case 'okrAnalyze':
|
||||||
|
this.goForward({
|
||||||
|
path:'/manage/apps/' + ( path == 'okrManage' ? '/#/list' : '/#/analysis') ,
|
||||||
|
query: {
|
||||||
|
baseUrl: this.okrUrl
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
location = {name: 'manage-' + path};
|
location = {name: 'manage-' + path};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user