浏览代码

关联标段相关

MaiXinRong 1 年之前
父节点
当前提交
2cd35c419d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/tender.js

+ 1 - 1
app/service/tender.js

@@ -177,7 +177,7 @@ module.exports = app => {
         async getList4Select(selectType) {
             const accountInfo = await this.ctx.service.projectAccount.getDataById(this.ctx.session.sessionUser.accountId);
             const userPermission = accountInfo !== undefined && accountInfo.permission !== '' ? JSON.parse(accountInfo.permission) : null;
-            const tenderList = await this.ctx.service.tender.getList('', userPermission);
+            const tenderList = await this.ctx.service.tender.getList('', userPermission, this.ctx.session.sessionUser.is_admin);
             for (const t of tenderList) {
                 if (t.ledger_status === auditConst.ledger.status.checked) {
                     t.lastStage = await this.ctx.service.stage.getLastestStage(t.id, false);