Commit 846f70c6 by java-lixy

工作台 举报状态添加已关闭

parent 94a33638
......@@ -22,6 +22,7 @@ public class WorkbenchBean {
private int unProcess = 0;
private int processing = 0;
private int processed = 0;
private int closed = 0;
//举报结果
private int repResultTotal = 0;
......@@ -346,4 +347,12 @@ public class WorkbenchBean {
public void setiAndD(int iAndD) {
this.iAndD = iAndD;
}
public int getClosed() {
return closed;
}
public void setClosed(int closed) {
this.closed = closed;
}
}
......@@ -74,6 +74,9 @@ public class WorkbenchService extends CrudService<ReportDao, ReportEntity> {
}else if("0".equals(String.valueOf(status.get("REPORT_STATUS")))){
//未处理
workbench.setUnProcess(Integer.valueOf(String.valueOf(status.get("COUNT(REPORT_STATUS)"))));
}else if("3".equals(String.valueOf(status.get("REPORT_STATUS")))){
//已关闭
workbench.setClosed(Integer.valueOf(String.valueOf(status.get("COUNT(REPORT_STATUS)"))));
}
}
}
......
......@@ -66,6 +66,7 @@ public class WorkbenchController extends BaseController {
res.put("unProcess",bean.getUnProcess());
res.put("processing",bean.getProcessing());
res.put("processed",bean.getProcessed());
res.put("closed",bean.getClosed());
//举报结果
res.put("invalid",bean.getInvalid());
res.put("complainNum",bean.getComplainNum());
......
......@@ -43,7 +43,7 @@
},
subtitle: {//副标题
align: 'right',
text: '总数&nbsp;:&nbsp;'+result.bench.repStatusTotal+'<br/><br/>未处理&nbsp;:&nbsp;'+result.unProcess+'<br/><br/>跟踪中&nbsp;:&nbsp;'+result.processing+'<br/><br/>已处理&nbsp;:&nbsp;'+result.processed,
text: '总数&nbsp;:&nbsp;'+result.bench.repStatusTotal+'<br/>未处理&nbsp;:&nbsp;'+result.unProcess+'<br/>跟踪中&nbsp;:&nbsp;'+result.processing+'<br/>已处理&nbsp;:&nbsp;'+result.processed+'<br/>已关闭&nbsp;:&nbsp;'+result.closed,
useHTML: true,
verticalAlign: 'top' ,
x: -5 ,
......@@ -73,6 +73,7 @@
['未处理', result.unProcess],
['跟踪中', result.processing],
['已处理', result.processed],
['已关闭', result.closed],
// {
// name: 'Chrome',
// y: 12.8,
......
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