diff --git a/src/views/tickets/RequestAssetPerm/Detail/TicketDetail.vue b/src/views/tickets/RequestAssetPerm/Detail/TicketDetail.vue index f0e4a0ed3..fe72dcbf7 100644 --- a/src/views/tickets/RequestAssetPerm/Detail/TicketDetail.vue +++ b/src/views/tickets/RequestAssetPerm/Detail/TicketDetail.vue @@ -7,7 +7,7 @@ :close="handleClose" :reject="handleReject" > - +
{{ $tc('common.Actions') }}
@@ -198,12 +198,12 @@ export default { const nodeLength = this.requestForm.nodes.length if (assetLength === 0 && nodeLength === 0) { return this.$message.error(this.$tc('common.SelectAtLeastOneAssetOrNodeErrMsg')) - } else if (this.requestForm.systemusers.length === 0) { + } else if (this.requestForm.accounts.length === 0) { return this.$message.error(this.$tc('common.RequiredSystemUserErrMsg')) } } this.$axios.patch(`/api/v1/tickets/apply-asset-tickets/${this.object.id}/approve/`, { - apply_system_users: this.requestForm.systemusers ? this.requestForm.systemusers : [], + apply_accounts: this.requestForm.accounts ? this.requestForm.accounts : [], apply_nodes: this.requestForm.nodes ? this.requestForm.nodes : [], apply_assets: this.requestForm.assets ? this.requestForm.assets : [], apply_actions: this.requestForm.actions, diff --git a/src/views/tickets/components/Comments.vue b/src/views/tickets/components/Comments.vue index c8cd30a72..9548e188f 100644 --- a/src/views/tickets/components/Comments.vue +++ b/src/views/tickets/components/Comments.vue @@ -27,7 +27,7 @@