讲师管理bug

This commit is contained in:
zhangsir
2024-12-27 16:46:49 +08:00
parent 914e2d7e98
commit fb737c7334
14 changed files with 132 additions and 38 deletions

View File

@@ -276,6 +276,9 @@ export default{
key: 'studys',
ellipsis: true, align: "center",
width: 120,
customRender: ({text})=>{
return text ? text+'人' : '-'
}
},
{
title: '授课时长(分钟)',
@@ -283,6 +286,9 @@ export default{
key: 'teaching',
ellipsis: true, align: "center",
width: 120,
customRender: ({text})=>{
return text ? text+'分钟' : '-'
}
},
{
title: '评分',
@@ -293,7 +299,7 @@ export default{
customRender: (value) => {
return (
<div>
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(0) : '-'}
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(0)+'分' : '-'}
</div>
)
}