修改公司级首页跳转OA待办页面
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
using BLL;
|
using BLL;
|
||||||
using System;
|
using System;
|
||||||
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
@@ -305,6 +306,30 @@ namespace FineUIPro.Web
|
|||||||
this.Tab1.IFrameUrl = "~/common/main2.aspx";
|
this.Tab1.IFrameUrl = "~/common/main2.aspx";
|
||||||
this.hdHomePage.Text = "2";
|
this.hdHomePage.Text = "2";
|
||||||
}
|
}
|
||||||
|
if (!string.IsNullOrEmpty(Request.Params["PHTUrl"]))
|
||||||
|
{
|
||||||
|
mainTabStrip.ShowTabHeader = true;
|
||||||
|
PageContext.RegisterStartupScript("parent.removeActiveTab();");
|
||||||
|
//btnPHTGL_Click(null, null);
|
||||||
|
if (!string.IsNullOrEmpty(Request.Params["PHTUserid"]))
|
||||||
|
{
|
||||||
|
var model_user = BLL.Person_PersonsService.GetPerson_PersonsById(Request.Params["PHTUserid"]);
|
||||||
|
var q = BLL.Funs.DB.Person_Persons.FirstOrDefault(x => x.Account == model_user.Account && x.Password == model_user.Password);
|
||||||
|
if (q != null)
|
||||||
|
{
|
||||||
|
Session["CurrUser"] = q;
|
||||||
|
Session["u"] = model_user.Account;
|
||||||
|
Session["p"] = model_user.Password;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
btnZHGL_Click(null, null);
|
||||||
|
PageContext.RegisterStartupScript(mainTabStrip.GetAddTabReference("dynamic_tab4", Request.Params["PHTUrl"], "审批", IconHelper.GetIconUrl(Icon.ApplicationAdd), true));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.MenuSwitchMethod(Request.Params["menuType"]);
|
||||||
|
|
||||||
|
}
|
||||||
var getW = WeatherService.GetWeather(null);
|
var getW = WeatherService.GetWeather(null);
|
||||||
if (getW != null)
|
if (getW != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user