chenrj-PC\chenrj hace 9 años
padre
commit
b5e79b1e7a
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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){