提交 18f865ae 编写于 作者: guangjun.yang's avatar guangjun.yang

居民管理与消息推送菜单

上级 d954f372
...@@ -109,39 +109,39 @@ ...@@ -109,39 +109,39 @@
} }
] ]
}, },
{ // {
title: '居民管理', // title: '居民管理',
icon: 'el-icon-patients-manage', // icon: 'el-icon-patients-manage',
index: 'patients-manage', // index: 'patients-manage',
subs: [ // subs: [
{ // {
title: '我的居民', // title: '我的居民',
icon: 'el-icon-setting', // icon: 'el-icon-setting',
index: 'patients-manage/mypatients-manage/patients-list' // index: 'patients-manage/mypatients-manage/patients-list'
}, // },
{ // {
title: '新增居民', // title: '新增居民',
icon: 'el-icon-setting', // icon: 'el-icon-setting',
index: 'patients-manage/new-manage/new-patient' // index: 'patients-manage/new-manage/new-patient'
}, // },
{ // {
title: '分组管理', // title: '分组管理',
icon: 'el-icon-setting', // icon: 'el-icon-setting',
index: 'patients-manage/labels-manage/labels-list' // index: 'patients-manage/labels-manage/labels-list'
}, // },
{ // {
title: '资料不全居民', // title: '资料不全居民',
icon: 'el-icon-setting', // icon: 'el-icon-setting',
index: 'patients-manage/not-complete/uncompleted-list' // index: 'patients-manage/not-complete/uncompleted-list'
} // }
] // ]
},{ // },{
title: '消息推送', // title: '消息推送',
icon: 'el-icon-message', // icon: 'el-icon-message',
index: 'msg-push', // index: 'msg-push',
isMessageSend: true, // isMessageSend: true,
checkAuth: true, // checkAuth: true,
}, // },
// { // {
// title: '学情报告', // title: '学情报告',
// icon: 'el-icon-tickets', // icon: 'el-icon-tickets',
...@@ -274,9 +274,49 @@ ...@@ -274,9 +274,49 @@
} }
] ]
} }
const patients = {
title: '居民管理',
icon: 'el-icon-patients-manage',
index: 'patients-manage',
subs: [
{
title: '我的居民',
icon: 'el-icon-setting',
index: 'patients-manage/mypatients-manage/patients-list'
},
{
title: '新增居民',
icon: 'el-icon-setting',
index: 'patients-manage/new-manage/new-patient'
},
{
title: '分组管理',
icon: 'el-icon-setting',
index: 'patients-manage/labels-manage/labels-list'
},
{
title: '资料不全居民',
icon: 'el-icon-setting',
index: 'patients-manage/not-complete/uncompleted-list'
}
]
}
const message = {
title: '消息推送',
icon: 'el-icon-message',
index: 'msg-push',
isMessageSend: true,
checkAuth: true,
}
vm.items[1].title = '教育培训'; vm.items[1].title = '教育培训';
vm.items.push(followSider); vm.items.push(followSider);
vm.items.push(patients);
vm.items.push(message);
}, },
setEntrySide() { setEntrySide() {
const itemComponent = { const itemComponent = {
title: '项目组件', title: '项目组件',
...@@ -334,6 +374,7 @@ ...@@ -334,6 +374,7 @@
vm.items.push(eduRole); vm.items.push(eduRole);
vm.items.push(cme); vm.items.push(cme);
}, },
goToMessageSendPage(checkAuth) { goToMessageSendPage(checkAuth) {
if(checkAuth){ if(checkAuth){
utils.checkAuthFunc().then(res=>{ utils.checkAuthFunc().then(res=>{
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册