Showing
1 changed file
with
8 additions
and
4 deletions
@@ -306,7 +306,6 @@ | @@ -306,7 +306,6 @@ | ||
306 | } | 306 | } |
307 | 307 | ||
308 | var refreshJavaAppStatus = function () { | 308 | var refreshJavaAppStatus = function () { |
309 | - console.log("refresh status"); | ||
310 | if (table_data == null || table_data.rows == undefined) | 309 | if (table_data == null || table_data.rows == undefined) |
311 | return; | 310 | return; |
312 | $.each(table_data.rows, function (idx, val) { | 311 | $.each(table_data.rows, function (idx, val) { |
@@ -328,10 +327,15 @@ | @@ -328,10 +327,15 @@ | ||
328 | }); | 327 | }); |
329 | }); | 328 | }); |
330 | } | 329 | } |
330 | + //console.log("refresh status"+JSON.stringify(reqList)); | ||
331 | + | ||
331 | //每行就去获取,缩短整个表请求时间 | 332 | //每行就去获取,缩短整个表请求时间 |
332 | $.ajax({ | 333 | $.ajax({ |
333 | - url: contextPath + "/javaApi/status?list=" + JSON.stringify(reqList), | ||
334 | - type: 'get', | 334 | + url: contextPath + "/javaApi/status", |
335 | + type: 'post', | ||
336 | + data:{ | ||
337 | + list: JSON.stringify(reqList) | ||
338 | + }, | ||
335 | success: function (data) { | 339 | success: function (data) { |
336 | // console.log(data); | 340 | // console.log(data); |
337 | if (!data || data.code != 200) { | 341 | if (!data || data.code != 200) { |
@@ -343,7 +347,7 @@ | @@ -343,7 +347,7 @@ | ||
343 | }) | 347 | }) |
344 | }, | 348 | }, |
345 | error: function (data) { | 349 | error: function (data) { |
346 | - $.toaster('获取java服务状态失败', '警告', 'warning'); | 350 | + $.toaster('获取java服务状态失败error', '警告', 'warning'); |
347 | 351 | ||
348 | } | 352 | } |
349 | }); | 353 | }); |
-
Please register or login to post a comment