mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-26 13:08:08 +00:00
fix: 改密计划权限位
This commit is contained in:
committed by
Jiangjie.Bai
parent
977328ff41
commit
96a0d9c5e2
@@ -103,6 +103,7 @@ export default {
|
||||
{
|
||||
title: vm.$t('xpack.Execute'),
|
||||
name: 'execute',
|
||||
can: this.$hasPerm('xpack.add_applicationchangeauthplanexecution'),
|
||||
type: 'info',
|
||||
callback: function({ row }) {
|
||||
this.$axios.post(
|
||||
|
||||
@@ -33,7 +33,8 @@ export default {
|
||||
title: this.$t('xpack.ChangeAuthPlan.ManualExecutePlan'),
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
label: this.$t('xpack.ChangeAuthPlan.Execute')
|
||||
label: this.$t('xpack.ChangeAuthPlan.Execute'),
|
||||
disabled: !this.$hasPerm('xpack.add_applicationchangeauthplanexecution')
|
||||
},
|
||||
callbacks: {
|
||||
click: function() {
|
||||
|
||||
@@ -33,7 +33,8 @@ export default {
|
||||
title: this.$t('xpack.ChangeAuthPlan.ManualExecutePlan'),
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
label: this.$t('xpack.ChangeAuthPlan.Execute')
|
||||
label: this.$t('xpack.ChangeAuthPlan.Execute'),
|
||||
disabled: !this.$hasPerm('xpack.add_changeauthplanexecution')
|
||||
},
|
||||
callbacks: {
|
||||
click: function() {
|
||||
|
||||
@@ -87,6 +87,7 @@ export default {
|
||||
{
|
||||
title: vm.$t('xpack.Execute'),
|
||||
name: 'execute',
|
||||
can: this.$hasPerm('xpack.add_changeauthplanexecution'),
|
||||
type: 'info',
|
||||
callback: function({ row }) {
|
||||
this.$axios.post(
|
||||
|
||||
Reference in New Issue
Block a user