|
@@ -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);
|
|
|
}
|