mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
讲师管理bug
This commit is contained in:
@@ -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+'分钟' : '-'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user