|
@@ -845,6 +845,12 @@ module.exports = app => {
|
|
|
await this.ctx.service.stage.checkStage(sid);
|
|
|
|
|
|
const data = await this.ctx.service.stageBonus.getEndStageData(this.ctx.stage.order);
|
|
|
+ for (const d of data) {
|
|
|
+ const names = this.ctx.helper._.map(d.proof_file, function (x) {
|
|
|
+ return x.filename + x.fileext;
|
|
|
+ });
|
|
|
+ d.proof = names.join('\n');
|
|
|
+ }
|
|
|
return data;
|
|
|
} catch (err) {
|
|
|
return [];
|