|
@@ -303,7 +303,8 @@ class jhHelper {
|
|
|
const stageChangeDetail = await this.getCurChangeDetailData(tender.id, stage.id);
|
|
|
this.ctx.helper.saveBufferFile(JSON.stringify(stageChangeDetail, '', '\t'), this.ctx.app.baseDir + '/temp.json');
|
|
|
for (const dc of gsDefine.defaultCompare) {
|
|
|
- const scd = helper.filterTimesOrderData(stageChangeDetail, ['lid', 'pid', 'cid', 'cbid'], 'stimes', 'sorder', auditors[dc].times, auditors[dc].order);
|
|
|
+ if (!auditors[dc]) continue;
|
|
|
+ const scd = helper.filterTimesOrderData(stageChangeDetail, ['lid', 'pid', 'cid', 'cbid'], 'stimes', 'sorder', auditors[dc].times, auditors[dc].order);
|
|
|
this._loadChangeDetail(billsIndex, scd, gsDefine, `r${dc}_`);
|
|
|
this.prefixes.push(`r${dc}_`);
|
|
|
}
|