From 0d5f2c20521598c01bc2a2d6376ab564b5effc2a Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期二, 10 十二月 2024 08:54:59 +0800 Subject: [PATCH] 修改bug --- src/views/safetyReview/expertManage/postEvaluation/components/expertList.vue | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/src/views/safetyReview/expertManage/postEvaluation/components/expertList.vue b/src/views/safetyReview/expertManage/postEvaluation/components/expertList.vue index be202fb..c9c3b07 100644 --- a/src/views/safetyReview/expertManage/postEvaluation/components/expertList.vue +++ b/src/views/safetyReview/expertManage/postEvaluation/components/expertList.vue @@ -92,6 +92,28 @@ {label: '合格',value: 2}, {label: '基本合格',value: 3}, {label: '不合格',value: 4} + ], + directionList: [ + { + value: '1', + label: '现场检查' + }, + { + value: '2', + label: '调查评估' + }, + { + value: '3', + label: '咨询服务' + }, + { + value: '4', + label: '教育培训' + }, + { + value: '5', + label: '其他' + } ] }) const {tableData,total,queryParams,projectName,title,projectCheckTime} = toRefs(state) @@ -128,7 +150,7 @@ outData.name = val.name outData.sex = val.sex == 0?'男':'女' outData.domain = val.domain - outData.jobCategory = res.data.jobCategory?res.data.jobCategory:'暂无' + outData.jobCategory = res.data.jobCategory?res.data.jobCategory.split(',').map(item=>{ return state.directionList.find(i=>i.value == item)?.label}):'暂无' outData.professionalEthics = state.rateList.find(i=>i.value == res.data.professionalEthics)?.label outData.impartialHonest = state.rateList.find(i=>i.value == res.data.impartialHonest)?.label outData.comprehensiveCoordination = state.rateList.find(i=>i.value == res.data.comprehensiveCoordination)?.label -- Gitblit v1.9.2