laiguoran 6 лет назад
Родитель
Сommit
65c33a1551
1 измененных файлов с 2 добавлено и 0 удалено
  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) {