讲师管理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

@@ -279,7 +279,7 @@ const columns = [
align: 'center',
width:100,
customRender: ({ text })=>{
return text||'0'
return text?text+'人':'0'
}
},
{
@@ -291,7 +291,7 @@ const columns = [
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>
)
}
@@ -301,14 +301,20 @@ const columns = [
dataIndex: 'levelPay',
key: 'levelPay',
align: 'center',
width:100
width:100,
customRender: ({ text })=>{
return text||text==0?text+'元':'-'
}
},
{
title: '计划费用',
dataIndex: 'expense',
key: 'expense',
align: 'center',
width:100
width:100,
customRender: ({ text })=>{
return text?text+'元':'-'
}
},
// {
// title: '应发费用',