评分显示

This commit is contained in:
zhangsir
2024-10-29 17:13:27 +08:00
parent b57d2ebd16
commit 3d12204b65

View File

@@ -1334,8 +1334,8 @@
<span style="color: #ffb751"
>已开课
{{
currentPlanItem.courseScore !== -1
? currentPlanItem.courseScore.toFixed(2)
(currentPlanItem.score !== 0&& currentPlanItem.score!==-1)
? currentPlanItem.score.toFixed(2)
: "-"
}}</span>
</div>
@@ -2057,7 +2057,7 @@ const columns6 = [
ellipsis: true,
customRender: ( text ) => {
return(
text.record && text.record.score != 0 ?
text.record && text.record.score != 0 && text.record.score != -1 ?
<div style="display:flex;justify-content:center;align-items:center;">
<span>{(text.record.score.toFixed(2) || '0.00')}</span>
<div class="daochu" onClick={()=>downPin(text.record)} title="导出评估信息"></div>