20250329 工作台
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System;
|
||||
using System.Configuration;
|
||||
using System.Linq;
|
||||
using System.Security.Policy;
|
||||
using System.Web;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Xml;
|
||||
@@ -307,7 +308,7 @@ namespace FineUIPro.Web
|
||||
if (!IsPostBack)
|
||||
{
|
||||
//选择项目为空
|
||||
CurrUser.CompanyProjectId = "";
|
||||
//CurrUser.CompanyProjectId = "";
|
||||
|
||||
this.MenuSwitchMethod(Request.Params["menuType"]);
|
||||
this.InitMenuStyleButton();
|
||||
@@ -454,16 +455,17 @@ namespace FineUIPro.Web
|
||||
|
||||
protected void btnHome_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.leftPanel.Hidden)
|
||||
{
|
||||
string url = "~/indexProject.aspx?projectId=" + this.CurrUser.LastProjectId;
|
||||
UserService.UpdateLastUserInfo(this.CurrUser.UserId, null, false, this.CurrUser.LastProjectId);
|
||||
PageContext.Redirect(url, "_top");
|
||||
}
|
||||
else
|
||||
{
|
||||
this.MenuSwitchMethod(string.Empty);
|
||||
}
|
||||
//if (this.leftPanel.Hidden)
|
||||
//{
|
||||
// string url = "~/indexProject.aspx?projectId=" + this.CurrUser.LastProjectId;
|
||||
// UserService.UpdateLastUserInfo(this.CurrUser.UserId, null, false, this.CurrUser.LastProjectId);
|
||||
// PageContext.Redirect(url, "_top");
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
//this.MenuSwitchMethod(string.Empty);
|
||||
//}
|
||||
PageContext.Redirect("~/index.aspx", "_top");
|
||||
}
|
||||
|
||||
protected void btnPerson_Click(object sender, EventArgs e)
|
||||
@@ -478,8 +480,8 @@ namespace FineUIPro.Web
|
||||
|
||||
protected void btnProject_Click(object sender, EventArgs e)
|
||||
{
|
||||
//this.MenuSwitchMethod(Const.Menu_Project);
|
||||
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("~/ProjectItems.aspx", "查看 - ")));
|
||||
this.MenuSwitchMethod(Const.Menu_Project);
|
||||
//PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("~/ProjectItems.aspx", "查看 - ")));
|
||||
}
|
||||
|
||||
protected void btnServer_Click(object sender, EventArgs e)
|
||||
@@ -640,7 +642,15 @@ namespace FineUIPro.Web
|
||||
{
|
||||
PageContext.Redirect("~/WorkBench.aspx", "_top");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 呼叫
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnPhoneClick(object sender, EventArgs e)
|
||||
{
|
||||
//PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/ProjectData/ProjectUserContact.aspx")));
|
||||
}
|
||||
/// <summary>
|
||||
/// 进入项目级
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user