修改待办
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user