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
da910d2f
Commit
da910d2f
authored
Nov 10, 2017
by
yjh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
覆盖版本重提交
parent
b447f266
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
22 deletions
+34
-22
reportTrack.jsp
src/main/webapp/WEB-INF/views/modules/report/reportTrack.jsp
+34
-22
No files found.
src/main/webapp/WEB-INF/views/modules/report/reportTrack.jsp
View file @
da910d2f
...
...
@@ -55,6 +55,12 @@
$
(
"#chooseDiv"
).
hide
();
$
(
"#fade"
).
hide
();
});
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
;
}
//发邮件
$
(
"#btnMail"
).
click
(
function
()
{
var
supplementType
=
$
(
"#supplementType"
).
find
(
"option:selected"
).
text
();
...
...
@@ -108,23 +114,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
=
"华北区域公司"
;
...
...
@@ -158,6 +165,8 @@
window
.
location
.
href
=
path
;
});
});
// 处理结果的隐藏和显示
// function doSome() {
// var dealResult = $("#dealResult option:selected").text();
...
...
@@ -249,11 +258,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"
>
...
...
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