You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace MESWebSite.Manage
|
|
{
|
|
public partial class PaintS_JCJL : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (Request.Cookies["LoginUserInfo"] == null)
|
|
{
|
|
Response.Write("<script language=javascript>alert('您的登录信息已过期,请重新登录!');top.location.href='../Login.aspx';</script>");
|
|
}
|
|
|
|
string param1 = Request.QueryString["param1"];
|
|
|
|
foreach(var contr in form1.Controls)
|
|
{
|
|
if(contr is HiddenField)
|
|
{
|
|
HiddenField hf = contr as HiddenField;
|
|
if(hf.ID == param1)
|
|
{
|
|
//string url = 检测记录.Value;
|
|
string url = hf.Value;
|
|
Response.Write("<script language=javascript> var url = '" + url + "'; let targetWindow = window.open(url, '_blank');</script>");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
}
|