20250325 工作台
This commit is contained in:
@@ -317,7 +317,7 @@ namespace FineUIPro.Web
|
||||
this.drpProject.SelectedValue = this.CurrUser.LoginProjectId;
|
||||
}
|
||||
this.CurrUser.LoginProjectId = this.drpProject.SelectedValue;
|
||||
this.lName.Text = BLL.UserService.GetUserNameByUserId(this.CurrUser.UserId);
|
||||
this.btnPersonal.Text = BLL.UserService.GetUserNameByUserId(this.CurrUser.UserId);
|
||||
this.MenuSwitchMethod(Request.Params["menuType"]);
|
||||
this.InitMenuStyleButton();
|
||||
this.InitMenuModeButton();
|
||||
@@ -930,5 +930,42 @@ namespace FineUIPro.Web
|
||||
Response.Cookies.Add(lanCookie);
|
||||
Response.Redirect(Request.UrlReferrer.ToString());//刷新当前页面
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 工作台
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnWorkBench_Click(object sender, EventArgs e)
|
||||
{
|
||||
PageContext.Redirect("~/WorkBench.aspx", "_top");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 进入项目级
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnProjectLists_Click(object sender, EventArgs e)
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window3.GetShowReference(String.Format("~/SelectProject.aspx", "查看 - ")));
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 公司级看板
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
//protected void btnCommpany_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// if (string.IsNullOrEmpty(this.CurrUser.LastProjectId)
|
||||
// && ((this.CurrUser.IsOffice == true) || this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId))
|
||||
// {
|
||||
// UserService.UpdateLastUserInfo(this.CurrUser.UserId, this.CurrUser.LastMenuType, false, this.CurrUser.LoginProjectId);
|
||||
// this.CurrUser.LastProjectId = this.CurrUser.LoginProjectId;
|
||||
// PageContext.Redirect("~/index.aspx", "_top");
|
||||
// }
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user