改又改

This commit is contained in:
feng626
2022-06-09 14:26:08 +08:00
parent 9dd89fe7ae
commit a3193beabf
2 changed files with 2 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ export default {
if (this.requestForm.application.length === 0 || this.requestForm.systemuser.length === 0) { if (this.requestForm.application.length === 0 || this.requestForm.systemuser.length === 0) {
return this.$message.error(this.$tc('common.NeedAssetsAndSystemUserErrMsg')) return this.$message.error(this.$tc('common.NeedAssetsAndSystemUserErrMsg'))
} else { } 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: {} meta: {}
}).then( }).then(
() => { () => {

View File

@@ -166,7 +166,7 @@ export default {
} else if (this.requestForm.systemusers.length === 0) { } else if (this.requestForm.systemusers.length === 0) {
return this.$message.error(this.$tc('common.RequiredSystemUserErrMsg')) return this.$message.error(this.$tc('common.RequiredSystemUserErrMsg'))
} else { } 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: {} meta: {}
}).then(() => { }).then(() => {
this.$message.success(this.$tc('common.updateSuccessMsg')) this.$message.success(this.$tc('common.updateSuccessMsg'))