This commit is contained in:
2025-04-10 09:46:07 +08:00
parent 98e79d401c
commit 2245263c29
19 changed files with 258 additions and 25 deletions
@@ -11,6 +11,18 @@ namespace FineUIPro.Web.SES
{
public partial class SESRelatedDataContractManage2 : PageBase
{
public string FC_ID
{
get
{
return (string)ViewState["FC_ID"];
}
set
{
ViewState["FC_ID"] = value;
}
}
#region
/// <summary>
/// 加载页面
@@ -41,6 +53,7 @@ namespace FineUIPro.Web.SES
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
if (file != null)
{
this.FC_ID = file.FC_ID.ToString();
this.hdId.Text = file.FileId;
this.txtFileName.Text = file.FileName;
if (!string.IsNullOrEmpty(file.UploadMan))
@@ -85,6 +98,7 @@ namespace FineUIPro.Web.SES
string id = Request.Params["id"];
if (!string.IsNullOrEmpty(id))
{
this.FC_ID = id;
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
if (data != null)
{
@@ -203,7 +217,7 @@ namespace FineUIPro.Web.SES
{
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "2")));
}
#endregion