diff --git a/utils/enum.js b/utils/enum.js new file mode 100644 index 0000000..304bc86 --- /dev/null +++ b/utils/enum.js @@ -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' }, +}) \ No newline at end of file