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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
7 deletions
+32
-7
WorkingOrderReasultController.java
...z/web/monitoroperation/WorkingOrderReasultController.java
+25
-6
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类负责对协查单管理页面进行控制
*
...
...
@@ -293,7 +294,7 @@ public class WorkingOrderReasultController {
model
.
put
(
"warningSourceList"
,
warningSourceList
);
model
.
put
(
"channelList"
,
channelList
);
model
.
put
(
"datasourceList"
,
datasourceList
);
/*model.put("businessList", businessList);*/
/*model.put("businessList", businessList);*/
model
.
put
(
"providerList"
,
providerList
);
model
.
put
(
"providerGsonList"
,
gson
.
toJson
(
providerList
));
model
.
put
(
"provinceList"
,
provinceList
);
...
...
@@ -303,7 +304,7 @@ public class WorkingOrderReasultController {
}
/* //返回到协查单管理页面(做第一个tab()home的分页)
@RequestMapping(method = RequestMethod.GET)
@RequestMapping(method = RequestMethod.GET)
public String list0(
@RequestParam(value = "sortType0", defaultValue = "failureId") String sortType, //按照哪一个值排序
@RequestParam(value = "page0", defaultValue = "1") int pageNumber,//默认进入第几页
...
...
@@ -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