1
0
mirror of https://github.com/jumpserver/lina.git synced 2025-05-12 18:16:24 +00:00

Fixed: Task Click

This commit is contained in:
zhaojisen 2025-02-27 18:48:40 +08:00
parent 3ac0ce7429
commit 01f1b4cf04

View File

@ -33,35 +33,34 @@ export default {
name: {
formatter: DetailFormatter,
formatterArgs: {
route: 'AccountCheckDetail'
getRoute: ({ row }) => ({
name: 'AccountCheckDetail',
params: { id: row.id }
})
}
},
assets: {
formatter: AmountFormatter,
formatterArgs: {
async: false,
getRoute({ row }) {
return {
name: 'AssetDetail',
params: {
id: row.id
}
}
}
drawer: true,
getTitle: ({ row }) => row.assets[0].name,
getRoute: ({ row }) => ({
name: 'AssetDetail',
params: { id: row.assets[0].id }
})
}
},
nodes: {
formatter: AmountFormatter,
formatterArgs: {
async: false,
getRoute({ row }) {
return {
name: 'AssetDetail',
params: {
id: row.id
}
}
}
drawer: true,
getRoute: ({ row }) => ({
name: 'AssetDetail',
query: { tab: 'Basic' },
params: { id: row.assets[0].id }
})
}
},
secret_strategy: {