From fb8a9fbc15b917ff3d36eb30e28633a413ff0a42 Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期一, 04 八月 2025 10:17:38 +0800
Subject: [PATCH] 页面过滤条件:开始时间和结束时间(根据检验信息中的创建时间进行过滤)、站台(检验信息中的检验工序)、料号(PNL布局信息名称)、批次(lot号) 2.柱状图:x轴lot号,y轴良品率。根据开始时间和结束时间、站台、料号 过滤检验信息并去重(一个PNL里的PCS不能有重复记录),然后根据料号、批次分组合计得到该料号每个批次的不良PCS的数量合计。然后获取该料号每个批次中PNL条码的数量(PNL条码不能重复)并乘PNL布局信息中子表的记录数(该料号中的PCS数量)得到每个批次的PCS总数。对每个批次进行((PCS总数-不良PCS数量)/PCS总数 *100)得到每个批次的良品率。 3.饼状图:根据开始时间和结束时间、站台、料号 过滤检验信息并去重(一个PNL里的PCS不能有重复记录),然后根据检验信息中的不良原因分组统计各个原因的数量。在饼状图显示 4.表格:根据开始时间和结束时间、站台、料号 过滤检验信息,表头包含(站台、料号、PNL条码、PCS号、正反面、不良原因),并针对表头字段进行去重

---
 WebTM/views/user/login2.html |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/WebTM/views/user/login2.html b/WebTM/views/user/login2.html
index c8a0d38..44643ec 100644
--- a/WebTM/views/user/login2.html
+++ b/WebTM/views/user/login2.html
@@ -116,7 +116,7 @@
                             if (i == 0)
                                 Organization += '<option  style="color:blue;"  value="' + data[i].ID + '" selected>' + data[i].Name + '</option>';
                             else
-                            Organization += '<option  style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
+                                Organization += '<option  style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
 
                         }
                         $("#Organization").append(Organization);
@@ -129,7 +129,7 @@
                 }
             })
 
-         
+
 
             //form.render();
 
@@ -158,7 +158,7 @@
                 if (e.keyCode == 13) {
                     loging();
                 }
-            });          
+            });
             //鐢ㄦ埛鍚嶆鍥炶溅鍏夋爣绉诲埌瀵嗙爜妗�
             $('#LAY-user-login-username').on('keydown', function (e) {
                 if (e.keyCode == 13) {
@@ -203,7 +203,7 @@
                 var PassWord = $("#LAY-user-login-password").val();
                 layer.load(3);
                 $.ajax({
-                    type: "get", 
+                    type: "get",
                     url: GetWEBURL() + "/Web/GetUser",
                     data: { "UserName": UserName, "PassWord": PassWord, "HOrgName": $("#Organization").val() },
                     success: function (result) {
@@ -230,6 +230,8 @@
                             sessionStorage["Czmm"] = result.data[0].Czmm;
                             sessionStorage["Czybm"] = result.data[0].Czybm;
                             sessionStorage["HEmpID"] = result.data[0].HEmpID;
+                            sessionStorage["HEmpNumber"] = result.data[0].HEmpNumber;
+                            sessionStorage["HEmpName"] = result.data[0].HEmpName;
                             sessionStorage["HGroup"] = result.data[0].HGroup;
                             sessionStorage["HGroupID"] = result.data[0].HGroupID;
                             sessionStorage["HProc"] = result.data[0].HProc;
@@ -246,11 +248,11 @@
                             sessionStorage["HManagerID"] = result.data[0].HSecManagerID;
                             sessionStorage["HManagerName"] = result.data[0].HSecManager;
                             //sessionStorage["IP"] = System.Configuration.ConfigurationSettings.AppSettings("name");
-                            if (!judgeMorPCflag) {//绉诲姩绔�
-                                window.location.href = '../../views/index_Mobile.html'
-                            } else {//PC绔�
-                                window.location.href = '../../views/indexMenu.html'
-                            }
+                            //if (!judgeMorPCflag) {//绉诲姩绔�
+                            //    window.location.href = '../../views/index_Mobile.html'
+                            //} else {//PC绔�
+                            window.location.href = '../../views/indexMenu.html'
+                            //}
                             get_WriteConfigFile();
                         }
                         else {
@@ -273,7 +275,7 @@
                     $("body").append('<audio id="cs" hidden controls> <source src = "../video/jingbao.wav" type = "audio/ogg"> </audio >');
                 var audio = document.getElementById("cs");
                 audio.play();
-            }          
+            }
 
         });
     </script>

--
Gitblit v1.9.1