Explorar el Código

项目管理数据相关

MaiXinRong hace 1 año
padre
commit
5e46db98c5
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      app/service/report_memory.js

+ 2 - 1
app/service/report_memory.js

@@ -1471,8 +1471,9 @@ module.exports = app => {
             let result = [];
             if (!PermissionCheck.viewPmData(this.ctx.session.sessionUser.permission)) return result;
 
+            let selects;
             if (!this.pmDeal) {
-                const selects = await this.ctx.service.project.getPmDealCache(this.ctx.session.sessionProject.id);
+                selects = await this.ctx.service.project.getPmDealCache(this.ctx.session.sessionProject.id);
                 const pm = require('../lib/pm');
                 this.pmDeal = await pm.dealData(this.ctx, this.ctx.session.sessionProject.code, selects);
             }