20211111 监控页面还原
This commit is contained in:
		
							parent
							
								
									56662ce2c8
								
							
						
					
					
						commit
						10ce5c40ac
					
				|  | @ -234,7 +234,7 @@ | |||
|                                             </f:Button> | ||||
|                                         </li> | ||||
|                                         <li> | ||||
|                                             <f:Button runat="server" CssClass="bgbtn" Text="视频监控" OnClick="btnDigitalSite_Click" OnClientClick="parent.removeActiveTab();" | ||||
|                                             <f:Button runat="server" CssClass="bgbtn" Text="视频监控" OnClick="btnDigitalSite_Click" OnClientClick="openVideo();" | ||||
|                                                 EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnDigitalSite"> | ||||
|                                             </f:Button> | ||||
|                                         </li> | ||||
|  |  | |||
|  | @ -384,7 +384,8 @@ namespace FineUIPro.Web | |||
|                         this.btnWeather.ToolTip = date + " " + city + " " + oldWeather.WeatherRef + " " + oldWeather.AllTem; | ||||
|                     } | ||||
|                 } | ||||
|             } catch (Exception ex) | ||||
|             } | ||||
|             catch (Exception ex) | ||||
|             { | ||||
|             } | ||||
|         } | ||||
|  | @ -604,7 +605,6 @@ namespace FineUIPro.Web | |||
|                 this.Tab1.IFrameUrl = "~/common/mainProject.aspx"; | ||||
|             } | ||||
|             this.CurrUser.LastProjectId = null; | ||||
|          | ||||
|             if (!string.IsNullOrEmpty(type)) | ||||
|             { | ||||
|                 this.CurrUser.LastProjectId = this.CurrUser.LoginProjectId; | ||||
|  | @ -613,7 +613,6 @@ namespace FineUIPro.Web | |||
|                     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"; | ||||
|  | @ -621,15 +620,8 @@ namespace FineUIPro.Web | |||
|                     else if (type == Const.Menu_ProjectSet) | ||||
|                     { | ||||
|                         this.Tab1.IFrameUrl = "~/ProjectData/ProjectSetView.aspx"; | ||||
|                         this.Tab1.Title = "项目"; | ||||
|                     } | ||||
|                     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) | ||||
|                     if (type == Const.Menu_PZHGL) | ||||
|                     { | ||||
|                         //this.Tab1.IFrameUrl = "~/PZHGL/InformationProject/ConstructionPlan.aspx"; | ||||
|                         this.Tab1.IFrameUrl = "~/HSSE/Manager/HSSELog.aspx"; | ||||
|  | @ -640,6 +632,10 @@ namespace FineUIPro.Web | |||
|                         this.Tab1.IFrameUrl = "~/PZHGL/GJSX/GJSXList.aspx"; | ||||
|                         this.Tab1.Title = "关键事项"; | ||||
|                     } | ||||
|                     else | ||||
|                     { | ||||
|                         this.Tab1.Title = "首页"; | ||||
|                     } | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|  | @ -714,9 +710,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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue