mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-19 09:43:32 +00:00
改又改
This commit is contained in:
@@ -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(
|
||||
() => {
|
||||
|
@@ -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'))
|
||||
|
Reference in New Issue
Block a user