2025-10-10 14:33:21 +08:00
|
|
|
|
using BLL;
|
|
|
|
|
|
using System;
|
2023-06-27 15:24:13 +08:00
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Web.UI.WebControls;
|
|
|
|
|
|
|
|
|
|
|
|
namespace FineUIPro.Web.AttachFile
|
|
|
|
|
|
{
|
2023-08-04 17:06:50 +08:00
|
|
|
|
public partial class OnlineEditing : PageBase
|
2023-06-27 15:24:13 +08:00
|
|
|
|
{
|
|
|
|
|
|
#region 定义参数
|
2023-08-04 17:06:50 +08:00
|
|
|
|
public string Appid
|
2023-06-27 15:24:13 +08:00
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
2023-08-04 17:06:50 +08:00
|
|
|
|
var sysSet = (from x in Funs.DB.Sys_Const where x.ConstText == "OnlineEditAppid" select x).ToList().FirstOrDefault();
|
|
|
|
|
|
if (sysSet != null)
|
|
|
|
|
|
{
|
|
|
|
|
|
return sysSet.ConstValue;
|
|
|
|
|
|
}
|
|
|
|
|
|
else
|
|
|
|
|
|
{
|
|
|
|
|
|
return "";
|
|
|
|
|
|
}
|
2023-06-27 15:24:13 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2023-08-04 17:06:50 +08:00
|
|
|
|
public string Appkey
|
2023-06-27 15:24:13 +08:00
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
2023-08-04 17:06:50 +08:00
|
|
|
|
var sysSet = (from x in Funs.DB.Sys_Const where x.ConstText == "OnlineEditAppkey" select x).ToList().FirstOrDefault();
|
|
|
|
|
|
if (sysSet != null)
|
|
|
|
|
|
{
|
|
|
|
|
|
return sysSet.ConstValue;
|
|
|
|
|
|
}
|
|
|
|
|
|
else
|
|
|
|
|
|
{
|
|
|
|
|
|
return "";
|
|
|
|
|
|
}
|
2023-06-27 15:24:13 +08:00
|
|
|
|
}
|
2023-08-04 17:06:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
public string CallBackUrl
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
2023-06-27 15:24:13 +08:00
|
|
|
|
{
|
2023-08-04 17:06:50 +08:00
|
|
|
|
var sysSet = (from x in Funs.DB.Sys_Const where x.ConstText == "OnlineEditCallBackurl" select x).ToList().FirstOrDefault();
|
|
|
|
|
|
if (sysSet != null)
|
|
|
|
|
|
{
|
|
|
|
|
|
return sysSet.ConstValue;
|
|
|
|
|
|
}
|
|
|
|
|
|
else
|
|
|
|
|
|
{
|
|
|
|
|
|
return "";
|
|
|
|
|
|
}
|
2023-06-27 15:24:13 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2023-08-04 17:06:50 +08:00
|
|
|
|
public string ReadOnly
|
2023-06-27 15:24:13 +08:00
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
2023-08-04 17:06:50 +08:00
|
|
|
|
return (string)ViewState["ReadOnly"];
|
2023-06-27 15:24:13 +08:00
|
|
|
|
}
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
2023-08-04 17:06:50 +08:00
|
|
|
|
ViewState["ReadOnly"] = value;
|
2023-06-27 15:24:13 +08:00
|
|
|
|
}
|
2023-08-04 17:06:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
public string PCUrl
|
2023-06-27 15:24:13 +08:00
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
2023-08-04 17:06:50 +08:00
|
|
|
|
return (string)ViewState["PCUrl"];
|
2023-06-27 15:24:13 +08:00
|
|
|
|
}
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
2023-08-04 17:06:50 +08:00
|
|
|
|
ViewState["PCUrl"] = value;
|
2023-06-27 15:24:13 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!IsPostBack)
|
|
|
|
|
|
{
|
2023-08-04 17:06:50 +08:00
|
|
|
|
/*UserId = Request.Params["UserId"];
|
|
|
|
|
|
AttachFileId = Request.Params["AttachFileId"];
|
|
|
|
|
|
ReadOnly = Request.Params["ReadOnly"];*/
|
|
|
|
|
|
PCUrl = Request.Params["fileUrl"];
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-06-27 15:24:13 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|