protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPTaskFP Model = new ZWL.BLL.ERPTaskFP(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.lblTaskTitle.Text=Model.TaskTitle.ToString(); this.lblTaskContent.Text=Model.TaskContent.ToString(); this.lblFromUser.Text=Model.FromUser.ToString(); this.lblToUserList.Text=Model.ToUserList.ToString(); this.lblXinXiGouTong.Text=Model.XinXiGouTong.ToString(); this.lblJinDu.Text=Model.JinDu.ToString()+"%"; this.lblWanCheng.Text=Model.WanCheng.ToString(); this.lblNowState.Text=Model.NowState.ToString(); this.Label1.Text = Model.KSSJ.ToString(); this.Label2.Text = Model.JSSJ.ToString(); this.Label3.Text = Model.SFFK.ToString(); this.Label4.Text = Model.FKSJ.ToString(); //дϵͳ��־ ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi(); MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName"); MyRiZhi.DoSomething = "�û��鿴���������Ϣ(" + this.lblTaskTitle.Text + ")"; MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString(); MyRiZhi.Add(); } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPTaskFP Model = new ZWL.BLL.ERPTaskFP(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.lblTaskTitle.Text = Model.TaskTitle.ToString(); this.lblTaskContent.Text = Model.TaskContent.ToString(); this.lblFromUser.Text = Model.FromUser.ToString(); this.lblToUserList.Text = Model.ToUserList.ToString(); this.lblXinXiGouTong.Text = Model.XinXiGouTong.ToString(); this.lblJinDu.Text = Model.JinDu.ToString() + "%"; this.lblWanCheng.Text = Model.WanCheng.ToString(); this.lblNowState.Text = Model.NowState.ToString(); this.Label1.Text = Model.KSSJ.ToString(); this.Label2.Text = Model.JSSJ.ToString(); this.Label3.Text = Model.SFFK.ToString(); this.Label4.Text = Model.FKSJ.ToString(); //写系统日志 ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi(); MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName"); MyRiZhi.DoSomething = "用户查看任务分配信息(" + this.lblTaskTitle.Text + ")"; MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString(); MyRiZhi.Add(); } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPTaskFP Model = new ZWL.BLL.ERPTaskFP(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.txtTaskTitle.Text = Model.TaskTitle.ToString(); this.txtTaskContent.Text = Model.TaskContent.ToString(); this.txtFromUser.Text = Model.FromUser.ToString(); this.txtToUserList.Text = Model.ToUserList.ToString(); this.txtXinXiGouTong.Text = Model.XinXiGouTong.ToString(); this.txtJinDu.Text = Model.JinDu.ToString(); this.txtWanCheng.Text = Model.WanCheng.ToString(); this.DropDownList1.SelectedValue = Model.NowState.ToString(); this.TextBox2.Text = Model.KSSJ.ToString().Split(' ')[0]; this.DropDownList2.SelectedValue = DateTime.Parse(Model.KSSJ.ToString()).Hour.ToString("D2"); this.DropDownList3.SelectedValue = DateTime.Parse(Model.KSSJ.ToString()).Minute.ToString("D2"); this.TextBox3.Text = Model.JSSJ.ToString().Split(' ')[0]; this.DropDownList4.SelectedValue = DateTime.Parse(Model.JSSJ.ToString()).Hour.ToString("D2"); this.DropDownList5.SelectedValue = DateTime.Parse(Model.JSSJ.ToString()).Minute.ToString("D2"); this.TextBox4.Text = Model.FKSJ.ToString().Split(' ')[0]; this.DropDownList6.SelectedValue = DateTime.Parse(Model.FKSJ.ToString()).Hour.ToString("D2"); this.DropDownList7.SelectedValue = DateTime.Parse(Model.FKSJ.ToString()).Minute.ToString("D2"); this.TX.Value = Model.SFFK; } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPTaskFP Model = new ZWL.BLL.ERPTaskFP(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.txtTaskTitle.Text=Model.TaskTitle.ToString(); this.txtTaskContent.Text=Model.TaskContent.ToString(); this.txtFromUser.Text=Model.FromUser.ToString(); this.txtToUserList.Text=Model.ToUserList.ToString(); this.txtXinXiGouTong.Text=Model.XinXiGouTong.ToString(); this.txtJinDu.Text=Model.JinDu.ToString(); this.txtWanCheng.Text=Model.WanCheng.ToString(); this.DropDownList1.SelectedValue=Model.NowState.ToString(); this.TextBox2.Text = Model.KSSJ.ToString().Split(' ')[0]; this.DropDownList2.SelectedValue = DateTime.Parse(Model.KSSJ.ToString()).Hour.ToString("D2"); this.DropDownList3.SelectedValue = DateTime.Parse(Model.KSSJ.ToString()).Minute.ToString("D2"); this.TextBox3.Text = Model.JSSJ.ToString().Split(' ')[0]; this.DropDownList4.SelectedValue = DateTime.Parse(Model.JSSJ.ToString()).Hour.ToString("D2"); this.DropDownList5.SelectedValue = DateTime.Parse(Model.JSSJ.ToString()).Minute.ToString("D2"); this.TextBox4.Text = Model.FKSJ.ToString().Split(' ')[0]; this.DropDownList6.SelectedValue = DateTime.Parse(Model.FKSJ.ToString()).Hour.ToString("D2"); this.DropDownList7.SelectedValue = DateTime.Parse(Model.FKSJ.ToString()).Minute.ToString("D2"); this.TX.Value = Model.SFFK; } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPTaskFP Model = new ZWL.BLL.ERPTaskFP(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.lblTaskTitle.Text = Model.TaskTitle.ToString(); this.lblTaskContent.Text = Model.TaskContent.ToString(); this.lblFromUser.Text = Model.FromUser.ToString(); this.lblToUserList.Text = Model.ToUserList.ToString(); this.lblXinXiGouTong.Text = Model.XinXiGouTong.ToString(); this.lblJinDu.Text = Model.JinDu.ToString() + "%"; this.lblWanCheng.Text = Model.WanCheng.ToString(); this.lblNowState.Text = Model.NowState.ToString(); } }