This commit is contained in:
wangjh12
2025-05-11 10:15:10 +08:00
parent cc88a0de81
commit bc33c9c4f1

View File

@@ -172,16 +172,19 @@
onChange: onSelectChange, onChange: onSelectChange,
}" }"
> >
<template #headerCell="{ column }"> <!-- <template v-slot:header>-->
<draggable <!-- <draggable-->
tag="span" <!-- v-model="columns"-->
:item-key="column.dataIndex" <!-- item-key="key"-->
:list="columns" <!-- :list="columns"-->
handle=".handle" <!-- :group="{ name: 'columns', pull: 'clone', put: false }"-->
> <!-- >-->
<span class="handle">{{ column.title }}</span> <!-- <template #item="{ element }">-->
</draggable> <!-- <a-table-column :title="element.title" :dataIndex="element.dataIndex" :key="element.key"></a-table-column>-->
</template> <!-- </template>-->
<!-- </draggable>-->
<!-- </template>-->
</a-table> </a-table>
<div class="tableBox"> <div class="tableBox">
@@ -1428,6 +1431,14 @@ export default {
align: "center", align: "center",
fixed: "left", fixed: "left",
}, },
{
title: "所属课程",
dataIndex: "offCourseName",
ellipsis: true,
key: "offCourseName",
width: 120,
align: "center",
},
{ {
title: "开课开始时间", title: "开课开始时间",
dataIndex: "startTime", dataIndex: "startTime",
@@ -2180,7 +2191,4 @@ export default {
.ant-table-tbody > tr > td { .ant-table-tbody > tr > td {
user-select: text !important; user-select: text !important;
} }
.handle {
cursor: move;
}
</style> </style>