|
@@ -86,7 +86,6 @@ module.exports = options => {
|
|
|
stage.curOrder = accountId === stage.curAuditor.aid ? stage.curAuditor.order : stage.curAuditor.order - 1;
|
|
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;
|
|
stage.readOnly = (stage.status !== status.checking && stage.status !== status.checkNoPre) || accountId !== stage.curAuditor.aid;
|
|
|
- stage.readOnly = stage.auditors !== undefined && stage.auditors.length !== 0 && stage.auditors[stage.auditors.length - 1].aid === accountId && stage.status === status.checked && stage.order === stage.highOrder ? false : stage.readOnly;
|
|
|
|
|
} else if (shareIds.indexOf(accountId) !== -1) { // 分享人
|
|
} else if (shareIds.indexOf(accountId) !== -1) { // 分享人
|
|
|
if (stage.status === status.uncheck) {
|
|
if (stage.status === status.uncheck) {
|
|
|
throw '您无权查看该数据';
|
|
throw '您无权查看该数据';
|