2024-03-18 15:59:06 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace FineUIPro.Web.TestRun.DriverReport
|
|
|
|
|
{
|
|
|
|
|
public partial class MonthReportPushView : PageBase
|
|
|
|
|
{
|
|
|
|
|
#region 页面加载
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 页面加载
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="sender"></param>
|
|
|
|
|
/// <param name="e"></param>
|
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
if (!IsPostBack)
|
|
|
|
|
{
|
|
|
|
|
string id = Request.Params["id"];
|
|
|
|
|
if (!string.IsNullOrEmpty(id))
|
|
|
|
|
{
|
|
|
|
|
Model.TestRun_MonthReport data = BLL.TestRun_MonthReportService.GetMonthReportById(id);
|
|
|
|
|
if (data != null)
|
|
|
|
|
{
|
|
|
|
|
this.hdId.Text = id;
|
2024-06-06 16:00:57 +08:00
|
|
|
|
this.txtStartDate.Text = data.StartDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.StartDate) : "";
|
|
|
|
|
this.txtEndDate.Text = data.EndDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.EndDate) : "";
|
2024-03-18 15:59:06 +08:00
|
|
|
|
|
|
|
|
|
this.txtMilestone.Text = data.Milestone;
|
|
|
|
|
this.txtCompleteWork.Text = data.CompleteWork;
|
|
|
|
|
this.txtProblemSituation.Text = data.ProblemSituation;
|
|
|
|
|
|
|
|
|
|
this.txtNextMonthMilestone.Text = data.NextMonthMilestone;
|
|
|
|
|
this.txtNextMonthCompleteWork.Text = data.NextMonthCompleteWork;
|
|
|
|
|
this.txtNextMonthSchedule.Text = data.NextMonthSchedule;
|
|
|
|
|
this.txtNextMonthDrivingCost.Text = data.NextMonthDrivingCost;
|
2024-06-06 16:00:57 +08:00
|
|
|
|
GroupPanel8.Title = "下月开车计划要点(" + data.EndDate.Value.AddMonths(1).Month + "月份)";
|
2024-03-18 15:59:06 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2024-06-06 16:00:57 +08:00
|
|
|
|
|
2024-03-18 15:59:06 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|