|
|
@@ -37,11 +37,16 @@ class BaseController extends Controller {
|
|
|
menuList.datacollect.display = ctx.subProject.showDataCollect || false;
|
|
|
menuList.file.display = ctx.subProject.page_show.openFile || false;
|
|
|
menuList.contract.display = ctx.subProject.page_show.openContract || ctx.subProject.page_show.openTenderContract || false;
|
|
|
+ menuList.contract.children.find(item => item.msg === 'subproj').display = ctx.subProject.page_show.openContract || false;
|
|
|
+ menuList.contract.children.find(item => item.msg === 'tender').display = ctx.subProject.page_show.openTenderContract || false;
|
|
|
menuList.financial.display = ctx.subProject.page_show.openFinancial || false;
|
|
|
menuList.budget.display = ctx.subProject.page_show.openBudget || false;
|
|
|
menuList.payment.display = ctx.subProject.page_show.openPayment || false;
|
|
|
menuList.quality.display = ctx.subProject.page_show.quality || false;
|
|
|
- menuList.inspection.display = ctx.subProject.page_show.quality || false;
|
|
|
+ menuList.inspection.display = ctx.subProject.page_show.qualityInspection || false;
|
|
|
+ menuList.safe.display = ctx.subProject.page_show.safePayment || ctx.subProject.page_show.safeInspection || false;
|
|
|
+ menuList.safe.children.find(item => item.msg === 'payment').display = ctx.subProject.page_show.safePayment || false;
|
|
|
+ menuList.safe.children.find(item => item.msg === 'inspection').display = ctx.subProject.page_show.safeInspection || false;
|
|
|
for (const index in menuList) {
|
|
|
const im = menuList[index];
|
|
|
if (!im.url) {
|