diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 158ec038..cf82f742 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -1334,8 +1334,8 @@ 已开课 {{ - currentPlanItem.courseScore !== -1 - ? currentPlanItem.courseScore.toFixed(2) + (currentPlanItem?.score !== 0&& currentPlanItem?.score!==-1) + ? currentPlanItem.score?.toFixed(2) : "-" }} @@ -2057,9 +2057,9 @@ const columns6 = [ ellipsis: true, customRender: ( text ) => { return( - text.record && text.record.courseScore != -1 ? + text.record && text.record?.score != 0 && text.record?.score != -1 ?
- {(text.record.courseScore.toFixed(2) || '0.00')} + {(text.record.score?.toFixed(2) || '0.00')}
downPin(text.record)} title="导出评估信息">
: '-' @@ -4238,7 +4238,7 @@ function onFocusEnd(){ customRender: ({ record }) => { return (
- {record.assessmentScore || "-"} + {record.assessmentScore && record.assessmentScore!=0 && record.assessmentScore!=-1 ? record.assessmentScore?.toFixed(2) : "-"}
); // switch (String(record.status)) {