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