Basf_EProject/EProject/FineUIPro.Web/Design/DocumentFallback.aspx.cs

34 lines
1.1 KiB
C#
Raw Normal View History

2024-05-08 11:01:54 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.Design
{
public partial class DocumentFallback : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
string eprojectId = Request.Params["eprojectId"];
if (!string.IsNullOrEmpty(eprojectId))
{
var project = BLL.EProjectService.GeteProjectById(eprojectId);
txtProject.Text = project.ProjectControl_JobNo + "-" + project.ProjectControl_JobTitle;
}
txtFallbackMan.Text = CurrUser.UserName;
txtFallbackDate.Text= string.Format("{0:yyyy-MM-dd}", DateTime.Now);
}
}
protected void btnSave_Click(object sender, EventArgs e)
{
string eprojectId = Request.Params["eprojectId"];
}
}
}