chenrj-PC\chenrj 8 years ago
parent
commit
b5e79b1e7a
1 changed files with 4 additions and 1 deletions
  1. 4 1
      VisualInspection/js/statistics/common_attendance.js

+ 4 - 1
VisualInspection/js/statistics/common_attendance.js

@@ -74,8 +74,11 @@ $(function(){
             monthChange();
             $("#c-a-tbody").empty();
             if(data.length >0){
+                var seq = 1 ;
                 for(var i=0;i< data.length;i++){
-                    $("#c-a-tbody").append( getTableContent(data[i],i+1));
+                    if(data[i].userName != undefined){
+                        $("#c-a-tbody").append( getTableContent(data[i],seq++));
+                    }
                 }
             }
         },function(error){