SVN r1243

SVN-Revision: r1243
This commit is contained in:
cyf
2026-06-29 05:45:38 +00:00
parent d6ccc0bd7e
commit 7154f3e0fd
2 changed files with 9 additions and 0 deletions
@@ -923,6 +923,7 @@ namespace Lskj.Main.Control
// 加载左侧菜单
if (menuStruct.Length == 2)
{
DataTable childs = rows.Cast<DataRow>().Where(x => (x["MenuStruct"] + "").Substring(0, 2) == menuStruct).CopyToDataTable();
if (childs != null && childs.Rows.Count > 1)
{
+8
View File
@@ -70,6 +70,8 @@ namespace Lskj.Main
", RegexOptions.Multiline | RegexOptions.IgnorePatternWhitespace);
private bool isPlaintextPwd;
private string DisplayName = "UserName";
public FrmLogin()
{
InitializeComponent();
@@ -260,7 +262,13 @@ namespace Lskj.Main
BaseImpl.HasExistsColumn("P_EmployeeTab", "useLanguage", "nvarchar(50)");
arg = " ,useLanguage";
}
if (!string.IsNullOrWhiteSpace(SystemInfo.Instance.LoginUsername))
{
this.DisplayName= SystemInfo.Instance.LoginUsername;
}
//if (BaseImpl.HasExistsColumn("P_EmployeeTab", "DefaultLedger"))
// arg += ",DefaultLedger";
BaseImpl.HasExistsColumn("P_SystemTab", "LoginPopupFlag", "int");