mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 18:22:55 +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: '应发费用',
|
||||
|
||||
@@ -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: '应发费用',
|
||||
|
||||
@@ -213,6 +213,9 @@ export default{
|
||||
key: 'studys',
|
||||
ellipsis: true, align: "center",
|
||||
width: 120,
|
||||
customRender: ({text})=>{
|
||||
return text ? text+'人' : '-'
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '授课时长(分钟)',
|
||||
@@ -220,6 +223,9 @@ export default{
|
||||
key: 'teaching',
|
||||
ellipsis: true, align: "center",
|
||||
width: 120,
|
||||
customRender: ({text})=>{
|
||||
return text ? text+'分钟' : '-'
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '评分',
|
||||
@@ -230,7 +236,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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
<a-descriptions-item :labelStyle="{ width: '165px' }" label="培训发生组织编号">{{formData?.affiliationCode||'-'}}</a-descriptions-item>
|
||||
<a-descriptions-item :labelStyle="{ width: '165px' }" label="培训发生组名称">{{formData?.affiliationName||'-'}}</a-descriptions-item>
|
||||
<a-descriptions-item label="是否为根节点">
|
||||
<span v-if="formData?.parentName">否({{ formData?.parentName }})</span>
|
||||
<span v-else>是({{ {1:'一',2:'二',3:'三'}[formData?.code] }}级审批)</span>
|
||||
<span v-if="formData?.parentName"><span style="margin-right:10px">否</span>({{ formData?.parentName }})</span>
|
||||
<span v-else><span style="margin-right:10px">是</span>({{ {1:'一',2:'二',3:'三'}[formData?.code] }}级审批)</span>
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item label="组织担当">{{formData?.act||'-'}}</a-descriptions-item>
|
||||
<a-descriptions-item v-if="formData?.isParent==1" label="一级审批人">{{formData?.one||'-'}}</a-descriptions-item>
|
||||
|
||||
Reference in New Issue
Block a user