mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-08 18:36:46 +08:00
报告
This commit is contained in:
@@ -172,16 +172,19 @@
|
||||
onChange: onSelectChange,
|
||||
}"
|
||||
>
|
||||
<template #headerCell="{ column }">
|
||||
<draggable
|
||||
tag="span"
|
||||
:item-key="column.dataIndex"
|
||||
:list="columns"
|
||||
handle=".handle"
|
||||
>
|
||||
<span class="handle">{{ column.title }}</span>
|
||||
</draggable>
|
||||
</template>
|
||||
<!-- <template v-slot:header>-->
|
||||
<!-- <draggable-->
|
||||
<!-- v-model="columns"-->
|
||||
<!-- item-key="key"-->
|
||||
<!-- :list="columns"-->
|
||||
<!-- :group="{ name: 'columns', pull: 'clone', put: false }"-->
|
||||
<!-- >-->
|
||||
<!-- <template #item="{ element }">-->
|
||||
<!-- <a-table-column :title="element.title" :dataIndex="element.dataIndex" :key="element.key"></a-table-column>-->
|
||||
<!-- </template>-->
|
||||
<!-- </draggable>-->
|
||||
<!-- </template>-->
|
||||
|
||||
|
||||
</a-table>
|
||||
<div class="tableBox">
|
||||
@@ -1428,6 +1431,14 @@ export default {
|
||||
align: "center",
|
||||
fixed: "left",
|
||||
},
|
||||
{
|
||||
title: "所属课程",
|
||||
dataIndex: "offCourseName",
|
||||
ellipsis: true,
|
||||
key: "offCourseName",
|
||||
width: 120,
|
||||
align: "center",
|
||||
},
|
||||
{
|
||||
title: "开课开始时间",
|
||||
dataIndex: "startTime",
|
||||
@@ -2180,7 +2191,4 @@ export default {
|
||||
.ant-table-tbody > tr > td {
|
||||
user-select: text !important;
|
||||
}
|
||||
.handle {
|
||||
cursor: move;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user