推送数据
This commit is contained in:
@@ -21,6 +21,7 @@ namespace FineUIPro.Web
|
||||
// private bool _compactMode = false;
|
||||
private int _examplesCount = 0;
|
||||
private string _searchText = "";
|
||||
private string detailmenu = "";
|
||||
#region Page_Init
|
||||
|
||||
/// <summary>
|
||||
@@ -53,7 +54,7 @@ namespace FineUIPro.Web
|
||||
Response.Cookies.Add(cookie);
|
||||
}
|
||||
|
||||
PageContext.Redirect("~/default.aspx");
|
||||
PageContext.Redirect("~/indexProject.aspx");
|
||||
return;
|
||||
}
|
||||
////////////////////////////////////////////////////////////////
|
||||
@@ -292,6 +293,7 @@ namespace FineUIPro.Web
|
||||
if (!IsPostBack)
|
||||
{
|
||||
//string userData = "localhost/hsse/indexProject.aspx?account=sysgly&projectcode=E21009&module=1";
|
||||
detailmenu = Request.Params["detailmenu"];
|
||||
if (!string.IsNullOrEmpty(Request.Params["account"]))
|
||||
{
|
||||
Session[SessionName.CurrUser] = new Model.Sys_User();
|
||||
@@ -372,7 +374,14 @@ namespace FineUIPro.Web
|
||||
this.InitMenuStyleButton();
|
||||
this.InitMenuModeButton();
|
||||
this.InitLangMenuButton();
|
||||
this.userName.InnerText = this.CurrUser.UserName;
|
||||
this.userName.InnerText = this.CurrUser.UserName;
|
||||
|
||||
if (!string.IsNullOrEmpty(detailmenu))
|
||||
{
|
||||
this.mainTabStrip.ShowTabHeader = true;
|
||||
PageContext.RegisterStartupScript("parent.addExampleTab('3', 'HSSE/HiddenInspection/HiddenRectificationList.aspx', '安全巡检', null, true);");
|
||||
}
|
||||
|
||||
if (this.CurrUser.Password == Const.MD5pwd)
|
||||
{
|
||||
Alert.ShowInTop("当前密码不安全,请尽快更改!", MessageBoxIcon.Warning);
|
||||
|
||||
Reference in New Issue
Block a user