mirror of
https://github.com/jumpserver/lina.git
synced 2025-11-09 11:19:11 +00:00
Compare commits
1 Commits
v4.10.11
...
pr@pam@fix
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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,
|
||||||
|
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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user