feat:新增ai分析,新增储值账户,优化通知规则
This commit is contained in:
28
src/config/aiStatus.js
Normal file
28
src/config/aiStatus.js
Normal file
@@ -0,0 +1,28 @@
|
||||
export const AI_STATUS_META = {
|
||||
running: {
|
||||
label: 'AI 分类中',
|
||||
icon: 'ph-circle-notch',
|
||||
className: 'bg-amber-50 text-amber-700 border-amber-200',
|
||||
iconClassName: 'animate-spin',
|
||||
},
|
||||
applied: {
|
||||
label: 'AI 已补全',
|
||||
icon: 'ph-sparkle',
|
||||
className: 'bg-violet-50 text-violet-700 border-violet-200',
|
||||
iconClassName: '',
|
||||
},
|
||||
suggested: {
|
||||
label: 'AI 建议',
|
||||
icon: 'ph-lightbulb',
|
||||
className: 'bg-sky-50 text-sky-700 border-sky-200',
|
||||
iconClassName: '',
|
||||
},
|
||||
failed: {
|
||||
label: 'AI 失败',
|
||||
icon: 'ph-warning',
|
||||
className: 'bg-stone-100 text-stone-500 border-stone-200',
|
||||
iconClassName: '',
|
||||
},
|
||||
}
|
||||
|
||||
export const getAiStatusMeta = (status) => AI_STATUS_META[status] || null
|
||||
Reference in New Issue
Block a user