[update] 修改bug88402
This commit is contained in:
@@ -580,21 +580,17 @@ export default {
|
|||||||
},
|
},
|
||||||
// 转办选完人的回调
|
// 转办选完人的回调
|
||||||
userSelectModalChange (userIds) {
|
userSelectModalChange (userIds) {
|
||||||
this.approvalInfoForm.validateFields((err, values) => {
|
this.loading = true
|
||||||
if (!err) {
|
const param = {}
|
||||||
this.loading = true
|
param.userId = userIds
|
||||||
const param = Object.assign({}, values)
|
param.taskId = this.$route.query.taskId
|
||||||
param.userId = userIds
|
processTransfer(param).then(res => {
|
||||||
param.taskId = this.$route.query.taskId
|
if (res.success) {
|
||||||
processTransfer(param).then(res => {
|
this.$message.success(res.message)
|
||||||
if (res.success) {
|
this.goBack()
|
||||||
this.$message.success(res.message)
|
} else {
|
||||||
this.goBack()
|
this.$message.warning(res.message)
|
||||||
} else {
|
this.loading = false
|
||||||
this.$message.warning(res.message)
|
|
||||||
this.loading = false
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
+11
-15
@@ -498,21 +498,17 @@ export default {
|
|||||||
},
|
},
|
||||||
// 转办选完人的回调
|
// 转办选完人的回调
|
||||||
userSelectModalChange (userIds) {
|
userSelectModalChange (userIds) {
|
||||||
this.approvalInfoForm.validateFields((err, values) => {
|
this.loading = true
|
||||||
if (!err) {
|
const param = {}
|
||||||
this.loading = true
|
param.userId = userIds
|
||||||
const param = Object.assign({}, values)
|
param.taskId = this.$route.query.taskId
|
||||||
param.userId = userIds
|
processTransfer(param).then(res => {
|
||||||
param.taskId = this.$route.query.taskId
|
if (res.success) {
|
||||||
processTransfer(param).then(res => {
|
this.$message.success(res.message)
|
||||||
if (res.success) {
|
this.goBack()
|
||||||
this.$message.success(res.message)
|
} else {
|
||||||
this.goBack()
|
this.$message.warning(res.message)
|
||||||
} else {
|
this.loading = false
|
||||||
this.$message.warning(res.message)
|
|
||||||
this.loading = false
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
+11
-15
@@ -628,21 +628,17 @@ export default {
|
|||||||
},
|
},
|
||||||
// 转办选完人的回调
|
// 转办选完人的回调
|
||||||
userSelectModalChange (userIds) {
|
userSelectModalChange (userIds) {
|
||||||
this.approvalInfoForm.validateFields((err, values) => {
|
this.loading = true
|
||||||
if (!err) {
|
const param = {}
|
||||||
this.loading = true
|
param.userId = userIds
|
||||||
const param = Object.assign({}, values)
|
param.taskId = this.$route.query.taskId
|
||||||
param.userId = userIds
|
processTransfer(param).then(res => {
|
||||||
param.taskId = this.$route.query.taskId
|
if (res.success) {
|
||||||
processTransfer(param).then(res => {
|
this.$message.success(res.message)
|
||||||
if (res.success) {
|
this.goBack()
|
||||||
this.$message.success(res.message)
|
} else {
|
||||||
this.goBack()
|
this.$message.warning(res.message)
|
||||||
} else {
|
this.loading = false
|
||||||
this.$message.warning(res.message)
|
|
||||||
this.loading = false
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user