Commit fd891241 by Java-刘铮

ReportController:修改发送消息方法。

reportDetaol:添加dealResult=4为“举报属实”。
reportTrack:修改举报属性个状态可见“是否完成”。
parent acbb25ef
......@@ -9,12 +9,14 @@
<module name="ejweb-manage" />
<module name="it-faq-manage" />
<module name="report_sunac" />
<module name="report_sunac (1)" />
</profile>
</annotationProcessing>
<bytecodeTargetLevel>
<module name="ejweb-manage" target="1.8" />
<module name="it-faq-manage" target="1.8" />
<module name="report_sunac" target="1.8" />
<module name="report_sunac (1)" target="1.8" />
</bytecodeTargetLevel>
</component>
</project>
\ No newline at end of file
......@@ -2,5 +2,6 @@
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$" charset="UTF-8" />
<file url="file://E:/sunac_report" charset="UTF-8" />
</component>
</project>
\ No newline at end of file
......@@ -2,11 +2,14 @@
<project version="4">
<component name="FrameworkDetectionExcludesConfiguration">
<file type="web" url="file://$PROJECT_DIR$" />
<file type="web" url="file://E:/sunac_report" />
</component>
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
<option value="E:/gzb_bbhz/pom.xml" />
<option value="E:/sunac_report/pom.xml" />
</list>
</option>
</component>
......
......@@ -3,6 +3,7 @@
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/report_sunac.iml" filepath="$PROJECT_DIR$/report_sunac.iml" />
<module fileurl="file://E:/sunac_report/report_sunac (1).iml" filepath="E:/sunac_report/report_sunac (1).iml" />
</modules>
</component>
</project>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -63,7 +63,7 @@
<orderEntry type="module-library">
<library name="Maven: com.alibaba:jconsole:1.8.0">
<CLASSES>
<root url="jar://D:/Java/JDK/jdk1.8.0_131/lib/jconsole.jar!/" />
<root url="jar://D:/java/lib/jconsole.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
......@@ -72,7 +72,7 @@
<orderEntry type="module-library">
<library name="Maven: com.alibaba:tools:1.8.0">
<CLASSES>
<root url="jar://D:/Java/JDK/jdk1.8.0_131/lib/tools.jar!/" />
<root url="jar://D:/java/lib/tools.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
......
......@@ -50,9 +50,9 @@ public class FrontReportController {
ResponseBean responseBean = new ResponseBean();
if(bean!=null){
if(!CaptchaUtil.validate(bean.getCaptcha(),bean.getCode())){
responseBean.setStatus(ErrorCode.CAPTCHA_ERROR);
responseBean.setMessage("captcha is incorrect");
return responseBean;
responseBean.setStatus(ErrorCode.CAPTCHA_ERROR);
responseBean.setMessage("captcha is incorrect");
return responseBean;
}
if (StringUtils.isBlank(bean.getReportSource())){
responseBean.setStatus(ErrorCode.STATUS_CODE_4002);
......
......@@ -205,4 +205,11 @@ public interface ReportDao extends CrudDao<ReportEntity> {
* 总数
*/
public int getTotalNum(WorkbenchBean bean);
/**
* 删除举报信息
* @param reportEntity
* @return
*/
public int deleteConclusion(ReportEntity reportEntity);
}
......@@ -108,7 +108,7 @@ public class ReportEntity extends DataEntity<ReportEntity> {
public void setReportTime(String reportTime) {
this.reportTime = reportTime;
}
@ExcelField(title = "举报内容",align = 2,sort = 44)
public String getReportContent() {
return reportContent;
}
......@@ -219,7 +219,7 @@ public class ReportEntity extends DataEntity<ReportEntity> {
public void setSupplementProject(String supplementProject) {
this.supplementProject = supplementProject;
}
@ExcelField(title = "举报信息补充内容",align = 2,sort = 46)
public String getSupplementContent() {
return supplementContent;
}
......@@ -335,7 +335,7 @@ public class ReportEntity extends DataEntity<ReportEntity> {
this.transferName = transferName;
}
@ExcelField(title="IP来源", align=2, sort=44)
@ExcelField(title="IP来源", align=2, sort=48)
public String getReportIp() {
return reportIp;
}
......@@ -344,7 +344,7 @@ public class ReportEntity extends DataEntity<ReportEntity> {
this.reportIp = reportIp;
}
@ExcelField(title="IP所属城市", align=2, sort=46)
@ExcelField(title="IP所属城市", align=2, sort=50)
public String getIpCity() {
return ipCity;
}
......
......@@ -563,4 +563,14 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> {
return reportDao.updateConclusion(reportEntity);
}
/**
* 删除举报信息
*
* @return
*/
@Transactional(readOnly = false)
public int deleteConclusion(ReportEntity reportEntity) {
return reportDao.deleteConclusion(reportEntity);
}
}
......@@ -560,5 +560,18 @@ public class ReportController extends BaseController {
return "redirect:" + adminPath + "/report/list/?repage&flag=0";
}
/**
* 删除举报记录
*
* @return
*/
@RequestMapping(value = "deleteconclusion")
public String deleteConclusion(String id) {
ReportEntity reportEntity = new ReportEntity();
reportEntity.setId(id);
reportService.deleteConclusion(reportEntity);
return "redirect:" + adminPath + "/report/list/?repage&flag=0";
}
}
......@@ -27,6 +27,7 @@ import java.util.List;
/**
* 举报转为Word文档Controller
*
* @author lixy
* @version 2017-10-19
*/
......@@ -48,16 +49,16 @@ public class ReportToWordController {
@RequestMapping(value = "toWord")
public void toWord(ReportEntity reportEntity, String flag, HttpServletRequest request, HttpServletResponse response, RedirectAttributes redirectAttributes) throws IOException, XmlException {
//Blank Document
XWPFDocument document= new XWPFDocument();
XWPFDocument document = new XWPFDocument();
//Write the Document in file system
String reportProjectTitle = reportEntity.getReportProject();
if (reportProjectTitle.contains("/")){
reportProjectTitle = reportProjectTitle.replace("/","|");
}
if (reportProjectTitle.contains("\\")){
reportProjectTitle = reportProjectTitle.replace("\\","|");
}
FileOutputStream out = new FileOutputStream(GConstants.FILE_UPLOAD_DIR+"pdf/"+reportProjectTitle+"_"+reportEntity.getId()+".docx");
// String reportProjectTitle = reportEntity.getReportProject();
// if (reportProjectTitle.contains("/")){
// reportProjectTitle = reportProjectTitle.replace("/","|");
// }
// if (reportProjectTitle.contains("\\")){
// reportProjectTitle = reportProjectTitle.replace("\\","|");
// }
FileOutputStream out = new FileOutputStream(GConstants.FILE_UPLOAD_DIR + "pdf/" + reportEntity.getId() + ".docx");
// FileOutputStream out = new FileOutputStream("D:/1.docx");
// FileOutputStream out = new FileOutputStream("C:/1.docx");
//添加标题
......@@ -94,7 +95,7 @@ public class ReportToWordController {
//表格第一行
XWPFTableRow reportProject = basicInfoTable.getRow(0);
reportProject.getCell(0).setText("被举报项目/部门:");
reportProject.addNewTableCell().setText(reportEntity.getReportProject()==null?"":reportEntity.getReportProject());
reportProject.addNewTableCell().setText(reportEntity.getReportProject() == null ? "" : reportEntity.getReportProject());
XWPFTableRow supplementTitle = basicInfoTable.createRow();
supplementTitle.getCell(0).setText("标题:");
......@@ -107,24 +108,24 @@ public class ReportToWordController {
//表格第三行
XWPFTableRow reportCity = basicInfoTable.createRow();
reportCity.getCell(0).setText("所在城市:");
reportCity.getCell(1).setText(reportEntity.getReportCity()==null?"":reportEntity.getReportCity());
reportCity.getCell(1).setText(reportEntity.getReportCity() == null ? "" : reportEntity.getReportCity());
//表格第四行
XWPFTableRow reportTime = basicInfoTable.createRow();
reportTime.getCell(0).setText("举报时间:");
reportTime.getCell(1).setText(reportEntity.getReportTime()==null?"":reportEntity.getReportTime());
reportTime.getCell(1).setText(reportEntity.getReportTime() == null ? "" : reportEntity.getReportTime());
XWPFTableRow reportIp = basicInfoTable.createRow();
reportIp.getCell(0).setText("IP来源:");
reportIp.getCell(1).setText(reportEntity.getReportIp()==null?"":reportEntity.getReportIp());
reportIp.getCell(1).setText(reportEntity.getReportIp() == null ? "" : reportEntity.getReportIp());
XWPFTableRow ipCity = basicInfoTable.createRow();
ipCity.getCell(0).setText("IP所属城市:");
ipCity.getCell(1).setText(reportEntity.getIpCity()==null?"":reportEntity.getIpCity());
ipCity.getCell(1).setText(reportEntity.getIpCity() == null ? "" : reportEntity.getIpCity());
String is_send_email = reportEntity.getIsSendEmail();
if (StringUtils.isNotBlank(is_send_email)){
if (is_send_email.equals("1")){
if (StringUtils.isNotBlank(is_send_email)) {
if (is_send_email.equals("1")) {
is_send_email = "是";
}
}else {
} else {
is_send_email = "否";
}
XWPFTableRow isSendEmail = basicInfoTable.createRow();
......@@ -134,7 +135,7 @@ public class ReportToWordController {
//表格第五行
XWPFTableRow reportContent = basicInfoTable.createRow();
reportContent.getCell(0).setText("内容:");
reportContent.getCell(1).setText(reportEntity.getReportContent()==null?"":reportEntity.getReportContent());
reportContent.getCell(1).setText(reportEntity.getReportContent() == null ? "" : reportEntity.getReportContent());
//表格 附件
//获取附件列表
......@@ -144,7 +145,7 @@ public class ReportToWordController {
List<ReportAttachmentEntity> list = reportService.getAttachmentInfo(reportAttachmentBean);
if (list != null && list.size() != 0) {
for (int i = 0;i < list.size();i++) {
for (int i = 0; i < list.size(); i++) {
XWPFTableRow reportAttachment = basicInfoTable.createRow();
reportAttachment.getCell(0).setText("附件:");
reportAttachment.getCell(1).setText(list.get(i).getAttachmentPath());
......@@ -185,7 +186,7 @@ public class ReportToWordController {
//表格第一行
XWPFTableRow reportPersonName = peopleInfoTable.getRow(0);
reportPersonName.getCell(0).setText("姓名:");
reportPersonName.addNewTableCell().setText(reportEntity.getReportPersonName()==null?"":reportEntity.getReportPersonName());
reportPersonName.addNewTableCell().setText(reportEntity.getReportPersonName() == null ? "" : reportEntity.getReportPersonName());
//表格第二行
XWPFTableRow reportPersonTel = peopleInfoTable.createRow();
reportPersonTel.getCell(0).setText("手机号:");
......@@ -193,32 +194,32 @@ public class ReportToWordController {
//表格第三行
XWPFTableRow reportPersonEmail = peopleInfoTable.createRow();
reportPersonEmail.getCell(0).setText("Email:");
reportPersonEmail.getCell(1).setText(reportEntity.getReportPersonEmail()==null?"":reportEntity.getReportPersonEmail());
reportPersonEmail.getCell(1).setText(reportEntity.getReportPersonEmail() == null ? "" : reportEntity.getReportPersonEmail());
//表格第四行
XWPFTableRow reportSource = peopleInfoTable.createRow();
reportSource.getCell(0).setText("举报途径:");
String report_source = reportEntity.getReportSource();
if (StringUtils.isNotBlank(report_source)){
if (report_source.equals("web")){
if (StringUtils.isNotBlank(report_source)) {
if (report_source.equals("web")) {
report_source = "官网";
}else if (report_source.equals("oa")){
} else if (report_source.equals("oa")) {
report_source = "融创OA系统";
}else if (report_source.equals("supplier")){
} else if (report_source.equals("supplier")) {
report_source = "供应商系统";
}else if (report_source.equals("wechat")){
} else if (report_source.equals("wechat")) {
report_source = "微信公众号";
}else if (report_source.equals("sunacE")){
} else if (report_source.equals("sunacE")) {
report_source = "融E";
}else if (report_source.equals("offline")){
} else if (report_source.equals("offline")) {
report_source = "线下扫码";
}else if (report_source.equals("tel")){
} else if (report_source.equals("tel")) {
report_source = "电话";
}else if (report_source.equals("email")){
} else if (report_source.equals("email")) {
report_source = "邮件";
}else if (report_source.equals("visit")){
} else if (report_source.equals("visit")) {
report_source = "来访";
}
}else {
} else {
report_source = "";
}
reportSource.getCell(1).setText(report_source);
......@@ -259,9 +260,8 @@ public class ReportToWordController {
String supplement_type = reportEntity.getSupplementType();
String[] types = supplement_type.split(",");
if (StringUtils.isNotBlank(supplement_type)) {
String typeStr="";
for(String value : types)
{
String typeStr = "";
for (String value : types) {
if (value.equals("1")) {
value = "营销";
} else if (value.equals("2")) {
......@@ -284,13 +284,13 @@ public class ReportToWordController {
value = "商业管理";
} else if (value.equals("11")) {
value = "研发";
} else if(value.equals("12")) {
value ="投资开发";
} else if (value.equals("12")) {
value = "投资开发";
}
typeStr =typeStr+value+",";
supplement_type=typeStr.substring(0,typeStr.length()-1);
typeStr = typeStr + value + ",";
supplement_type = typeStr.substring(0, typeStr.length() - 1);
}
}else{
} else {
supplement_type = "";
}
supplementType.addNewTableCell().setText(supplement_type);
......@@ -427,17 +427,18 @@ public class ReportToWordController {
PrintWriter printWriter = response.getWriter();
response.setContentType("application/json;charset=utf-8");
printWriter.write(GConstants.FILE_PREFIX_URL+"pdf/"+reportProjectTitle+"_"+reportEntity.getId()+".docx");
printWriter.write(GConstants.FILE_PREFIX_URL + "pdf/" + reportEntity.getId() + ".docx");
printWriter.close();
}
/**
* @Description: 跨行合并
*/
public void mergeCellsVertically(XWPFTable table, int col, int fromRow, int toRow) {
public void mergeCellsVertically(XWPFTable table, int col, int fromRow, int toRow) {
for (int rowIndex = fromRow; rowIndex <= toRow; rowIndex++) {
XWPFTableCell cell = table.getRow(rowIndex).getCell(col);
if ( rowIndex == fromRow ) {
if (rowIndex == fromRow) {
// The first merged cell is set with RESTART merge value
cell.getCTTc().addNewTcPr().addNewVMerge().setVal(STMerge.RESTART);
} else {
......@@ -450,16 +451,16 @@ public class ReportToWordController {
/**
* @Description: 设置单元格宽度
*/
public void setCellWidth(XWPFTable table) {
public void setCellWidth(XWPFTable table) {
List<XWPFTableRow> rowList = table.getRows();
for (XWPFTableRow row : rowList){
for (XWPFTableRow row : rowList) {
List<XWPFTableCell> cellList = row.getTableCells();
int i = 0;
for (XWPFTableCell cell : cellList){
for (XWPFTableCell cell : cellList) {
CTTcPr cellPr = cell.getCTTc().addNewTcPr();
cellPr.addNewVAlign().setVal(STVerticalJc.CENTER);
int width = 2268;
if (i == 1){
if (i == 1) {
width = 6804;
}
//设置宽度
......
......@@ -618,4 +618,9 @@
<if test="dbName == 'mysql'"> AND DATE(create_date) &lt;= #{endDate}</if>
</if>
</select>
<delete id="deleteConclusion" >
delete from ct_bbtc_report
where id = #{id}
</delete>
</mapper>
\ No newline at end of file
......@@ -5,6 +5,7 @@
<title>举报管理</title>
<meta name="decorator" content="default"/>
<script type="text/javascript">
var requestFlag = true;
$(document).ready(function () {
$("#btnExport").click(function () {
......@@ -74,7 +75,194 @@
top.$.jBox.tip('正在加载,请稍等', 'warning');
}
}
window.onload = function () {
var tTD; //用来存储当前更改宽度的Table Cell,避免快速移动鼠标的问题
var table = document.getElementById("contentTable");
for (j = 0; j < table.rows[0].cells.length; j++) {
table.rows[0].cells[j].onmousedown = function () {
//记录单元格
tTD = this;
if (event.offsetX > tTD.offsetWidth - 10) {
tTD.mouseDown = true;
tTD.oldX = event.x;
tTD.oldWidth = tTD.offsetWidth;
}
//记录Table宽度
//table = tTD; while (table.tagName != ‘TABLE') table = table.parentElement;
//tTD.tableWidth = table.offsetWidth;
};
table.rows[0].cells[j].onmouseup = function () {
//结束宽度调整
if (tTD == undefined) tTD = this;
tTD.mouseDown = false;
tTD.style.cursor = 'default';
};
table.rows[0].cells[j].onmousemove = function () {
//更改鼠标样式
if (event.offsetX > this.offsetWidth - 10)
this.style.cursor = 'col-resize';
else
this.style.cursor = 'default';
//取出暂存的Table Cell
if (tTD == undefined) tTD = this;
//调整宽度
if (tTD.mouseDown != null && tTD.mouseDown == true) {
tTD.style.cursor = 'default';
if (tTD.oldWidth + (event.x - tTD.oldX) > 0)
tTD.width = tTD.oldWidth + (event.x - tTD.oldX);
//调整列宽
tTD.style.width = tTD.width;
tTD.style.cursor = 'col-resize';
//调整该列中的每个Cell
table = tTD;
while (table.tagName != 'TABLE') table = table.parentElement;
for (j = 0; j < table.rows.length; j++) {
table.rows[j].cells[tTD.cellIndex].width = tTD.width;
}
//调整整个表
//table.width = tTD.tableWidth + (tTD.offsetWidth – tTD.oldWidth);
//table.style.width = table.width;
}
};
}
}
function del(id) {
var msg = "您真的确定要删除吗?\n\n请确认!";
if (confirm(msg) == true) {
$.ajax({
type: "post",
url: "${ctx}/report/deleteconclusion",
data: {"id": id},
dataType: "json",
});
location.reload();
alert("删除成功")
} else {
return false;
}
}
function aa() {
var a = document.getElementById("t_r_content").scrollTop;
var b = document.getElementById("t_r_content").scrollLeft;
document.getElementById("cl_freeze").scrollTop = a;
document.getElementById("t_r_t").scrollLeft = b;
}
function overShow() {
var showDiv = document.getElementById('showDiv');
showDiv.style.left = event.clientX;
showDiv.style.top = event.clientY;
showDiv.style.display = 'block';
showDiv.innerHTML = '鼠标停留显示内容2';
}
function outHide() {
var showDiv = document.getElementById('showDiv');
showDiv.style.display = 'none';
showDiv.innerHTML = '';
}
</script>
<style type="text/css">
table {
table-layout: fixed;
}
th {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
td {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
table {
border-collapse: collapse;
border-spacing: 0px;
}
table td {
height: 25px;
text-align: center;
border-left: 0px;
}
table th {
white-space: nowrap;
height: 21px;
border-top: 0px;
border-left: 0px;
}
.t_left {
width: 30%;
float: left;
}
/*t_r_content和cl_freeze高度相差20px, 高度为外观显示高度,可根据情况调整*/
.t_r_content {
width: 100%;
height: 358px;
background: #fff;
overflow: auto;
}
.cl_freeze {
height: 341px;
overflow: hidden;
width: 101%;
}
/* width 调整左边标题列宽度(左侧外观显示宽度); 指定为width:auto 在Opera下显示有问题; height比 t_r_content 高度小20px*/
/* width 宽度为 右侧外观显示宽度 实际显示宽度大小为“t_r”宽度加上“cl_freeze”宽度 */
/* 如果显示不正常,调整 t_r的width 使其和t_left的width之和小于100%;等于100%时会有问题*/
.t_r {
width: 70%;
float: left;
}
.t_r table {
width: 1700px;
}
.t_r_title {
width: 1720px;
}
/*宽度比 t_r table 大20px (至少大20,小了滚动条滑到右侧显示有问题)*/
.t_r_t {
overflow: hidden;
}
.bordertop {
border-top: 0px;
}
#content {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
width: 200px;
}
</style>
</head>
<body>
<ul class="nav nav-tabs">
......@@ -85,169 +273,209 @@
</ul>
<form:form id="searchForm" modelAttribute="report" action="${ctx}/report/list" method="post"
class="breadcrumb form-search">
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
<input id="flag" name="flag" type="hidden" value="${flag}"/>
<ul class="ul-form">
<li><label>标题:</label><form:input onchange="resetPageNo();" path="supplementTitle" htmlEscape="false"
maxlength="50" class="input-small"/></li>
<li><label>被举报项目/部门:</label><form:input onchange="resetPageNo();" path="reportProject" htmlEscape="false"
maxlength="50" class="input-small"
style="position:relative;top:-12.5px"/></li>
<li><label>举报时间:</label><input id="reportTimeFrom" name="reportTimeFrom" onchange="resetPageNo();"
readonly="readonly" type="text"
maxlength="200" class="input-mini Wdate required"
value="${report.reportTimeFrom}"
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true,maxDate:'#F{$dp.$D(\'reportTimeTo\')}'});"/>
</li>
<li><label>至:</label><input id="reportTimeTo" name="reportTimeTo" onchange="resetPageNo();" readonly="readonly"
type="text"
maxlength="200" class="input-mini Wdate required" value="${report.reportTimeTo}"
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true,minDate:'#F{$dp.$D(\'reportTimeFrom\')}'});"/>
</li>
<li><label>举报人:</label><form:input onchange="resetPageNo();" path="reportPersonName" htmlEscape="false"
maxlength="50" class="input-small"/></li>
<li><label>举报人电话:</label><form:input onchange="resetPageNo();" path="reportPersonTel" htmlEscape="false"
maxlength="50" class="input-small"/></li>
<li><label>业务类型:</label><form:select onchange="resetPageNo();" path="supplementType" class="input-small">
<form:option value=" ">请选择</form:option>
<form:options items="${fns:getDictList('supplement_type')}" itemLabel="label" itemValue="value"
htmlEscape="false"/></form:select></li>
<li><label>状态:</label><form:select onchange="resetPageNo();" path="reportStatus" class="input-small">
<form:option value=" ">请选择</form:option>
<form:options items="${fns:getDictList('report_status')}" itemLabel="label" itemValue="value"
htmlEscape="false"/></form:select></li>
<li><label>被举报人:</label><form:input onchange="resetPageNo();" path="supplementInformant" htmlEscape="false"
maxlength="50" class="input-small"/></li>
<li><label>处理结论:</label><form:select onchange="resetPageNo();" path="dealResult" class="input-small">
<form:option value=" ">请选择</form:option>
<form:options items="${fns:getDictList('deal_result')}" itemLabel="label" itemValue="value"
htmlEscape="false"/></form:select></li>
<li><label>区域:</label><form:select onchange="resetPageNo();" path="supplementArea" class="input-small">
<form:option value=" ">请选择</form:option>
<form:options items="${fns:getDictList('supplement_area')}" itemLabel="label" itemValue="value"
htmlEscape="false"/></form:select></li>
<li class="clearfix"></li>
<li class="btns">
<%--<label style="width:auto;">--%>&nbsp;&nbsp;&nbsp;<input id="btnSubmit" class="btn btn-primary"
type="submit" value="筛选"/>&nbsp;&nbsp;
<input id="btnReset" class="btn btn-primary" type="button" value="重置"/>&nbsp;&nbsp;
<input id="btnExport" class="btn btn-primary" type="button" value="导出"/></label>
</li>
<li class="clearfix"></li>
</ul>
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
<input id="flag" name="flag" type="hidden" value="${flag}"/>
<ul class="ul-form">
<li><label>标题:</label><form:input onchange="resetPageNo();" path="supplementTitle" htmlEscape="false"
maxlength="50" class="input-small"/></li>
<li><label>被举报项目/部门:</label><form:input onchange="resetPageNo();" path="reportProject" htmlEscape="false"
maxlength="50" class="input-small"
style="position:relative;top:-12.5px"/></li>
<li><label>举报时间:</label><input id="reportTimeFrom" name="reportTimeFrom" onchange="resetPageNo();"
readonly="readonly" type="text"
maxlength="200" class="input-mini Wdate required"
value="${report.reportTimeFrom}"
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true,maxDate:'#F{$dp.$D(\'reportTimeTo\')}'});"/>
</li>
<li><label>至:</label><input id="reportTimeTo" name="reportTimeTo" onchange="resetPageNo();" readonly="readonly"
type="text"
maxlength="200" class="input-mini Wdate required" value="${report.reportTimeTo}"
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true,minDate:'#F{$dp.$D(\'reportTimeFrom\')}'});"/>
</li>
<li><label>举报人:</label><form:input onchange="resetPageNo();" path="reportPersonName" htmlEscape="false"
maxlength="50" class="input-small"/></li>
<li><label>举报人电话:</label><form:input onchange="resetPageNo();" path="reportPersonTel" htmlEscape="false"
maxlength="50" class="input-small"/></li>
<li><label>业务类型:</label><form:select onchange="resetPageNo();" path="supplementType" class="input-small">
<form:option value=" ">请选择</form:option>
<form:options items="${fns:getDictList('supplement_type')}" itemLabel="label" itemValue="value"
htmlEscape="false"/></form:select></li>
<li><label>状态:</label><form:select onchange="resetPageNo();" path="reportStatus" class="input-small">
<form:option value=" ">请选择</form:option>
<form:options items="${fns:getDictList('report_status')}" itemLabel="label" itemValue="value"
htmlEscape="false"/></form:select></li>
<li><label>被举报人:</label><form:input onchange="resetPageNo();" path="supplementInformant" htmlEscape="false"
maxlength="50" class="input-small"/></li>
<li><label>处理结论:</label><form:select onchange="resetPageNo();" path="dealResult" class="input-small">
<form:option value=" ">请选择</form:option>
<form:options items="${fns:getDictList('deal_result')}" itemLabel="label" itemValue="value"
htmlEscape="false"/></form:select></li>
<li><label>区域:</label><form:select onchange="resetPageNo();" path="supplementArea" class="input-small">
<form:option value=" ">请选择</form:option>
<form:options items="${fns:getDictList('supplement_area')}" itemLabel="label" itemValue="value"
htmlEscape="false"/></form:select></li>
<li class="clearfix"></li>
<li class="btns">
<%--<label style="width:auto;">--%>&nbsp;&nbsp;&nbsp;<input id="btnSubmit" class="btn btn-primary"
type="submit" value="筛选"/>&nbsp;&nbsp;
<input id="btnReset" class="btn btn-primary" type="button" value="重置"/>&nbsp;&nbsp;
<input id="btnExport" class="btn btn-primary" type="button" value="导出"/></label>
</li>
<li class="clearfix"></li>
</ul>
</form:form>
<sys:message content="${message}"/>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>ID</th>
<th>标题</th>
<th>业务类型</th>
<th>被举报项目/部门</th>
<th>OA账号</th>
<th>举报人</th>
<th>举报人电话</th>
<th>举报途径</th>
<th>区域</th>
<th>被举报人</th>
<th>举报时间</th>
<th>状态</th>
<th>处理结论</th>
<th>处理人</th>
<c:if test="${isAdmin eq true}">
<th>移交给</th>
</c:if>
<th>IP来源</th>
<th>IP所属城市</th>
<th>邮件发送</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<c:if test="${page.list.size()>0}">
<c:forEach items="${page.list}" var="report" varStatus="vs">
<tr class="reportList">
<td></td>
<td>${report.supplementTitle}</td>
<td>${report.supplementType}</td>
<td>${report.reportProject}</td>
<td>${report.oaname}</td>
<td>${report.reportPersonName}</td>
<td>${report.reportPersonTel}</td>
<td><c:if test="${report.reportSource eq 'web'}">官网</c:if>
<c:if test="${report.reportSource eq 'oa'}">融创OA系统</c:if>
<c:if test="${report.reportSource eq 'supplier'}">供应商系统</c:if>
<c:if test="${report.reportSource eq 'wechat'}">微信公众号</c:if>
<c:if test="${report.reportSource eq 'sunacE'}">融E</c:if>
<c:if test="${report.reportSource eq 'offline'}">线下扫码</c:if>
<c:if test="${report.reportSource eq 'tel'}">电话</c:if>
<c:if test="${report.reportSource eq 'email'}">邮件</c:if>
<c:if test="${report.reportSource eq 'visit'}">来访</c:if>
<c:if test="${report.reportSource eq null}">--</c:if></td>
<td>
<c:if test="${report.supplementArea eq 'North China'}">华北区域公司</c:if>
<c:if test="${report.supplementArea eq 'BeiJing'}">北京区域公司</c:if>
<c:if test="${report.supplementArea eq 'ShangHai'}">上海区域公司</c:if>
<c:if test="${report.supplementArea eq 'SouthWest'}">西南区域公司</c:if>
<c:if test="${report.supplementArea eq 'SouthEast'}">东南区域公司</c:if>
<c:if test="${report.supplementArea eq 'Central China'}">华中区域公司</c:if>
<c:if test="${report.supplementArea eq 'GuangShen'}">广深区域公司</c:if>
<c:if test="${report.supplementArea eq 'Hainan'}">海南区域公司</c:if>
<c:if test="${report.supplementArea eq 'Group'}">集团本部</c:if>
<c:if test="${report.supplementArea eq null}">--</c:if>
</td>
<td>
<c:if test="${report.supplementInformant eq null}">--</c:if>
<c:if test="${report.supplementInformant ne null}">${report.supplementInformant}</c:if>
</td>
<td>${report.reportTime}</td>
<td>
<c:if test="${report.reportStatus eq '0'}">未处理</c:if>
<c:if test="${report.reportStatus eq '1'}">跟踪中</c:if>
<c:if test="${report.reportStatus eq '2'}">已处理</c:if>
<c:if test="${report.reportStatus eq '3'}">已关闭</c:if>
<%--<c:if test="${report.reportStatus eq '3'}">受理中</c:if>--%>
</td>
<td>
<c:if test="${report.dealResult eq null}">--</c:if>
<c:if test="${report.dealResult eq '1'}">移交客诉</c:if>
<c:if test="${report.dealResult eq '2'}">举报无效</c:if>
<c:if test="${report.dealResult eq '3'}">举报受理</c:if>
<c:if test="${report.dealResult eq '4'}">举报属实</c:if>
</td>
<td><c:if test="${report.dealPersonName eq null}">--</c:if>
<c:if test="${report.dealPersonName ne null}">${report.dealPersonName}</c:if>
</td>
<c:if test="${isAdmin eq true}">
<td>
<c:if test="${report.transferName eq null || report.exchangeType eq null}">--</c:if>
<c:if test="${report.transferName ne null && report.exchangeType ne null}">${report.transferName}</c:if>
</td>
</c:if>
<td>${report.reportIp}</td>
<td>${report.ipCity}</td>
<td>
<c:if test="${report.isSendEmail eq '1'}"></c:if>
<c:if test="${report.isSendEmail eq null}"></c:if>
</td>
<td>
<a href="${ctx}/report/view?id=${report.id}">查看</a>
<c:if test="${report.reportStatus ne '2' && report.reportStatus ne '3'}"><a
href="${ctx}/report/track?id=${report.id}">跟踪</a></c:if>
<a href="#" onclick="openDownloadDialog('${report.id}')">转为文档</a>
</td>
</tr>
</c:forEach>
</c:if>
</tbody>
</table>
<div style="width:100%">
<div class="t_left">
<div class="cl_freeze" id="cl_freeze">
<table class=" table-striped table-bordered table-condensed" cellspacing="0" cellpadding="2" border="2">
<thead>
<tr>
<th style="width:5%">ID</th>
<th style="width:15%">标题</th>
</tr>
</thead>
<tbody>
<c:if test="${page.list.size()>0}">
<c:forEach items="${page.list}" var="report" varStatus="vs">
<tr class="reportList">
<td style="width:5%"></td>
<td style="width:15%">${report.supplementTitle}</td>
</c:forEach>
</c:if>
</tr>
</tbody>
</table>
</div>
</div>
<div class="t_r">
<div class="t_r_t" id="t_r_t">
<div class="t_r_content" id="t_r_content" onscroll="aa()">
<div class="t_r_title">
<table id="contentTable" class=" table-striped table-bordered table-condensed" cellspacing="0"
cellpadding="2" border="2">
<thead>
<tr>
<th style="width:7%">业务类型</th>
<th>被举报项目/部门</th>
<th>OA账号</th>
<th>举报人</th>
<th>举报人电话</th>
<th>举报途径</th>
<th>区域</th>
<th>被举报人</th>
<th>举报时间</th>
<th>状态</th>
<th>处理结论</th>
<th>处理人</th>
<c:if test="${isAdmin eq true}">
<th>移交给</th>
</c:if>
<th>内容</th>
<th>举报信息补充内容</th>
<th>IP来源</th>
<th>IP所属城市</th>
<th>邮件发送</th>
<th style="width:10%">操作</th>
</tr>
</thead>
<tbody>
<c:if test="${page.list.size()>0}">
<c:forEach items="${page.list}" var="report" varStatus="vs">
<tr>
<td>${report.supplementType}</td>
<td>${report.reportProject}</td>
<td>${report.oaname}</td>
<td>${report.reportPersonName}</td>
<td>${report.reportPersonTel}</td>
<td><c:if test="${report.reportSource eq 'web'}">官网</c:if>
<c:if test="${report.reportSource eq 'oa'}">融创OA系统</c:if>
<c:if test="${report.reportSource eq 'supplier'}">供应商系统</c:if>
<c:if test="${report.reportSource eq 'wechat'}">微信公众号</c:if>
<c:if test="${report.reportSource eq 'sunacE'}">融E</c:if>
<c:if test="${report.reportSource eq 'offline'}">线下扫码</c:if>
<c:if test="${report.reportSource eq 'tel'}">电话</c:if>
<c:if test="${report.reportSource eq 'email'}">邮件</c:if>
<c:if test="${report.reportSource eq 'visit'}">来访</c:if>
<c:if test="${report.reportSource eq null}">--</c:if></td>
<td>
<c:if test="${report.supplementArea eq 'North China'}">华北区域公司</c:if>
<c:if test="${report.supplementArea eq 'BeiJing'}">北京区域公司</c:if>
<c:if test="${report.supplementArea eq 'ShangHai'}">上海区域公司</c:if>
<c:if test="${report.supplementArea eq 'SouthWest'}">西南区域公司</c:if>
<c:if test="${report.supplementArea eq 'SouthEast'}">东南区域公司</c:if>
<c:if test="${report.supplementArea eq 'Central China'}">华中区域公司</c:if>
<c:if test="${report.supplementArea eq 'GuangShen'}">广深区域公司</c:if>
<c:if test="${report.supplementArea eq 'Hainan'}">海南区域公司</c:if>
<c:if test="${report.supplementArea eq 'Group'}">集团本部</c:if>
<c:if test="${report.supplementArea eq null}">--</c:if>
</td>
<td>
<c:if test="${report.supplementInformant eq null}">--</c:if>
<c:if test="${report.supplementInformant ne null}">${report.supplementInformant}</c:if>
</td>
<td>${report.reportTime}</td>
<td>
<c:if test="${report.reportStatus eq '0'}">未处理</c:if>
<c:if test="${report.reportStatus eq '1'}">跟踪中</c:if>
<c:if test="${report.reportStatus eq '2'}">已处理</c:if>
<c:if test="${report.reportStatus eq '3'}">已关闭</c:if>
<%--<c:if test="${report.reportStatus eq '3'}">受理中</c:if>--%>
</td>
<td>
<c:if test="${report.dealResult eq null}">--</c:if>
<c:if test="${report.dealResult eq '1'}">移交客诉</c:if>
<c:if test="${report.dealResult eq '2'}">举报无效</c:if>
<c:if test="${report.dealResult eq '3'}">举报受理</c:if>
<c:if test="${report.dealResult eq '4'}">举报属实</c:if>
</td>
<td><c:if test="${report.dealPersonName eq null}">--</c:if>
<c:if test="${report.dealPersonName ne null}">${report.dealPersonName}</c:if>
</td>
<c:if test="${isAdmin eq true}">
<td>
<c:if test="${report.transferName eq null || report.exchangeType eq null}">--</c:if>
<c:if test="${report.transferName ne null && report.exchangeType ne null}">${report.transferName}</c:if>
</td>
</c:if>
<td title= ${report.reportContent}>${report.reportContent}</td>
<td title= ${report.supplementContent}>${report.supplementContent}</td>
<td>${report.reportIp}</td>
<td>${report.ipCity}</td>
<td>
<c:if test="${report.isSendEmail eq '1'}"></c:if>
<c:if test="${report.isSendEmail eq null}"></c:if>
</td>
<td>
<a href="${ctx}/report/view?id=${report.id}">查看</a>
<c:if test="${report.reportStatus ne '2' && report.reportStatus ne '3'}"><a
href="${ctx}/report/track?id=${report.id}">跟踪</a></c:if>
<c:if test="${isAdmin eq true }">
<a href="#" onclick="del('${report.id}')">删除</a></c:if>
<a href="#" onclick="openDownloadDialog('${report.id}')">转为文档</a>
</td>
</tr>
</c:forEach>
</c:if>
</tbody>
</table>
<div id="showDiv"
style="position: absolute; background-color: white; border: 1px solid black;"></div>
</div>
</div>
</div>
</div>
</div>
<c:if test="${page.list.size()=='0'}">
<span style="color: #999999;margin: 20px 0 70px 20px;display: block;">未查询到相关内容</span>
<span style="color: #999999;margin: 20px 0 70px 20px;display: block;">未查询到相关内容</span>
</c:if>
<c:if test="${page.list.size()>0}">
<div class="pagination">${page}</div>
<div class="pagination">${page}</div>
</c:if>
</body>
</html>
\ No newline at end of file
Manifest-Version: 1.0
Built-By: Dell
Built-By: dell1
Created-By: IntelliJ IDEA
Build-Jdk: 1.8.0_131
Build-Jdk: 1.8.0_121
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