|
@@ -302,7 +302,7 @@ module.exports = app => {
|
|
|
|
|
|
const orgCache = await this.getDataById(stage.tid);
|
|
|
|
|
|
- const data = { id: stage.tid, stage_status: auditConst.stage.status.uncheck, stage_complete_count: stage.order };
|
|
|
+ const data = { id: stage.tid, stage_status: auditConst.stage.status.uncheck, stage_complete_count: stage.order, stage_count: stage.order + 1 };
|
|
|
if (ledgerTp) data.ledger_tp = JSON.stringify(ledgerTp);
|
|
|
const tp = orgCache.stage_flow_cur_tp ? JSON.parse(orgCache.stage_flow_cur_tp) : (orgCache.stage_flow_pre_tp ? JSON.parse(orgCache.stage_flow_pre_tp) : {});
|
|
|
if (stageTp) this._.assign(tp, stageTp);
|