Преглед на файлове

没有密码时,隐藏

MaiXinRong преди 4 години
родител
ревизия
957b42eb7c
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 0
      app/public/js/stage.js
  2. 1 1
      app/view/stage/index.ejs

+ 1 - 0
app/public/js/stage.js

@@ -1825,6 +1825,7 @@ $(document).ready(() => {
         if (result.cooperation) {
         if (result.cooperation) {
             stageTree.loadPwd(result.cooperation, 'bills-p-' + userID + '-' + window.location.pathname.split('/')[2]);
             stageTree.loadPwd(result.cooperation, 'bills-p-' + userID + '-' + window.location.pathname.split('/')[2]);
             $('#cooperationCount').html(stageTree.pwd.length || '');
             $('#cooperationCount').html(stageTree.pwd.length || '');
+            $('#cooperationCount').parent().show();
             reloadCooperationHtml();
             reloadCooperationHtml();
         }
         }
         // 加载部位明细
         // 加载部位明细

+ 1 - 1
app/view/stage/index.ejs

@@ -37,7 +37,7 @@
                     <a class="btn btn-sm btn-primary" href="javascript: void(0);" id="ledger-check2">数据检查</a>
                     <a class="btn btn-sm btn-primary" href="javascript: void(0);" id="ledger-check2">数据检查</a>
                 </div>
                 </div>
                 <div class="d-inline-block">
                 <div class="d-inline-block">
-                    <a class="btn btn-sm btn-danger" href="#cooperation" data-toggle="modal" data-target="#cooperation">多人协同 <i class="fa fa-lock"></i> <span id="cooperationCount"></span></a>
+                    <a class="btn btn-sm btn-danger" href="#cooperation" data-toggle="modal" data-target="#cooperation" style="display: none;">多人协同 <i class="fa fa-lock"></i> <span id="cooperationCount"></span></a>
                 </div>
                 </div>
             </div>
             </div>
             <div class="ml-auto">
             <div class="ml-auto">