|
@@ -385,7 +385,13 @@ function getDataExport(queryParam = {}) {
|
|
|
|
|
|
|
|
|
//点位标签弹框
|
|
|
+
|
|
|
+// var flag = true;
|
|
|
+
|
|
|
+
|
|
|
$(document).on('click', 'a.pointLabel', function(event) {
|
|
|
+
|
|
|
+ // alert(1)
|
|
|
let dwId = $(this).data('id');
|
|
|
layerDepartmentIndex = layer.open({
|
|
|
type: 1,
|
|
@@ -411,10 +417,18 @@ $(document).on('click', 'a.pointLabel', function(event) {
|
|
|
}, 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);
|
|
|
})
|
|
@@ -471,6 +485,7 @@ var downPng = function(canvas) {
|
|
|
}
|
|
|
|
|
|
var cutDiv = function() {
|
|
|
+
|
|
|
var content = document.getElementById("imgOut");
|
|
|
html2canvas(content, {
|
|
|
onrendered: function(canvas) {
|