|
@@ -91,7 +91,7 @@ module.exports = app => {
|
|
|
// const status_name = await this.ctx.service.stageAudit.getStatusName(t.lastStage.id, t.lastStage.times - 1);
|
|
|
// t.status_users = status_name ? status_name.name : '';
|
|
|
} else {
|
|
|
- const status_name = await this.ctx.service.stageAudit.getStatusName(t.lastStage.id, t.lastStage.times);
|
|
|
+ const status_name = await this.ctx.service.stageAudit.getAuditorByStatus(t.lastStage.id, t.lastStage.status, t.lastStage.times);
|
|
|
t.status_users = status_name ? status_name.name : '';
|
|
|
}
|
|
|
} else {
|
|
@@ -100,7 +100,6 @@ module.exports = app => {
|
|
|
t.status_users = status_name ? status_name.name : '';
|
|
|
}
|
|
|
}
|
|
|
- console.log(t.status_users);
|
|
|
}
|
|
|
renderData.categoryData = await this.ctx.service.category.getAllCategory(this.ctx.session.sessionProject.id);
|
|
|
renderData.valuations = await this.ctx.service.valuation.getProjectValidValuation(this.ctx.session.sessionProject.id);
|