|
@@ -41,7 +41,7 @@ class rptMemChange extends RptMemBase {
|
|
|
getCommonData(params, tableName, fields, customDefine, customSelect) {
|
|
|
switch (tableName) {
|
|
|
case 'mem_change_project':
|
|
|
- return this.ctx.change_project;
|
|
|
+ return [this.ctx.change_project];
|
|
|
case 'mem_change_project_audit':
|
|
|
return this._getChangeProjectAudit();
|
|
|
case 'mem_change_project_att':
|
|
@@ -49,9 +49,9 @@ class rptMemChange extends RptMemBase {
|
|
|
case 'mem_project':
|
|
|
return this.ctx.service.project.getDataByCondition({ id: this.ctx.session.sessionProject.id });
|
|
|
case 'mem_tender':
|
|
|
- return this.ctx.tender.data;
|
|
|
+ return [this.ctx.tender.data];
|
|
|
case 'mem_tender_info':
|
|
|
- return this.ctx.tender.info;
|
|
|
+ return [this.ctx.tender.info];
|
|
|
default:
|
|
|
return [];
|
|
|
}
|