|
@@ -871,8 +871,7 @@ $(document).on("click", function(){
|
|
$(".selectLevel .arrow").attr("src",iconDown)
|
|
$(".selectLevel .arrow").attr("src",iconDown)
|
|
|
|
|
|
})
|
|
})
|
|
-$((function($){
|
|
|
|
-
|
|
|
|
|
|
+$(function($){
|
|
$('.export').click(function(){
|
|
$('.export').click(function(){
|
|
if((new Date(behosDateEnd) - new Date(behosDateStart))/24/60/60/1000 > 7){
|
|
if((new Date(behosDateEnd) - new Date(behosDateStart))/24/60/60/1000 > 7){
|
|
$.alerModal({"message":"最多只能导出7天",type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
$.alerModal({"message":"最多只能导出7天",type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
@@ -891,6 +890,5 @@ $((function($){
|
|
expJson(api.qcResultShortPageExport,param).then(res =>{
|
|
expJson(api.qcResultShortPageExport,param).then(res =>{
|
|
downloadExportedData(res.data, $(".partTitle").text()+".xls")
|
|
downloadExportedData(res.data, $(".partTitle").text()+".xls")
|
|
})
|
|
})
|
|
-
|
|
|
|
})
|
|
})
|
|
-})($));
|
|
|
|
|
|
+});
|