mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 17:26:46 +08:00
讲师管理bug
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<a-table style="border: 1px solid #f2f6fe" :columns="columns" :data-source="tableData" :loading="tableLoading"
|
||||
@expand="expandTable" :pagination="false">
|
||||
@expand="expandTable" :pagination="false">
|
||||
<template #bodyCell="{ record, column }">
|
||||
<template v-if="column.key === 'operation'">
|
||||
<a-space >
|
||||
@@ -391,41 +391,21 @@ export default{
|
||||
key: 'affiliationCode',
|
||||
ellipsis: true,
|
||||
align: "center",
|
||||
width: 200,
|
||||
width: '100px',
|
||||
},
|
||||
{
|
||||
title: '培训发生组织名称 ',
|
||||
dataIndex: 'affiliationName',
|
||||
key: 'affiliationName',
|
||||
ellipsis: true, align: "center",
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
title: '是否为根节点名称',
|
||||
dataIndex: 'parentName',
|
||||
key: 'parentName',
|
||||
align: "center",
|
||||
width: 200,
|
||||
customRender: ({text,record})=>{
|
||||
return (
|
||||
text ? <div>否({text})</div> : <div>是({{1:'一',2:'二',3:'三'}[record.code]}级审批)</div>
|
||||
)
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '担当',
|
||||
dataIndex: 'leaderName',
|
||||
key: 'leaderName',
|
||||
ellipsis: true,
|
||||
align: "center",
|
||||
width: 200,
|
||||
width: '200px',
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
dataIndex: 'status',
|
||||
key: 'status',
|
||||
ellipsis: true, align: "center",
|
||||
width: 160,
|
||||
width: '100px',
|
||||
customRender: ({text})=>{
|
||||
switch (text) {
|
||||
case '1':
|
||||
@@ -443,6 +423,27 @@ export default{
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '是否为根节点名称',
|
||||
dataIndex: 'parentName',
|
||||
key: 'parentName',
|
||||
align: "center",
|
||||
width: '200px',
|
||||
customRender: ({text,record})=>{
|
||||
return (
|
||||
text ? <div>否({text})</div> : <div>是({{1:'一',2:'二',3:'三'}[record.code]}级审批)</div>
|
||||
)
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '担当',
|
||||
dataIndex: 'leaderName',
|
||||
key: 'leaderName',
|
||||
ellipsis: true,
|
||||
align: "center",
|
||||
width: '200px',
|
||||
},
|
||||
|
||||
// {
|
||||
// title: '备注 ',
|
||||
// dataIndex: 'remark',
|
||||
@@ -454,7 +455,7 @@ export default{
|
||||
title: '操作 ',
|
||||
dataIndex: 'operation',
|
||||
key: 'operation',
|
||||
width: 200,
|
||||
width: '120px',
|
||||
align: "center",
|
||||
fixed: 'right',
|
||||
scopedSlots: { customRender: "action" },
|
||||
|
||||
Reference in New Issue
Block a user