合并跳过审批人
This commit is contained in:
parent
18190d1100
commit
d06de9eb39
|
@ -4631,7 +4631,7 @@ def apioperation(req):
|
|||
obj.zyzt['splc'][1]['sprs'] = [spr1] #作业部门审批人
|
||||
if spr2:
|
||||
obj.zyzt['splc'][2]['sprs'] = [spr2] #属地部门审批人
|
||||
while nextindex<len(obj.zyzt['splc']):
|
||||
while nextindex<len(obj.zyzt['splc']) and (nextindex-1)!=0:
|
||||
nextsplc = obj.zyzt['splc'][nextindex]
|
||||
if userid in nextsplc['sprs']:#本人可审批直接跳过
|
||||
Operspxq.objects.create(oper=obj,jdmc=nextsplc['jdmc'],spr=spruser,checked=1,spbm=spruser.ubelongpart)
|
||||
|
|
Loading…
Reference in New Issue