Commit da910d2f by yjh

覆盖版本重提交

parent b447f266
......@@ -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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment