数据大屏优化

This commit is contained in:
2026-09-23 17:55:18 +08:00
parent 147121cdb2
commit 4bb579d661
39 changed files with 2012 additions and 320 deletions
+7 -4
View File
@@ -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");
}