瀏覽代碼

feat:项目管理多页面推送提示,只读处理

vian 4 年之前
父節點
當前提交
020164fb8d
共有 3 個文件被更改,包括 7 次插入0 次删除
  1. 2 0
      public/web/socket/connection.js
  2. 1 0
      web/building_saas/pm/js/pm_newMain.js
  3. 4 0
      web/common/html/header.html

+ 2 - 0
public/web/socket/connection.js

@@ -97,6 +97,8 @@ socketObject = {
             if (isActive) {
                 $("#message").html(`树结构发生变化,请<a href="javascript:void(0);" id="load-data">点击刷新列表</a>`);
                 $('#load-data').on('click', () => projTreeObj.handleNotifyClick(expandState, selection));
+                $('#notify > button').hide();
+                $('#empty-modal').modal('show');
                 $("#notify").show();
             }
         });

+ 1 - 0
web/building_saas/pm/js/pm_newMain.js

@@ -1731,6 +1731,7 @@ const projTreeObj = {
         init(refresh, callback, expandCallback);
     },
     handleNotifyClick: function(expandState, selection) {
+        $('#empty-modal').modal('hide');
         $('#notify').hide();
         const callback = () => {
             const sheet = this.workBook.getSheet(0);

+ 4 - 0
web/common/html/header.html

@@ -207,6 +207,10 @@
         </div>
     </div>
 </div>
+<div class="modal fade" id="empty-modal" data-backdrop="static" style="display: none;" aria-hidden="true">
+    <div class="modal-dialog" role="document">
+    </div>
+</div>
 <!--激活产品 & 售后服务 & 联系客服-->
 <!--办事处客服列表-->
 <div class="modal fade z-index-3000" id="activ" data-backdrop="static" style="display: none; overflow: auto;" aria-hidden="true">