MaiXinRong 6 gün önce
ebeveyn
işleme
c8a4cd842c
1 değiştirilmiş dosya ile 2 ekleme ve 3 silme
  1. 2 3
      app/service/stage.js

+ 2 - 3
app/service/stage.js

@@ -201,11 +201,10 @@ module.exports = app => {
                     stage.assist = ass;
                     stage.curOrder = stage.curAuditors[0].order;
                     // 会签,会签人审批通过时,只读,但是curOrder需按原来的取值
-                    if (stage.curAuditors[0].audit_type === auditType.key.and) {
+                    if (stage.curAuditors[0].audit_type === auditConst.auditType.key.and) {
                         stage.readOnly = !_.isEqual(stage.flowAuditorIds, stage.curAuditorIds);
                         stage.canCheck = true;
-                    } else if (stage.curAuditors[0].audit_type === auditType.key.union) {
-                        console.log(stage.relaAuditor);
+                    } else if (stage.curAuditors[0].audit_type === auditConst.auditType.key.union) {
                         stage.readOnly = stage.relaAuditor.status !== status.checking;
                         stage.canCheck = !stage.readOnly;
                     }