Browse Source

登录账号后,首页 欢迎您:XXX后增加“登录XX厂“,零件档案 地点筛选条件去掉

master
yidi.wu 1 year ago
parent
commit
717afffeb5
  1. 4
      北京北汽/SCP/Properties/AssemblyInfo.cs
  2. 2
      北京北汽/SCP/Views/BasicData/Part.aspx
  3. 3
      北京北汽/SCP/main.aspx.cs

4
北京北汽/SCP/Properties/AssemblyInfo.cs

@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
//
// 可以指定所有值,也可以使用“修订号”和“内部版本号”的默认值,
// 方法是按如下所示使用 "*":
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.23.1023.1")]
[assembly: AssemblyFileVersion("1.23.1023.1")]

2
北京北汽/SCP/Views/BasicData/Part.aspx

@ -41,7 +41,7 @@
<Items>
<f:TextBox ID="txtPartCode" runat="server" Label="零件号" />
<f:TextBox ID="txtPartName" runat="server" Label="零件名称" />
<f:DropDownList DataTextField="FactoryName" DataValueField="FactoryId" runat="server" ID="DPL_Factory" Label="地点"></f:DropDownList>
<f:DropDownList DataTextField="FactoryName" DataValueField="FactoryId" runat="server" ID="DPL_Factory" Label="地点" Hidden="true"></f:DropDownList>
</Items>
</f:FormRow>

3
北京北汽/SCP/main.aspx.cs

@ -63,7 +63,8 @@ namespace SCP
JObject ids = GetClientIDS(regionPanel, regionTop, mainTabStrip, txtUser,
txtOnlineUserCount, txtCurrentTime, btnRefresh);
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());
if (ConfigHelper.MenuType == "accordion")

Loading…
Cancel
Save