|
@@ -9,7 +9,6 @@ const test38 = (function() {
|
|
|
move2('.test38 .containerTool')
|
|
|
|
|
|
|
|
|
- let timer = null;
|
|
|
|
|
|
|
|
|
$('.test38 .close').click(function() {
|
|
@@ -23,13 +22,24 @@ const test38 = (function() {
|
|
|
eventClick('.test38');
|
|
|
|
|
|
|
|
|
- window.addEventListener('resize', function() {
|
|
|
- if (timer) {
|
|
|
- clearTimeout(timer);
|
|
|
- timer = null;
|
|
|
- }
|
|
|
- timer = setTimeout(() => {}, 500);
|
|
|
- })
|
|
|
+ // 安全事件
|
|
|
+ $.ajax({
|
|
|
+ url: FLAT_PATH_THREE +'/apiUrl/sendApiUrlAndParam',
|
|
|
+ type:'GET',
|
|
|
+ data: {
|
|
|
+ urlCode:'AQZX_014',
|
|
|
+ params:'{"startTime":"2020-06-23+00:00:00","endTime":"2022-04-29+19:41:58"}'
|
|
|
+ },
|
|
|
+ success: function(res) {
|
|
|
+ console.log('安全事件', JSON.parse(res.data));
|
|
|
+
|
|
|
+ },
|
|
|
+ error: function(err) {
|
|
|
+ console.log("----安全事件--------超时");
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
return test38
|