mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-01 23:18:17 +00:00
fix: 实例同步列表不显示多选框;设置云同步详情页面的菜单高亮显示;云同步进入详情不主动激活detail页卡
This commit is contained in:
parent
86150cc571
commit
bc366947f0
@ -1,6 +1,8 @@
|
|||||||
import empty from '@/layout/empty'
|
import empty from '@/layout/empty'
|
||||||
import i18n from '@/i18n/i18n'
|
import i18n from '@/i18n/i18n'
|
||||||
|
|
||||||
|
const activateMenu = '/console/assets/assets'
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
path: 'cloud',
|
path: 'cloud',
|
||||||
@ -20,7 +22,7 @@ export default [
|
|||||||
hidden: true,
|
hidden: true,
|
||||||
meta: {
|
meta: {
|
||||||
title: i18n.t('xpack.Cloud.CloudSync'),
|
title: i18n.t('xpack.Cloud.CloudSync'),
|
||||||
activeMenu: '/console/assets/assets'
|
activeMenu: activateMenu
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -71,6 +73,7 @@ export default [
|
|||||||
hidden: true,
|
hidden: true,
|
||||||
meta: {
|
meta: {
|
||||||
title: i18n.t('xpack.Cloud.AccountDetail'),
|
title: i18n.t('xpack.Cloud.AccountDetail'),
|
||||||
|
activeMenu: activateMenu,
|
||||||
permissions: ['xpack.view_account']
|
permissions: ['xpack.view_account']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -121,7 +124,8 @@ export default [
|
|||||||
name: 'SyncInstanceTaskDetail',
|
name: 'SyncInstanceTaskDetail',
|
||||||
hidden: true,
|
hidden: true,
|
||||||
meta: {
|
meta: {
|
||||||
title: i18n.t('xpack.Cloud.SyncInstanceTaskDetail')
|
title: i18n.t('xpack.Cloud.SyncInstanceTaskDetail'),
|
||||||
|
activeMenu: activateMenu
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -38,6 +38,7 @@ export default {
|
|||||||
},
|
},
|
||||||
tableConfig: {
|
tableConfig: {
|
||||||
url: `/api/v1/xpack/cloud/sync-instance-tasks/${this.object.id}/instances/`,
|
url: `/api/v1/xpack/cloud/sync-instance-tasks/${this.object.id}/instances/`,
|
||||||
|
hasSelection: false,
|
||||||
columns: [
|
columns: [
|
||||||
'instance_id',
|
'instance_id',
|
||||||
{
|
{
|
||||||
|
@ -58,10 +58,7 @@ export default {
|
|||||||
formatter: DetailFormatter,
|
formatter: DetailFormatter,
|
||||||
formatterArgs: {
|
formatterArgs: {
|
||||||
permissions: 'xpack.view_syncinstancedetail',
|
permissions: 'xpack.view_syncinstancedetail',
|
||||||
route: 'SyncInstanceTaskDetail',
|
route: 'SyncInstanceTaskDetail'
|
||||||
routeQuery: {
|
|
||||||
activeTab: 'detail'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
history_count: {
|
history_count: {
|
||||||
|
Loading…
Reference in New Issue
Block a user