|
@@ -17,10 +17,10 @@
|
|
|
:bordered="false"
|
|
|
>
|
|
|
<template #status="{ record }">
|
|
|
- {{ record.cancel ? '已取消' : '正常' }}
|
|
|
+ <status-tag type="taskStatus" :value="record.status" />
|
|
|
</template>
|
|
|
- <template #updateTime="{ record }">
|
|
|
- {{ timestampFilter(record.updateTime) }}
|
|
|
+ <template #uploadTime="{ record }">
|
|
|
+ {{ timestampFilter(record.uploadTime) }}
|
|
|
</template>
|
|
|
<template #action="{ record }">
|
|
|
<a-button type="text" class="btn-danger" @click="toDownload(record)"
|
|
@@ -78,35 +78,33 @@
|
|
|
const columns: TableColumnData[] = [
|
|
|
{
|
|
|
title: '任务名称',
|
|
|
- dataIndex: 'taskName',
|
|
|
+ dataIndex: 'name',
|
|
|
},
|
|
|
{
|
|
|
title: '文件名',
|
|
|
- dataIndex: 'identityNumber',
|
|
|
+ dataIndex: 'fileName',
|
|
|
},
|
|
|
{
|
|
|
title: '状态',
|
|
|
- dataIndex: 'studentCode',
|
|
|
+ slotName: 'status',
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
title: '异常',
|
|
|
- dataIndex: 'teachingName',
|
|
|
- width: 100,
|
|
|
+ dataIndex: 'message',
|
|
|
},
|
|
|
{
|
|
|
title: '上传时间',
|
|
|
- slotName: 'updateTime',
|
|
|
+ slotName: 'uploadTime',
|
|
|
width: 170,
|
|
|
},
|
|
|
-
|
|
|
- {
|
|
|
- title: '操作',
|
|
|
- slotName: 'action',
|
|
|
- width: 80,
|
|
|
- fixed: 'right',
|
|
|
- cellClass: 'action-column',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '操作',
|
|
|
+ // slotName: 'action',
|
|
|
+ // width: 160,
|
|
|
+ // fixed: 'right',
|
|
|
+ // cellClass: 'action-column',
|
|
|
+ // },
|
|
|
];
|
|
|
const { dataList, pagination, getList } = useTable<StudentExportItem[]>(
|
|
|
studentImportListPage,
|