ソースを参照

计量期上报限制判断调整

ellisran 5 ヶ月 前
コミット
a8a94db7e8
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/controller/stage_controller.js

+ 1 - 1
app/controller/stage_controller.js

@@ -100,7 +100,7 @@ module.exports = app => {
         async _checkStageStart(ctx) {
             // 上报日期获取,及上报权限开关
             if (ctx.subProject.page_show.openStageStart) {
-                const stageStart = ctx.session.sessionProject.funSet.stage_start;
+                const stageStart = ctx.subProject.fun_set.stage_start;
                 const thisYear = moment().year();
                 // const thisYear = 2021;
                 const thisMonth = moment().month();