| | |
| | | this.selDepartmentId.DataValueField = "Keyid"; |
| | | this.selDepartmentId.DataBind(); |
| | | |
| | | this.selRole.DataSource = bll_OA_FirmRoleBLL.SelectList(CurrentUser.MemberId); |
| | | this.selRole.DataSource = bll_OA_FirmRoleBLL.SelectList(CurrentUser.MemberId).Where(x=>x.IsUsed == true); |
| | | this.selRole.DataTextField = "RoleName"; |
| | | this.selRole.DataValueField = "Keyid"; |
| | | this.DataBind(); |
| | |
| | | this.selDepartmentId.DataValueField = "Keyid"; |
| | | this.selDepartmentId.DataBind(); |
| | | |
| | | this.selRole.DataSource = bll_OA_FirmRoleBLL.SelectList(CurrentUser.MemberId); |
| | | this.selRole.DataSource = bll_OA_FirmRoleBLL.SelectList(CurrentUser.MemberId).Where(x => x.IsUsed == true); ; |
| | | this.selRole.DataTextField = "RoleName"; |
| | | this.selRole.DataValueField = "Keyid"; |
| | | this.DataBind(); |
| | |
| | | } |
| | | else |
| | | { |
| | | this.txtSM_Birthday.Visible = false; |
| | | this.spanSM_Birthday.InnerText = m_OA_Staff.SM_Birthday.Value.ToString("yyyy-MM-dd"); |
| | | this.txtSM_Birthday.Value = m_OA_Staff.SM_Birthday.Value.ToString("yyyy-MM-dd"); |
| | | //this.txtSM_Birthday.Visible = false; |
| | | // this.spanSM_Birthday.InnerText = m_OA_Staff.SM_Birthday.Value.ToString("yyyy-MM-dd"); |
| | | } |
| | | this.txtSM_IDCardNum.Value = m_OA_Staff.SM_IDCardNum.ToString2(); |
| | | if (!string.IsNullOrEmpty(m_OA_Staff.SM_IDCardPic) && System.IO.File.Exists(HttpContext.Current.Server.MapPath("~" + m_OA_Staff.SM_IDCardPic))) |
| | |
| | | } |
| | | if (!string.IsNullOrEmpty(m_OA_Staff.SM_CertificateType.Trim(','))) |
| | | { |
| | | OldFileds = m_OA_Staff.SM_CertificateType.ToString2().Split(','); |
| | | NowFileds = m_OA_Staff.SM_CertificatePic.ToString2().Split(','); |
| | | OldFileds = m_OA_Staff.SM_CertificateType.ToString2().Trim(',').Split(','); |
| | | NowFileds = m_OA_Staff.SM_CertificatePic.ToString2().Trim(',').Split(','); |
| | | } |
| | | OLDProvince = m_OA_Staff.SM_NowProvince.ToString2(); |
| | | OLDCity = m_OA_Staff.SM_NowCity.ToString2(); |