修改待办

This commit is contained in:
2023-07-24 21:06:07 +08:00
parent 9db016519d
commit 346bba826e
12 changed files with 398 additions and 4 deletions
+10 -1
View File
@@ -642,7 +642,7 @@ namespace FineUIPro.Web
if (!string.IsNullOrEmpty(type))
{
this.CurrUser.LastProjectId = this.CurrUser.LoginProjectId;
if (CommonService.IsHaveSystemPower(this.CurrUser.UserId, type, this.CurrUser.LoginProjectId) || type == Const.Menu_Personal)
if (CommonService.IsHaveSystemPower(this.CurrUser.UserId, type, this.CurrUser.LoginProjectId) || type == Const.Menu_Personal || type == Const.Menu_ToDo)
{
this.XmlDataSource1.DataFile = "common/" + type + ".xml";
this.leftPanel.Hidden = false;
@@ -682,6 +682,10 @@ namespace FineUIPro.Web
this.Tab1.IFrameUrl = "~/DocManage/DocManage.aspx";
this.Tab1.Title = "协调与沟通";
}
else if (type==Const.Menu_ToDo)
{
this.Tab1.IFrameUrl = "~/SysManage/ProjectToDo.aspx";
}
else
{
this.Tab1.Title = "首页";
@@ -794,5 +798,10 @@ namespace FineUIPro.Web
{
this.MenuSwitchMethod(Const.Menu_Opinion);
}
protected void btnTodo_Click(object sender, EventArgs e)
{
this.MenuSwitchMethod(Const.Menu_ToDo);
}
}
}