Commit e83a511f by wuchengwu

湖南警综协同办公系统-手机采集页面添加详情导出,人员采集合计栏添加详情,人员采集页面添加详情导出功能

parent 979915ff
......@@ -39,4 +39,12 @@ public class DateFormatUtils {
}
return null;
}
public static String dateToStrSFM(Date date){
if(date != null){
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
return sdf.format(date);
}
return null;
}
}
......@@ -64,6 +64,14 @@ public class EasyUIPage implements Serializable {
return end;
}
public void setBegin(int begin) {
this.begin = begin;
}
public void setEnd(int end) {
this.end = end;
}
public List<?> getRows() {
return rows;
}
......
......@@ -538,6 +538,7 @@
ZWFKXX,
TBBZ,
LRDWDM,
(select name from sys_dictitem s where s.groupid='CODE_UNIT' and s.code = TB_RY_RYCJ.LRDWDM) as LRDWMC,
LRR,
LRSJ,
(select count(1) from tb_xw_ythcj_hm s where s.rybh=TB_RY_RYCJ.rybh) as HM,
......@@ -553,8 +554,8 @@
AFIS_QUALITY_CK.R_GDZW,AFIS_QUALITY_CK.R_WZXX,AFIS_QUALITY_CK.R_PMZW,AFIS_QUALITY_CK.R_RX,AFIS_QUALITY_CK.BZ,AFIS_QUALITY_CK.JCJG
from TB_RY_RYCJ,AFIS_QUALITY_CK where TB_RY_RYCJ.RYBH=AFIS_QUALITY_CK.R_RYBH(+) AND (TB_RY_RYCJ.SCBZ='0' or TB_RY_RYCJ.SCBZ is null) AND (IFHB<![CDATA[<>]]>'1' OR IFHB IS NULL)
<if test="lrdwdm != null and lrdwdm != ''">and LRDWDM like #{lrdwdm , jdbcType=VARCHAR }||'%'</if>
<if test="ifslgzd != null and ifslgzd == 1"> and (LRDWDM like '%s%' or LRDWDM like '%S%' or LRDWDM like '%88____')</if>
<if test="ifslgzd != null and ifslgzd == 2"> and (LRDWDM like '%g%' or LRDWDM like '%G%')</if>
<if test="ifslgzd != null and ifslgzd == '1'.toString()"> and (LRDWDM like '%s%' or LRDWDM like '%S%' or LRDWDM like '%88____')</if>
<if test="ifslgzd != null and ifslgzd == '2'.toString()"> and (LRDWDM like '%g%' or LRDWDM like '%G%')</if>
<if test="flrsjStr != null and flrsjStr != ''"> AND LRSJ <![CDATA[>=]]> to_date(#{flrsjStr, jdbcType=VARCHAR },'yyyy-mm-dd') </if>
<if test="elrsjStr != null and elrsjStr != ''"> AND LRSJ <![CDATA[<]]> to_date(#{elrsjStr , jdbcType=VARCHAR },'yyyy-mm-dd')+1 </if>
) where 1=1
......
......@@ -31,6 +31,9 @@
<div id="nipic_search">
<div id="header">
<h5 class="h_title_rycx" style="background: url(static/xtba/ythcj/img/khtj.png);width:400px;"></h5>
<div style="float: right">
<a href="javascript:exportExcel();" class="btn btn_dc" style="margin-right:25px;">导出</a>
</div>
</div>
<!--内容-->
<div id="content_box0" class="content_box">
......@@ -296,6 +299,18 @@
window.open("/toEditRyxx?asjxgrybh="+rybh+"&perurl="+perurl+"&hmzt="+hmzt+"&zjzt="+zjzt+"&swzt="+swzt+"&sjzt="+sjzt+"&yhkzt="+yhkzt+"&sswpzt="+sswpzt);
}
function exportExcel(){
var unitCode = $("#unitCode").val();
var startCcsj = $("#startCcsj").val();
var endCcsj = $("#endCcsj").val();
var slType = $("#slType").val();
var unitgrade = $("#unitgrade").val();
var cot = $("#cot").val();
var name = $("#name").val();
window.location.href="/exportExcelToRytjxq?unitCode="+unitCode+"&endCcsj="+endCcsj+"&startCcsj="+startCcsj
+"&slType="+slType+"&unitgrade="+unitgrade+"&cot="+cot+"&name="+name;
}
function doExportExcel(){
var rybh = $("#rybh").val();
var szzwbh = $("#szzwbh").val();
......
......@@ -31,6 +31,10 @@
<div id="nipic_search">
<div id="header">
<h5 class="h_title_rycx" style="background: url(static/xtba/ythcj/img/khtj.png);width:400px;"></h5>
<div style="float: right">
<a href="javascript:sjcjExportExcel();" class="btn btn_dc" style="margin-right:25px;">导出</a>
</div>
</div>
<!--内容-->
<div id="content_box0" class="content_box">
......@@ -268,6 +272,18 @@
window.open("/toEditRyxx?asjxgrybh="+rybh+"&perurl="+perurl+"&hmzt="+hmzt+"&zjzt="+zjzt+"&swzt="+swzt+"&sjzt="+sjzt+"&yhkzt="+yhkzt+"&sswpzt="+sswpzt);
}
function sjcjExportExcel(){
var sjcjEsUrl = $("#sjcjEsUrl").val();
var unitCode = $("#unitCode").val();
var startCcsj = $("#startCcsj").val();
var endCcsj = $("#endCcsj").val();
var slType = $("#slType").val();
var unitgrade = $("#unitgrade").val();
var cot = $("#cot").val();
var name = $("#name").val();
window.location.href=sjcjEsUrl+"/exportExcelToRysjtjxq?unitCode="+unitCode+"&endCcsj="+endCcsj+"&startCcsj="+startCcsj
+"&slType="+slType+"&unitgrade="+unitgrade+"&cot="+cot+"&name="+name;
}
function doExportExcel(){
var rybh = $("#rybh").val();
var szzwbh = $("#szzwbh").val();
......
......@@ -148,7 +148,7 @@
// return value;
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"+nameCode+"','"+row.unitgrade+"','zycs','"+value+"','"+row.maxccsjStr+"','"+row.minccsjStr+"','" + row.name + "')>"+value+"</a>";
}else {
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('" + row.code + "','" + row.unitgrade + "','zycs','" + value + "','" + row.maxccsjStr + "','" + row.minccsjStr + "','" + null + "')>" + value + "</a>";
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('" + row.code + "','" + row.unitgrade + "','zycs','" + value + "','" + row.maxccsjStr + "','" + row.minccsjStr + "','" + row.name + "')>" + value + "</a>";
}
}
},
......@@ -159,7 +159,7 @@
// return value;
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"+nameCode+"','"+row.unitgrade+"','ycs','"+value+"','"+row.maxccsjStr+"','"+row.minccsjStr+"','" + row.name + "')>"+value+"</a>";
}else {
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('" + row.code + "','" + row.unitgrade + "','ycs','" + value + "','" + row.maxccsjStr + "','" + row.minccsjStr + "','" + null + "')>" + value + "</a>";
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('" + row.code + "','" + row.unitgrade + "','ycs','" + value + "','" + row.maxccsjStr + "','" + row.minccsjStr + "','" + row.name + "')>" + value + "</a>";
}
}
},
......@@ -170,7 +170,7 @@
// return value;
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"+nameCode+"','"+row.unitgrade+"','sjycs','"+value+"','"+row.maxccsjStr+"','"+row.minccsjStr+"','" + row.name + "')>"+value+"</a>";
}else {
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('" + row.code + "','" + row.unitgrade + "','sjycs','" + value + "','" + row.maxccsjStr + "','" + row.minccsjStr + "','" + null + "')>" + value + "</a>";
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('" + row.code + "','" + row.unitgrade + "','sjycs','" + value + "','" + row.maxccsjStr + "','" + row.minccsjStr + "','" + row.name + "')>" + value + "</a>";
}
}
},
......@@ -187,7 +187,7 @@
//return value;
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"+nameCode+"','"+row.unitgrade+"','sjyxcjs','"+value+"','"+row.maxccsjStr+"','"+row.minccsjStr+"','" + row.name + "')>"+value+"</a>";
}else {
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"+row.code+"','"+row.unitgrade+"','sjyxcjs','"+value+"','"+row.maxccsjStr+"','"+row.minccsjStr+"','" + null + "')>"+value+"</a>";
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"+row.code+"','"+row.unitgrade+"','sjyxcjs','"+value+"','"+row.maxccsjStr+"','"+row.minccsjStr+"','" + row.name + "')>"+value+"</a>";
}
}
},
......@@ -198,7 +198,7 @@
//return value;
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('" + nameCode + "','" + row.unitgrade + "','sjsxwcjs','" + value + "','" + row.maxccsjStr + "','" + row.minccsjStr + "','" + row.name+ "')>" + value + "</a>";
}else {
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('" + row.code + "','" + row.unitgrade + "','sjsxwcjs','" + value + "','" + row.maxccsjStr + "','" + row.minccsjStr + "','" + null + "')>" + value + "</a>";
return "<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('" + row.code + "','" + row.unitgrade + "','sjsxwcjs','" + value + "','" + row.maxccsjStr + "','" + row.minccsjStr + "','" + row.name + "')>" + value + "</a>";
}
}
},
......@@ -249,11 +249,12 @@
function doExportExcel(){
var sjcjEsUrl = $("#sjcjEsUrl").val();
var ccdw = $("#RCcdwStr").val();
var minccsj = $("#minccsj").val();
var maxccsj = $("#maxccsj").val();
var unitgrade = $("#unitgrade").val();
window.location.href="/exportExcelToRysjtj?ccdw="+ccdw+"&ftjsj="+minccsj+"&etjsj="+maxccsj+"&grade="+unitgrade;
window.location.href=sjcjEsUrl+"/exportExcelToRysjtj?ccdw="+ccdw+"&ftjsj="+minccsj+"&etjsj="+maxccsj+"&grade="+unitgrade;
}
function setCodeText(id,code,type){
......
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