讲师管理bug

This commit is contained in:
zhangsir
2024-12-14 17:08:13 +08:00
parent f13cf1802c
commit ea86a35087
3 changed files with 51 additions and 7 deletions

View File

@@ -396,14 +396,14 @@ export default{
width: 200,
},
{
title: '根节点名称',
title: '是否为根节点名称',
dataIndex: 'parentName',
key: 'parentName',
ellipsis: true, align: "center",
align: "center",
width: 200,
customRender: ({text})=>{
customRender: ({text,record})=>{
return (
text || '-'
text ? <div>({text})</div> : <div>({{1:'一',2:'二',3:'三'}[record.code]}级审批)</div>
)
},
},