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: { name: {
formatter: DetailFormatter, formatter: DetailFormatter,
formatterArgs: { formatterArgs: {
route: 'AccountCheckDetail' getRoute: ({ row }) => ({
name: 'AccountCheckDetail',
params: { id: row.id }
})
} }
}, },
assets: { assets: {
formatter: AmountFormatter, formatter: AmountFormatter,
formatterArgs: { formatterArgs: {
async: false, async: false,
getRoute({ row }) { drawer: true,
return { getTitle: ({ row }) => row.assets[0].name,
getRoute: ({ row }) => ({
name: 'AssetDetail', name: 'AssetDetail',
params: { params: { id: row.assets[0].id }
id: row.id })
}
}
}
} }
}, },
nodes: { nodes: {
formatter: AmountFormatter, formatter: AmountFormatter,
formatterArgs: { formatterArgs: {
async: false, async: false,
getRoute({ row }) { drawer: true,
return { getRoute: ({ row }) => ({
name: 'AssetDetail', name: 'AssetDetail',
params: { query: { tab: 'Basic' },
id: row.id params: { id: row.assets[0].id }
} })
}
}
} }
}, },
secret_strategy: { secret_strategy: {