public/map/widgets/clientManagement/ClientManagement.js
@@ -162,7 +162,7 @@ open: function () { var that = this; $.ajax({ url: 'http://192.168.0.107:1888/api/blade-jfpts/alarm/alarm/page?current=1&size=10', url: '/api/blade-jfpts/alarm/alarm/page?current=1&size=9999', type: 'get', dataType: 'JSON', success: function (data) { @@ -251,6 +251,10 @@ that.clusterLayer.addData(datas); if(window.locationObj) { that._map.centerAndZoom(new esri.geometry.Point(window.locationObj.x,window.locationObj.y, new esri.SpatialReference({ wkid: 4326 })), 14); } } , clearLayer: function () { var that = this;