From df06d5adebeedb5edca6264450671792ccbd9d4e Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期一, 26 九月 2022 16:19:36 +0800 Subject: [PATCH] 修改 --- src/views/specialWorkSystem/workFlow/approveRule/components/approveLevelDialog.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/specialWorkSystem/workFlow/approveRule/components/approveLevelDialog.vue b/src/views/specialWorkSystem/workFlow/approveRule/components/approveLevelDialog.vue index 9077344..24d4154 100644 --- a/src/views/specialWorkSystem/workFlow/approveRule/components/approveLevelDialog.vue +++ b/src/views/specialWorkSystem/workFlow/approveRule/components/approveLevelDialog.vue @@ -104,6 +104,7 @@ userList: []; timeList: Array<type>; typeList: Array<type>; + approveTypeList: Array<type>; workLevelList: []; standardList: Array<stand>; actionList: Array<action>; @@ -171,6 +172,11 @@ { id: 1, name: '单人' }, { id: 2, name: '多人' }, { id: 3, name: '分析人' } + ], + approveTypeList: [ + { id: 1, name: '数值' }, + { id: 2, name: '选项' }, + { id: 3, name: '填空' } ], workLevelList: [], actionList: [], @@ -274,7 +280,7 @@ 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 { -- Gitblit v1.9.2