SVN r1243
SVN-Revision: r1243
This commit is contained in:
@@ -923,6 +923,7 @@ namespace Lskj.Main.Control
|
|||||||
// 加载左侧菜单
|
// 加载左侧菜单
|
||||||
if (menuStruct.Length == 2)
|
if (menuStruct.Length == 2)
|
||||||
{
|
{
|
||||||
|
|
||||||
DataTable childs = rows.Cast<DataRow>().Where(x => (x["MenuStruct"] + "").Substring(0, 2) == menuStruct).CopyToDataTable();
|
DataTable childs = rows.Cast<DataRow>().Where(x => (x["MenuStruct"] + "").Substring(0, 2) == menuStruct).CopyToDataTable();
|
||||||
if (childs != null && childs.Rows.Count > 1)
|
if (childs != null && childs.Rows.Count > 1)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -70,6 +70,8 @@ namespace Lskj.Main
|
|||||||
", RegexOptions.Multiline | RegexOptions.IgnorePatternWhitespace);
|
", RegexOptions.Multiline | RegexOptions.IgnorePatternWhitespace);
|
||||||
|
|
||||||
private bool isPlaintextPwd;
|
private bool isPlaintextPwd;
|
||||||
|
|
||||||
|
private string DisplayName = "UserName";
|
||||||
public FrmLogin()
|
public FrmLogin()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -260,7 +262,13 @@ namespace Lskj.Main
|
|||||||
BaseImpl.HasExistsColumn("P_EmployeeTab", "useLanguage", "nvarchar(50)");
|
BaseImpl.HasExistsColumn("P_EmployeeTab", "useLanguage", "nvarchar(50)");
|
||||||
arg = " ,useLanguage";
|
arg = " ,useLanguage";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(SystemInfo.Instance.LoginUsername))
|
||||||
|
{
|
||||||
|
this.DisplayName= SystemInfo.Instance.LoginUsername;
|
||||||
|
}
|
||||||
|
|
||||||
//if (BaseImpl.HasExistsColumn("P_EmployeeTab", "DefaultLedger"))
|
//if (BaseImpl.HasExistsColumn("P_EmployeeTab", "DefaultLedger"))
|
||||||
// arg += ",DefaultLedger";
|
// arg += ",DefaultLedger";
|
||||||
BaseImpl.HasExistsColumn("P_SystemTab", "LoginPopupFlag", "int");
|
BaseImpl.HasExistsColumn("P_SystemTab", "LoginPopupFlag", "int");
|
||||||
|
|||||||
Reference in New Issue
Block a user