Esempio n. 1
0
 protected void BtnSave_Click(object sender, EventArgs e)
 {
     if (ConferenceManage.SetApplyState(-1, this.RecordId))
     {
         if (this.CBoxSMS.Checked)
         {
             DateTime sendTime = default(DateTime);
             sendTime = DateTime.Now;
             PublicInterface.SendSmsMsg(new SMSLog
             {
                 SendUser    = this.Session["yhdm"].ToString(),
                 ReceiveUser = this.hdnMangeCode.Value.ToString(),
                 Message     = this.txtContent.Text,
                 SendTime    = sendTime,
                 I_XGID      = this.RecordId.ToString(),
                 V_LXBM      = "009"
             });
         }
         if (this.CBRTX.Checked)
         {
             PublicInterface.SendSysMsg(this.getPTDBSJ(this.RecordId.ToString(), "会议退回:" + this.txtContent.Text, this.Session["yhdm"].ToString()));
         }
         this.JS.Text = "alert('会议室申请已处理!');window.returnValue='" + this.RecordId.ToString() + "';window.close();";
         return;
     }
     this.JS.Text = "alert('处理会议室申请失败!');";
 }
Esempio n. 2
0
 private void getPTDBSJ(string xgid, string Mes, string jsyhdm)
 {
     PublicInterface.SendSysMsg(new PTDBSJ
     {
         V_LXBM    = "015",
         I_XGID    = xgid,
         DTM_DBSJ  = System.DateTime.Now,
         V_Content = Mes,
         V_DBLJ    = "",
         V_YHDM    = jsyhdm
     });
 }
Esempio n. 3
0
 private void getOrganiger(string xgid, string Mes, string jsyhdm)
 {
     PublicInterface.SendSysMsg(new PTDBSJ
     {
         V_LXBM     = "026",
         I_XGID     = xgid,
         DTM_DBSJ   = DateTime.Now,
         V_Content  = Mes,
         V_DBLJ     = "StockManage/sendGoods/ViewSendNote.aspx?ic=" + xgid,
         V_YHDM     = jsyhdm,
         V_TPLJ     = "",
         C_OpenFlag = "1"
     });
 }
Esempio n. 4
0
 private void getOrganiger(string xgid, string Mes, string jsyhdm)
 {
     PublicInterface.SendSysMsg(new PTDBSJ
     {
         V_LXBM     = "024",
         I_XGID     = xgid,
         DTM_DBSJ   = DateTime.Now,
         V_Content  = Mes,
         V_DBLJ     = "Epc/ProjectLayout/ProjectInfo/InfoView.aspx?OpType=SEE&Code=" + xgid,
         V_YHDM     = jsyhdm,
         V_TPLJ     = "new_Mail.gif",
         C_OpenFlag = "1"
     });
 }
Esempio n. 5
0
 private void getOrganiger(string xgid, string Mes, string jsyhdm)
 {
     PublicInterface.SendSysMsg(new PTDBSJ
     {
         V_LXBM     = "024",
         I_XGID     = xgid,
         DTM_DBSJ   = System.DateTime.Now,
         V_Content  = Mes,
         V_DBLJ     = "EPC/Pm/PrjInfo/PrjInfoView.aspx?typecode=" + xgid,
         V_YHDM     = jsyhdm,
         V_TPLJ     = "new_Mail.gif",
         C_OpenFlag = "1"
     });
 }
Esempio n. 6
0
 private void getOrganiger(string xgid, string Mes, string jsyhdm, DateTime Time)
 {
     PublicInterface.SendSysMsg(new PTDBSJ
     {
         V_LXBM     = "023",
         I_XGID     = xgid,
         DTM_DBSJ   = Time,
         V_Content  = Mes,
         V_DBLJ     = "Epc/EquipmentManagement/Check/CheckView.aspx?Type=023&Guid=" + xgid,
         V_YHDM     = jsyhdm,
         V_TPLJ     = "new_Mail.gif",
         C_OpenFlag = "1"
     });
 }
Esempio n. 7
0
 private void getOrganiger(string xgid, string Mes, string jsyhdm)
 {
     PublicInterface.SendSysMsg(new com.jwsoft.pm.entpm.model.PTDBSJ
     {
         V_LXBM    = "017",
         I_XGID    = xgid,
         DTM_DBSJ  = System.DateTime.Now,
         V_Content = Mes,
         V_DBLJ    = string.Concat(new string[]
         {
             "?rid=",
             xgid,
             "&bc=",
             this.BusinessCode,
             "&bcl=",
             this.BusinessClass
         }),
         V_YHDM = jsyhdm
     });
 }