提交代码

This commit is contained in:
2023-12-22 14:36:26 +08:00
parent 38b386aed1
commit 02f8f10a17
24 changed files with 1461 additions and 54 deletions
+10 -1
View File
@@ -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);