瀏覽代碼

多加了个时间限制

luolei 4 年之前
父節點
當前提交
fb21ac40c8
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/js/checkControl.js

+ 0 - 4
src/js/checkControl.js

@@ -557,10 +557,6 @@ $(function() {
             $.alerModal({"message":'开始时间不能大于结束时间~',type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
             return
         }
-        if((end - start)/24/60/60/1000 > 7){
-            $.alerModal({"message":"最多只能导出7天",type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
-            return
-        }
         const param = {
         "level": deptId||"",
         "name": behospitalCode||"",