Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cmszMonitorAnalysis
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liuna
cmszMonitorAnalysis
Commits
e8e790a9
Commit
e8e790a9
authored
Jan 22, 2018
by
莫林毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监控运营 ->告警监控 告警关联诊断 '新建'&'修改'页面
格式化 '业务'&'指标'栏 数据
parent
d4188a14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
CreateDiagosis.jsp
.../webapp/WEB-INF/views/MonitorOperation/CreateDiagosis.jsp
+5
-0
UpdateAnaInfo.jsp
...n/webapp/WEB-INF/views/MonitorOperation/UpdateAnaInfo.jsp
+5
-0
No files found.
src/main/webapp/WEB-INF/views/MonitorOperation/CreateDiagosis.jsp
View file @
e8e790a9
...
@@ -563,6 +563,7 @@
...
@@ -563,6 +563,7 @@
var
strcheckBox
=
""
;
var
strcheckBox
=
""
;
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
var
strInput
=
"<input type='checkbox' onClick='BusinessCheckClick()' id=BusinessCheck_"
+
jsonDa
[
i
].
businessId
+
" name='BusinessCheck' class='provinceDetail' title='"
+
jsonDa
[
i
].
businessName
+
"' value='"
+
jsonDa
[
i
].
businessId
+
"'/>"
+
jsonDa
[
i
].
businessName
;
var
strInput
=
"<input type='checkbox' onClick='BusinessCheckClick()' id=BusinessCheck_"
+
jsonDa
[
i
].
businessId
+
" name='BusinessCheck' class='provinceDetail' title='"
+
jsonDa
[
i
].
businessName
+
"' value='"
+
jsonDa
[
i
].
businessId
+
"'/>"
+
jsonDa
[
i
].
businessName
;
if
((
i
!=
0
)
&&
((
i
+
1
)
%
6
===
0
)){
strInput
=
strInput
+
'<br>'
}
strcheckBox
+=
strInput
;
strcheckBox
+=
strInput
;
}
}
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
...
@@ -614,6 +615,7 @@
...
@@ -614,6 +615,7 @@
var
strcheckBox
=
""
;
var
strcheckBox
=
""
;
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
var
strInput
=
"<input type='checkbox' onClick='BusinessCheckClick()' id=BusinessCheck_"
+
jsonDa
[
i
].
businessId
+
" name='BusinessCheck' class='provinceDetail' title='"
+
jsonDa
[
i
].
businessName
+
"' value='"
+
jsonDa
[
i
].
businessId
+
"'/>"
+
jsonDa
[
i
].
businessName
;
var
strInput
=
"<input type='checkbox' onClick='BusinessCheckClick()' id=BusinessCheck_"
+
jsonDa
[
i
].
businessId
+
" name='BusinessCheck' class='provinceDetail' title='"
+
jsonDa
[
i
].
businessName
+
"' value='"
+
jsonDa
[
i
].
businessId
+
"'/>"
+
jsonDa
[
i
].
businessName
;
if
((
i
!=
0
)
&&
((
i
+
1
)
%
6
===
0
)){
strInput
=
strInput
+
'<br>'
}
strcheckBox
+=
strInput
;
strcheckBox
+=
strInput
;
}
}
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
...
@@ -658,11 +660,14 @@
...
@@ -658,11 +660,14 @@
success
:
function
(
data
)
{
success
:
function
(
data
)
{
var
jsonDa
=
eval
(
'('
+
data
+
')'
);
var
jsonDa
=
eval
(
'('
+
data
+
')'
);
var
colLength
=
0
;
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
if
(
$
.
inArray
(
jsonDa
[
i
].
kpiId
,
dimKpiSelected
)
<
0
)
{
if
(
$
.
inArray
(
jsonDa
[
i
].
kpiId
,
dimKpiSelected
)
<
0
)
{
var
strInput
=
"<input type='checkbox' id=dimKpiCheck_"
+
jsonDa
[
i
].
kpiId
+
" name='dimKpiCheck' class='provinceDetail' title='"
+
jsonDa
[
i
].
code
+
"' value='"
+
jsonDa
[
i
].
kpiId
+
"'/><font>"
+
jsonDa
[
i
].
name
+
"</font>"
;
var
strInput
=
"<input type='checkbox' id=dimKpiCheck_"
+
jsonDa
[
i
].
kpiId
+
" name='dimKpiCheck' class='provinceDetail' title='"
+
jsonDa
[
i
].
code
+
"' value='"
+
jsonDa
[
i
].
kpiId
+
"'/><font>"
+
jsonDa
[
i
].
name
+
"</font>"
;
if
((
colLength
!=
0
)
&&
((
colLength
+
1
)
%
5
===
0
)){
strInput
=
strInput
+
'<br>'
}
$
(
"#dimKpiListTd"
).
append
(
strInput
);
$
(
"#dimKpiListTd"
).
append
(
strInput
);
colLength
=
colLength
+
1
;
}
}
}
}
...
...
src/main/webapp/WEB-INF/views/MonitorOperation/UpdateAnaInfo.jsp
View file @
e8e790a9
...
@@ -549,6 +549,7 @@
...
@@ -549,6 +549,7 @@
success
:
function
(
data
)
{
success
:
function
(
data
)
{
var
jsonDa
=
eval
(
'('
+
data
+
')'
);
var
jsonDa
=
eval
(
'('
+
data
+
')'
);
var
colLength
=
0
;
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
...
@@ -559,7 +560,9 @@
...
@@ -559,7 +560,9 @@
continue
;
continue
;
}
}
var
strInput
=
"<input type='checkbox' id=dimKpiCheck_"
+
jsonDa
[
i
].
kpiId
+
" name='dimKpiCheck' class='provinceDetail' title='"
+
jsonDa
[
i
].
code
+
"' value="
+
jsonDa
[
i
].
kpiId
+
"'/><font>"
+
jsonDa
[
i
].
name
+
"</font>"
;
var
strInput
=
"<input type='checkbox' id=dimKpiCheck_"
+
jsonDa
[
i
].
kpiId
+
" name='dimKpiCheck' class='provinceDetail' title='"
+
jsonDa
[
i
].
code
+
"' value="
+
jsonDa
[
i
].
kpiId
+
"'/><font>"
+
jsonDa
[
i
].
name
+
"</font>"
;
if
((
colLength
!=
0
)
&&
((
colLength
+
1
)
%
5
===
0
)){
strInput
=
strInput
+
'<br>'
}
$
(
"#dimKpiListTd"
).
append
(
strInput
);
$
(
"#dimKpiListTd"
).
append
(
strInput
);
colLength
=
colLength
+
1
;
}
}
}
}
});
});
...
@@ -646,6 +649,7 @@
...
@@ -646,6 +649,7 @@
var
strcheckBox
=
""
;
var
strcheckBox
=
""
;
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
var
strInput
=
"<input type='checkbox' id=BusinessCheck_"
+
jsonDa
[
i
].
businessId
+
" name='BusinessCheck' onClick='BusinessCheckClick()' class='provinceDetail' title='"
+
jsonDa
[
i
].
businessName
+
"' value="
+
jsonDa
[
i
].
businessId
+
"'/>"
+
jsonDa
[
i
].
businessName
;
var
strInput
=
"<input type='checkbox' id=BusinessCheck_"
+
jsonDa
[
i
].
businessId
+
" name='BusinessCheck' onClick='BusinessCheckClick()' class='provinceDetail' title='"
+
jsonDa
[
i
].
businessName
+
"' value="
+
jsonDa
[
i
].
businessId
+
"'/>"
+
jsonDa
[
i
].
businessName
;
if
((
i
!=
0
)
&&
((
i
+
1
)
%
6
===
0
)){
strInput
=
strInput
+
'<br>'
}
strcheckBox
+=
strInput
;
strcheckBox
+=
strInput
;
}
}
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
...
@@ -698,6 +702,7 @@
...
@@ -698,6 +702,7 @@
var
strcheckBox
=
""
;
var
strcheckBox
=
""
;
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
jsonDa
.
length
;
i
++
)
{
var
strInput
=
"<input type='checkbox' id=BusinessCheck_"
+
jsonDa
[
i
].
businessId
+
" name='BusinessCheck' onClick='BusinessCheckClick()' class='provinceDetail' title='"
+
jsonDa
[
i
].
businessName
+
"' value="
+
jsonDa
[
i
].
businessId
+
"'/>"
+
jsonDa
[
i
].
businessName
;
var
strInput
=
"<input type='checkbox' id=BusinessCheck_"
+
jsonDa
[
i
].
businessId
+
" name='BusinessCheck' onClick='BusinessCheckClick()' class='provinceDetail' title='"
+
jsonDa
[
i
].
businessName
+
"' value="
+
jsonDa
[
i
].
businessId
+
"'/>"
+
jsonDa
[
i
].
businessName
;
if
((
i
!=
0
)
&&
((
i
+
1
)
%
6
===
0
)){
strInput
=
strInput
+
'<br>'
}
strcheckBox
+=
strInput
;
strcheckBox
+=
strInput
;
}
}
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment