|
@@ -76,7 +76,7 @@ module.exports = app => {
|
|
|
subProject,
|
|
|
buildStatus: tenderConst.buildStatus,
|
|
|
};
|
|
|
- renderData.selfCategoryLevel = await this.ctx.service.projectAccount.getSelfCategoryLevel(this.ctx.session.sessionUser.accountId);
|
|
|
+ renderData.selfCategoryLevel = this.ctx.subProject.permission.self_category_level; // await this.ctx.service.projectAccount.getSelfCategoryLevel(this.ctx.session.sessionUser.accountId);
|
|
|
renderData.is_finish = false;
|
|
|
await this.layout(view, renderData, modal);
|
|
|
} catch (err) {
|
|
@@ -115,7 +115,7 @@ module.exports = app => {
|
|
|
subProject,
|
|
|
buildStatus: tenderConst.buildStatus,
|
|
|
};
|
|
|
- renderData.selfCategoryLevel = await this.ctx.service.projectAccount.getSelfCategoryLevel(this.ctx.session.sessionUser.accountId);
|
|
|
+ renderData.selfCategoryLevel = this.ctx.subProject.permission.self_category_level; // await this.ctx.service.projectAccount.getSelfCategoryLevel(this.ctx.session.sessionUser.accountId);
|
|
|
renderData.is_finish = true;
|
|
|
await this.layout(view, renderData, modal);
|
|
|
} catch (err) {
|
|
@@ -142,7 +142,7 @@ module.exports = app => {
|
|
|
renderData.auditConst = auditConst;
|
|
|
renderData.uid = this.ctx.session.sessionUser.accountId;
|
|
|
renderData.pid = this.ctx.session.sessionProject.id;
|
|
|
- renderData.selfCategoryLevel = await this.ctx.service.projectAccount.getSelfCategoryLevel(this.ctx.session.sessionUser.accountId);
|
|
|
+ renderData.selfCategoryLevel = this.ctx.subProject.permission.self_category_level; // await this.ctx.service.projectAccount.getSelfCategoryLevel(this.ctx.session.sessionUser.accountId);
|
|
|
renderData.is_finish = false;
|
|
|
renderData.colSet = this.colSet;
|
|
|
renderData.buildStatus = tenderConst.buildStatus;
|
|
@@ -172,7 +172,7 @@ module.exports = app => {
|
|
|
renderData.auditConst = auditConst;
|
|
|
renderData.uid = this.ctx.session.sessionUser.accountId;
|
|
|
renderData.pid = this.ctx.session.sessionProject.id;
|
|
|
- renderData.selfCategoryLevel = await this.ctx.service.projectAccount.getSelfCategoryLevel(this.ctx.session.sessionUser.accountId);
|
|
|
+ renderData.selfCategoryLevel = this.ctx.subProject.permission.self_category_level; // await this.ctx.service.projectAccount.getSelfCategoryLevel(this.ctx.session.sessionUser.accountId);
|
|
|
renderData.is_finish = true;
|
|
|
renderData.colSet = this.colSet;
|
|
|
renderData.buildStatus = tenderConst.buildStatus;
|