|
@@ -215,7 +215,8 @@ module.exports = app => {
|
|
|
}
|
|
}
|
|
|
let isAudit = false;
|
|
let isAudit = false;
|
|
|
for (const audit of stage.auditorList) {
|
|
for (const audit of stage.auditorList) {
|
|
|
- if (audit.aid === this.ctx.session.sessionUser.accountId) {
|
|
|
|
|
|
|
+ if (audit.aid === this.ctx.session.sessionUser.accountId && audit.aid !== stage.user_id) {
|
|
|
|
|
+ // audit.aid !== stage.user_id 不含原报
|
|
|
isAudit = true;
|
|
isAudit = true;
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|
|
@@ -232,7 +233,7 @@ module.exports = app => {
|
|
|
}
|
|
}
|
|
|
let isAudit = false;
|
|
let isAudit = false;
|
|
|
for (const audit of stageList[idx].auditorList) {
|
|
for (const audit of stageList[idx].auditorList) {
|
|
|
- if (audit.aid === this.ctx.session.sessionUser.accountId) {
|
|
|
|
|
|
|
+ if (audit.aid === this.ctx.session.sessionUser.accountId && audit.aid !== stageList[idx].user_id) {
|
|
|
isAudit = true;
|
|
isAudit = true;
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|