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:
parent
84bbe4de8b
commit
61e5b061e9
src/views
@ -113,6 +113,7 @@ export default {
|
||||
}
|
||||
},
|
||||
username: {
|
||||
label: this.$t('Account'),
|
||||
width: '120px'
|
||||
},
|
||||
risk: {
|
||||
|
@ -37,6 +37,7 @@ export const gatherAccountTableConfig = (vm, url) => {
|
||||
}
|
||||
},
|
||||
username: {
|
||||
label: vm.$t('Account'),
|
||||
formatter: DetailFormatter,
|
||||
formatterArgs: {
|
||||
can: true,
|
||||
|
@ -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'))
|
||||
})
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user