|
|
@ -187,7 +187,8 @@
|
|
|
|
<a class='butn' id='doPayment'>打款</a>
|
|
|
|
<a class='butn' id='doPayment'>打款</a>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<a class='butn' id='leadExcel'>Excel导入</a>
|
|
|
|
<a class='butn' id='leadExcel'>Excel导入</a>
|
|
|
|
<a class='butn' id='export'>导出</a>
|
|
|
|
<a class='butn' id='export'>批量导出</a>
|
|
|
|
|
|
|
|
<a class='butn' id='export_all'>导出所有</a>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <a class='butn verify' data-value='1'>审核通过</a>-->
|
|
|
|
<!-- <a class='butn verify' data-value='1'>审核通过</a>-->
|
|
|
|
<!-- <a class='butn verify' data-value='2'>审核拒绝</a>-->
|
|
|
|
<!-- <a class='butn verify' data-value='2'>审核拒绝</a>-->
|
|
|
@ -550,6 +551,35 @@
|
|
|
|
$("body").append(iframeExcel);
|
|
|
|
$("body").append(iframeExcel);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#export_all").click(function() {
|
|
|
|
|
|
|
|
var start = $("#time_start").val();
|
|
|
|
|
|
|
|
var end = $("#time_end").val();
|
|
|
|
|
|
|
|
if(start !='' && end != ''){
|
|
|
|
|
|
|
|
if (Date.parse(start) > Date.parse(end)){
|
|
|
|
|
|
|
|
layer.msg('开始时间必须小于等于结束时间');
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var url = $('#search').attr('url');
|
|
|
|
|
|
|
|
var query = $('.jssearch').find('input').serialize();
|
|
|
|
|
|
|
|
query += "&"+$('.jssearch').find('select').serialize();
|
|
|
|
|
|
|
|
query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,'');
|
|
|
|
|
|
|
|
query = query.replace(/^&/g,'');
|
|
|
|
|
|
|
|
if( url.indexOf('?')>0 ){
|
|
|
|
|
|
|
|
url += '&' + query;
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
url += '?' + query;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
url += "&export=1&exporttype=all";
|
|
|
|
|
|
|
|
layer.alert("<font style='color:#333'>"+"指令执行成功,等待浏览器响应中..在未确认下载完成前请勿关闭此页面.."+ "</font>");
|
|
|
|
|
|
|
|
var iframeExcel = "<iframe src='"+url+"' width='0px' height='0px' style='z-index:-1;position: absolute;top: -999999px;'></iframe>";
|
|
|
|
|
|
|
|
$("body").append(iframeExcel);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$("#delItem").on("click",function(){
|
|
|
|
$("#delItem").on("click",function(){
|
|
|
|
var flag = false;
|
|
|
|
var flag = false;
|
|
|
|
var text = $("input:checkbox[name='ids[]']:checked").map(function(index,elem) {
|
|
|
|
var text = $("input:checkbox[name='ids[]']:checked").map(function(index,elem) {
|
|
|
|