|
@@ -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);
|