数据大屏优化
This commit is contained in:
@@ -728,7 +728,7 @@ namespace FineUIPro.Web
|
||||
}
|
||||
|
||||
this.CurrUser.LastMenuType = type;
|
||||
UserService.UpdateLastUserInfo(this.CurrUser.UserId, type, false, this.CurrUser.LoginProjectId);
|
||||
UserService.UpdateLastUserInfo(this.CurrUser.UserId, type, false, this.CurrUser.LoginProjectId, string.Empty);
|
||||
InitTreeMenu();
|
||||
}
|
||||
|
||||
@@ -737,12 +737,15 @@ namespace FineUIPro.Web
|
||||
if (string.IsNullOrEmpty(this.CurrUser.LastProjectId)
|
||||
&& ((this.CurrUser.UnitId == Const.UnitId_XJYJ && this.CurrUser.IsOffice == true) || this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId))
|
||||
{
|
||||
UserService.UpdateLastUserInfo(this.CurrUser.UserId, this.CurrUser.LastMenuType, false, this.CurrUser.LoginProjectId);
|
||||
this.CurrUser.LastProjectId = this.CurrUser.LoginProjectId;
|
||||
PageContext.Redirect("~/index.aspx", "_top");
|
||||
UserService.UpdateLastUserInfo(this.CurrUser.UserId, this.CurrUser.LastMenuType, false, this.CurrUser.LoginProjectId, this.CurrUser.UnitId);
|
||||
this.CurrUser.LastUnitId = this.CurrUser.UnitId;
|
||||
PageContext.Redirect("~/index.aspx?unitId=" + this.CurrUser.UnitId, "_top");
|
||||
//PageContext.Redirect("~/index.aspx", "_top");
|
||||
}
|
||||
else
|
||||
{
|
||||
UserService.UpdateLastUserInfo(this.CurrUser.UserId, this.CurrUser.LastMenuType, false, this.CurrUser.LoginProjectId, string.Empty);
|
||||
this.CurrUser.LastProjectId = this.CurrUser.LoginProjectId;
|
||||
//this.MenuSwitchMethod(string.Empty);
|
||||
PageContext.Redirect("~/indexProject.aspx?projectId=" + this.CurrUser.LoginProjectId, "_top");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user