|
@@ -59,7 +59,7 @@ module.exports = options => {
|
|
|
const stageAuditorsId = this.helper._.map(stageAuditors, 'aid');
|
|
|
let auditAssists = yield this.service.auditAss.getData(tender.id);
|
|
|
auditAssists = auditAssists.filter(x => {
|
|
|
- return x.user_id === accountId || stageAuditorsId.indexOf(x.user_id) >= 0;
|
|
|
+ return x.user_id === tender.data.user_id || stageAuditorsId.indexOf(x.user_id) >= 0;
|
|
|
});
|
|
|
const auditAssistsId = this.helper._.map(auditAssists, 'ass_user_id');
|
|
|
const changeAuditors = yield this.service.changeAudit.getAllAuditors(tender.id);
|