Browse Source

变更方案、变更立项、变更申请,报表附件

MaiXinRong 1 year ago
parent
commit
bc477789bd
3 changed files with 3 additions and 3 deletions
  1. 1 1
      app/lib/rm/change_apply.js
  2. 1 1
      app/lib/rm/change_plan.js
  3. 1 1
      app/lib/rm/change_project.js

+ 1 - 1
app/lib/rm/change_apply.js

@@ -64,7 +64,7 @@ class rptMemChange extends RptMemBase {
             case 'mem_change_apply_audit':
                 return this._getChangeApplyAudit();
             case 'mem_change_apply_att':
-                return this.ctx.service.changeApplyAtt.getChangeAttachment(this.ctx.change_apply.id);
+                return this.ctx.service.changeApplyAtt.getAllChangeApplyAtt(this.ctx.change_apply.tid, this.ctx.change_apply.id);
             case 'mem_project':
                 return this.ctx.service.project.getDataByCondition({ id: this.ctx.session.sessionProject.id });
             case 'mem_tender':

+ 1 - 1
app/lib/rm/change_plan.js

@@ -76,7 +76,7 @@ class rptMemChange extends RptMemBase {
             case 'mem_change_plan_audit':
                 return this._getChangePlanAudit();
             case 'mem_change_plan_att':
-                return this.ctx.service.changePlanAtt.getChangeAttachment(this.ctx.change_plan.id);
+                return this.ctx.service.changePlanAtt.getAllChangePlanAtt(this.ctx.change_plan.tid, this.ctx.change_plan.id);
             case 'mem_project':
                 return this.ctx.service.project.getDataByCondition({ id: this.ctx.session.sessionProject.id });
             case 'mem_tender':

+ 1 - 1
app/lib/rm/change_project.js

@@ -45,7 +45,7 @@ class rptMemChange extends RptMemBase {
             case 'mem_change_project_audit':
                 return this._getChangeProjectAudit();
             case 'mem_change_project_att':
-                return this.ctx.service.changeProjectAtt.getChangeAttachment(this.ctx.change_project.id);
+                return this.ctx.service.changeProjectAtt.getAllChangeProjectAtt(this.ctx.change_project.tid, this.ctx.change_project.id);
             case 'mem_project':
                 return this.ctx.service.project.getDataByCondition({ id: this.ctx.session.sessionProject.id });
             case 'mem_tender':