diff --git a/components/index/Workbench.vue b/components/index/Workbench.vue index 61a8851..c427509 100644 --- a/components/index/Workbench.vue +++ b/components/index/Workbench.vue @@ -31,10 +31,10 @@ import { ref } from 'vue'; const items = ref([ { key: 'verify', text: '审批管理', icon: '📝' }, - { key: 'customer', text: '客户管理', icon: '👤' }, + // { key: 'customer', text: '客户管理', icon: '👤' }, { key: 'project', text: '项目管理', icon: '📚' }, { key: 'task', text: '任务管理', icon: '🗂️' }, - { key: 'schedule', text: '日程管理', icon: '🗓️' }, + // { key: 'schedule', text: '日程管理', icon: '🗓️' }, { key: 'contact', text: '通讯录', icon: '📇' }, { key: 'notice', text: '公告管理', icon: '📢' }, { key: 'wechat', text: '工作微信', icon: '🤖' } @@ -68,6 +68,14 @@ const handleClick = (item) => { }); return; } + if (item.key === 'notice') { + uni.navigateTo({ + url: '/pages/notice/list/index' + }); + return; + } + + // 其他入口占位 uni.showToast({ title: '开发中', icon: 'none' }); };