|
@@ -39,6 +39,9 @@
|
|
<template #result="{ record }">{{
|
|
<template #result="{ record }">{{
|
|
taskResultEnum[record.result]
|
|
taskResultEnum[record.result]
|
|
}}</template>
|
|
}}</template>
|
|
|
|
+ <template #createTime="{ record }">
|
|
|
|
+ {{ timestampFilter(record?.createTime) }}
|
|
|
|
+ </template>
|
|
<template #action="{ record }">
|
|
<template #action="{ record }">
|
|
<a-button type="text" class="btn-primary" @click="download(record)"
|
|
<a-button type="text" class="btn-primary" @click="download(record)"
|
|
>下载</a-button
|
|
>下载</a-button
|
|
@@ -57,6 +60,7 @@
|
|
import { useAppStore } from '@/store';
|
|
import { useAppStore } from '@/store';
|
|
import { modalConfirm } from '@/utils/arco';
|
|
import { modalConfirm } from '@/utils/arco';
|
|
import { downloadByCrossUrl } from '@/utils';
|
|
import { downloadByCrossUrl } from '@/utils';
|
|
|
|
+ import { timestampFilter } from '@/utils/filter';
|
|
|
|
|
|
defineOptions({
|
|
defineOptions({
|
|
name: 'MyTask',
|
|
name: 'MyTask',
|
|
@@ -117,7 +121,8 @@
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '创建时间',
|
|
title: '创建时间',
|
|
- dataIndex: 'operator',
|
|
|
|
|
|
+ dataIndex: 'createTime',
|
|
|
|
+ slotName: 'createTime',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '操作',
|
|
title: '操作',
|