Browse Source

上报审批选择人bug

laiguoran 5 years ago
parent
commit
65c33a1551
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/controller/stage_controller.js

+ 2 - 0
app/controller/stage_controller.js

@@ -804,6 +804,8 @@ module.exports = app => {
                 if (ctx.stage.status === auditConst.status.checking || ctx.stage.status === auditConst.status.checked) {
                     throw '当前不允许添加审核人';
                 }
+
+                ctx.stage.auditorList = await ctx.service.stageAudit.getAuditors(ctx.stage.id, ctx.stage.times);
                 // 检查审核人是否已存在
                 const exist = this.app._.find(ctx.stage.auditorList, {aid: id});
                 if (exist) {