Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sunac_report
Overview
Overview
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
java-sunac-report
sunac_report
Commits
0df43bf8
Commit
0df43bf8
authored
Jan 17, 2018
by
java-lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修补代码
parent
7d7f6e79
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
32 deletions
+11
-32
ReportService.java
src/main/java/com/ejweb/modules/report/service/ReportService.java
+2
-2
ReportController.java
src/main/java/com/ejweb/modules/report/web/ReportController.java
+6
-6
reportTrack.jsp
src/main/webapp/WEB-INF/views/modules/report/reportTrack.jsp
+3
-24
No files found.
src/main/java/com/ejweb/modules/report/service/ReportService.java
View file @
0df43bf8
...
...
@@ -295,7 +295,7 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> {
if
(
flag
.
equals
(
"meanWhile"
))
{
reportNotice
.
setTitle
(
"“"
+
reportEntity
.
getSupplementTitle
()
+
"”已由"
+
user
.
getName
()
+
"于"
+
dateStr
+
"处理完成"
);
//没点完成,title为请处理
if
(
reportEntity
.
getDealResult
().
equals
(
"3"
)
&&
StringUtils
.
isBlank
(
ifDone
))
{
if
(
StringUtils
.
isBlank
(
ifDone
))
{
reportNotice
.
setTitle
(
"请处理-“"
+
reportEntity
.
getSupplementTitle
()
+
"”"
);
}
}
...
...
@@ -320,7 +320,7 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> {
reportNotice
.
setSendToId
(
reportEntity
.
getExchangeAfterUser
());
reportNotice
.
setTitle
(
"“"
+
reportEntity
.
getSupplementTitle
()
+
"”已由"
+
user
.
getName
()
+
"于"
+
dateStr
+
"处理完成"
);
//没点完成,title为请处理
if
(
reportEntity
.
getDealResult
().
equals
(
"3"
)
&&
StringUtils
.
isBlank
(
ifDone
))
{
if
(
StringUtils
.
isBlank
(
ifDone
))
{
reportNotice
.
setTitle
(
"请处理-“"
+
reportEntity
.
getSupplementTitle
()
+
"”"
);
}
}
else
{
...
...
src/main/java/com/ejweb/modules/report/web/ReportController.java
View file @
0df43bf8
...
...
@@ -302,12 +302,12 @@ public class ReportController extends BaseController {
}
//更新举报状态
reportEntity
.
setReportStatus
(
"1"
);
if
(
reportEntity
.
getDealResult
().
equals
(
"1"
)
||
reportEntity
.
getDealResult
().
equals
(
"2"
)){
reportEntity
.
setReportStatus
(
"2"
);
}
if
(
reportEntity
.
getDealResult
().
equals
(
"3"
)){
reportEntity
.
setReportStatus
(
"1"
);
}
//
if (reportEntity.getDealResult().equals("1") || reportEntity.getDealResult().equals("2")){
//
reportEntity.setReportStatus("2");
//
}
//
if (reportEntity.getDealResult().equals("3")){
//
reportEntity.setReportStatus("1");
//
}
if
(
"ifDone"
.
equals
(
ifDone
))
{
reportEntity
.
setReportStatus
(
"2"
);
}
...
...
src/main/webapp/WEB-INF/views/modules/report/reportTrack.jsp
View file @
0df43bf8
...
...
@@ -78,20 +78,9 @@
}
//判断是否显示是否完成选择框
var
dealResult
=
$
(
"#dealResult"
).
val
();
if
(
dealResult
==
"1"
){
if
(
dealResult
!=
null
&&
dealResult
!=
' '
){
$
(
"#selectDone"
).
show
();
}
if
(
dealResult
==
"2"
)
{
$
(
"#selectDone"
).
show
();
}
if
(
dealResult
==
"3"
)
{
$
(
"#selectDone"
).
show
();
}
if
(
dealResult
==
"4"
)
{
$
(
"#selectDone"
).
show
();
}
else
if
(
dealResult
==
""
){
$
(
"#selectDone"
).
hide
();
}
});
/**
...
...
@@ -399,19 +388,9 @@
//显示是否完成选择框
function
showDone
(){
var
dealResult
=
$
(
"#dealResult"
).
val
();
if
(
dealResult
==
"1"
){
if
(
dealResult
!=
null
&&
dealResult
!=
' '
){
$
(
"#selectDone"
).
show
();
}
if
(
dealResult
==
"2"
)
{
$
(
"#selectDone"
).
show
();
}
if
(
dealResult
==
"3"
)
{
$
(
"#selectDone"
).
show
();
}
if
(
dealResult
==
"4"
)
{
$
(
"#selectDone"
).
show
();
}
else
if
(
dealResult
==
""
){
}
else
{
$
(
"#selectDone"
).
hide
();
}
}
...
...
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