ellisran 11 часов назад
Родитель
Сommit
1dd8c94e71
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      app/service/contract_sp_audit.js

+ 2 - 0
app/service/contract_sp_audit.js

@@ -84,6 +84,8 @@ module.exports = app => {
                     const lastAuditors = auditList.filter(x => { return x.audit_order === auditList.length - 1; });
                     if (shenpiInfo && (lastAuditors.length === 0 || (lastAuditors.length > 1 || shenpiInfo.audit_id !== lastAuditors[0].aid))) {
                         await this.updateLastAudit(contract, type, auditList, shenpiInfo.audit_id);
+                        await this.loadUser(contract, type);
+                        await this.loadAuditViewData(contract, type);
                     } else if (!shenpiInfo) {
                         // 不存在终审人的状态下这里恢复为授权审批人
                         shenpi.contract = shenpiConst.sp_status.sqspr;