mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-25 18:09:42 +00:00
Fixed: Task Click
This commit is contained in:
parent
3ac0ce7429
commit
01f1b4cf04
@ -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,
|
||||||
name: 'AssetDetail',
|
getRoute: ({ row }) => ({
|
||||||
params: {
|
name: 'AssetDetail',
|
||||||
id: row.id
|
params: { id: row.assets[0].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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user