|
@@ -19,7 +19,7 @@ module.exports = app => {
|
|
|
|
|
|
async index(ctx) {
|
|
|
const tender = ctx.tender;
|
|
|
- let stage = ctx.stage;
|
|
|
+ const stage = ctx.stage;
|
|
|
let stage_id = -1;
|
|
|
let stage_order = -1;
|
|
|
let stage_times = -1;
|
|
@@ -53,7 +53,7 @@ module.exports = app => {
|
|
|
if (stageList[sidx].status === 3) {
|
|
|
archives = await ctx.service.rptArchive.getPrjStgArchive(tender.data.project_id, stageList[sidx].id);
|
|
|
stage_id = stageList[sidx].id;
|
|
|
- stage = stageList[sidx];
|
|
|
+ // stage = stageList[sidx];
|
|
|
ctx.stage = stageList[sidx];
|
|
|
break;
|
|
|
}
|
|
@@ -448,6 +448,7 @@ module.exports = app => {
|
|
|
if (stageList[sidx].status === 3) {
|
|
|
archives = await ctx.service.rptArchive.getPrjStgArchive(tender.data.project_id, stageList[sidx].id);
|
|
|
stage_id = stageList[sidx].id;
|
|
|
+ ctx.stage = stageList[sidx];
|
|
|
break;
|
|
|
}
|
|
|
}
|