|
|
@@ -8,6 +8,7 @@
|
|
|
:expand-row-by-click="true"
|
|
|
:pagination="false"
|
|
|
size="small"
|
|
|
+ :scroll="{ x: 1500 }"
|
|
|
>
|
|
|
<template #bodyCell="{ column, record, text }">
|
|
|
<template v-if="column.dataIndex === 'startTime' || column.dataIndex === 'endTime'">
|
|
|
@@ -68,47 +69,58 @@
|
|
|
const columns = [
|
|
|
{
|
|
|
title: '班级',
|
|
|
- dataIndex: 'room'
|
|
|
+ dataIndex: 'room',
|
|
|
+ width: 120
|
|
|
},
|
|
|
{
|
|
|
title: '班级名称',
|
|
|
- dataIndex: 'gradesIdName'
|
|
|
+ dataIndex: 'gradesIdName',
|
|
|
+ width: 120
|
|
|
},
|
|
|
{
|
|
|
title: '学期',
|
|
|
- dataIndex: 'semesterIdName'
|
|
|
+ dataIndex: 'semesterIdName',
|
|
|
+ width: 120
|
|
|
},
|
|
|
{
|
|
|
title: '开始节次',
|
|
|
- dataIndex: 'startPeriod'
|
|
|
+ dataIndex: 'startPeriod',
|
|
|
+ width: 80
|
|
|
},
|
|
|
{
|
|
|
title: '结束节次',
|
|
|
- dataIndex: 'endPeriod'
|
|
|
+ dataIndex: 'endPeriod',
|
|
|
+ width: 80
|
|
|
},
|
|
|
{
|
|
|
title: '开始时间',
|
|
|
- dataIndex: 'startTime'
|
|
|
+ dataIndex: 'startTime',
|
|
|
+ width: 120
|
|
|
},
|
|
|
{
|
|
|
title: '结束时间',
|
|
|
- dataIndex: 'endTime'
|
|
|
+ dataIndex: 'endTime',
|
|
|
+ width: 120
|
|
|
},
|
|
|
{
|
|
|
title: '上课周期',
|
|
|
- dataIndex: 'scheduleTimeName'
|
|
|
+ dataIndex: 'scheduleTimeName',
|
|
|
+ width: 120
|
|
|
},
|
|
|
{
|
|
|
title: '单双周',
|
|
|
- dataIndex: 'weekTypeName'
|
|
|
+ dataIndex: 'weekTypeName',
|
|
|
+ width: 80
|
|
|
},
|
|
|
{
|
|
|
title: '老师',
|
|
|
- dataIndex: 'teacherIdName'
|
|
|
+ dataIndex: 'teacherIdName',
|
|
|
+ width: 120
|
|
|
},
|
|
|
{
|
|
|
title: '状态',
|
|
|
- dataIndex: 'statusName'
|
|
|
+ dataIndex: 'statusName',
|
|
|
+ width: 80
|
|
|
},
|
|
|
// {
|
|
|
// title: '发布时间',
|
|
|
@@ -119,8 +131,9 @@
|
|
|
{
|
|
|
title: '操作',
|
|
|
dataIndex: 'action',
|
|
|
- width: '130px',
|
|
|
- align: 'center'
|
|
|
+ width: 120,
|
|
|
+ align: 'center',
|
|
|
+ fixed: 'right'
|
|
|
}
|
|
|
]
|
|
|
// tool.formatTimestamp()
|