diff --git a/src/views/tickets/RequestApplicationPerm/Detail/TicketDetail.vue b/src/views/tickets/RequestApplicationPerm/Detail/TicketDetail.vue index 6330727bd..8c452cb7f 100644 --- a/src/views/tickets/RequestApplicationPerm/Detail/TicketDetail.vue +++ b/src/views/tickets/RequestApplicationPerm/Detail/TicketDetail.vue @@ -152,7 +152,7 @@ export default { if (this.requestForm.application.length === 0 || this.requestForm.systemuser.length === 0) { return this.$message.error(this.$tc('common.NeedAssetsAndSystemUserErrMsg')) } else { - this.$axios.put(`/api/v1/tickets/tickets/${this.object.id}/approve/`, { + this.$axios.put(`/api/v1/tickets/apply-app-tickets/${this.object.id}/approve/`, { meta: {} }).then( () => { diff --git a/src/views/tickets/RequestAssetPerm/Detail/TicketDetail.vue b/src/views/tickets/RequestAssetPerm/Detail/TicketDetail.vue index 3befcbf5f..6e5b3974e 100644 --- a/src/views/tickets/RequestAssetPerm/Detail/TicketDetail.vue +++ b/src/views/tickets/RequestAssetPerm/Detail/TicketDetail.vue @@ -166,7 +166,7 @@ export default { } else if (this.requestForm.systemusers.length === 0) { return this.$message.error(this.$tc('common.RequiredSystemUserErrMsg')) } else { - this.$axios.put(`/api/v1/tickets/tickets/${this.object.id}/approve/`, { + this.$axios.put(`/api/v1/tickets/apply-asset-tickets/${this.object.id}/approve/`, { meta: {} }).then(() => { this.$message.success(this.$tc('common.updateSuccessMsg'))