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
14552ab10933b42a7f7f24362deed04bd6756b4c
1 parent
33b5d4d6
update
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
monitor-ui-web/src/main/webapp/jsp/javaApiMonitor/javaApiMonitor.jsp
monitor-ui-web/src/main/webapp/jsp/javaMonitor/javaMonitor.jsp
monitor-ui-web/src/main/webapp/jsp/javaApiMonitor/javaApiMonitor.jsp
View file @
14552ab
...
...
@@ -459,10 +459,10 @@
var
end
=
paramObj
.
endTime
.
split
(
" "
);
var
div
=
$
(
"<div>"
);
var
editBtn
=
$
(
"<button>"
).
addClass
(
"btn btn-xs btn-success"
).
html
(
rowData
.
apiName
).
appendTo
(
div
);
var
editBtn
=
$
(
"<button>"
).
addClass
(
"btn btn-xs btn-success"
).
css
(
"height"
,
"35px"
).
html
(
rowData
.
apiName
).
appendTo
(
div
);
editBtn
.
click
(
function
()
{
var
dialog
=
$
(
"<div>"
).
appendTo
(
$
(
"body"
));
var
url
=
contextPath
+
"/javaApiMonitor/toJavaIpInfoList?serviceName="
+
serviceName
+
"&apiName="
+
rowData
.
apiName
+
"&serviceType="
+
serviceTyp
e
+
"&cloudType="
+
$
(
"#cloudType"
).
val
()
var
url
=
contextPath
+
"/javaApiMonitor/toJavaIpInfoList?serviceName="
+
rowData
.
serviceName
+
"&apiName="
+
rowData
.
apiNam
e
+
"&cloudType="
+
$
(
"#cloudType"
).
val
()
+
"&startTime1="
+
start
[
0
]
+
"&startTime2="
+
start
[
1
]
+
"&endTime1="
+
end
[
0
]
+
"&endTime2="
+
end
[
1
];
dialog
.
dialog
({
backdrop
:
"static"
,
...
...
@@ -598,10 +598,10 @@
var
end
=
paramObj
.
endTime
.
split
(
" "
);
var
div
=
$
(
"<div>"
);
var
editBtn
=
$
(
"<button>"
).
addClass
(
"btn btn-xs btn-success"
).
html
(
rowData
.
apiName
).
appendTo
(
div
);
var
editBtn
=
$
(
"<button>"
).
addClass
(
"btn btn-xs btn-success"
).
css
(
"height"
,
"35px"
).
html
(
rowData
.
apiName
).
appendTo
(
div
);
editBtn
.
click
(
function
()
{
var
dialog
=
$
(
"<div>"
).
appendTo
(
$
(
"body"
));
var
url
=
contextPath
+
"/javaApiMonitor/toJavaIpInfoList?serviceName="
+
serviceName
+
"&apiName="
+
rowData
.
apiName
+
"&serviceType="
+
serviceTyp
e
+
"&cloudType="
+
$
(
"#cloudType"
).
val
()
var
url
=
contextPath
+
"/javaApiMonitor/toJavaIpInfoList?serviceName="
+
rowData
.
serviceName
+
"&apiName="
+
rowData
.
apiNam
e
+
"&cloudType="
+
$
(
"#cloudType"
).
val
()
+
"&startTime1="
+
start
[
0
]
+
"&startTime2="
+
start
[
1
]
+
"&endTime1="
+
end
[
0
]
+
"&endTime2="
+
end
[
1
];
dialog
.
dialog
({
backdrop
:
"static"
,
...
...
monitor-ui-web/src/main/webapp/jsp/javaMonitor/javaMonitor.jsp
View file @
14552ab
...
...
@@ -537,8 +537,7 @@
}
return
serviceNames
;
}
},
{
},
{
},{
title
:
"总请求次数"
,
field
:
"totalCount"
,
width
:
"10%"
,
...
...
@@ -661,6 +660,10 @@
width
:
"10%"
,
sortable
:
true
},
{
title
:
"网络归属"
,
field
:
"type"
,
width
:
"10%"
},
{
title
:
"服务名"
,
field
:
"serviceNames"
,
width
:
"10%"
,
...
...
@@ -672,11 +675,6 @@
return
serviceNames
;
}
},
{
},{
title
:
"网络归属"
,
field
:
"type"
,
width
:
"10%"
},
{
title
:
"总请求次数"
,
field
:
"totalCount"
,
width
:
"10%"
,
...
...
Please
register
or
login
to post a comment