|
@@ -70,7 +70,7 @@ module.exports = options => {
|
|
|
}
|
|
|
change.filePermission = true;
|
|
|
} else if ((change.status === status.checkNo || change.status === status.revise) && change.uid !== accountId) {
|
|
|
- const preAuditors = yield this.service.changeAudit.getListGroupByTimes(change.cid, change.times - 1);
|
|
|
+ const preAuditors = yield this.service.changeAudit.getUniqAuditor(change.cid, change.times - 1);
|
|
|
const preAuditorIds = _.map(preAuditors, 'uid');
|
|
|
if (preAuditorIds.indexOf(accountId) === -1) {
|
|
|
throw '您无权查看该数据';
|