diff --git a/src/views/accounts/RiskDetect/AccountRiskList.vue b/src/views/accounts/RiskDetect/AccountRiskList.vue index 659ae746e..71a8ac4e7 100644 --- a/src/views/accounts/RiskDetect/AccountRiskList.vue +++ b/src/views/accounts/RiskDetect/AccountRiskList.vue @@ -113,6 +113,7 @@ export default { } }, username: { + label: this.$t('Account'), width: '120px' }, risk: { diff --git a/src/views/accounts/const.js b/src/views/accounts/const.js index 76c8156ed..34087d235 100644 --- a/src/views/accounts/const.js +++ b/src/views/accounts/const.js @@ -37,6 +37,7 @@ export const gatherAccountTableConfig = (vm, url) => { } }, username: { + label: vm.$t('Account'), formatter: DetailFormatter, formatterArgs: { can: true, diff --git a/src/views/assets/Platform/PlatformDetail/Automation.vue b/src/views/assets/Platform/PlatformDetail/Automation.vue index dfc057b50..cd833b70a 100644 --- a/src/views/assets/Platform/PlatformDetail/Automation.vue +++ b/src/views/assets/Platform/PlatformDetail/Automation.vue @@ -67,7 +67,7 @@ export default { if (!this.canSubmit || !this.isSystemAdmin) { return this.$message.error(this.$tc('NoPermission')) } - this.$axios.patch(`${this.url}${this.object.id}/`, validValues).then(() => { + this.$axios.patch(`${this.url}`, validValues).then(() => { this.$message.success(this.$tc('UpdateSuccessMsg')) }) } diff --git a/src/views/assets/Platform/PlatformDetail/index.vue b/src/views/assets/Platform/PlatformDetail/index.vue index a4cd4e63f..11e7fc497 100644 --- a/src/views/assets/Platform/PlatformDetail/index.vue +++ b/src/views/assets/Platform/PlatformDetail/index.vue @@ -38,7 +38,7 @@ export default { name: 'Assets' }, { - title: this.$t('Automations'), + title: this.$t('Automation'), name: 'Automation' } ], @@ -72,7 +72,3 @@ export default { } } - -