|
@@ -23,8 +23,10 @@
|
|
|
>
|
|
|
<template #action="{ record }">
|
|
|
<span>
|
|
|
- <a-button @click="toDownload(record)">下载文件</a-button>
|
|
|
- <a-button @click="toDelete(record)">编辑</a-button>
|
|
|
+ <a-button v-if="record.filePath" @click="toDownload(record)"
|
|
|
+ >下载文件</a-button
|
|
|
+ >
|
|
|
+ <a-button @click="toDelete(record)">删除</a-button>
|
|
|
</span>
|
|
|
</template>
|
|
|
</a-table>
|
|
@@ -85,6 +87,15 @@ const columns = [
|
|
|
dataIndex: "spentTime",
|
|
|
width: 140,
|
|
|
},
|
|
|
+ {
|
|
|
+ title: "状态",
|
|
|
+ dataIndex: "statusName",
|
|
|
+ width: 100,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "状态描述",
|
|
|
+ dataIndex: "statusMsg",
|
|
|
+ },
|
|
|
{
|
|
|
title: "操作",
|
|
|
key: "action",
|