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
370d3da1
Commit
370d3da1
authored
Jan 17, 2018
by
liuna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2018年1月17日 --智能分析平台
--修改质量规则和过滤规则的指标布局
parent
73a3469e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
92 additions
and
16 deletions
+92
-16
workspace.xml
.idea/workspace.xml
+0
-0
FilterRuleResultController.java
.../cmsz/web/analysissupport/FilterRuleResultController.java
+2
-1
header.jsp
src/main/webapp/WEB-INF/layouts/header.jsp
+1
-1
FilterRuleMaintain.jsp
...bapp/WEB-INF/views/AnalysisSupport/FilterRuleMaintain.jsp
+44
-8
QualityRuleMaintain.jsp
...app/WEB-INF/views/AnalysisSupport/QualityRuleMaintain.jsp
+45
-6
No files found.
.idea/workspace.xml
View file @
370d3da1
This diff is collapsed.
Click to expand it.
src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleResultController.java
View file @
370d3da1
...
@@ -103,7 +103,7 @@ public class FilterRuleResultController {
...
@@ -103,7 +103,7 @@ public class FilterRuleResultController {
@RequestMapping
(
value
=
"queryRule"
)
@RequestMapping
(
value
=
"queryRule"
)
@ResponseBody
@ResponseBody
public
void
queryRule
(
public
List
<
FilterRule
>
queryRule
(
String
provinceArr
,
String
provinceArr
,
String
businessArr
,
String
businessArr
,
String
isRepeat
,
String
isRepeat
,
...
@@ -159,6 +159,7 @@ public class FilterRuleResultController {
...
@@ -159,6 +159,7 @@ public class FilterRuleResultController {
// Timestamp time1 = Timestamp.valueOf(startTime);
// Timestamp time1 = Timestamp.valueOf(startTime);
// Timestamp time2 = Timestamp.valueOf(endTime);
// Timestamp time2 = Timestamp.valueOf(endTime);
return
filterRuleList
;
}
}
...
...
src/main/webapp/WEB-INF/layouts/header.jsp
View file @
370d3da1
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
<ul class="dropdown-menu">
<ul class="dropdown-menu">
<li><a href="${ctx}/MonitorOperation/RegularityAnalysis">数据特征探查</a></li>
<li><a href="${ctx}/MonitorOperation/RegularityAnalysis">数据特征探查</a></li>
<li><a href="${ctx}/MonitorOperation/KeyLinkProcessAnalysis">业务环节分析</a></li>
<li><a href="${ctx}/MonitorOperation/KeyLinkProcessAnalysis">业务环节分析</a></li>
<
li><a href="${ctx}/MonitorOperation/FlowMonitor">实体厅流量监测分析</a></li
>
<
%--<li><a href="${ctx}/MonitorOperation/FlowMonitor">实体厅流量监测分析</a></li>--%
>
</ul>
</ul>
</li>
</li>
</shiro:hasPermission>
</shiro:hasPermission>
...
...
src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleMaintain.jsp
View file @
370d3da1
...
@@ -28,8 +28,19 @@
...
@@ -28,8 +28,19 @@
/* .file-box{ position:relative;width:340px}
/* .file-box{ position:relative;width:340px}
.txt{ height:22px; border:1px solid #cdcdcd; width:180px;}
.txt{ height:22px; border:1px solid #cdcdcd; width:180px;}
.btn{ background-color:#FFF; border:1px solid #CDCDCD;height:24px; width:70px;}
.btn{ background-color:#FFF; border:1px solid #CDCDCD;height:24px; width:70px;}
.file{ position:absolute; top:0; right:80px; height:24px; filter:alpha(opacity:0);opacity: 0;width:260px } */
.file{ position:absolute; top:0; right:80px; height:24px; filter:alpha(opacity:0);opacity: 0;width:260px } */
#kpiTable
{
margin
:
0px
;
padding
:
0px
;
height
:
10px
;
width
:
700px
;
}
#kpiTable
tr
td
{
text-align
:
left
;
margin
:
0px
;
padding
:
0px
;
height
:
10px
;
}
</style>
</style>
</head>
</head>
...
@@ -89,14 +100,18 @@
...
@@ -89,14 +100,18 @@
<tr><td>
业务(
<font
color=
"red"
>
必填
</font>
):
</td>
<tr><td>
业务(
<font
color=
"red"
>
必填
</font>
):
</td>
<td
>
<td
>
<div
class=
"checkbox-inline"
><label><input
type=
"checkbox"
id=
"allBusiness"
name=
"allBusiness"
checked
>
全选
</label></div><br/>
<div
class=
"checkbox-inline"
><label><input
type=
"checkbox"
id=
"allBusiness"
name=
"allBusiness"
checked
>
全选
</label></div><br/>
<div
id=
"businesstd"
style=
"width: 50%"
></div>
<div
id=
"businesstd"
></div>
</td>
</td>
</tr>
</tr>
<tr><td>
指标(
<font
color=
"red"
>
必填
</font>
):
</td>
<tr><td>
指标(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
<td>
<div
class=
"checkbox-inline"
><label><input
type=
"checkbox"
id=
"allKpi"
name=
"allKpi"
checked
>
全选
</label></div><br/>
<div
class=
"checkbox-inline"
><label><input
type=
"checkbox"
id=
"allKpi"
name=
"allKpi"
checked
>
全选
</label></div><br/>
<div
id=
"kpitd"
style=
"width: 50%"
></div>
<div
id=
"kpitd"
style=
"width: 50%"
>
<table
id=
"kpiTable"
class=
"kpiTable"
>
<tbody></tbody>
</table>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -225,12 +240,33 @@
...
@@ -225,12 +240,33 @@
async
:
false
,
async
:
false
,
beforeSend
:
function
(
data
)
{},
beforeSend
:
function
(
data
)
{},
success
:
function
(
data
){
success
:
function
(
data
){
var
td
=
$
(
"#kpitd"
);
var
tbody
=
$
(
'<tbody></tbody>'
);
td
.
empty
();
data
=
JSON
.
parse
(
data
)
data
=
JSON
.
parse
(
data
)
data
.
forEach
(
function
(
t
){
data
.
forEach
(
function
(
t
,
i
){
td
.
append
(
"<input type='checkbox' name='kpiinput' class='kpiItem' value='"
+
t
[
0
]
+
"' checked />"
+
t
[
1
])
var
tr
=
$
(
'<tr></tr>'
);
tr
.
empty
();
if
(
i
%
3
==
0
){
if
(
data
.
length
-
1
-
i
>=
3
){
tr
.
append
(
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
1
][
2
]
+
"' value='"
+
data
[
i
+
1
][
0
]
+
"' checked >"
+
data
[
i
+
1
][
1
]
+
"</input>"
+
'</td>'
+
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
2
][
2
]
+
"' value='"
+
data
[
i
+
2
][
0
]
+
"' checked >"
+
data
[
i
+
2
][
1
]
+
"</input>"
+
'</td>'
+
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
3
][
2
]
+
"' value='"
+
data
[
i
+
3
][
0
]
+
"' checked >"
+
data
[
i
+
3
][
1
]
+
"</input>"
+
'</td>'
)
tbody
.
append
(
tr
);
}
else
if
((
data
.
length
-
1
-
i
)
==
2
){
tr
.
append
(
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
][
2
]
+
"' value='"
+
data
[
i
][
0
]
+
"' checked >"
+
data
[
i
][
1
]
+
"</input>"
+
'</td>'
+
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
1
][
2
]
+
"' value='"
+
data
[
i
+
1
][
0
]
+
"' checked >"
+
data
[
i
+
1
][
1
]
+
"</input>"
+
'</td>'
+
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
2
][
2
]
+
"' value='"
+
data
[
i
+
2
][
0
]
+
"' checked >"
+
data
[
i
+
2
][
1
]
+
"</input>"
+
'</td>'
)
tbody
.
append
(
tr
);
}
else
if
((
data
.
length
-
1
-
i
)
==
1
)
{
tr
.
append
(
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
][
2
]
+
"' value='"
+
data
[
i
][
0
]
+
"' checked >"
+
data
[
i
][
1
]
+
"</input>"
+
'</td>'
+
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
1
][
2
]
+
"' value='"
+
data
[
i
+
1
][
0
]
+
"' checked >"
+
data
[
i
+
1
][
1
]
+
"</input>"
+
'</td>'
)
tbody
.
append
(
tr
);
}
else
if
((
data
.
length
-
1
-
i
)
==
0
)
{
tr
.
append
(
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
][
2
]
+
"' value='"
+
data
[
i
][
0
]
+
"' checked >"
+
data
[
i
][
1
]
+
"</input>"
+
'</td>'
)
tbody
.
append
(
tr
);
}
}
});
});
$
(
'#kpiTable tbody'
).
replaceWith
(
tbody
);
}
}
});
});
}
}
...
...
src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleMaintain.jsp
View file @
370d3da1
...
@@ -23,6 +23,18 @@
...
@@ -23,6 +23,18 @@
width
:
400px
;
width
:
400px
;
}
}
#kpiTable
{
margin
:
0px
;
padding
:
0px
;
height
:
10px
;
width
:
700px
;
}
#kpiTable
tr
td
{
text-align
:
left
;
margin
:
0px
;
padding
:
0px
;
height
:
10px
;
}
</style>
</style>
</head>
</head>
...
@@ -80,7 +92,9 @@
...
@@ -80,7 +92,9 @@
<tr><td>
业务(
<font
color=
"red"
>
必填
</font>
):
</td>
<tr><td>
业务(
<font
color=
"red"
>
必填
</font>
):
</td>
<td
>
<td
>
<div
class=
"checkbox-inline"
><label><input
type=
"checkbox"
id=
"allBusiness"
name=
"allBusiness"
checked
>
全选
</label></div><br/>
<div
class=
"checkbox-inline"
><label><input
type=
"checkbox"
id=
"allBusiness"
name=
"allBusiness"
checked
>
全选
</label></div><br/>
<div
id=
"businesstd"
></div>
<div
id=
"businesstd"
>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -95,7 +109,11 @@
...
@@ -95,7 +109,11 @@
<tr><td>
指标(
<font
color=
"red"
>
必填
</font>
):
</td>
<tr><td>
指标(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
<td>
<div
class=
"checkbox-inline"
><label><input
type=
"checkbox"
id=
"allKpi"
name=
"allKpi"
checked
>
全选
</label></div><br/>
<div
class=
"checkbox-inline"
><label><input
type=
"checkbox"
id=
"allKpi"
name=
"allKpi"
checked
>
全选
</label></div><br/>
<div
id=
"kpitd"
></div>
<div
id=
"kpitd"
>
<table
id=
"kpiTable"
class=
"kpiTable"
>
<tbody></tbody>
</table>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -444,12 +462,33 @@ function updateKpi(businessIds,calCycleValue){
...
@@ -444,12 +462,33 @@ function updateKpi(businessIds,calCycleValue){
async
:
false
,
async
:
false
,
beforeSend
:
function
(
data
)
{},
beforeSend
:
function
(
data
)
{},
success
:
function
(
data
){
success
:
function
(
data
){
var
td
=
$
(
"#kpitd"
);
var
tbody
=
$
(
'<tbody></tbody>'
);
td
.
empty
();
data
=
JSON
.
parse
(
data
)
data
=
JSON
.
parse
(
data
)
data
.
forEach
(
function
(
t
){
data
.
forEach
(
function
(
t
,
i
){
td
.
append
(
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
t
[
2
]
+
"' value='"
+
t
[
0
]
+
"' checked >"
+
t
[
1
]
+
"</input>"
)
var
tr
=
$
(
'<tr></tr>'
);
tr
.
empty
();
if
(
i
%
3
==
0
){
if
(
data
.
length
-
1
-
i
>=
3
){
tr
.
append
(
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
1
][
2
]
+
"' value='"
+
data
[
i
+
1
][
0
]
+
"' checked >"
+
data
[
i
+
1
][
1
]
+
"</input>"
+
'</td>'
+
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
2
][
2
]
+
"' value='"
+
data
[
i
+
2
][
0
]
+
"' checked >"
+
data
[
i
+
2
][
1
]
+
"</input>"
+
'</td>'
+
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
3
][
2
]
+
"' value='"
+
data
[
i
+
3
][
0
]
+
"' checked >"
+
data
[
i
+
3
][
1
]
+
"</input>"
+
'</td>'
)
tbody
.
append
(
tr
);
}
else
if
((
data
.
length
-
1
-
i
)
==
2
){
tr
.
append
(
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
][
2
]
+
"' value='"
+
data
[
i
][
0
]
+
"' checked >"
+
data
[
i
][
1
]
+
"</input>"
+
'</td>'
+
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
1
][
2
]
+
"' value='"
+
data
[
i
+
1
][
0
]
+
"' checked >"
+
data
[
i
+
1
][
1
]
+
"</input>"
+
'</td>'
+
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
2
][
2
]
+
"' value='"
+
data
[
i
+
2
][
0
]
+
"' checked >"
+
data
[
i
+
2
][
1
]
+
"</input>"
+
'</td>'
)
tbody
.
append
(
tr
);
}
else
if
((
data
.
length
-
1
-
i
)
==
1
)
{
tr
.
append
(
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
][
2
]
+
"' value='"
+
data
[
i
][
0
]
+
"' checked >"
+
data
[
i
][
1
]
+
"</input>"
+
'</td>'
+
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
+
1
][
2
]
+
"' value='"
+
data
[
i
+
1
][
0
]
+
"' checked >"
+
data
[
i
+
1
][
1
]
+
"</input>"
+
'</td>'
)
tbody
.
append
(
tr
);
}
else
if
((
data
.
length
-
1
-
i
)
==
0
)
{
tr
.
append
(
'<td>'
+
"<input type='checkbox' name='kpiinput' class='kpiItem' title='"
+
data
[
i
][
2
]
+
"' value='"
+
data
[
i
][
0
]
+
"' checked >"
+
data
[
i
][
1
]
+
"</input>"
+
'</td>'
)
tbody
.
append
(
tr
);
}
}
});
});
$
(
'#kpiTable tbody'
).
replaceWith
(
tbody
);
}
}
});
});
}
}
...
...
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