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

@@ -25,7 +25,7 @@
</div>
<div class="right">
<div class="org" :title="item?.trainOrgName">{{item?.trainOrgName||'-'}}</div>
<div class="text org" :title="item?.summaryTotal">{{item?.summaryTotal||'-'}}</div>
<div class="text org" :title="item?.summaryTotal">{{item?.summaryTotal?item?.summaryTotal+'元':'-'}}</div>
</div>
</div>
</div>
@@ -388,8 +388,8 @@ const columns = [
key: 'studys',
align: 'center',
width:100,
customRender: ({ text })=>{
return text||'0'
customRender: ({text})=>{
return text ? text+'人' : '0'
}
},
{
@@ -401,7 +401,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>
)
}
@@ -412,6 +412,9 @@ const columns = [
key: 'levelPay',
align: 'center',
width:100,
customRender: ({text})=>{
return text||text==0 ? text+'元' : '-'
}
},
{
title: '计划费用',
@@ -419,6 +422,9 @@ const columns = [
key: 'expense',
align: 'center',
width:100,
customRender: ({text})=>{
return text ? text+'元' : '-'
}
},
// {
// title: '应发费用',