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