作者 yangfu

审批修改

... ... @@ -619,6 +619,10 @@ func ChanceApproveProcess(header *protocol.RequestHeader, chance *models.Chance)
for j := i; j < len(processList); j++ {
p = processList[j]
checkApprovePermission(p)
if p.ReviewStatus == protocol.ReviewStatusPass {
rsp.ApproveProcess = append(rsp.ApproveProcess, newProcessItem(p))
continue
}
item.ApproveUsers = append(item.ApproveUsers, protocol.UserItem{
Uid: p.Uid,
Name: p.UserName,
... ...