luolei 5 rokov pred
rodič
commit
06e843b5c0
1 zmenil súbory, kde vykonal 2 pridanie a 4 odobranie
  1. 2 4
      src/js/qcListCopy.js

+ 2 - 4
src/js/qcListCopy.js

@@ -871,8 +871,7 @@ $(document).on("click", function(){
     $(".selectLevel .arrow").attr("src",iconDown)
     
 })
-$((function($){
-
+$(function($){
     $('.export').click(function(){
         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)});
@@ -891,6 +890,5 @@ $((function($){
         expJson(api.qcResultShortPageExport,param).then(res =>{
             downloadExportedData(res.data, $(".partTitle").text()+".xls")
         })
-      
     })
-})($));
+});