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
cbbc0fc0
Commit
cbbc0fc0
authored
Dec 27, 2017
by
java-lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
转交消息 序号顺序显示
parent
aed2e6ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
ReportController.java
src/main/java/com/ejweb/modules/report/web/ReportController.java
+1
-1
ckfinder.xml
src/main/webapp/WEB-INF/ckfinder.xml
+1
-1
reportDeliver.jsp
src/main/webapp/WEB-INF/views/modules/report/reportDeliver.jsp
+11
-2
No files found.
src/main/java/com/ejweb/modules/report/web/ReportController.java
View file @
cbbc0fc0
...
...
@@ -465,7 +465,7 @@ public class ReportController extends BaseController {
}
Page
<
ReportEntity
>
page
=
reportService
.
getChooseReportPage
(
new
Page
<
ReportEntity
>(
request
,
response
),
reportEntity
);
User
userEntity
=
new
User
();
Page
<
User
>
userPage
=
reportService
.
findUserPage
(
new
Page
<
User
>(
1
,
1
0
),
userEntity
);
Page
<
User
>
userPage
=
reportService
.
findUserPage
(
new
Page
<
User
>(
1
,
2
0
),
userEntity
);
List
<
ReportEntity
>
reportlist
=
page
.
getList
();
for
(
ReportEntity
report
:
reportlist
){
String
typeStr
=
""
;
...
...
src/main/webapp/WEB-INF/ckfinder.xml
View file @
cbbc0fc0
...
...
@@ -27,7 +27,7 @@
<type
name=
"files"
>
<url>
%BASE_URL%files/
</url>
<directory>
%BASE_DIR%files
</directory>
<maxSize>
5M
</maxSize>
<maxSize>
5
0
M
</maxSize>
<allowedExtensions>
7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip
</allowedExtensions>
<deniedExtensions></deniedExtensions>
</type>
...
...
src/main/webapp/WEB-INF/views/modules/report/reportDeliver.jsp
View file @
cbbc0fc0
...
...
@@ -46,6 +46,15 @@
$
(
"#chooseDiv"
).
hide
();
$
(
"#fade"
).
hide
();
});
//序号连续
var
i
=
1
;
var
pageNo
=
$
(
"#pageNo"
).
val
();
var
pageSize
=
$
(
"#pageSize"
).
val
();
$
(
".reportList"
).
each
(
function
(){
var
num
=
(
pageNo
-
1
)
*
pageSize
+
i
;
i
+=
1
;
$
(
this
).
children
(
"td"
).
eq
(
1
).
html
(
num
);
});
});
function
resetPageNo
()
{
$
(
"#pageNo"
).
val
(
0
);
...
...
@@ -123,9 +132,9 @@
<tbody>
<c:if
test=
"${page.list.size()>0}"
>
<c:forEach
items=
"${page.list}"
var=
"report"
varStatus=
"vs"
>
<tr>
<tr
class=
"reportList"
>
<td><input
type=
"checkbox"
value=
"${report.id}"
></td>
<td>
${vs.count}
</td>
<td></td>
<td>
${report.supplementTitle}
</td>
<td>
${report.supplementType}
...
...
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