|
@@ -101,7 +101,7 @@ module.exports = options => {
|
|
|
} else {
|
|
|
stage.curOrder = stage.curAuditors[0].order - 1;
|
|
|
}
|
|
|
- stage.readOnly = stage.readOnly && this._.isEqual(stage.flowAuditorIds, stage.curAuditorIds);
|
|
|
+ stage.readOnly = stage.readOnly && _.isEqual(stage.flowAuditorIds, stage.curAuditorIds);
|
|
|
}
|
|
|
if (stage.readOnly) {
|
|
|
stage.assist = accountId === stage.user_id || stage.auditorIds.indexOf(accountId) >= 0 ? null : stage.auditAssists.find(x => { return x.ass_user_id === accountId});
|