mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 09:16:46 +08:00
讲师管理bug
This commit is contained in:
@@ -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: '应发费用',
|
||||
|
||||
Reference in New Issue
Block a user