/** * 任务类型配置 */ export const TASK_TYPE_CONFIG = { high_priority: { label: '高优先召回', color: 'red', bgColor: '#fee2e2', borderColor: '#fca5a5', textColor: '#b91c1c', bannerBg: '/assets/images/banner-bg-red-aurora.svg', }, priority_recall: { label: '优先召回', color: 'orange', bgColor: '#fed7aa', borderColor: '#fdba74', textColor: '#b45309', bannerBg: '/assets/images/banner-bg-orange-aurora.svg', }, relationship: { label: '关系构建', color: 'pink', bgColor: '#fce7f3', borderColor: '#f9a8d4', textColor: '#be185d', bannerBg: '/assets/images/banner-bg-pink-aurora.svg', }, callback: { label: '客户回访', color: 'teal', bgColor: '#ccfbf1', borderColor: '#99f6e4', textColor: '#0d9488', bannerBg: '/assets/images/banner-bg-teal-aurora.svg', }, } as const /** * 任务状态配置 */ export const TASK_STATUS_CONFIG = { normal: { label: '进行中', icon: '📋', }, pinned: { label: '已置顶', icon: '📌', }, abandoned: { label: '已放弃', icon: '❌', }, } as const export type TaskType = keyof typeof TASK_TYPE_CONFIG export type TaskStatus = keyof typeof TASK_STATUS_CONFIG