| | |
| | | {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) |
| | |
| | | outData.name = val.name |
| | | outData.sex = val.sex == 0?'男':'女' |
| | | outData.domain = val.domain |
| | | outData.jobCategory = res.data.jobCategory?res.data.jobCategory:'暂无' |
| | | 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 |
| | | outData.professionalAbility = state.rateList.find(i=>i.value == res.data.professionalAbility)?.label |
| | | outData.expressingOpinions = state.rateList.find(i=>i.value == res.data.expressingOpinions)?.label |
| | | outData.comprehensiveEvaluation = state.rateList.find(i=>i.value == res.data.comprehensiveEvaluation)?.label |
| | | outData.jobCategory = res.data.jobCategory?res.data.jobCategory.split(',').map(item=>{ return state.directionList.find(i=>i.value == item)?.label}):'暂无' |
| | | outData.professionalEthicsList = state.rateList.map(i => ({...i, checked: i.value !== res.data.professionalEthics})) |
| | | outData.impartialHonestList = state.rateList.map(i=> ({...i, checked: i.value !== res.data.impartialHonest})) |
| | | outData.comprehensiveCoordinationList = state.rateList.map(i=> ({...i, checked: i.value !== res.data.comprehensiveCoordination})) |
| | | outData.professionalAbilityList = state.rateList.map(i=> ({...i, checked: i.value !== res.data.professionalAbility})) |
| | | outData.expressingOpinionsList = state.rateList.map(i=> ({...i, checked: i.value !== res.data.expressingOpinions})) |
| | | outData.comprehensiveEvaluationList = state.rateList.map(i=> ({...i, checked: i.value !== res.data.comprehensiveEvaluation})) |
| | | try { |
| | | generateWordDocument('/evaluateFile.docx',outData, outData.name + '专家考评表.docx'); |
| | | } catch (error){ |