Fixed: Fix the issue where the execution list name remains unchanged after the execution task name changes

This commit is contained in:
zhaojisen
2025-03-07 16:07:29 +08:00
committed by ZhaoJiSen
parent 29ed35f94f
commit 858cfbec27
5 changed files with 12 additions and 12 deletions

View File

@@ -61,10 +61,10 @@ export default {
formatter: DetailFormatter,
formatterArgs: {
drawer: true,
getTitle: ({ row }) => row.snapshot.name,
getTitle: ({ row }) => row.automation.name,
getRoute: ({ row }) => ({
name: 'AccountBackupDetail',
params: { id: row.automation }
params: { id: row.automation.id }
})
},
id: ({ row }) => row.automation

View File

@@ -55,12 +55,12 @@ export default {
formatterArgs: {
drawer: true,
getDrawerTitle({ row }) {
return row.snapshot.name
return row.automation.name
},
getTitle: ({ row }) => row.snapshot.name,
getTitle: ({ row }) => row.automation.name,
getRoute: ({ row }) => ({
name: 'AccountChangeSecretDetail',
params: { id: row.automation }
params: { id: row.automation.id }
})
},
id: ({ row }) => row.automation

View File

@@ -67,10 +67,10 @@ export default {
label: this.$t('Automation'),
formatter: DetailFormatter,
formatterArgs: {
getTitle: ({ row }) => row.snapshot.name,
getTitle: ({ row }) => row.automation.name,
getRoute: ({ row }) => ({
name: 'AccountDiscoverTaskDetail',
params: { id: row.automation }
params: { id: row.automation.id }
}),
drawer: true
},

View File

@@ -60,13 +60,13 @@ export default {
formatter: DetailFormatter,
formatterArgs: {
drawer: true,
getTitle: ({ row }) => row.snapshot.name,
getTitle: ({ row }) => row.automation.name,
getRoute: ({ row }) => ({
name: 'AccountPushDetail',
params: { id: row.automation }
params: { id: row.automation.id }
}),
getDrawerTitle({ row }) {
return row.snapshot.name
return row.automation.name
}
},
id: ({ row }) => row.automation

View File

@@ -61,10 +61,10 @@ export default {
formatter: DetailFormatter,
formatterArgs: {
drawer: true,
getTitle: ({ row }) => row.snapshot.name,
getTitle: ({ row }) => row.automation.name,
getRoute: ({ row }) => ({
name: 'AccountCheckDetail',
params: { id: row.automation }
params: { id: row.automation.id }
})
},
id: ({ row }) => row.automation