perf: 暂时禁用账号历史

This commit is contained in:
feng626
2022-07-14 10:38:51 +08:00
parent 29f1523113
commit 71bbe7b0c5

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 }
// })
// }
// }
]
}
}