From 89d64f80cbc6442d777b9934909ff9f8870c6cc0 Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期五, 01 八月 2025 10:17:46 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.cs | 9 +++++++-- DevApp/Gs.DevApp/App.config | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/DevApp/Gs.DevApp/App.config b/DevApp/Gs.DevApp/App.config index 05b6845..b236262 100644 --- a/DevApp/Gs.DevApp/App.config +++ b/DevApp/Gs.DevApp/App.config @@ -35,9 +35,9 @@ </assemblyBinding> </runtime> <appSettings> - <add key="WebApiUrl" value="http://localhost:5263/" /> + <!--<add key="WebApiUrl" value="http://localhost:5263/" />--> <!--<add key="WebApiUrl" value="http://192.168.1.145:8081/" />--> - <!--<add key="WebApiUrl" value="http://192.168.1.145:81/" />--> + <add key="WebApiUrl" value="http://192.168.1.145:81/" /> <add key="LogPath" value="logs" /> <add key="ProductName" value="G-MES V2.0" /> <add key="PageSize" value="50" /> diff --git a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.cs b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.cs index dcf51e9..7e6af50 100644 --- a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.cs +++ b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.cs @@ -386,10 +386,15 @@ { if (e.Button.Index == 0) { + var userGuid = + string.IsNullOrEmpty(LoginInfoModel.CurrentUser.LoginUserGuid) + ? Guid.NewGuid().ToString() + : LoginInfoModel.CurrentUser.LoginUserGuid; + var rowhandle = gridView1.FocusedRowHandle; var dr = gridView1.GetDataRow(rowhandle); - var userGuid = dr["guid"].ToString()+"&mth="+DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff"); - Frm_ShouJianDetect01H5 frm = new Frm_ShouJianDetect01H5(userGuid); + var qcGuid = dr["guid"].ToString()+"&mth="+DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff")+"&userGuid="+ userGuid; + Frm_ShouJianDetect01H5 frm = new Frm_ShouJianDetect01H5(qcGuid); frm.ShowDialog(); } } -- Gitblit v1.9.3