|
@ -63,7 +63,8 @@ namespace SCP |
|
|
JObject ids = GetClientIDS(regionPanel, regionTop, mainTabStrip, txtUser, |
|
|
JObject ids = GetClientIDS(regionPanel, regionTop, mainTabStrip, txtUser, |
|
|
txtOnlineUserCount, txtCurrentTime, btnRefresh); |
|
|
txtOnlineUserCount, txtCurrentTime, btnRefresh); |
|
|
ids.Add("userName", GetIdentityName()); |
|
|
ids.Add("userName", GetIdentityName()); |
|
|
ids.Add("userIP", Request.UserHostAddress); |
|
|
var factoryModel = DB.TA_FACTORY.FirstOrDefault(p => p.FactoryId == CurrentUser.UsedDomain); |
|
|
|
|
|
ids.Add("userIP", factoryModel != null ? factoryModel.FactoryName : Request.UserHostAddress); //
|
|
|
ids.Add("onlineUserCount", GetOnlineCount()); |
|
|
ids.Add("onlineUserCount", GetOnlineCount()); |
|
|
|
|
|
|
|
|
if (ConfigHelper.MenuType == "accordion") |
|
|
if (ConfigHelper.MenuType == "accordion") |
|
|