1
0
mirror of https://github.com/jumpserver/lina.git synced 2025-05-12 10:08:52 +00:00

Fixed: Plateform Automation Update

This commit is contained in:
zhaojisen 2025-03-18 16:19:21 +08:00 committed by ZhaoJiSen
parent 84bbe4de8b
commit 61e5b061e9
4 changed files with 4 additions and 6 deletions
src/views
accounts
assets/Platform/PlatformDetail

View File

@ -113,6 +113,7 @@ export default {
}
},
username: {
label: this.$t('Account'),
width: '120px'
},
risk: {

View File

@ -37,6 +37,7 @@ export const gatherAccountTableConfig = (vm, url) => {
}
},
username: {
label: vm.$t('Account'),
formatter: DetailFormatter,
formatterArgs: {
can: true,

View File

@ -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'))
})
}

View File

@ -38,7 +38,7 @@ export default {
name: 'Assets'
},
{
title: this.$t('Automations'),
title: this.$t('Automation'),
name: 'Automation'
}
],
@ -72,7 +72,3 @@ export default {
}
}
</script>
<style scoped>
</style>