修改评价打分详情table组件引用的页面中的数据处理
This commit is contained in:
@ -84,15 +84,17 @@ const SupplierEvaluateResultByZb: React.FC = () => {
|
||||
return indicatorDetail.taskIndicatorVo.map(indicator => {
|
||||
return {
|
||||
baseIndicator: indicator.baseIndicator,
|
||||
descIndicator: indicator.indicatorDesc,
|
||||
// 注意:ScoreEvaluationTable组件内部期望接收indicatorDesc字段
|
||||
indicatorDesc: indicator.indicatorDesc,
|
||||
score: indicator.score,
|
||||
indicatorNdList: indicator.subIndicator?.map(subItem => {
|
||||
return {
|
||||
subIndicator: subItem.subIndicator,
|
||||
score: subItem.subScore,
|
||||
score: subItem.score,
|
||||
scoreNum: subItem.score || '',
|
||||
subScore: subItem.subScore,
|
||||
isStar: subItem.starIndicator,
|
||||
id: subItem.id,
|
||||
actualScore: subItem.scoreNum || '',
|
||||
remark: subItem.remark || ''
|
||||
};
|
||||
}) || []
|
||||
|
@ -263,8 +263,8 @@ const SupplierEvaluateResultScoreByList: React.FC = () => {
|
||||
},
|
||||
{
|
||||
title: intl.formatMessage({ id: 'supplierEvaluateResult.column.score' }),
|
||||
dataIndex: 'score',
|
||||
key: 'score',
|
||||
dataIndex: 'suScore',
|
||||
key: 'suScore',
|
||||
align: 'center' as const,
|
||||
width: 100,
|
||||
},
|
||||
|
Reference in New Issue
Block a user