mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
Fixed: Fix the issue where the execution list name remains unchanged after the execution task name changes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user