Просмотр исходного кода

半检检验车间看板调整

ztl 2 лет назад
Родитель
Сommit
2c42a3109c
1 измененных файлов с 3 добавлено и 4 удалено
  1. 3 4
      wwwroot/main/Procedure/test7/demo.html

+ 3 - 4
wwwroot/main/Procedure/test7/demo.html

@@ -146,7 +146,7 @@
                     $("#dayTable").html("");
                     for (var i = 0; i < json["rows"].length; i++) {
                         var temp = $("#dayTable_template").html();
-                        temp = temp.replace("<tbody>", "").replace("</tbody>", "");
+                        temp = temp.replace("<tbody>", "").replace("</tbody>", ""); 
                         temp = temp.replace('{产品型号}', json["rows"][i]['产品型号']);
                         temp = temp.replace('{成型产线}', json["rows"][i]['成型产线']);
                         temp = temp.replace('{检验数量}', json["rows"][i]['检验数量']);
@@ -190,7 +190,7 @@
                         $("#dayTabletwo").append(temp);
                     }
                     mainRowCoun2 = json["rows"].length;
-                    mainInterva2 = setInterval(mainScrol2, 3000);
+                    mainInterva2 = setInterval(mainScrol2, 3000);  
                 }
             });
         }
@@ -201,7 +201,7 @@
                 function () {
                     $(this).css({ marginTop: "0px", }).find("tr:first").appendTo(this);
                     if (--mainRowCount == -1) loadMainTable();
-                }+                   
+                }
             );
         }
 
@@ -226,7 +226,6 @@
             setInterval(function () { DdfectDataB(); }, 5000);
             ZxData();
             setInterval(function () { ZxData(); }, 5000);
-
         });
 
         function DdfectData() {