feat: base 添加enum.js

This commit is contained in:
caoqianming 2025-10-16 09:58:45 +08:00
parent 497a6c983d
commit 88a6ad160b
1 changed files with 8 additions and 0 deletions

8
utils/enum.js Normal file
View File

@ -0,0 +1,8 @@
export const actStateEnum = Object.freeze({
0: { text: '草稿中', type: 'primary' },
1: { text: '进行中', type: 'primary' },
2: { text: '被退回', type: 'error' },
3: { text: '被撤回', type: 'warning' },
4: { text: '已完成', type: 'success' },
5: { text: '已关闭', type: 'default' },
})