feat(workbench): 添加待确认tab并调整绩效管理页面标题

This commit is contained in:
dk
2026-07-19 15:02:55 +08:00
parent 7f31bed6f6
commit c2f9c922cf
4 changed files with 65 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
import dayjs from 'dayjs';
export type WorkbenchTodoCategory = 'task' | 'ticket' | 'personal' | 'approval';
export type WorkbenchTodoCategory = 'task' | 'ticket' | 'personal' | 'approval' | 'confirm';
export type WorkbenchTodoMainTab = 'all' | WorkbenchTodoCategory;
@@ -68,7 +68,8 @@ const todoCategoryMeta: Record<
task: { label: '任务', tone: 'emerald', icon: 'mdi:checkbox-marked-circle-outline' },
ticket: { label: '工单', tone: 'amber', icon: 'mdi:ticket-confirmation-outline' },
personal: { label: '我的事项', tone: 'violet', icon: 'mdi:notebook-edit-outline' },
approval: { label: '待审批', tone: 'sky', icon: 'mdi:checkbox-multiple-marked-outline' }
approval: { label: '待审批', tone: 'sky', icon: 'mdi:checkbox-multiple-marked-outline' },
confirm: { label: '待确认', tone: 'rose', icon: 'mdi:clipboard-check-outline' }
};
const todoPriorityWeight: Record<WorkbenchTodoPriority, number> = {