讲师管理bug

This commit is contained in:
zhangsir
2025-01-06 17:12:34 +08:00
parent 2a9fe9cfd7
commit 6a1cddf2a5
7 changed files with 293 additions and 264 deletions

View File

@@ -77,12 +77,12 @@
<template #bodyCell="{ record, column }">
<template v-if="column.key === 'orgName'">
<a-space style="display:flex ;justify-content: left; ">
<a-space style="display:flex ;justify-content: left;">
<!-- <a-popover>
<template #content>
<p>{{ record.orgName}}</p>
</template> -->
<span :title="record.orgName">{{ record.neworganizationName }}</span>
<div style="max-width: 180px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" :title="record.orgName">{{ record.neworganizationName }}</div>
<!-- </a-popover> -->
</a-space>
</template>
@@ -771,21 +771,28 @@ export default {
}
}
const columns = ref([
{
title: '讲师工号 ',
dataIndex: 'userNo',
key: 'userNo',
ellipsis: true,
align: "center",
width: 120,
},
// {
// title: '讲师工号 ',
// dataIndex: 'userNo',
// key: 'userNo',
// ellipsis: true,
// align: "center",
// width: 120,
// },
{
title: '讲师姓名 ',
dataIndex: 'name',
key: 'name',
ellipsis: true,
align: "center",
width: 120,
width: 180,
customRender: (value, record) => {
return (
<div>
{value.record.name} / {value.record.userNo}
</div>
)
}
},
{
title: '所属组织 ',
@@ -822,7 +829,7 @@ export default {
dataIndex: 'teaching',
key: 'teaching',
ellipsis: true, align: "center",
width: 120,
width: 130,
customRender: ({text})=>{
return text ? text+'分钟' : '-'
}