@@ -2225,7 +2225,7 @@ module.exports = app => {
const auditors = await this.ctx.service.stageAudit.getAuditors(stageId, times); // 全部参与的审批人
const result = [];
auditors.forEach(x => {
- if (result.findIndex(r => { return x.aid === r.aid && x.audit_order === x.audit_order; }) < 0) {
+ if (result.findIndex(r => { return x.aid === r.aid && x.audit_order === r.audit_order; }) < 0) {
result.push(x);
}
});