Browse Source

7943,7921

zhouna 4 years atrás
parent
commit
ee8c5343f9
3 changed files with 4 additions and 1 deletions
  1. 2 1
      src/js/allotCheckTask.js
  2. 1 0
      src/js/checkTaskList.js
  3. 1 0
      src/js/creatCheckTask.js

+ 2 - 1
src/js/allotCheckTask.js

@@ -28,6 +28,7 @@ let isPlacefile = getCookie('isPlacefile')||1
 }*/
 
 $(function() {
+    $(window.parent.document).find(".modaltip").hide();//切换页面过快时toast隐藏
     const checkAuth = getCookie('checkAuth');
     /*if(!checkAuth){
         $(".tabs").hide();
@@ -531,7 +532,7 @@ function getTasksList(param={}){
 function renderTaskTable(data) {
     let str = ``, code = "";
     if (!data || data.length === 0) {
-        $('.taskTable .tbody').html(emptyBox(null, 7))
+        $('.taskTable .tbody').html(emptyBox(null, 8))
         return;
     }
 

+ 1 - 0
src/js/checkTaskList.js

@@ -24,6 +24,7 @@ if (isPlacefile != 1) {
 }
 
 $(function(){
+    $(window.parent.document).find(".modaltip").hide();//切换页面过快时toast隐藏
     $('.datapickerBox').append(`<img class="iconCalen" src=${iconCalenGrey} />`)
     $('.iconCalen').on("mouseenter", function (e) {
         $(this).attr("src", iconCalenBlue)

+ 1 - 0
src/js/creatCheckTask.js

@@ -23,6 +23,7 @@ let global_activeTabCode = '0';    //激活的tab  code
 let isPlacefile = getCookie('isPlacefile')||1
 
 $(function() {
+    $(window.parent.document).find(".modaltip").hide();//切换页面过快时toast隐藏
     const checkAuth = getCookie('checkAuth');
     /*if(!checkAuth){
         $(".tabs").hide();