20211111整合监控视频页面到施工平台

This commit is contained in:
2021-11-11 10:24:56 +08:00
parent d9ca7b3bf7
commit b614e3b4db
8 changed files with 592 additions and 34 deletions
+15 -10
View File
@@ -604,14 +604,16 @@ namespace FineUIPro.Web
this.Tab1.IFrameUrl = "~/common/mainProject.aspx";
}
this.CurrUser.LastProjectId = null;
if (!string.IsNullOrEmpty(type))
{
{
this.CurrUser.LastProjectId = this.CurrUser.LoginProjectId;
if (CommonService.IsHaveSystemPower(this.CurrUser.UserId, type, this.CurrUser.LoginProjectId) || type == Const.Menu_Personal)
{
{
this.XmlDataSource1.DataFile = "common/" + type + ".xml";
this.leftPanel.Hidden = false;
this.Tab1.IFrameUrl = "~/common/main" + type + ".aspx";
this.Tab1.Title = "首页";
if (type == Const.Menu_Personal)
{
this.Tab1.IFrameUrl = "~/Personal/PersonalInfo.aspx";
@@ -619,8 +621,15 @@ namespace FineUIPro.Web
else if (type == Const.Menu_ProjectSet)
{
this.Tab1.IFrameUrl = "~/ProjectData/ProjectSetView.aspx";
this.Tab1.Title = "项目";
}
if (type == Const.Menu_PZHGL)
else if (type == Const.Menu_DigitalSite)
{
this.Tab1.IFrameUrl = "~/Video/Video.aspx";
this.leftPanel.Hidden = true;
this.Tab1.Title = "视频监控";
}
else if (type == Const.Menu_PZHGL)
{
//this.Tab1.IFrameUrl = "~/PZHGL/InformationProject/ConstructionPlan.aspx";
this.Tab1.IFrameUrl = "~/HSSE/Manager/HSSELog.aspx";
@@ -631,10 +640,6 @@ namespace FineUIPro.Web
this.Tab1.IFrameUrl = "~/PZHGL/GJSX/GJSXList.aspx";
this.Tab1.Title = "关键事项";
}
else
{
this.Tab1.Title = "首页";
}
}
else
{
@@ -709,9 +714,9 @@ namespace FineUIPro.Web
protected void btnDigitalSite_Click(object sender, EventArgs e)
{
string url = ConfigurationManager.AppSettings["Video_URL"] + "#/screen";
Response.Write("<script>window.open(" + url + "'',''_blank'')</script>");
// this.MenuSwitchMethod(Const.Menu_DigitalSite);
//string url = ConfigurationManager.AppSettings["Video_URL"] + "#/screen";
//Response.Write("<script>window.open(" + url + "'',''_blank'')</script>");
this.MenuSwitchMethod(Const.Menu_DigitalSite);
}
protected string VideoURL