|
@@ -81,7 +81,11 @@ module.exports = options => {
|
|
|
}
|
|
|
stage.filePermission = true;
|
|
|
} else if (this.tender.isTourist) {
|
|
|
- stage.readOnly = true;
|
|
|
+ if (auditorIds.indexOf(accountId) !== -1) {
|
|
|
+ stage.readOnly = (stage.status !== status.checking && stage.status !== status.checkNoPre) || accountId !== stage.curAuditor.aid;
|
|
|
+ } else {
|
|
|
+ stage.readOnly = true;
|
|
|
+ }
|
|
|
stage.curTimes = stage.times;
|
|
|
if (stage.status === status.uncheck || stage.status === status.checkNo) {
|
|
|
stage.curOrder = 0;
|