修改oa跳转

This commit is contained in:
2023-07-04 14:47:19 +08:00
parent 01616cc059
commit 87799090e3
2 changed files with 51 additions and 49 deletions
+23 -22
View File
@@ -53,7 +53,7 @@ namespace FineUIPro.Web
if (!IsPostBack)
{
this.CurrUser.LoginProjectId = null;
//this.CurrUser.LoginProjectId = null;
}
}
@@ -285,27 +285,6 @@ namespace FineUIPro.Web
{
if (!IsPostBack)
{
this.MenuSwitchMethod(Request.Params["menuType"]);
this.InitMenuStyleButton();
this.InitMenuModeButton();
this.InitLangMenuButton();
this.btnRetweet.Hidden = true;
if (this.CurrUser.PersonId == Const.hfnbdId)
{
this.btnRetweet.Hidden = false;
}
this.userName.InnerText = this.CurrUser.PersonName;
this.spDate.InnerText = DateTime.Now.ToLongDateString().ToString() + " " + WeekDayService.CaculateWeekDayT(DateTime.Now);
if (this.CurrUser.Password == Const.MD5pwd)
{
Alert.ShowInTop("当前密码不安全,请尽快更改!", MessageBoxIcon.Warning);
}
this.hdHomePage.Text = "1";
if (this.CurrUser.HomePageType == "2")
{
this.Tab1.IFrameUrl = "~/common/main2.aspx";
this.hdHomePage.Text = "2";
}
if (!string.IsNullOrEmpty(Request.Params["PHTUrl"]))
{
mainTabStrip.ShowTabHeader = true;
@@ -330,6 +309,28 @@ namespace FineUIPro.Web
this.MenuSwitchMethod(Request.Params["menuType"]);
}
this.MenuSwitchMethod(Request.Params["menuType"]);
this.InitMenuStyleButton();
this.InitMenuModeButton();
this.InitLangMenuButton();
this.btnRetweet.Hidden = true;
if (this.CurrUser.PersonId == Const.hfnbdId)
{
this.btnRetweet.Hidden = false;
}
this.userName.InnerText = this.CurrUser.PersonName;
this.spDate.InnerText = DateTime.Now.ToLongDateString().ToString() + " " + WeekDayService.CaculateWeekDayT(DateTime.Now);
if (this.CurrUser.Password == Const.MD5pwd)
{
Alert.ShowInTop("当前密码不安全,请尽快更改!", MessageBoxIcon.Warning);
}
this.hdHomePage.Text = "1";
if (this.CurrUser.HomePageType == "2")
{
this.Tab1.IFrameUrl = "~/common/main2.aspx";
this.hdHomePage.Text = "2";
}
var getW = WeatherService.GetWeather(null);
if (getW != null)
{