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
23e9d3d2
Commit
23e9d3d2
authored
Sep 30, 2017
by
Java-李昕颖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jsp验证修改
parent
d1158b53
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
reportDeliver.jsp
src/main/webapp/WEB-INF/views/modules/report/reportDeliver.jsp
+1
-1
reportForm.jsp
src/main/webapp/WEB-INF/views/modules/report/reportForm.jsp
+15
-12
notice.jsp
src/main/webapp/WEB-INF/views/modules/workbench/notice.jsp
+1
-4
No files found.
src/main/webapp/WEB-INF/views/modules/report/reportDeliver.jsp
View file @
23e9d3d2
...
...
@@ -187,7 +187,7 @@
$
(
"#userList"
).
html
(
$
(
data
));
},
error
:
function
(){
alert
(
"
数据错误
!"
);
alert
(
"
请选择需要移交的数据
!"
);
},
complete
:
function
()
{
$
(
"#btnSearch"
).
removeAttr
(
"disabled"
);
...
...
src/main/webapp/WEB-INF/views/modules/report/reportForm.jsp
View file @
23e9d3d2
...
...
@@ -9,12 +9,17 @@
$
(
document
).
ready
(
function
()
{
$
(
"#inputForm"
).
validate
({
submitHandler
:
function
(
form
)
{
submitCount
+=
1
;
if
(
submitCount
==
1
){
loading
(
'正在提交,请稍等...'
);
form
.
submit
();
}
else
{
return
false
;
if
(
$
(
"#reportContent"
).
val
()
==
""
){
top
.
$
.
jBox
.
tip
(
'请填写内容'
,
'warning'
);
}
else
{
submitCount
+=
1
;
if
(
submitCount
==
1
)
{
$
(
"#checkFile"
).
hide
();
loading
(
'正在提交,请稍等...'
);
form
.
submit
();
}
else
{
return
false
;
}
}
},
errorContainer
:
"#messageBox"
,
...
...
@@ -62,6 +67,7 @@
<label
class=
"control-label"
>
内容:
</label>
<div
class=
"controls"
>
<form:textarea
id=
"reportContent"
htmlEscape=
"true"
path=
"reportContent"
rows=
"4"
maxlength=
"500"
class=
"input-xxlarge"
/>
<span
class=
"help-inline"
><font
color=
"red"
>
*
</font>
</span>
</div>
</div>
</div>
...
...
@@ -78,22 +84,19 @@
<div
class=
"control-group"
>
<label
class=
"control-label"
>
姓名:
</label>
<div
class=
"controls"
>
<form:input
path=
"reportPersonName"
htmlEscape=
"false"
maxlength=
"200"
class=
"input-xlarge required"
/>
<span
class=
"help-inline"
><font
color=
"red"
>
*
</font>
</span>
<form:input
path=
"reportPersonName"
htmlEscape=
"false"
maxlength=
"200"
class=
"input-xlarge"
/>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
手机号:
</label>
<div
class=
"controls"
>
<form:input
path=
"reportPersonTel"
htmlEscape=
"false"
maxlength=
"200"
class=
"input-xlarge required"
/>
<span
class=
"help-inline"
><font
color=
"red"
>
*
</font>
</span>
<form:input
path=
"reportPersonTel"
htmlEscape=
"false"
maxlength=
"200"
class=
"input-xlarge"
/>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
Email:
</label>
<div
class=
"controls"
>
<form:input
path=
"reportPersonEmail"
htmlEscape=
"false"
maxlength=
"200"
class=
"input-xlarge required"
/>
<span
class=
"help-inline"
><font
color=
"red"
>
*
</font>
</span>
<form:input
path=
"reportPersonEmail"
htmlEscape=
"false"
maxlength=
"200"
class=
"input-xlarge"
/>
</div>
</div>
<div
class=
"control-group"
>
...
...
src/main/webapp/WEB-INF/views/modules/workbench/notice.jsp
View file @
23e9d3d2
...
...
@@ -53,10 +53,7 @@
<c:forEach
items=
"${noticePage.list}"
var=
"notice"
varStatus=
"vs"
>
<tr>
<td>
${vs.count}
</td>
<td>
<c:if
test=
"${isAdmin eq 'Y'}"
><a
href=
"${ctx}/notice/view?id=${notice.id}&reportId=${notice.reportId}"
>
${notice.title}。
</a></c:if>
<c:if
test=
"${isAdmin eq 'N'}"
><a
href=
"${ctx}/notice/view?id=${notice.id}&reportId=${notice.reportId}"
>
${notice.title}。
</a></c:if>
</td>
<td><a
href=
"${ctx}/notice/view?id=${notice.id}&reportId=${notice.reportId}"
>
${notice.title}。
</a></td>
<td>
${notice.sendTime}
</td>
<td>
${notice.sendFromId}
</td>
<td>
...
...
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