|
@@ -201,11 +201,10 @@ module.exports = app => {
|
|
|
stage.assist = ass;
|
|
stage.assist = ass;
|
|
|
stage.curOrder = stage.curAuditors[0].order;
|
|
stage.curOrder = stage.curAuditors[0].order;
|
|
|
// 会签,会签人审批通过时,只读,但是curOrder需按原来的取值
|
|
// 会签,会签人审批通过时,只读,但是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.readOnly = !_.isEqual(stage.flowAuditorIds, stage.curAuditorIds);
|
|
|
stage.canCheck = true;
|
|
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.readOnly = stage.relaAuditor.status !== status.checking;
|
|
|
stage.canCheck = !stage.readOnly;
|
|
stage.canCheck = !stage.readOnly;
|
|
|
}
|
|
}
|