factory_mp/utils/enum.js

22 lines
877 B
JavaScript

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' },
})
export const interveneTypeEnum = Object.freeze({
0: { text: '正常', type: 'success' },
1: { text: '转交', type: 'primary' },
2: { text: '加签', type: 'default' },
3: { text: '加签处理完成', type: 'primary' },
4: { text: '接单', type: 'success' },
5: { text: '评论', type: 'default' },
6: { text: '删除', type: 'error' },
7: { text: '强制关闭', type: 'error' },
8: { text: '强制修改状态', type: 'error' },
10: { text: '撤回', type: 'warning' },
11: { text: '抄送', type: 'default' },
})