|
@@ -1352,7 +1352,7 @@ module.exports = app => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if ((ctx.stage.auditors[ctx.stage.auditors.length - 1].aid === ctx.session.sessionUser.accountId || (ctx.query.confirm === '确认设置终审审批' && ctx.session.sessionUser.is_admin)) && ctx.stage.status === auditConst.status.checked && ctx.stage.order === ctx.stage.highOrder) {
|
|
|
+ if ((ctx.stage.finalAuditorIds.indexOf(ctx.session.sessionUser.accountId) >= 0 || (ctx.query.confirm === '确认设置终审审批' && ctx.session.sessionUser.is_admin)) && ctx.stage.status === auditConst.status.checked && ctx.stage.order === ctx.stage.highOrder) {
|
|
|
await ctx.service.stageAudit.checkAgain(ctx.stage.id, ctx.stage.times);
|
|
|
// ctx.redirect(ctx.request.header.referer);
|
|
|
ctx.body = {
|