Commit 5033f557 by Joey

fix(@gms/gms-plugin-billexpand): 获取审批人204时应直接同意

parent 06107e61
......@@ -7,7 +7,11 @@ export default {
let taskId = bill.getGlobalParam('reviewParam').taskId;
let selectedApprovers = []
window.GMS.$http.get(`/bpm/bill/selectApprover/ApproverList/${taskId}`).then((res) => {
if (res.data.code != 200) {
if (res.data.code == 204) {
this.executeApproval(bill, param)
return
}
else if (res.data.code != 200) {
// this.executeApproval(bill, param)
GMS.$hideContainer.$Message.error(res.data.msg || '获取审批人列表失败');
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment