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
lingmin
9 years ago
Commit
33b5d4d6310368a1f8007e17c4879866ed96391f
1 parent
e59a72e4
update
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
12 deletions
monitor-ui-web/src/main/webapp/jsp/javaApiMonitor/javaApiMonitor.jsp
monitor-ui-web/src/main/webapp/jsp/javaApiMonitor/javaIpInfoList.jsp
monitor-ui-web/src/main/webapp/jsp/javaMonitor/javaMonitor.jsp
monitor-ui-web/src/main/webapp/jsp/javaApiMonitor/javaApiMonitor.jsp
View file @
33b5d4d
...
...
@@ -409,7 +409,14 @@
var
content
=
""
;
if
(
rowData
.
timeoutInfo
!=
null
){
for
(
var
i
=
0
;
i
<
rowData
.
timeoutInfo
.
length
;
i
++
){
content
=
content
+
rowData
.
timeoutInfo
[
i
]
+
"<br><br>"
;
var
temp
=
new
Array
();
temp
=
rowData
.
timeoutInfo
[
i
].
split
(
"+---"
);
if
(
temp
!=
null
&&
temp
.
length
>
0
){
for
(
var
j
=
0
;
j
<
temp
.
length
;
j
++
){
content
=
content
+
temp
[
j
]
+
"<br>"
;
}
}
content
=
content
+
"<br><br>"
;
}
}
editBtn
.
click
(
function
()
{
...
...
@@ -541,7 +548,14 @@
var
content
=
""
;
if
(
rowData
.
timeoutInfo
!=
null
){
for
(
var
i
=
0
;
i
<
rowData
.
timeoutInfo
.
length
;
i
++
){
content
=
content
+
rowData
.
timeoutInfo
[
i
]
+
"<br><br>"
;
var
temp
=
new
Array
();
temp
=
rowData
.
timeoutInfo
[
i
].
split
(
"+---"
);
if
(
temp
!=
null
&&
temp
.
length
>
0
){
for
(
var
j
=
0
;
j
<
temp
.
length
;
j
++
){
content
=
content
+
temp
[
j
]
+
"<br>"
;
}
}
content
=
content
+
"<br><br>"
;
}
}
editBtn
.
click
(
function
()
{
...
...
@@ -673,7 +687,14 @@
var
content
=
""
;
if
(
rowData
.
timeoutInfo
!=
null
){
for
(
var
i
=
0
;
i
<
rowData
.
timeoutInfo
.
length
;
i
++
){
content
=
content
+
rowData
.
timeoutInfo
[
i
]
+
"<br><br>"
;
var
temp
=
new
Array
();
temp
=
rowData
.
timeoutInfo
[
i
].
split
(
"+---"
);
if
(
temp
!=
null
&&
temp
.
length
>
0
){
for
(
var
j
=
0
;
j
<
temp
.
length
;
j
++
){
content
=
content
+
temp
[
j
]
+
"<br>"
;
}
}
content
=
content
+
"<br><br>"
;
}
}
editBtn
.
click
(
function
()
{
...
...
monitor-ui-web/src/main/webapp/jsp/javaApiMonitor/javaIpInfoList.jsp
View file @
33b5d4d
...
...
@@ -168,7 +168,14 @@
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
content= content +rowData.timeoutInfo[i]+"<br><br>";
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
}
}
content= content +"<br><br>";
}
}
editBtn.click(function () {
...
...
@@ -262,7 +269,14 @@
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
content= content +rowData.timeoutInfo[i]+"<br><br>";
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
}
}
content= content +"<br><br>";
}
}
editBtn.click(function () {
...
...
monitor-ui-web/src/main/webapp/jsp/javaMonitor/javaMonitor.jsp
View file @
33b5d4d
...
...
@@ -458,7 +458,14 @@
var
content
=
""
;
if
(
rowData
.
timeoutInfo
!=
null
){
for
(
var
i
=
0
;
i
<
rowData
.
timeoutInfo
.
length
;
i
++
){
content
=
content
+
rowData
.
timeoutInfo
[
i
]
+
"<br><br>"
;
var
temp
=
new
Array
();
temp
=
rowData
.
timeoutInfo
[
i
].
split
(
"+---"
);
if
(
temp
!=
null
&&
temp
.
length
>
0
){
for
(
var
j
=
0
;
j
<
temp
.
length
;
j
++
){
content
=
content
+
temp
[
j
]
+
"<br>"
;
}
}
content
=
content
+
"<br><br>"
;
}
}
editBtn
.
click
(
function
()
{
...
...
@@ -521,8 +528,16 @@
width
:
"10%"
},{
title
:
"服务名"
,
field
:
"serviceName"
,
width
:
"10%"
field
:
"serviceNames"
,
width
:
"10%"
,
formatter
:
function
(
value
,
rowData
,
rowIndex
){
var
serviceNames
=
rowData
.
serviceNames
;
if
(
serviceNames
==
null
||
serviceNames
==
""
){
serviceNames
=
$
(
"#searchApiName"
).
select
(
"getText"
);
}
return
serviceNames
;
}
},
{
},
{
title
:
"总请求次数"
,
field
:
"totalCount"
,
...
...
@@ -578,7 +593,14 @@
var
content
=
""
;
if
(
rowData
.
timeoutInfo
!=
null
){
for
(
var
i
=
0
;
i
<
rowData
.
timeoutInfo
.
length
;
i
++
){
content
=
content
+
rowData
.
timeoutInfo
[
i
]
+
"<br><br>"
;
var
temp
=
new
Array
();
temp
=
rowData
.
timeoutInfo
[
i
].
split
(
"+---"
);
if
(
temp
!=
null
&&
temp
.
length
>
0
){
for
(
var
j
=
0
;
j
<
temp
.
length
;
j
++
){
content
=
content
+
temp
[
j
]
+
"<br>"
;
}
}
content
=
content
+
"<br><br>"
;
}
}
editBtn
.
click
(
function
()
{
...
...
@@ -640,8 +662,16 @@
sortable
:
true
},
{
title
:
"服务名"
,
field
:
"serviceName"
,
width
:
"10%"
field
:
"serviceNames"
,
width
:
"10%"
,
formatter
:
function
(
value
,
rowData
,
rowIndex
){
var
serviceNames
=
rowData
.
serviceNames
;
if
(
serviceNames
==
null
||
serviceNames
==
""
){
serviceNames
=
$
(
"#searchApiName"
).
select
(
"getText"
);
}
return
serviceNames
;
}
},
{
},{
title
:
"网络归属"
,
field
:
"type"
,
...
...
@@ -702,7 +732,14 @@
var
content
=
""
;
if
(
rowData
.
timeoutInfo
!=
null
){
for
(
var
i
=
0
;
i
<
rowData
.
timeoutInfo
.
length
;
i
++
){
content
=
content
+
rowData
.
timeoutInfo
[
i
]
+
"<br><br>"
;
var
temp
=
new
Array
();
temp
=
rowData
.
timeoutInfo
[
i
].
split
(
"+---"
);
if
(
temp
!=
null
&&
temp
.
length
>
0
){
for
(
var
j
=
0
;
j
<
temp
.
length
;
j
++
){
content
=
content
+
temp
[
j
]
+
"<br>"
;
}
}
content
=
content
+
"<br><br>"
;
}
}
editBtn
.
click
(
function
()
{
...
...
Please
register
or
login
to post a comment