Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
qinchao
7 years ago
Commit
3d0e97c0c9fe29ab81209c7640bd23257f74ef19
1 parent
3dce5bc2
search的服务监控
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
monitor-ui-web/src/main/webapp/jsp/javaapi/javaApiList.jsp
monitor-ui-web/src/main/webapp/jsp/javaapi/javaApiList.jsp
View file @
3d0e97c
...
...
@@ -306,7 +306,6 @@
}
var
refreshJavaAppStatus
=
function
()
{
console
.
log
(
"refresh status"
);
if
(
table_data
==
null
||
table_data
.
rows
==
undefined
)
return
;
$
.
each
(
table_data
.
rows
,
function
(
idx
,
val
)
{
...
...
@@ -328,10 +327,15 @@
});
});
}
//console.log("refresh status"+JSON.stringify(reqList));
//每行就去获取,缩短整个表请求时间
$
.
ajax
({
url
:
contextPath
+
"/javaApi/status?list="
+
JSON
.
stringify
(
reqList
),
type
:
'get'
,
url
:
contextPath
+
"/javaApi/status"
,
type
:
'post'
,
data
:{
list
:
JSON
.
stringify
(
reqList
)
},
success
:
function
(
data
)
{
// console.log(data);
if
(
!
data
||
data
.
code
!=
200
)
{
...
...
@@ -343,7 +347,7 @@
})
},
error
:
function
(
data
)
{
$
.
toaster
(
'获取java服务状态失败'
,
'警告'
,
'warning'
);
$
.
toaster
(
'获取java服务状态失败
error
'
,
'警告'
,
'warning'
);
}
});
...
...
Please
register
or
login
to post a comment