protected void btnNoPass_Click(object sender, System.EventArgs e) { Epoint.MisBizLogic2.Data.MisGuidRow oRow = new Epoint.MisBizLogic2.Data.MisGuidRow(oDetailPage.TableDetail.SQL_TableName, Request["RowGuid"]); oRow["Status"] = "80"; oRow.Update(); string Opinion = "审核不通过"; if (SHOpinion.Text.Trim() != "") { Opinion += ",审核意见为:" + Epoint.MisBizLogic2.DB.SQL_Encode(SHOpinion.Text.Trim()); } RG_DW.InsertSHOpinion(Request["RowGuid"], this.DisplayName, Opinion, ""); tabOP.Visible = false; //AlertAjaxMessage("操作成功"); //删除待办事宜 new HTProject_Bizlogic.DB_Messages_Center().WaitHandle_Delete("备案信息审核", Request["RowGuid"]); AlertAjaxMessage("操作成功"); //添加短信 string IsSendSMS = ApplicationOperate.GetConfigValueByName("IsSendOUSMS"); if (IsSendSMS == "1") { Detail_RG_User D_R_User = DB_R_User.GetDetail(TJRGuid_2021.Text); if (D_R_User.Mobile != "") { HTSMS.SendSMS(this.DisplayName, D_R_User.DispName, "您提交的" + XMName_2021.Text + "的项目备案信息审核未通过,请及时关注,谢谢", D_R_User.Mobile); } } this.WriteAjaxMessage("refreshParent();"); this.WriteAjaxMessage("window.close();"); }
protected void SaveOpinion(string Opinion2, bool needSendSMS) { string Opinion = "审核通过"; if (SHOpinion.Text.Trim() != "") { Opinion += ",审核意见为:" + Epoint.MisBizLogic2.DB.SQL_Encode(SHOpinion.Text.Trim()); } RG_DW.InsertSHOpinion(Request["RowGuid"], this.DisplayName, Opinion, ""); //AlertAjaxMessage("操作成功"); tabOP.Visible = false; //删除待办事宜 new HTProject_Bizlogic.DB_Messages_Center().WaitHandle_Delete("备案信息审核", Request["RowGuid"]); AlertAjaxMessage("操作成功"); if (needSendSMS) { //添加短信 string IsSendSMS = ApplicationOperate.GetConfigValueByName("IsSendOUSMS"); if (IsSendSMS == "1") { Detail_RG_User D_R_User = DB_R_User.GetDetail(TJRGuid_2021.Text); if (D_R_User.Mobile != "") { HTSMS.SendSMS(this.DisplayName, D_R_User.DispName, "您提交的" + XMName_2021.Text + "的项目备案信息已被" + Opinion2 + "审核通过,请及时关注,谢谢", D_R_User.Mobile); } } } }
protected void btnNoPass_Click(object sender, System.EventArgs e) { //Epoint.MisBizLogic2.Data.MisGuidRow oRow = new Epoint.MisBizLogic2.Data.MisGuidRow(oDetailPage.TableDetail.SQL_TableName, Request["RowGuid"]); //oRow["Status"] = "80"; //oRow.Update(); tabOP.Visible = false; //AlertAjaxMessage("操作成功"); //删除待办事宜 new HTProject_Bizlogic.DB_Messages_Center().WaitHandle_Delete("人员信息审核", Request["RowGuid"]); AlertAjaxMessage("操作成功"); //添加短信 string IsSendSMS = ApplicationOperate.GetConfigValueByName("IsSendOUSMS"); if (IsSendSMS == "1") { Detail_RG_User D_R_User = DB_R_User.GetDetail(TJRGuid_2019.Text); if (D_R_User.Mobile != "") { HTSMS.SendSMS(this.DisplayName, D_R_User.DispName, "您提交的" + XM_2019.Text + "的离职申请审核未通过,请及时关注,谢谢", D_R_User.Mobile); } } this.WriteAjaxMessage("refreshParent();"); this.WriteAjaxMessage("window.close();"); }
protected void btnPass_Click(object sender, System.EventArgs e) { //判断人员和资质是否有没有审核的 string strSql = "SELECT COUNT(*) FROM RG_QiYeZiZhi WHERE Status='70' AND DelStatus=0 AND DWGuid='" + Request["RowGuid"] + "'"; //if (Epoint.MisBizLogic2.DB.ExecuteToInt(strSql) > 0) //{ // AlertAjaxMessage("存在未审核的企业资质"); // return; //} //strSql = "SELECT COUNT(*) FROM RG_QYUser WHERE Status='70' AND DelStatus=0 AND DWGuid='" + Request["RowGuid"] + "'"; //if (Epoint.MisBizLogic2.DB.ExecuteToInt(strSql) > 0) //{ // AlertAjaxMessage("存在未审核的企业人员"); // return; //} Epoint.MisBizLogic2.Data.MisGuidRow oRow = new Epoint.MisBizLogic2.Data.MisGuidRow(oDetailPage.TableDetail.SQL_TableName, Request["RowGuid"]); oRow["Status"] = "90"; oRow["TG_Date"] = DateTime.Now.ToString(); oRow.Update(); //AlertAjaxMessage("操作成功"); string Opinion = "审核通过"; if (SHOpinion.Text.Trim() != "") { Opinion += ",审核意见为:" + Epoint.MisBizLogic2.DB.SQL_Encode(SHOpinion.Text.Trim()); } RG_DW.InsertSHOpinion(Request["RowGuid"], this.DisplayName, Opinion, ""); //AlertAjaxMessage("操作成功"); tabOP.Visible = false; //删除待办事宜 new HTProject_Bizlogic.DB_Messages_Center().WaitHandle_Delete("审核企业", Request["RowGuid"]); AlertAjaxMessage("操作成功"); //添加短信 string IsSendSMS = ApplicationOperate.GetConfigValueByName("IsSendOUSMS"); if (IsSendSMS == "1") { Detail_RG_User D_R_User = DB_R_User.GetDetail(TJRGuid_2017.Text); if (D_R_User.Mobile != "") { HTSMS.SendSMS(this.DisplayName, D_R_User.DispName, "您提交的企业信息已审核通过,请及时关注,谢谢", D_R_User.Mobile); } } this.WriteAjaxMessage("refreshParent();"); this.WriteAjaxMessage("window.close();"); }