|
@@ -64,10 +64,12 @@ module.exports = app => {
|
|
|
} else {
|
|
|
stage.curOrder = accountId === stage.curAuditor.aid ? stage.curAuditor.order : stage.curAuditor.order - 1;
|
|
|
}
|
|
|
+ stage.readOnly = (stage.status !== status.checking && stage.status !== status.checkNoPre) || accountId !== stage.curAuditor.aid;
|
|
|
} else if (shareIds.indexOf(accountId) !== -1) { // 分享人
|
|
|
if (stage.status === status.uncheck) {
|
|
|
throw '您无权查看该数据';
|
|
|
}
|
|
|
+ stage.readOnly = true;
|
|
|
stage.curTimes = stage.status === status.checkNo ? stage.times - 1 : stage.times;
|
|
|
stage.curOrder = stage.status === status.checked ? this._.max(this._.map(stage.auditors, 'order')) : stage.curAuditor.order - 1;
|
|
|
}
|