|
@@ -994,7 +994,7 @@ module.exports = app => {
|
|
|
stgAudit = [];
|
|
|
stgAuditForOrg = [];
|
|
|
stageFlow = [];
|
|
|
- this._commonGetAudit(ctx, params, stgAudit);
|
|
|
+ await this._commonGetAudit(ctx, params, stgAudit);
|
|
|
stgAudit.sort(function(stg1, stg2) {
|
|
|
return stg1.order - stg2.order;
|
|
|
});
|
|
@@ -1116,7 +1116,7 @@ module.exports = app => {
|
|
|
}
|
|
|
} else if ([-300, -301, -302, -303].includes(params.stage_id)) {
|
|
|
stgAudit = [];
|
|
|
- this._commonGetAudit(ctx, params, stgAudit);
|
|
|
+ await this._commonGetAudit(ctx, params, stgAudit);
|
|
|
this._mergeBlankRoleSignDate(roleRel, stgAudit);
|
|
|
}
|
|
|
|