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
c7cfe40d
Commit
c7cfe40d
authored
Dec 05, 2017
by
莫林毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 了页面
parent
7bdffc50
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
14 deletions
+28
-14
AssociateDiagosisDetail.jsp
...EB-INF/views/MonitorOperation/AssociateDiagosisDetail.jsp
+2
-0
CreateDiagosis.jsp
.../webapp/WEB-INF/views/MonitorOperation/CreateDiagosis.jsp
+21
-9
UpdateAnaInfo.jsp
...n/webapp/WEB-INF/views/MonitorOperation/UpdateAnaInfo.jsp
+2
-2
associatediagosisdetail.js
src/main/webapp/static/js/associatediagosisdetail.js
+3
-3
No files found.
src/main/webapp/WEB-INF/views/MonitorOperation/AssociateDiagosisDetail.jsp
View file @
c7cfe40d
...
@@ -267,8 +267,10 @@
...
@@ -267,8 +267,10 @@
var
detailtime
=
getPeriodString
();
var
detailtime
=
getPeriodString
();
if
(
detailtime
==
""
||
detailtime
==
null
||
detailtime
.
length
<
2
){
if
(
detailtime
==
""
||
detailtime
==
null
||
detailtime
.
length
<
2
){
$
.
alert
(
"时间范围不能为空"
);
$
.
alert
(
"时间范围不能为空"
);
return
;
}
else
if
(
detailProvinceSum
==
0
)
{
}
else
if
(
detailProvinceSum
==
0
)
{
$
.
alert
(
"省份的选择不能为空"
);
$
.
alert
(
"省份的选择不能为空"
);
return
;
}
else
{
}
else
{
var
detailProvince
=
getDetailProvinceCheckedValueString
();
var
detailProvince
=
getDetailProvinceCheckedValueString
();
var
dimension
=
getDetailCheckeddDimension
();
var
dimension
=
getDetailCheckeddDimension
();
...
...
src/main/webapp/WEB-INF/views/MonitorOperation/CreateDiagosis.jsp
View file @
c7cfe40d
...
@@ -63,11 +63,9 @@
...
@@ -63,11 +63,9 @@
<tr>
<tr>
<td>
省份:
</td>
<td>
省份:
</td>
<td>
<td>
<
%
--
<
select
class=
"form-control"
name=
"proviceTd"
id=
"proviceTd"
>
<div
class=
"checkbox-inline"
>
<c:forEach
var=
"provice"
items=
"${proviceList}"
>
<input
type=
"checkbox"
name=
""
id=
"provinceDetailAll"
title=
""
value=
""
/>
全选
<option
value=
"${provice.provinceId}"
>
${provice.provinceName}
</option>
</div>
</c:forEach>
</select>
--%>
<c:forEach
var=
"provice"
items=
"${proviceList}"
>
<c:forEach
var=
"provice"
items=
"${proviceList}"
>
<div
class=
"checkbox-inline"
>
<div
class=
"checkbox-inline"
>
<label>
<label>
...
@@ -213,6 +211,19 @@
...
@@ -213,6 +211,19 @@
}
}
});
});
//全选和不全选所有的省
$
(
"#provinceDetailAll"
).
click
(
function
()
{
if
(
$
(
"#provinceDetailAll"
).
attr
(
"checked"
)
==
"checked"
){
//全选
$
(
"provinceDetail"
).
attr
(
"checked"
,
"checked"
);
$
(
"input[name='provinceDetail']"
).
attr
(
"checked"
,
"checked"
);
}
else
{
//不全选
$
(
"input[name='provinceDetail']"
).
attr
(
"checked"
,
false
);
$
(
"input[name='provinceDetail']"
).
attr
(
"disabled"
,
false
);
}
});
//模型名称是否重复判断
//模型名称是否重复判断
var
isDouble
=
true
;
var
isDouble
=
true
;
$
(
"#dataModelName"
).
blur
(
function
(){
$
(
"#dataModelName"
).
blur
(
function
(){
...
@@ -377,6 +388,7 @@
...
@@ -377,6 +388,7 @@
var
kpiWeightTdV
=
$
(
"#kpiWeightTd"
).
val
();
var
kpiWeightTdV
=
$
(
"#kpiWeightTd"
).
val
();
$
(
"#modelSubmit"
).
attr
(
"disabled"
,
"disabled"
);
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
async
:
true
,
async
:
true
,
...
@@ -473,7 +485,7 @@
...
@@ -473,7 +485,7 @@
// var jsonDa=data;
// var jsonDa=data;
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
;
strcheckBox
+=
strInput
;
strcheckBox
+=
strInput
;
}
}
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
...
@@ -523,7 +535,7 @@
...
@@ -523,7 +535,7 @@
var
jsonDa
=
eval
(
'('
+
data
+
')'
);
var
jsonDa
=
eval
(
'('
+
data
+
')'
);
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
;
strcheckBox
+=
strInput
;
strcheckBox
+=
strInput
;
}
}
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
$
(
"#businessActivedListTd"
).
append
(
strcheckBox
);
...
@@ -568,7 +580,7 @@
...
@@ -568,7 +580,7 @@
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
].
name
+
"' 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
].
name
+
"
"
+
jsonDa
[
i
].
code
+
"
' value='"
+
jsonDa
[
i
].
kpiId
+
"'/><font>"
+
jsonDa
[
i
].
name
+
"</font>"
;
$
(
"#dimKpiListTd"
).
append
(
strInput
);
$
(
"#dimKpiListTd"
).
append
(
strInput
);
}
}
...
@@ -685,7 +697,7 @@
...
@@ -685,7 +697,7 @@
var
arrDimKpiChecked
=
[];
var
arrDimKpiChecked
=
[];
$
(
"input[name='dimKpiCheck']"
).
each
(
function
(
e
){
$
(
"input[name='dimKpiCheck']"
).
each
(
function
(
e
){
if
(
$
(
this
).
attr
(
"checked"
)){
if
(
$
(
this
).
attr
(
"checked"
)){
var
id_name
=
$
(
this
).
context
.
id
.
split
(
"_"
)[
1
]
+
"_"
+
$
(
this
).
context
.
title
;
var
id_name
=
$
(
this
).
context
.
id
.
split
(
"_"
)[
1
]
+
"_"
+
$
(
this
).
context
.
title
.
split
(
" "
)[
0
]
;
arrDimKpiChecked
.
push
(
id_name
);
arrDimKpiChecked
.
push
(
id_name
);
}
}
});
});
...
...
src/main/webapp/WEB-INF/views/MonitorOperation/UpdateAnaInfo.jsp
View file @
c7cfe40d
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<form
action=
"#"
class=
"form-horizontal"
id=
"modelMaintainForm"
method=
"post"
<form
action=
"#"
class=
"form-horizontal"
id=
"modelMaintainForm"
method=
"post"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
>
<table
id=
"modelMaintainTable"
class=
"table-null"
>
<table
id=
"modelMaintainTable"
class=
"table-null"
>
<input
type=
"
text
"
id=
"associationId"
value=
"${anaInfo.associationId}"
>
<input
type=
"
hidden
"
id=
"associationId"
value=
"${anaInfo.associationId}"
>
<input
type=
"hidden"
id=
"dimKpiSelectedList"
value=
"${dimKpiSelectedList}"
>
<input
type=
"hidden"
id=
"dimKpiSelectedList"
value=
"${dimKpiSelectedList}"
>
<tr>
<tr>
<td>
省份:
</td>
<td>
省份:
</td>
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
${anaInfo}
<
%
--
${
anaInfo
}
--
%
>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
...
...
src/main/webapp/static/js/associatediagosisdetail.js
View file @
c7cfe40d
...
@@ -8,9 +8,9 @@ function initTable(){
...
@@ -8,9 +8,9 @@ function initTable(){
header
[
2
]
=
[
"结束时间"
,
"failureTitle"
,
"10%"
,
"16"
];
header
[
2
]
=
[
"结束时间"
,
"failureTitle"
,
"10%"
,
"16"
];
header
[
3
]
=
[
"省份"
,
"provinceName"
,
"5%"
,
""
];
header
[
3
]
=
[
"省份"
,
"provinceName"
,
"5%"
,
""
];
header
[
4
]
=
[
"类型"
,
"channelName"
,
"8%"
,
""
];
header
[
4
]
=
[
"类型"
,
"channelName"
,
"8%"
,
""
];
header
[
5
]
=
[
"名称
告警个数
"
,
"dataSourceName"
,
"8%"
,
""
];
header
[
5
]
=
[
"名称"
,
"dataSourceName"
,
"8%"
,
""
];
header
[
6
]
=
[
"
异常种类
"
,
"warningSourceName"
,
"8%"
,
""
];
header
[
6
]
=
[
"
告警个数
"
,
"warningSourceName"
,
"8%"
,
""
];
header
[
7
]
=
[
"
商
标告警明细"
,
"providerName"
,
"8%"
,
""
];
header
[
7
]
=
[
"
指
标告警明细"
,
"providerName"
,
"8%"
,
""
];
/*header[8] = ["发生时间","happenTime","10%",""];
/*header[8] = ["发生时间","happenTime","10%",""];
header[9] = ["结束时间","closeTime","10%",""];
header[9] = ["结束时间","closeTime","10%",""];
header[10] = ["详细原因","failureReason","14%","20"];
header[10] = ["详细原因","failureReason","14%","20"];
...
...
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