Browse Source

修复多张下载

Ming 4 năm trước cách đây
mục cha
commit
3d81affb86
1 tập tin đã thay đổi với 9 bổ sung15 xóa
  1. 9 15
      js/point.js

+ 9 - 15
js/point.js

@@ -416,26 +416,20 @@ $(document).on('click', 'a.pointLabel', function(event) {
                 alert("请求数据失败!");
             }, 3);
 
-            $('.pointLabelDownload').click(function() {
-                // alert(1)
-                cutDiv()
-            })
-
-            // $('#test-down:eq(0)').click(function() {
-            //     alert(1)
-
-            // })
 
-
-            $('.clsBtn2,.cancel2').click(function() {
-                // alert(2)
-                innerPage = 1;
-                layer.close(layerDepartmentIndex);
-            })
         }
     })
     event.stopPropagation();
 })
+$('.pointLabelDownload').click(function() {
+    cutDiv()
+})
+
+
+$('.clsBtn2,.cancel2').click(function() {
+    innerPage = 1;
+    layer.close(layerDepartmentIndex);
+})
 
 //点位详情点击
 $(document).on('click', 'a.pointDetail', function(event) {