提交代码
This commit is contained in:
@@ -603,7 +603,7 @@ namespace FineUIPro.Web
|
||||
if (!string.IsNullOrEmpty(type))
|
||||
{
|
||||
this.CurrUser.LastProjectId = this.CurrUser.LoginProjectId;
|
||||
if (CommonService.IsHaveSystemPower(this.CurrUser.PersonId, type, this.CurrUser.LoginProjectId) || type == Const.Menu_Personal || type == Const.Menu_ToDo)
|
||||
if (CommonService.IsHaveSystemPower(this.CurrUser.PersonId, type, this.CurrUser.LoginProjectId) || type == Const.Menu_Personal || type == Const.Menu_Help || type == Const.Menu_ToDo)
|
||||
{
|
||||
this.XmlDataSource1.DataFile = "common/" + type + ".xml";
|
||||
this.leftPanel.Hidden = false;
|
||||
@@ -612,6 +612,10 @@ namespace FineUIPro.Web
|
||||
{
|
||||
this.Tab1.IFrameUrl = "~/Personal/PersonalInfo.aspx";
|
||||
}
|
||||
if (type == Const.Menu_Help)
|
||||
{
|
||||
this.Tab1.IFrameUrl = "~/SysManage/Doc.aspx";
|
||||
}
|
||||
else if (type == Const.Menu_ProjectSet)
|
||||
{
|
||||
this.Tab1.IFrameUrl = "~/ProjectData/ProjectSetView.aspx";
|
||||
@@ -683,6 +687,11 @@ namespace FineUIPro.Web
|
||||
this.MenuSwitchMethod(Const.Menu_Personal);
|
||||
}
|
||||
|
||||
protected void btnHelp_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.MenuSwitchMethod(Const.Menu_Help);
|
||||
}
|
||||
|
||||
protected void btnProjectSet_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.MenuSwitchMethod(Const.Menu_ProjectSet);
|
||||
|
||||
Reference in New Issue
Block a user