mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-22 16:47:03 +00:00
Fixed: Plateform Automation Update
This commit is contained in:
parent
84bbe4de8b
commit
61e5b061e9
@ -113,6 +113,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
username: {
|
username: {
|
||||||
|
label: this.$t('Account'),
|
||||||
width: '120px'
|
width: '120px'
|
||||||
},
|
},
|
||||||
risk: {
|
risk: {
|
||||||
|
@ -37,6 +37,7 @@ export const gatherAccountTableConfig = (vm, url) => {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
username: {
|
username: {
|
||||||
|
label: vm.$t('Account'),
|
||||||
formatter: DetailFormatter,
|
formatter: DetailFormatter,
|
||||||
formatterArgs: {
|
formatterArgs: {
|
||||||
can: true,
|
can: true,
|
||||||
|
@ -67,7 +67,7 @@ export default {
|
|||||||
if (!this.canSubmit || !this.isSystemAdmin) {
|
if (!this.canSubmit || !this.isSystemAdmin) {
|
||||||
return this.$message.error(this.$tc('NoPermission'))
|
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'))
|
this.$message.success(this.$tc('UpdateSuccessMsg'))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@ export default {
|
|||||||
name: 'Assets'
|
name: 'Assets'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('Automations'),
|
title: this.$t('Automation'),
|
||||||
name: 'Automation'
|
name: 'Automation'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -72,7 +72,3 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user