提交子公司客户化修改
This commit is contained in:
@@ -312,6 +312,12 @@ namespace FineUIPro.Web
|
||||
{
|
||||
this.btnParty.Hidden = true;
|
||||
}
|
||||
this.hdHomePage.Text = "1";
|
||||
if (this.CurrUser.HomePageType == "2")
|
||||
{
|
||||
this.Tab1.IFrameUrl = "~/common/main2.aspx";
|
||||
this.hdHomePage.Text = "2";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -507,5 +513,19 @@ namespace FineUIPro.Web
|
||||
PageContext.RegisterStartupScript("parent.removeActiveTab();");
|
||||
this.MenuSwitchMethod(Const.Menu_Party);
|
||||
}
|
||||
|
||||
protected void btnChangeHomePage_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.hdHomePage.Text == "1")
|
||||
{
|
||||
this.hdHomePage.Text = "2";
|
||||
this.Tab1.IFrameUrl = "~/common/main2.aspx";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.hdHomePage.Text = "1";
|
||||
this.Tab1.IFrameUrl = "~/common/main.aspx";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user