|
@@ -49,7 +49,7 @@ module.exports = app => {
|
|
|
const index = accountAssData.findIndex(x => { return x.tid === as.tid && x.user_id === as.user_id; });
|
|
|
if (index >= 0) {
|
|
|
accountAssData.splice(index, 1);
|
|
|
- if (as.confirm === 0) result.push(as);
|
|
|
+ result.push(as);
|
|
|
}
|
|
|
}
|
|
|
result.push(...accountAssData);
|
|
@@ -63,6 +63,7 @@ module.exports = app => {
|
|
|
r.tender_name = t.name;
|
|
|
r.sstatus = s.status;
|
|
|
r.sorder = s.order;
|
|
|
+ if (r.times && r.times === s.times && r.confirm === 1) continue;
|
|
|
if (s && s.status === auditConst.stage.status.checkNo && s.user_id === r.user_id) {
|
|
|
const lastAudit = await this.ctx.service.stageAudit.getLastestAuditor(s.id, s.times - 1, auditConst.stage.status.checkNo);
|
|
|
r.begin_time = lastAudit ? lastAudit.end_time : s.in_time;
|