Merge pull request #1921 from jumpserver/pr@dev@del_history_account

perf: 暂时禁用账号历史
This commit is contained in:
feng626
2022-07-14 10:40:45 +08:00
committed by GitHub

View File

@@ -13,7 +13,7 @@ import ShowSecretInfo from './ShowSecretInfo'
import UpdateSecretInfo from './UpdateSecretInfo'
import { connectivityMeta } from './const'
import { openTaskPage } from '@/utils/jms'
import i18n from '@/i18n/i18n'
// import i18n from '@/i18n/i18n'
export default {
name: 'AccountListTable',
@@ -152,18 +152,18 @@ export default {
vm.showUpdateSecretDialog = true
})
}
},
{
name: 'History',
title: i18n.t('common.History'),
can: this.$hasPerm('assets.view_assethistoryaccount') && !this.$store.getters.currentOrgIsRoot,
callback: ({ row }) => {
this.$router.push({
name: 'AssetAccountHistoryList',
query: { id: row.id }
})
}
}
// {
// name: 'History',
// title: i18n.t('common.History'),
// can: this.$hasPerm('assets.view_assethistoryaccount') && !this.$store.getters.currentOrgIsRoot,
// callback: ({ row }) => {
// this.$router.push({
// name: 'AssetAccountHistoryList',
// query: { id: row.id }
// })
// }
// }
]
}
}