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
d169b5dc
Commit
d169b5dc
authored
Nov 10, 2017
by
yjh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
覆盖版本重提交
parent
2acf3db0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
33 deletions
+44
-33
reportTrack.jsp
src/main/webapp/WEB-INF/views/modules/report/reportTrack.jsp
+44
-33
No files found.
src/main/webapp/WEB-INF/views/modules/report/reportTrack.jsp
View file @
d169b5dc
<
%@
taglib
prefix=
"from"
uri=
"http://www.springframework.org/tags/form"
%
>
<
%@
page
contentType=
"text/html;charset=UTF-8"
%
>
<
%@
include
file=
"/WEB-INF/views/include/taglib.jsp"
%
>
<html>
...
...
@@ -9,9 +10,6 @@
$
(
document
).
ready
(
function
()
{
$
(
"#inputForm"
).
validate
({
submitHandler
:
function
(
form
)
{
messages
:
{
supplementContent
:
{
maxlength
:
"最多输入{0}个字符"
}
}
if
(
$
(
"#supplementType"
).
val
()
==
" "
){
top
.
$
.
jBox
.
tip
(
'请选择业务类型'
,
'warning'
);
}
else
if
(
$
(
"#supplementArea"
).
val
()
==
" "
){
...
...
@@ -108,23 +106,24 @@
path
+=
"标题:${report.supplementTitle}</br>"
;
path
+=
"被举报公司:${report.supplementCompany}</br>"
;
path
+=
"被举报部门:${report.supplementDepartment}</br>"
;
var
supplementType
=
"${report.supplementType}"
;
if
(
supplementType
==
"1"
){
supplementType
=
"营销"
;
}
else
if
(
supplementType
==
"2"
){
supplementType
=
"工程"
;
}
else
if
(
supplementType
==
"3"
){
supplementType
=
"成本"
;
}
else
if
(
supplementType
==
"4"
){
supplementType
=
"招采"
;
}
else
if
(
supplementType
==
"5"
){
supplementType
=
"人力"
;
}
else
if
(
supplementType
==
"6"
){
supplementType
=
"物业"
;
}
else
if
(
supplementType
==
"7"
){
supplementType
=
"投诉"
;
}
path
+=
"业务类型:"
+
supplementType
+
"</br>"
;
//12:01注
<%--
var
supplementType
=
"${report.supplementType}"
;
--%>
<%--
if
(
supplementType
==
"1"
){
--%>
<%--
supplementType
=
"营销"
;
--%>
<%--
}
else
if
(
supplementType
==
"2"
){
--%>
<%--
supplementType
=
"工程"
;
--%>
<%--
}
else
if
(
supplementType
==
"3"
){
--%>
<%--
supplementType
=
"成本"
;
--%>
<%--
}
else
if
(
supplementType
==
"4"
){
--%>
<%--
supplementType
=
"招采"
;
--%>
<%--
}
else
if
(
supplementType
==
"5"
){
--%>
<%--
supplementType
=
"人力"
;
--%>
<%--
}
else
if
(
supplementType
==
"6"
){
--%>
<%--
supplementType
=
"物业"
;
--%>
<%--
}
else
if
(
supplementType
==
"7"
){
--%>
<%--
supplementType
=
"投诉"
;
--%>
<%--
}
--%>
// path += "业务类型:"+supplementType+"
<
/br>"
;
var
supplementArea
=
"${report.supplementArea}"
;
if
(
supplementArea
==
"North China"
){
supplementArea
=
"华北区域公司"
;
...
...
@@ -157,8 +156,16 @@
console
.
log
(
path
);
window
.
location
.
href
=
path
;
});
var
checkedNumber
=
"${report.supplementType}"
;
var
number
=
checkedNumber
.
split
(
","
);
var
ck
=
document
.
getElementsByName
(
"supplementType"
);
for
(
var
i
=
0
;
i
<
number
.
length
;
i
++
)
{
ck
[
number
[
i
]
-
1
].
checked
=
true
;
}
});
</script>
<style
type=
"text/css"
>
.title
{
...
...
@@ -195,11 +202,11 @@
</style>
</head>
<body>
<ul
class=
"nav nav-tabs"
>
<ul
class=
"nav nav-tabs"
>
<li
class=
"active"
><a
href=
"${ctx}/report/track"
>
跟踪举报信息
</a></li>
</ul>
<br/>
<form:form
id=
"inputForm"
modelAttribute=
"report"
action=
"${ctx}/report/addTrack"
method=
"post"
class=
"form-horizontal"
>
</ul>
<br/>
<form:form
id=
"inputForm"
modelAttribute=
"report"
action=
"${ctx}/report/addTrack"
method=
"post"
class=
"form-horizontal"
>
<form:hidden
path=
"id"
/>
<sys:message
content=
"${message}"
/>
...
...
@@ -235,11 +242,14 @@
<div
class=
"control-group"
>
<label
class=
"control-label"
>
业务类型:
</label>
<div
class=
"controls"
>
<form:select
id=
"supplementType"
path=
"supplementType"
class=
"input-small required"
>
<form:option
value=
" "
>
请选择
</form:option>
<form:options
items=
"${fns:getDictList('supplement_type')}"
itemLabel=
"label"
itemValue=
"value"
htmlEscape=
"false"
/></form:select>
<span
class=
"help-inline"
><font
color=
"red"
>
*
</font>
</span>
<span
class=
"supplementType"
>
<form:checkboxes
path=
"supplementType"
items=
"${fns:getDictList('supplement_type')}"
itemLabel=
"label"
itemValue=
"value"
/>
</span>
<
%
--
<
form:select
id=
"supplementType"
path=
"supplementType"
class=
"input-small required"
>
--%>
<
%
--
<
form:option
value=
" "
>
请选择
</form:option>
--%>
<
%
--
<
form:options
items=
"${fns:getDictList('supplement_type')}"
itemLabel=
"label"
itemValue=
"value"
--
%
>
<
%
--htmlEscape=
"false"
/></form:select>
--%>
<
%
--
<
span
class=
"help-inline"
><font
color=
"red"
>
*
</font>
</span>
--%>
</div>
</div>
<div
class=
"control-group"
>
...
...
@@ -323,9 +333,9 @@
<input
id=
"btnSubmit"
class=
"btn btn-primary"
type=
"submit"
value=
"提交"
/>
<input
id=
"btnMail"
class=
"btn btn-primary"
type=
"button"
value=
"发邮件"
/>
</div>
</form:form>
<div
id=
"fade"
class=
"black_overlay"
></div>
<div
id=
"chooseDiv"
class=
"white_content"
>
</form:form>
<div
id=
"fade"
class=
"black_overlay"
></div>
<div
id=
"chooseDiv"
class=
"white_content"
>
<div
id=
"chooseContent"
>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
...
...
@@ -462,6 +472,6 @@
<input
id=
"btnClose"
class=
"btn btn-primary"
type=
"button"
value=
"关闭"
/></label>
</li>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
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