Browse Source

code sync

Tony Kang 2 years ago
parent
commit
5d29aa8048
1 changed files with 4 additions and 2 deletions
  1. 4 2
      web/building_saas/main/html/main.html

+ 4 - 2
web/building_saas/main/html/main.html

@@ -108,7 +108,7 @@
                       <div class="btn-group ml-2">
                           <a class="dropdown-toggle btn btn-light btn-sm" data-toggle="dropdown" href="#" id="moreMenuA" role="button" aria-haspopup="true" aria-expanded="false">更多</a>
                           <div class="dropdown-menu dropright" id="moreMenu">
-                            <% if((compilationName === '公路造价(2018)' || compilationName === '安徽养护(2018)' || compilationName === '广东公路造价(2018)' || compilationName === '浙江养护(2005)' || compilationName === '山东养护(2016)' || compilationName === '广西养护(2020)') && boqType) { %>
+                            <% if((compilationName === '公路造价(2018)' || compilationName === '安徽养护(2018)' || compilationName === '广东公路造价(2018)' || compilationName === '浙江养护(2005)' || compilationName === '山东养护(2016)' || (compilationName === '广西养护(2020)' && boqType == 1)) && boqType) { %>
                                 <a class="dropdown-item" id="open-export-modal" href="javascript:void(0);"><i class="fa fa-code-fork"></i> 数据接口</a>
                                 <!-- <a class="dropdown-item" id="open-export-modal" href="javascript:void(0);" data-toggle="modal" data-target="#interface-export-modal"><i class="fa fa-code-fork"></i> 数据接口</a> -->
                             <% }%>
@@ -2022,7 +2022,7 @@
                         </div>
                     </div>
                     <!--招标-->
-                    <% if (boqType == 1 && compilationName !== '广西养护(2020)') { %>
+                    <% if (boqType == 1) { %>
                     <div class="form-group" id="lblTtlDiv">
                         <label class="mb-0">招标接口文件导出</label>
                         <small class="form-text text-muted">招标接口文件由以下2个文件组成,其内容必须保持一致,因此建议一次性全部导出。</small>
@@ -2035,6 +2035,7 @@
                             </label>
                             <small class="form-text text-muted">招标工程量清单数据文件,用于投标人投标报价</small>
                         </div>
+                        <% if (compilationName !== '广西养护(2020)') { %>
                         <div class="form-check ml-4" id="bidCtlDiv">
                             <input class="form-check-input" type="checkbox" value="3" id="ex-control">
                             <label class="form-check-label" for="ex-control">
@@ -2042,6 +2043,7 @@
                             </label>
                             <small class="form-text text-muted">包含完整组价数据的招标控制价文件</small>
                         </div>
+                        <% } %>
                     </div>
                     <% } else { %>
                     <!--投标-->