Explorar o código

期计量页面,实时计算问题

MaiXinRong %!s(int64=2) %!d(string=hai) anos
pai
achega
8eefcad4a4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/controller/measure_controller.js

+ 1 - 0
app/controller/measure_controller.js

@@ -46,6 +46,7 @@ module.exports = app => {
                     auditConst2: JSON.stringify(auditConst),
                 };
                 renderData.stages = await ctx.service.stage.getValidStages(ctx.tender.id);
+                if (renderData.stages.length > 0) await this.ctx.service.stage.checkStageGatherData(renderData.stages[0], this.ctx.session.sessionUser.is_admin);
                 for (const s of renderData.stages) {
                     // s.curAuditor = null;
                     // 根据期状态返回展示用户