本文整理汇总了C#中ZWL.BLL.ERPRiZhi类的典型用法代码示例。如果您正苦于以下问题:C# ERPRiZhi类的具体用法?C# ERPRiZhi怎么用?C# ERPRiZhi使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ERPRiZhi类属于ZWL.BLL命名空间,在下文中一共展示了ERPRiZhi类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: ImageButton1_Click
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
ZWL.BLL.ERPDangAn Model = new ZWL.BLL.ERPDangAn();
Model.FileName=this.txtFileName.Text.ToString();
Model.JuanKuName=this.txtJuanKuName.Text.ToString();
Model.FileSerils=this.txtFileSerils.Text.ToString();
Model.FileTitle=this.txtFileTitle.Text.ToString();
Model.FaWenDanWei=this.txtFaWenDanWei.Text.ToString();
Model.FaWenDate=this.txtFaWenDate.Text.ToString();
Model.MiJi=this.txtMiJi.Text.ToString();
Model.JingJi=this.txtJingJi.Text.ToString();
Model.TypeStr=this.txtTypeStr.Text.ToString();
Model.GongWenType=this.txtGongWenType.Text.ToString();
Model.FilePage=this.txtFilePage.Text.ToString();
Model.FuJianList=ZWL.Common.PublicMethod.GetSessionValue("WenJianList");
Model.BackInfo=this.txtBackInfo.Text.ToString();
Model.UserName=ZWL.Common.PublicMethod.GetSessionValue("UserName");
Model.TimeStr=DateTime.Now;
Model.Add();
//дϵͳ��־
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "�û���ӵ����ļ���Ϣ(" + this.txtFileName.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
ZWL.Common.MessageBox.ShowAndRedirect(this, "�����ļ���Ϣ��ӳɹ���", "DangAn.aspx?JuanKuName=" + Request.QueryString["JuanKuName"].ToString());
}
开发者ID:cnbin,项目名称:HLB,代码行数:31,代码来源:DangAnAdd.aspx.cs
示例2: ImageButton1_Click
protected void ImageButton1_Click(object sender, EventArgs e)
{
ZWL.BLL.ERPLanEmail MyModel = new ZWL.BLL.ERPLanEmail();
ZWL.BLL.ERPLanEmailShou MyModelShou = new ZWL.BLL.ERPLanEmailShou();
MyModel .EmailTitle = this.TextBox1.Text;
MyModel.EmailContent = this.TxtContent.Value;
MyModel.FuJian = ZWL.Common.PublicMethod.GetSessionValue("WenJianList");
MyModel.FromUser = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyModel.EmailState = "未读";
MyModel.TimeStr = DateTime.Now;
MyModelShou.TimeStr = MyModel.TimeStr;
string[] ToWhoList = this.TextBox2.Text.Trim().Split(',');
for (int i = 0; i < ToWhoList.Length; i++)
{
if (ToWhoList[i].Trim().Length > 0)
{
MyModel.ToUser = ToWhoList[i].Trim();
MyModel.Add();
}
}
//写系统日志
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "用户添加新邮件(" + this.TextBox1.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
ZWL.Common.MessageBox.ShowAndRedirect(this, "内部邮件发送成功!", "LanEmailShou.aspx");
}
开发者ID:cnbin,项目名称:HLB,代码行数:33,代码来源:LanEmailAdd.aspx.cs
示例3: btn_Sub_In_Click
protected void btn_Sub_In_Click(object sender, EventArgs e)
{
ZWL.BLL.ERPMobile MyModel = new ZWL.BLL.ERPMobile();
MyModel.ToUserList = this.TextBox1.Text.Trim();
MyModel.ContentStr = this.TextBox2.Text.Trim();
MyModel.FaSongUser = ZWL.Common.PublicMethod.GetSessionValue("UserName");
//Mobile.SendSMS(MyModel.FaSongUser, MyModel.ToUserList, MyModel.ContentStr);
string WrongUser = Mobile.UserToTel(MyModel.ToUserList, MyModel.ContentStr); //发送人名,发送内容
MyModel.ToUserList = "内部人员:" + this.TextBox1.Text;
MyModel.Add();
if(WrongUser.Trim() == "0") {
}
else if(WrongUser.Trim() == "1") {
Response.Write("<script>alert('手机短信发送成功!');window.location.href='MobileSms.aspx'</script>");
//ZWL.Common.MessageBox.ShowAndRedirect(this, "手机短信发送成功!", "MobileSms.aspx");
}
else {
Response.Write("<script>alert('手机短信发送成功,其中" + WrongUser.Trim() + "手机号码有误!');window.location.href='MobileSms.aspx'</script>");
//ZWL.Common.MessageBox.ShowAndRedirect(this, "手机短信发送成功,其中" + WrongUser.Trim() + "手机号码有误!", "MobileSms.aspx");
}
//写系统日志
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "用户添加新内部手机短信(" + this.TextBox2.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
Response.Write("<script>alert('手机短信发送成功!');window.location.href='MobileSms.aspx'</script>");
//ZWL.Common.MessageBox.ShowAndRedirect(this, "手机短信发送成功!", "MobileSms.aspx");
}
开发者ID:cnbin,项目名称:HLB,代码行数:34,代码来源:MobileSmsAdd.aspx.cs
示例4: Page_Load
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
ZWL.Common.PublicMethod.CheckSession();
ZWL.BLL.ERPRenShiHeTong Model = new ZWL.BLL.ERPRenShiHeTong();
Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
this.lblHeTongUser.Text=Model.HeTongUser.ToString();
this.lblNowState.Text=Model.NowState.ToString();
this.lblSerils.Text=Model.Serils.ToString();
this.lblTypeStr.Text=Model.TypeStr.ToString();
this.lblJingYe.Text=Model.JingYe.ToString();
this.lblBaoMiXieYi.Text=Model.BaoMiXieYi.ToString();
this.lblQianYueDate.Text=Model.QianYueDate.ToString();
this.lblManYueDate.Text=Model.ManYueDate.ToString();
this.lblJianZhengJiGuan.Text=Model.JianZhengJiGuan.ToString();
this.lblJianZhengDate.Text=Model.JianZhengDate.ToString();
this.lblWeiYueZeRen.Text=Model.WeiYueZeRen.ToString();
this.lblBackInfo.Text=Model.BackInfo.ToString();
this.lblFuJianList.Text=ZWL.Common.PublicMethod.GetWenJian(Model.FuJianList.ToString(),"../UploadFile/");
this.lblUserName.Text=Model.UserName.ToString();
this.lblTimeStr.Text=Model.TimeStr.ToString();
//дϵͳ��־
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "�û��鿴���º�ͬ��Ϣ(" + this.lblHeTongUser.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
}
}
开发者ID:cnbin,项目名称:HLB,代码行数:32,代码来源:RenShiHeTongView.aspx.cs
示例5: Page_Load
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();
}
}
开发者ID:cnbin,项目名称:HLB,代码行数:28,代码来源:TaskFPView.aspx.cs
示例6: Page_Load
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
ZWL.Common.PublicMethod.CheckSession();
ZWL.BLL.ERPJiangCheng Model = new ZWL.BLL.ERPJiangCheng();
Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
this.lblJCUser.Text=Model.JCUser.ToString();
this.lblJiangChengQuFen.Text=Model.JiangChengQuFen.ToString();
this.lblJiangChengType.Text=Model.JiangChengType.ToString();
this.lblShouYuDanWei.Text=Model.ShouYuDanWei.ToString();
this.lblJiangChengDate.Text=Model.JiangChengDate.ToString();
this.lblJiangChengMingMu.Text=Model.JiangChengMingMu.ToString();
this.lblJiangChengYuanYin.Text=Model.JiangChengYuanYin.ToString();
this.lblBackInfo.Text=Model.BackInfo.ToString();
this.lblUserName.Text=Model.UserName.ToString();
this.lblTimeStr.Text=Model.TimeStr.ToString();
//дϵͳ��־
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "�û��鿴���ͼ�¼��Ϣ(" + this.lblJCUser.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
}
}
开发者ID:cnbin,项目名称:HLB,代码行数:27,代码来源:JiangChengView.aspx.cs
示例7: btn_Sub_Click
protected void btn_Sub_Click(object sender, EventArgs e)
{
if(ZWL.Common.PublicMethod.IFExists("BuMenName", "ERPBuMen", 0, this.TextBox1.Text) == true) {
ZWL.BLL.ERPBuMen MyBuMen = new ZWL.BLL.ERPBuMen();
MyBuMen.BuMenName = this.TextBox1.Text;
MyBuMen.ChargeMan = this.UserName_Input.Value;
MyBuMen.TelStr = this.TextBox3.Text;
MyBuMen.ChuanZhen = this.TextBox4.Text;
MyBuMen.BackInfo = this.TextBox5.Text;
MyBuMen.DirID = int.Parse(Request.QueryString["DirID"].ToString());
MyBuMen.Add();
//写系统日志
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "用户添加部门信息(" + this.TextBox1.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
Response.Write("<script>alert('部门信息添加成功!');window.location.href='BuMenInfo.aspx?View=" + Request.QueryString["View"].ToString() + "&Type=" + Request.QueryString["Type"].ToString() + "&DirID=" + Request.QueryString["DirID"].ToString() + "'</script>");
//ZWL.Common.MessageBox.ShowAndRedirect(this, "部门信息添加成功!", "BuMenInfo.aspx?View=" + Request.QueryString["View"].ToString() + "&Type=" + Request.QueryString["Type"].ToString() + "&DirID=" + Request.QueryString["DirID"].ToString());
}
else {
Response.Write("<script>alert('该部门已经存在,请更换名称!!');</script>");
//ZWL.Common.MessageBox.Show(this, "该部门已经存在,请更换名称!");
}
}
开发者ID:cnbin,项目名称:HLB,代码行数:26,代码来源:BuMenInfoAdd.aspx.cs
示例8: Page_Load
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
ZWL.Common.PublicMethod.CheckSession();
ZWL.BLL.ERPMianShi Model = new ZWL.BLL.ERPMianShi();
Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
this.lblMSName.Text=Model.MSName.ToString();
this.lblMSDate.Text=Model.MSDate.ToString();
this.lblMSSex.Text=Model.MSSex.ToString();
this.lblMSAge.Text=Model.MSAge.ToString();
this.lblXueLi.Text=Model.XueLi.ToString();
this.lblZhuanYe.Text=Model.ZhuanYe.ToString();
this.lblMSZhiWei.Text=Model.MSZhiWei.ToString();
this.lblMSJieGuo.Text=Model.MSJieGuo.ToString();
this.lblBackInfo.Text=Model.BackInfo.ToString();
this.lblFuJianStr.Text=ZWL.Common.PublicMethod.GetWenJian(Model.FuJianStr.ToString(),"../UpLoadFile/");
this.lblUserName.Text=Model.UserName.ToString();
this.lblTimeStr.Text=Model.TimeStr.ToString();
//дϵͳ��־
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "�û��鿴����������Ϣ(" + this.lblMSName.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
}
}
开发者ID:cnbin,项目名称:HLB,代码行数:29,代码来源:MianShiView.aspx.cs
示例9: ImageButton1_Click
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
ZWL.BLL.ERPMianShi Model = new ZWL.BLL.ERPMianShi();
Model.MSName=this.txtMSName.Text.ToString();
Model.MSDate=this.txtMSDate.Text.ToString();
Model.MSSex=this.txtMSSex.Text.ToString();
Model.MSAge=this.txtMSAge.Text.ToString();
Model.XueLi=this.txtXueLi.Text.ToString();
Model.ZhuanYe=this.txtZhuanYe.Text.ToString();
Model.MSZhiWei=this.txtMSZhiWei.Text.ToString();
Model.MSJieGuo=this.txtMSJieGuo.Text.ToString();
Model.BackInfo=this.txtBackInfo.Text.ToString();
Model.FuJianStr=ZWL.Common.PublicMethod.GetSessionValue("WenJianList");
Model.UserName=ZWL.Common.PublicMethod.GetSessionValue("UserName");
Model.TimeStr=DateTime.Now;
Model.Add();
//дϵͳ��־
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "�û��������������Ϣ(" + this.txtMSName.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
ZWL.Common.MessageBox.ShowAndRedirect(this, "����������Ϣ��ӳɹ���", "MianShi.aspx");
}
开发者ID:cnbin,项目名称:HLB,代码行数:28,代码来源:MianShiAdd.aspx.cs
示例10: Page_Load
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
ZWL.Common.PublicMethod.CheckSession();
ZWL.BLL.ERPTreeList Model = new ZWL.BLL.ERPTreeList();
Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
this.lblTextStr.Text=Model.TextStr.ToString();
this.lblImageUrlStr.Text=Model.ImageUrlStr.ToString();
this.lblValueStr.Text=Model.ValueStr.ToString();
this.lblNavigateUrlStr.Text=Model.NavigateUrlStr.ToString();
this.lblTarget.Text=Model.Target.ToString();
this.lblParentID.Text=Model.ParentID.ToString();
this.lblQuanXianList.Text=Model.QuanXianList.ToString();
this.lblPaiXuStr.Text=Model.PaiXuStr.ToString();
this.lblClass.Text = Model.ParentClass;
//дϵͳ��־
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "�û��鿴�˵�������Ϣ(" + this.lblTextStr.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
ReturnInput.Value = Request.UrlReferrer.ToString() == null ? "../SystemManage/TreeList.aspx" : Request.UrlReferrer.ToString();
}
}
开发者ID:cnbin,项目名称:HLB,代码行数:26,代码来源:TreeListView.aspx.cs
示例11: btn_Sub_Click
protected void btn_Sub_Click(object sender, EventArgs e)
{
ZWL.BLL.ERPHuiBao Model = new ZWL.BLL.ERPHuiBao();
Model.TitleStr = this.TextBox1.Text;
Model.ContentStr = this.TxtContent.Text;
Model.CanLookUser = this.UserName_Input.Value;
Model.DDWL = this.TextBox3.Text;
Model.TimeStr = DateTime.Now;
Model.DDWL = this.ddl_WarningType.SelectedValue;
Model.FuJianStr = ZWL.Common.PublicMethod.GetSessionValue("WenJianList");
Model.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
Model.SSBM = ZWL.Common.PublicMethod.GetSessionValue("Department");
if(string.IsNullOrEmpty(this.TextBox2.Text)) {
Model.ZT = "信息保存";
}
else {
Model.ZT = "信息转发";
}
Model.Add();
//写系统日志
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "用户添加工作报告信息(" + this.TextBox1.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
Response.Write("<script>alert('工作报告添加成功!');window.location.href='"+ReturnInput.Value+"'</script>");
}
开发者ID:cnbin,项目名称:HLB,代码行数:29,代码来源:HuiBaoAdd.aspx.cs
示例12: ImageButton1_Click
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
if (this.TextBox4.Text.Contains("_"))
{
ZWL.BLL.ERPPOPAndSMTP MyModel = new ZWL.BLL.ERPPOPAndSMTP();
MyModel.ID = int.Parse(ZWL.Common.PublicMethod.GetSessionValue("UserID"));
MyModel.POP3UserName = this.TextBox1.Text;
MyModel.POP3UserPwd = this.TextBox2.Text;
MyModel.POP3Server = this.TextBox3.Text;
MyModel.POP3Port = this.TextBox4.Text;
MyModel.SMTPUserName = this.TextBox5.Text;
MyModel.SMTPUserPwd = this.TextBox6.Text;
MyModel.SMTPServer = this.TextBox7.Text;
MyModel.SMTPFromEmail = this.TextBox8.Text;
MyModel.Update();
ZWL.Common.MessageBox.Show(this, "修改邮件参数成功!");
//写系统日志
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "用户设置邮件参数";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
}
else
{
ZWL.Common.MessageBox.Show(this, "请用_将SMTP端口与POP3端口隔开!");
}
}
开发者ID:cnbin,项目名称:HLB,代码行数:29,代码来源:MailSetting.aspx.cs
示例13: Page_Load
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
ZWL.Common.PublicMethod.CheckSession();
ZWL.BLL.ERPBook Model = new ZWL.BLL.ERPBook();
Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
this.lblBookName.Text=Model.BookName.ToString();
this.lblBookSerils.Text=Model.BookSerils.ToString();
this.lblSuoShuBuMen.Text=Model.SuoShuBuMen.ToString();
this.lblBookType.Text=Model.BookType.ToString();
this.lblAuother.Text=Model.Auother.ToString();
this.lblISBN.Text=Model.ISBN.ToString();
this.lblCoperStr.Text=Model.CoperStr.ToString();
this.lblChuBanDate.Text=Model.ChuBanDate.ToString();
this.lblCunFangDian.Text=Model.CunFangDian.ToString();
this.lblShuLiang.Text=Model.ShuLiang.ToString();
this.lblJiaGe.Text=Model.JiaGe.ToString();
this.lblNeiRong.Text=Model.NeiRong.ToString();
this.lblNowState.Text=Model.NowState.ToString();
this.lblBackInfo.Text=Model.BackInfo.ToString();
this.lblUserName.Text=Model.UserName.ToString();
this.lblTimeStr.Text=Model.TimeStr.ToString();
//дϵͳ��־
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "�û��鿴ͼ����Ϣ(" + this.lblBookName.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
}
}
开发者ID:cnbin,项目名称:HLB,代码行数:33,代码来源:BookView.aspx.cs
示例14: ImageButton1_Click
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
ZWL.BLL.ERPTaskFP Model = new ZWL.BLL.ERPTaskFP();
Model.ID = int.Parse(Request.QueryString["ID"].ToString());
Model.TaskTitle=this.txtTaskTitle.Text.ToString();
Model.TaskContent=this.txtTaskContent.Text.ToString();
Model.FromUser=this.txtFromUser.Text.ToString();
Model.ToUserList=this.txtToUserList.Text.ToString();
Model.XinXiGouTong=this.txtXinXiGouTong.Text.ToString();
Model.JinDu=decimal.Parse(this.txtJinDu.Text);
Model.WanCheng=this.txtWanCheng.Text.ToString();
Model.NowState = this.DropDownList1.SelectedValue.ToString();
Model.KSSJ = DateTime.Parse(this.TextBox3.Text.Trim() + " " + this.DropDownList2.SelectedItem.Text + ":" + this.DropDownList3.SelectedItem.Text + ":00");
Model.JSSJ = DateTime.Parse(this.TextBox2.Text.Trim() + " " + this.DropDownList4.SelectedItem.Text + ":" + this.DropDownList5.SelectedItem.Text + ":00");
Model.FKSJ = DateTime.Parse(this.TextBox4.Text.Trim() + " " + this.DropDownList6.SelectedItem.Text + ":" + this.DropDownList7.SelectedItem.Text + ":00");
Model.SFFK = this.TX.Value;
Model.Update();
//���Ͷ���
SendMainAndSms.SendMessage(CHKSMS, CHKMOB, "�����µ�������Ҫִ�У�(" + this.txtTaskTitle.Text + ")", this.txtToUserList.Text.Trim());
//дϵͳ��־
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "�û������������Ϣ(" + this.txtTaskTitle.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
ZWL.Common.MessageBox.ShowAndRedirect(this, "���������Ϣ�ijɹ���", "TaskFP.aspx");
}
开发者ID:cnbin,项目名称:HLB,代码行数:31,代码来源:TaskFPModify.aspx.cs
示例15: btn_Draft_Click
protected void btn_Draft_Click(object sender, EventArgs e)
{
//草稿
ZWL.BLL.ERPLanEmail MyModel = new ZWL.BLL.ERPLanEmail();
MyModel.EmailTitle = this.TextBox1.Text;
MyModel.EmailContent = this.TxtContent.Text;
MyModel.FuJian = ZWL.Common.PublicMethod.GetSessionValue("WenJianList");
MyModel.FromUser = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyModel.EmailState = "草稿";
string[] ToWhoList = this.UserName_Input.Value.Trim().Split(',');
for(int i = 0; i < ToWhoList.Length; i++) {
if(ToWhoList[i].Trim().Length > 0) {
MyModel.ToUser = ToWhoList[i].Trim();
MyModel.Add();
}
}
//写系统日志
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "用户添加新记录(" + this.TextBox1.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
Response.Write("<script>alert('新增记录成功!');window.location.href='" + ReturnInput.Value + "'</script>");
}
开发者ID:cnbin,项目名称:HLB,代码行数:26,代码来源:LanEmailAdd.aspx.cs
示例16: ImageButton1_Click
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
ZWL.BLL.ERPJiangCheng Model = new ZWL.BLL.ERPJiangCheng();
Model.JCUser=this.txtJCUser.Text.ToString();
Model.JiangChengQuFen=this.txtJiangChengQuFen.Text.ToString();
Model.JiangChengType=this.txtJiangChengType.Text.ToString();
Model.ShouYuDanWei=this.txtShouYuDanWei.Text.ToString();
Model.JiangChengDate=this.txtJiangChengDate.Text.ToString();
Model.JiangChengMingMu=this.txtJiangChengMingMu.Text.ToString();
Model.JiangChengYuanYin=this.txtJiangChengYuanYin.Text.ToString();
Model.BackInfo=this.txtBackInfo.Text.ToString();
Model.UserName=ZWL.Common.PublicMethod.GetSessionValue("UserName");
Model.TimeStr=DateTime.Now;
Model.Add();
//дϵͳ��־
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "�û���ӽ��ͼ�¼��Ϣ(" + this.txtJCUser.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
ZWL.Common.MessageBox.ShowAndRedirect(this, "���ͼ�¼��Ϣ��ӳɹ���", "JiangCheng.aspx");
}
开发者ID:cnbin,项目名称:HLB,代码行数:26,代码来源:JiangChengAdd.aspx.cs
示例17: Send
protected void Send(int id)
{
if (id != 0)
{
ZWL.BLL.ERPMobile MyModel = new ZWL.BLL.ERPMobile();
MyModel.GetModel(id);
if (ZWL.Common.PublicMethod.StrIFIn("内部人员:", MyModel.ToUserList) == true)
{
//内部
Mobile.SendSMS(MyModel.FaSongUser, MyModel.ToUserList.Replace("内部人员:", ""), MyModel.ContentStr);
}
else
{
//外部
Mobile.SendSMS2(MyModel.FaSongUser, MyModel.ToUserList.Replace("外部人员:", ""), MyModel.ContentStr);
}
}
DataBindToGridview();
//写系统日志
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "用户发送已发送手机短信中的信息";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
Response.Write("<script>alert(手机短信发送完毕!');</script>");
}
开发者ID:cnbin,项目名称:HLB,代码行数:28,代码来源:MobileSms.aspx.cs
示例18: ImageButton1_Click
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
ZWL.BLL.ERPGuDing Model = new ZWL.BLL.ERPGuDing();
Model.GDName=this.txtGDName.Text.ToString();
Model.GDSerils=this.txtGDSerils.Text.ToString();
Model.GDType=this.txtGDType.Text.ToString();
Model.SuoShuBuMen=this.txtSuoShuBuMen.Text.ToString();
Model.GDAllCount=this.txtGDAllCount.Text.ToString();
Model.NowCount=this.txtNowCount.Text.ToString();
Model.NianXian=this.txtNianXian.Text.ToString();
Model.GDXingZhi=this.txtGDXingZhi.Text.ToString();
Model.QiYongDate=this.txtQiYongDate.Text.ToString();
Model.BaoGuanUser=this.txtBaoGuanUser.Text.ToString();
Model.UserName=ZWL.Common.PublicMethod.GetSessionValue("UserName");
Model.TimeStr=DateTime.Now;
Model.BackInfo=this.txtBackInfo.Text.ToString();
Model.Add();
//дϵͳ��־
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "�û�����ʲ���Ϣ(" + this.txtGDName.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
ZWL.Common.MessageBox.ShowAndRedirect(this, "�ʲ���Ϣ��ӳɹ���", "GuDing.aspx");
}
开发者ID:cnbin,项目名称:HLB,代码行数:29,代码来源:GuDingAdd.aspx.cs
示例19: ImageButton1_Click
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
string[] MYJianDa = this.Label2.Text.Split(',');
for (int i = 0; i < MYJianDa.Length; i++)
{
string DeFenShu = "";
try
{
DeFenShu = Request.Form["text-" + MYJianDa[i].ToString()].ToString().Trim();
}
catch { }
if (DeFenShu == "")
{
DeFenShu = null;
}
ZWL.DBUtility.DbHelperSQL.ExecuteSQL("update ERPTiKuKaoShiJieGuo set DeFen=" + DeFenShu + " where KaoShiID="+Request.QueryString["ID"].ToString()+" and TiMuID="+MYJianDa[i].ToString());
}
ZWL.Common.MessageBox.ShowAndRedirect(this, "在线考试人工阅卷保存成功!", "TiKuKaoShiOK.aspx");
//写系统日志
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "用户在线人工阅卷(" + this.lblUserName.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
}
开发者ID:cnbin,项目名称:HLB,代码行数:28,代码来源:TiKuKaoShiViewSP.aspx.cs
示例20: ImageButton1_Click
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
ZWL.BLL.ERPPeiXun Model = new ZWL.BLL.ERPPeiXun();
Model.ID = int.Parse(Request.QueryString["ID"].ToString());
Model.PeiXunName=this.txtPeiXunName.Text.ToString();
Model.PeiXunUser=this.txtPeiXunUser.Text.ToString();
Model.CanYuUser=this.txtCanYuUser.Text.ToString();
Model.StartDate=this.txtStartDate.Text.ToString();
Model.EndDate=this.txtEndDate.Text.ToString();
Model.PeiXunMuDi=this.txtPeiXunMuDi.Text.ToString();
Model.PeiXunNeiRong=this.txtPeiXunNeiRong.Text.ToString();
Model.XiaoGuo=this.txtXiaoGuo.Text.ToString();
Model.BackInfo=this.txtBackInfo.Text.ToString();
Model.FuJianList=ZWL.Common.PublicMethod.GetSessionValue("WenJianList");
Model.UserName=this.txtUserName.Text.ToString();
Model.TimeStr=DateTime.Parse(this.txtTimeStr.Text);
Model.Update();
//дϵͳ��־
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "�û�����ѵ��Ϣ(" + this.txtPeiXunName.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
ZWL.Common.MessageBox.ShowAndRedirect(this, "��ѵ��Ϣ�ijɹ���", "PeiXun.aspx");
}
开发者ID:cnbin,项目名称:HLB,代码行数:29,代码来源:PeiXunModify.aspx.cs
注:本文中的ZWL.BLL.ERPRiZhi类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论