Browse Source

样式调整

luolei 5 years ago
parent
commit
06e843b5c0
1 changed files with 2 additions and 4 deletions
  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)
     $(".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")
         })
         })
-      
     })
     })
-})($));
+});