|
@@ -1372,21 +1372,21 @@ module.exports = app => {
|
|
|
case 'change':
|
|
|
responseData.data[f] = await ctx.service.change.getAllDataByCondition({
|
|
|
columns: [ 'cid', 'code', 'name', 'selected' ],
|
|
|
- where: { tid: this.ctx.tender.id, valid: 1, status: auditConst.flow.status.checked },
|
|
|
+ where: { tid: this.ctx.tender.id, valid: 1 },
|
|
|
orders: [['sin_time', 'desc']],
|
|
|
});
|
|
|
break;
|
|
|
case 'change_project':
|
|
|
responseData.data[f] = await ctx.service.changeProject.getAllDataByCondition({
|
|
|
columns: [ 'id', 'code', 'name', 'selected' ],
|
|
|
- where: { tid: this.ctx.tender.id, status: auditConst.changeProject.status.checked },
|
|
|
+ where: { tid: this.ctx.tender.id },
|
|
|
orders: [['in_time', 'desc']],
|
|
|
});
|
|
|
break;
|
|
|
case 'change_apply':
|
|
|
responseData.data[f] = await ctx.service.changeApply.getAllDataByCondition({
|
|
|
columns: [ 'id', 'code', 'name', 'selected' ],
|
|
|
- where: { tid: this.ctx.tender.id, status: auditConst.changeApply.status.checked },
|
|
|
+ where: { tid: this.ctx.tender.id },
|
|
|
orders: [['in_time', 'desc']],
|
|
|
});
|
|
|
break;
|