|
@@ -1272,7 +1272,8 @@ module.exports = app => {
|
|
|
|
|
|
async getAuditorGroup(materialId, times) {
|
|
|
const auditors = await this.getAuditors(materialId, times); // 全部参与的审批人
|
|
|
- return this.ctx.helper.groupAuditors(auditors);
|
|
|
+ const newAuditors = auditors.filter(x => { return x.is_old === 0; });
|
|
|
+ return this.ctx.helper.groupAuditors(newAuditors);
|
|
|
}
|
|
|
|
|
|
async getUserGroup(materialId, times) {
|