|
@@ -780,7 +780,7 @@ module.exports = app => {
|
|
|
await this.ctx.service.tender.checkTender(tid);
|
|
|
await this.ctx.service.stage.checkStage(sid);
|
|
|
|
|
|
- const data = await this.ctx.service.stageJgcl.getStageData(this.ctx.stage.id);
|
|
|
+ const data = await this.ctx.service.stageJgcl.getStageData(this.ctx.stage);
|
|
|
const preData = await this.ctx.service.stageJgcl.getPreStageData(this.ctx.stage.order);
|
|
|
for (const d of data) {
|
|
|
const pd = this.ctx.helper._.find(preData, {uuid: d.uuid});
|
|
@@ -806,7 +806,7 @@ module.exports = app => {
|
|
|
await this.ctx.service.tender.checkTender(tid);
|
|
|
await this.ctx.service.stage.checkStage(sid);
|
|
|
|
|
|
- const data = await this.ctx.service.stageOther.getStageData(this.ctx.stage.id);
|
|
|
+ const data = await this.ctx.service.stageOther.getStageData(this.ctx.stage);
|
|
|
const preData = await this.ctx.service.stageOther.getPreStageData(this.ctx.stage.order);
|
|
|
for (const d of data) {
|
|
|
const pd = this.ctx.helper._.find(preData, {uuid: d.uuid});
|