| | |
| | | userList: []; |
| | | timeList: Array<type>; |
| | | typeList: Array<type>; |
| | | approveTypeList: Array<type>; |
| | | workLevelList: []; |
| | | standardList: Array<stand>; |
| | | actionList: Array<action>; |
| | |
| | | { id: 1, name: '单人' }, |
| | | { id: 2, name: '多人' }, |
| | | { id: 3, name: '分析人' } |
| | | ], |
| | | approveTypeList: [ |
| | | { id: 1, name: '数值' }, |
| | | { id: 2, name: '选项' }, |
| | | { id: 3, name: '填空' } |
| | | ], |
| | | workLevelList: [], |
| | | actionList: [], |
| | |
| | | |
| | | const parseNumber = (value: number, type: string) => { |
| | | if (type === '审批项类型') { |
| | | return data.typeList.find((item) => item.id === value)?.name; |
| | | return data.approveTypeList.find((item) => item.id === value)?.name; |
| | | } else if (type === '措施名称') { |
| | | return data.actionList.find((item) => item.id === value)?.context; |
| | | } else { |