MaiXinRong 3 months ago
parent
commit
3443585e47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/sub_proj_controller.js

+ 1 - 1
app/controller/sub_proj_controller.js

@@ -30,7 +30,7 @@ module.exports = app => {
                 renderData.budgetStd = await ctx.service.budgetStd.getDataByProjectId(ctx.session.sessionProject.id);
                 renderData.projectList = await ctx.service.subProject.getSubProject(ctx.session.sessionProject.id, ctx.session.sessionUser.accountId, ctx.session.sessionUser.is_admin);
                 renderData.tenderList = await ctx.service.tender.getManageTenderList(ctx.session.sessionProject.id);
-                const accountList = await ctx.service.projectAccount.getAllSubProjectAccount({
+                const accountList = await ctx.service.projectAccount.getAllDataByCondition({
                     columns: ['id', 'name', 'company', 'role', 'enable', 'is_admin', 'account_group', 'mobile'],
                     where: { pid: ctx.session.sessionProject.id }
                 });