修改oa跳转
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user