|
@@ -12,7 +12,7 @@
|
|
<div class="p-base radius-base fill-blank">
|
|
<div class="p-base radius-base fill-blank">
|
|
<base-table ref="tableRef" :columns="columns" :data="data">
|
|
<base-table ref="tableRef" :columns="columns" :data="data">
|
|
<template #column-operation="{ row }">
|
|
<template #column-operation="{ row }">
|
|
- <el-link v-if="!!row.filePath" target="_blank" type="primary" :href="row.filePath">下载</el-link>
|
|
|
|
|
|
+ <el-link v-if="!!row.filePath" download target="_blank" type="primary" :href="row.filePath">下载</el-link>
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
v-if="row.status !== 'PROCESSING'"
|
|
v-if="row.status !== 'PROCESSING'"
|
|
:width="useVW(220)"
|
|
:width="useVW(220)"
|
|
@@ -82,11 +82,11 @@ const onSearch = async () => {
|
|
}
|
|
}
|
|
const columns: EpTableColumn[] = [
|
|
const columns: EpTableColumn[] = [
|
|
{ label: 'ID', prop: 'id' },
|
|
{ label: 'ID', prop: 'id' },
|
|
|
|
+ { label: '任务类型', prop: 'taskTypeName' },
|
|
// { label: '文件路径', prop: 'filePath' },
|
|
// { label: '文件路径', prop: 'filePath' },
|
|
{ label: '用时', prop: 'spentTime' },
|
|
{ label: '用时', prop: 'spentTime' },
|
|
{ label: '状态', prop: 'statusName' },
|
|
{ label: '状态', prop: 'statusName' },
|
|
{ label: '状态描述', prop: 'statusMsg' },
|
|
{ label: '状态描述', prop: 'statusMsg' },
|
|
- { label: '任务类型', prop: 'taskTypeName' },
|
|
|
|
{ label: '操作', slotName: 'operation', showOverflowTooltip: false, minWidth: 80 },
|
|
{ label: '操作', slotName: 'operation', showOverflowTooltip: false, minWidth: 80 },
|
|
]
|
|
]
|
|
const { fetch: deleteRecord } = useFetch('removeImportOrExport')
|
|
const { fetch: deleteRecord } = useFetch('removeImportOrExport')
|