|
@@ -892,7 +892,7 @@ module.exports = app => {
|
|
|
for (const c of this.changeProjectData.data) {
|
|
|
const changeAudit = await this.ctx.service.changeProjectAudit.getAllDataByCondition({ where: { cpid: c.id, times: c.times }});
|
|
|
const changeAuditFilter = this.ctx.helper.filterLastestData(changeAudit, ['aid']);
|
|
|
- this.changeData.audit.push(...changeAuditFilter);
|
|
|
+ this.changeProjectData.audit.push(...changeAuditFilter);
|
|
|
}
|
|
|
}
|
|
|
|