diff --git a/src/views/pages/deploy/application-config/config/app/app-edit.vue b/src/views/pages/deploy/application-config/config/app/app-edit.vue index f31960410ae96067273ffa380c99e58140320569..21c0880d6866156f6420999a6fa415725a23006c 100644 --- a/src/views/pages/deploy/application-config/config/app/app-edit.vue +++ b/src/views/pages/deploy/application-config/config/app/app-edit.vue @@ -154,7 +154,8 @@ export default { authorityStrList, appSystemId: this.params.appSystemId, isEdit: this.isEdit, - actionList: this.handleActionList(this.authConfig) + actionList: this.handleActionList(this.authConfig), + includeActionList: this.canShowEnvScenario ? [] : ['view', 'edit'] }; this.$api.deploy.applicationConfig.saveAppConfigAuth(params).then((res) => { if (res && res.Status == 'OK') { @@ -242,7 +243,7 @@ export default { }); }, getAuthList() { - return this.$api.deploy.applicationConfig.getAuthList({appSystemId: this.params.appSystemId, includeActionList: this.hideFucntionExcludeAppModuleRunner ? ['view', 'edit'] : []}).then((res) => { + return this.$api.deploy.applicationConfig.getAuthList({appSystemId: this.params.appSystemId, includeActionList: this.canShowEnvScenario ? [] : ['view', 'edit']}).then((res) => { if (res && res.Status == 'OK') { this.authSetting = res.Return || {}; for (let key in res.Return) { diff --git a/src/views/pages/deploy/application-config/config/app/components/batch-edit-auth-dialog.vue b/src/views/pages/deploy/application-config/config/app/components/batch-edit-auth-dialog.vue index cfe7525220646bcb8efb27e49739e7b958b66294..167547f2cc3a8d63d353902c0d103cd2cc8b7430 100644 --- a/src/views/pages/deploy/application-config/config/app/components/batch-edit-auth-dialog.vue +++ b/src/views/pages/deploy/application-config/config/app/components/batch-edit-auth-dialog.vue @@ -144,7 +144,8 @@ export default { authorityStrList, appSystemId: this.params.appSystemId, isEdit: this.isEdit, - actionList: this.handleActionList(this.authConfig) + actionList: this.handleActionList(this.authConfig), + includeActionList: this.canShowEnvScenario ? [] : ['view', 'edit'] }; this.$api.deploy.applicationConfig.saveAppConfigAuth(params).then((res) => { if (res && res.Status == 'OK') { @@ -221,7 +222,7 @@ export default { }); }, getAuthList() { - return this.$api.deploy.applicationConfig.getAuthList({appSystemId: this.params.appSystemId, includeActionList: this.hideFucntionExcludeAppModuleRunner ? ['view', 'edit'] : []}).then((res) => { + return this.$api.deploy.applicationConfig.getAuthList({appSystemId: this.params.appSystemId, includeActionList: this.canShowEnvScenario ? [] : ['view', 'edit']}).then((res) => { if (res && res.Status == 'OK') { this.authSetting = res.Return || {}; for (let key in res.Return) {