|
@@ -1364,7 +1364,7 @@ function radioSelect(){
|
|
|
}
|
|
|
function bindSaveColPort(param,exportURL){
|
|
|
$(".savePort", parent.document ).off("click").on("click", function(){
|
|
|
- radioCheck = $(".selectDate input[type='radio']:checked", parent.document).attr("data-select")
|
|
|
+ let radioCheck = $(".selectDate input[type='radio']:checked", parent.document).attr("data-select")
|
|
|
let time = radioCheck==2?exportTimeLimit.defectTime:exportTimeLimit.normalTime
|
|
|
if((new Date(behosDateEnd) - new Date(behosDateStart))/24/60/60/1000 > time){
|
|
|
$.alerModal({"message":`最多只能导出${time}天`,type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|