mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-19 17:54:37 +00:00
fix: 修复应用改密计划详情页执行列表操作权限
This commit is contained in:
@@ -61,6 +61,7 @@ export default {
|
|||||||
name: 'retry',
|
name: 'retry',
|
||||||
type: 'info',
|
type: 'info',
|
||||||
title: this.$t('xpack.ChangeAuthPlan.Retry'),
|
title: this.$t('xpack.ChangeAuthPlan.Retry'),
|
||||||
|
can: this.$hasPerm('xpack.change_applicationchangeauthplantask'),
|
||||||
callback: function({ row, tableData }) {
|
callback: function({ row, tableData }) {
|
||||||
this.$axios.put(
|
this.$axios.put(
|
||||||
`/api/v1/xpack/change-auth-plan/app-plan-execution-subtask/${row.id}/`,
|
`/api/v1/xpack/change-auth-plan/app-plan-execution-subtask/${row.id}/`,
|
||||||
|
@@ -92,7 +92,7 @@ export default {
|
|||||||
name: 'detail',
|
name: 'detail',
|
||||||
title: this.$t('xpack.ChangeAuthPlan.Detail'),
|
title: this.$t('xpack.ChangeAuthPlan.Detail'),
|
||||||
type: 'info',
|
type: 'info',
|
||||||
can: 'xpack.view_applicationchangeauthplantask',
|
can: this.$hasPerm('xpack.view_applicationchangeauthplantask'),
|
||||||
callback: function({ row }) {
|
callback: function({ row }) {
|
||||||
return this.$router.push({ name: 'AppChangeAuthPlanExecutionDetail', params: { id: row.id }})
|
return this.$router.push({ name: 'AppChangeAuthPlanExecutionDetail', params: { id: row.id }})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user