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
e0ccda78
Commit
e0ccda78
authored
May 21, 2018
by
莫林毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 监控运营/协查单管理/协查单明细
解决EXCEL下载问题 1 监控运营/协查单管理/定制分析 解决'重置按钮'问题
parent
98880f94
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
5 deletions
+30
-5
WorkingOrderReasultController.java
...z/web/monitoroperation/WorkingOrderReasultController.java
+23
-4
CustomAnalysis.jsp
.../webapp/WEB-INF/views/MonitorOperation/CustomAnalysis.jsp
+5
-0
WorkingOrderReasult.jsp
...pp/WEB-INF/views/MonitorOperation/WorkingOrderReasult.jsp
+2
-1
No files found.
src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderReasultController.java
View file @
e0ccda78
...
...
@@ -69,6 +69,7 @@ import com.hp.cmsz.service.monitoroperation.GjfxWarningInfoService;
import
com.hp.cmsz.service.monitoroperation.XcdWarningInfoViewService
;
import
com.hp.cmsz.repository.XcdDetailInfoViewDao
;
/**
* WorkingOrderReasultControll类负责对协查单管理页面进行控制
*
...
...
@@ -437,7 +438,7 @@ public class WorkingOrderReasultController {
if
(
size2
>=
4
)
{
if
(
report
==
-
1
)
{
xcdWorkingOrderInfoS
=
xcdWorkingOrderInfoService
.
getAllXcdWorkingOrderInfoNotRelBy
(
time1
,
time2
,
providerS
,
datasourceS
,
channelS
,
provinceS
);
}
else
{
}
else
{
xcdWorkingOrderInfoS
=
xcdWorkingOrderInfoService
.
getAllXcdWorkingOrderInfoNotRelBy1
(
time1
,
time2
,
providerS
,
datasourceS
,
channelS
,
provinceS
,
report
);
}
staticXcdDetailInfoView
=
xcdWorkingOrderInfoS
;
...
...
@@ -451,13 +452,13 @@ public class WorkingOrderReasultController {
}
if
(
report
==
-
1
)
{
xcdWorkingOrderInfoS
=
xcdWorkingOrderInfoService
.
getAllXcdWorkingOrderInfoNotRelBy
(
time1
,
time2
,
providerS
,
datasourceS
,
channelS
,
provinceS
);
}
else
{
}
else
{
xcdWorkingOrderInfoS
=
xcdWorkingOrderInfoService
.
getAllXcdWorkingOrderInfoNotRelBy1
(
time1
,
time2
,
providerS
,
datasourceS
,
channelS
,
provinceS
,
report
);
}
}
else
{
if
(
report
==
-
1
)
{
xcdWorkingOrderInfoS
=
xcdWorkingOrderInfoService
.
getAllXcdWorkingOrderInfoNotRelBy
(
time1
,
time2
,
providerS
,
datasourceS
,
channelS
,
provinceS
);
}
else
{
}
else
{
xcdWorkingOrderInfoS
=
xcdWorkingOrderInfoService
.
getAllXcdWorkingOrderInfoNotRelBy1
(
time1
,
time2
,
providerS
,
datasourceS
,
channelS
,
provinceS
,
report
);
}
}
...
...
@@ -797,6 +798,8 @@ public class WorkingOrderReasultController {
if
(
xcdWorkingOrderInfo
.
getActualCompletionTime
()
!=
null
)
row
.
createCell
(
12
).
setCellValue
(
df
.
format
(
xcdWorkingOrderInfo
.
getActualCompletionTime
()));
// if(xcdWorkingOrderInfo.getClosed()!=null)row.createCell(11).setCellValue(xcdWorkingOrderInfo.getClosed());
// if(xcdWorkingOrderInfo.getOccurReason()!=null)row.createCell(12).setCellValue(xcdWorkingOrderInfo.getOccurReason());
if
(
xcdWorkingOrderInfo
.
getResolvingStatus
()
!=
null
)
...
...
@@ -814,7 +817,23 @@ public class WorkingOrderReasultController {
row
.
createCell
(
18
).
setCellValue
(
xcdWorkingOrderInfo
.
getFailureReason
());
if
(
xcdWorkingOrderInfo
.
getAffectregion
()
!=
null
)
row
.
createCell
(
19
).
setCellValue
(
xcdWorkingOrderInfo
.
getAffectregion
());
if
(
xcdWorkingOrderInfo
.
getIfReportFile
()
!=
'\0'
)
{
char
c
=
xcdWorkingOrderInfo
.
getIfReportFile
();
String
s
=
""
;
switch
(
c
)
{
case
'1'
:
s
=
"有"
;
break
;
case
'0'
:
s
=
"无"
;
break
;
default
:
s
=
""
;
}
System
.
out
.
println
(
"分析报告== "
+
xcdWorkingOrderInfo
.
getIfReportFile
());
System
.
out
.
println
(
"分析报告== "
+
s
);
row
.
createCell
(
20
).
setCellValue
(
s
);
}
;
}
...
...
src/main/webapp/WEB-INF/views/MonitorOperation/CustomAnalysis.jsp
View file @
e0ccda78
...
...
@@ -320,6 +320,11 @@
initDataSource
();
//数据来源
initBusiness
();
//业务
initKpi
();
//指标
$
(
'input[name="allDataSource"]'
).
prop
(
"checked"
,
true
);
$
(
'input[name="datasource"]'
).
prop
(
"checked"
,
true
);
// initReport();//定制分析
});
...
...
src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderReasult.jsp
View file @
e0ccda78
...
...
@@ -453,7 +453,8 @@ $(function () {
+
"&province2="
+
"-1"
+
"&datasource="
+
"-1"
+
"&provider="
+
"-1"
+
"&xcdcode="
+
"-1"
;
+
"&xcdcode="
+
"-1"
+
"&report="
+
"-1"
;
$
(
"#submit2"
).
click
(
function
()
{
...
...
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