ソースを参照

修改科室和个人无数据状态

zhangxc 5 年 前
コミット
f0146a1546
2 ファイル変更2 行追加2 行削除
  1. 1 1
      src/js/qcListDept.js
  2. 1 1
      src/js/qcListPerson.js

+ 1 - 1
src/js/qcListDept.js

@@ -226,7 +226,7 @@ function renderTab(data){
     let str = ``
     let hasSelectAll = true;
     if(data.length===0){
-      $('tbody').html(str?str:emptyBox())
+        $('tbody').html(emptyBox(null,showNum+2))
       return;
     }
     for(let i = 0; i < data.length; i++){

+ 1 - 1
src/js/qcListPerson.js

@@ -229,7 +229,7 @@ function renderTab(data){
     let str = ``
     let hasSelectAll = true;
     if(data.length===0){
-        $('tbody').html(str?str:emptyBox())
+        $('tbody').html(emptyBox(null,showNum+2))
         return;
     }
     for(let i = 0; i < data.length; i++){