|
@@ -29,7 +29,7 @@ class rptMemChange extends RptMemBase {
|
|
|
async _anaylisChange(change) {
|
|
|
const self = this;
|
|
|
const types = this.ctx.helper._.map(change.type.split(','), function (t) {
|
|
|
- return self._getChangeConstName(changeConst.type, this.ctx.helper._.toInteger(t));
|
|
|
+ return self._getChangeConstName(changeConst.type, self.ctx.helper._.toInteger(t));
|
|
|
});
|
|
|
change.type = types.join(';');
|
|
|
change.class = this._getChangeConstName(changeConst.class, change.class);
|
|
@@ -46,7 +46,7 @@ class rptMemChange extends RptMemBase {
|
|
|
async doCheckTender(tenderId) {
|
|
|
if (this.ctx.tender) return;
|
|
|
this.ctx.tender = { id: tenderId };
|
|
|
- this.ctx.tender.data = await this.ctx.service.getTender(tenderId);
|
|
|
+ this.ctx.tender.data = await this.ctx.service.tender.getTender(tenderId);
|
|
|
this.ctx.tender.info = await this.ctx.service.tenderInfo.getTenderInfo(tenderId);
|
|
|
}
|
|
|
|