fix(任务中心): 系统任务下次执行时间展示调整

【【任务中心】系统后台任务列表-状态关闭-仍展示下次执行时间】
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001048000
This commit is contained in:
baiqi 2024-10-24 16:31:05 +08:00 committed by Craftsman
parent f2312e8da8
commit d34d149eb3
1 changed files with 5 additions and 0 deletions

View File

@ -52,6 +52,10 @@
/> />
<span v-else>{{ record.value }}</span> <span v-else>{{ record.value }}</span>
</template> </template>
<template #nextTime="{ record }">
<span v-if="record.enable">{{ record.nextTime }}</span>
<span v-else>-</span>
</template>
<template #action="{ record }"> <template #action="{ record }">
<MsButton <MsButton
v-if="['API_IMPORT', 'TEST_PLAN', 'API_SCENARIO'].includes(record.resourceType)" v-if="['API_IMPORT', 'TEST_PLAN', 'API_SCENARIO'].includes(record.resourceType)"
@ -216,6 +220,7 @@
{ {
title: 'ms.taskCenter.nextExecuteTime', title: 'ms.taskCenter.nextExecuteTime',
dataIndex: 'nextTime', dataIndex: 'nextTime',
slotName: 'nextTime',
width: 170, width: 170,
sortable: { sortable: {
sortDirections: ['ascend', 'descend'], sortDirections: ['ascend', 'descend'],