Browse Source

根据配置,隐藏合同管理

MaiXinRong 4 tháng trước cách đây
mục cha
commit
2e435e65ef

+ 2 - 0
app/view/tender/list_sub_menu_list.ejs

@@ -5,6 +5,7 @@
         </li>
         </li>
     </ul>
     </ul>
 </div>
 </div>
+<% if (ctx.subProject.page_show.openTenderContract) { %>
 <div class="nav-box">
 <div class="nav-box">
     <ul class="nav-list list-unstyled">
     <ul class="nav-list list-unstyled">
         <li class="<% if (ctx.url === '/sp/' + ctx.subProject.id + '/contract/tender') { %>active<% } %>">
         <li class="<% if (ctx.url === '/sp/' + ctx.subProject.id + '/contract/tender') { %>active<% } %>">
@@ -12,6 +13,7 @@
         </li>
         </li>
     </ul>
     </ul>
 </div>
 </div>
+<% } %>
 <% if (ctx.subProject.page_show.openConstruction) { %>
 <% if (ctx.subProject.page_show.openConstruction) { %>
 <div class="nav-box">
 <div class="nav-box">
     <ul class="nav-list list-unstyled">
     <ul class="nav-list list-unstyled">