@@ -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();
}
});
@@ -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);
@@ -207,6 +207,10 @@
</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">