|
@@ -99,7 +99,7 @@ module.exports = options => {
|
|
|
stage.assist = ass;
|
|
|
stage.curOrder = stage.curAuditors[0].order;
|
|
|
} else {
|
|
|
- stage.curOrder = stage.curAuditors[0].order - 1;
|
|
|
+ stage.curOrder = stage.curAuditors[0].order - 1
|
|
|
}
|
|
|
stage.readOnly = stage.readOnly && _.isEqual(stage.flowAuditorIds, stage.curAuditorIds);
|
|
|
}
|
|
@@ -148,6 +148,7 @@ module.exports = options => {
|
|
|
}
|
|
|
if (!sameAudit) {
|
|
|
yield this.service.stageAudit.updateNewAuditList(stage, shenpiList);
|
|
|
+ yield this.service.stage.loadStageUser(stage);
|
|
|
}
|
|
|
} else if (shenpi_status === shenpiConst.sp_status.gdzs) {
|
|
|
const shenpiInfo = yield this.service.shenpiAudit.getDataByCondition({ tid: stage.tid, sp_type: shenpiConst.sp_type.stage, sp_status: shenpi_status });
|
|
@@ -163,7 +164,6 @@ module.exports = options => {
|
|
|
}
|
|
|
yield next;
|
|
|
} catch (err) {
|
|
|
- console.log(err);
|
|
|
this.helper.log(err);
|
|
|
// 输出错误到日志
|
|
|
if (err.stack) {
|