소스 검색

变量传递

luolei 4 년 전
부모
커밋
51d64594bc
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/js/qcListCopy.js

+ 2 - 2
src/js/qcListCopy.js

@@ -1347,7 +1347,7 @@ $(function($){
             $.alerModal({type:"radio",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
             closeRadio()
             radioSelect()
-            bindSaveColPort(param)
+            bindSaveColPort(param,exportURL)
         }
     })
 });
@@ -1362,7 +1362,7 @@ function radioSelect(){
         $(this).siblings().find("input").prop("checked",false)
     })
 }
-function bindSaveColPort(param){
+function bindSaveColPort(param,exportURL){
     $(".savePort", parent.document ).off("click").on("click", function(){
         radioCheck = $(".selectDate input[type='radio']:checked", parent.document).attr("data-select")
         let time = radioCheck==2?exportTimeLimit.defectTime:exportTimeLimit.normalTime