讲师管理bug

This commit is contained in:
zhangsir
2024-11-17 17:35:41 +08:00
parent 26a377cb39
commit 35ea32332e
16 changed files with 378 additions and 369 deletions

View File

@@ -71,8 +71,8 @@
</div>
<!-- 表格 -->
<div style="padding: 10px 0">
<a-table style="border: 1px solid #f2f6fe" :columns="columns" :data-source="tableData" :loading="tableLoading"
@expand="expandTable" :pagination="false">
<a-table :columns="columns" :scroll="{ x: '1000' }" :data-source="tableData" :loading="tableLoading"
:pagination="false">
<template #bodyCell="{ record, column }">
<template v-if="column.key === 'orgName'">
@@ -710,7 +710,7 @@ export default {
title: '讲师工号 ',
dataIndex: 'userNo',
key: 'userNo',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -718,7 +718,7 @@ export default {
title: '讲师姓名 ',
dataIndex: 'name',
key: 'name',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -726,9 +726,9 @@ export default {
title: '所属组织 ',
dataIndex: 'orgName',
key: 'orgName',
elipsis: true, align: "center",
ellipsis: true, align: "center",
scopedSlots: { customRender: "orgName" },
width: 400,
width: 200,
// customRender: (value, record) => {
// return (
// <div>
@@ -741,14 +741,14 @@ export default {
title: '讲师体系 ',
dataIndex: 'tsystemName',
key: 'tsystemName',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
},
{
title: '级别 ',
dataIndex: 'tlevelName',
key: 'tlevelName',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 100,
},
@@ -756,14 +756,14 @@ export default {
title: '授课时长 ',
dataIndex: 'teaching',
key: 'teaching',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
},
{
title: '在职状态 ',
dataIndex: 'waitStatus',
key: 'waitStatus',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
customRender: (value) => {
return (
@@ -782,7 +782,7 @@ export default {
title: '认证状态 ',
dataIndex: 'certStatus',
key: 'certStatus',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
customRender: (value) => {
return (
@@ -801,7 +801,7 @@ export default {
title: '账号状态 ',
dataIndex: 'status',
key: 'status',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
customRender: (value) => {
return (
@@ -821,7 +821,7 @@ export default {
title: '录入方式 ',
dataIndex: 'createFrom',
key: 'createFrom',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
customRender: (value) => {
return (
@@ -840,9 +840,10 @@ export default {
title: '操作 ',
dataIndex: 'operation',
key: 'operation',
elipsis: true,
ellipsis: true,
width: 200,
align: "right",
fixed: "right",
scopedSlots: { customRender: "action" },
},
])