| | |
| | | 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.selSex.SelectedIndex = 0; |
| | | this.txtStaffUserName.Value = ""; |
| | | this.txtSM_Post.Value = ""; |
| | | this.IsBusinessManager.SelectedValue = "False"; |
| | | this.IsAccountManager.SelectedValue = "False"; |
| | | this.BF_IsDriver.SelectedValue = "False"; |
| | | this.BF_IsDeliverManage.SelectedValue = "False"; |
| | | //this.IsBusinessManager.SelectedValue = "False"; |
| | | //this.IsAccountManager.SelectedValue = "False"; |
| | | //this.BF_IsDriver.SelectedValue = "False"; |
| | | //this.BF_IsDeliverManage.SelectedValue = "False"; |
| | | //this.BF_IsBaoxiaozhuguan.SelectedValue = "False"; |
| | | //this.BF_Isbaoxiaojingli.SelectedValue = "False"; |
| | | |
| | | this.txtMobieNum.Value = ""; |
| | | this.txtSM_Money.Value = ""; |
| | |
| | | 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.txtQQ.Value = m_OA_StaffResume.R_G_QQ; |
| | | this.txtEmail.Value = m_OA_StaffResume.R_G_Email; |
| | | this.selSex.Value = m_OA_StaffResume.R_G_Sex; |
| | | this.IsBusinessManager.SelectedValue = "False"; |
| | | this.IsAccountManager.SelectedValue = "False"; |
| | | this.BF_IsDeliverManage.SelectedValue = "False"; |
| | | this.BF_IsDriver.SelectedValue = "False"; |
| | | //this.IsBusinessManager.SelectedValue = "False"; |
| | | //this.IsAccountManager.SelectedValue = "False"; |
| | | //this.BF_IsDeliverManage.SelectedValue = "False"; |
| | | //this.BF_IsBaoxiaozhuguan.SelectedValue = "False"; |
| | | //this.BF_Isbaoxiaojingli.SelectedValue = "False"; |
| | | //this.BF_IsDriver.SelectedValue = "False"; |
| | | this.txtSM_Birthday.Value = m_OA_StaffResume.R_G_DocumentsType; |
| | | this.txtSM_IDCardNum.Value = m_OA_StaffResume.R_G_DocumentsNumber; |
| | | this.aSM_IDCardPic.Visible = false; |
| | |
| | | this.selSex.Value = m_OA_Staff.Sex; |
| | | this.selStatus.Value = m_OA_Staff.Status; |
| | | this.selDepartmentId.Value = m_OA_Staff.DepartmentId.ToString2(); |
| | | this.IsBusinessManager.SelectedValue = m_OA_Staff.IsBusinessManager ? "True" : "False"; |
| | | this.IsAccountManager.SelectedValue = m_OA_Staff.IsAccountManager ? "True" : "False"; |
| | | this.BF_IsDeliverManage.SelectedValue = m_OA_Staff.BF_IsDeliverManage ? "True" : "False"; |
| | | this.BF_IsDriver.SelectedValue = m_OA_Staff.BF_IsDriver ? "True" : "False"; |
| | | //this.IsBusinessManager.SelectedValue = m_OA_Staff.IsBusinessManager ? "True" : "False"; |
| | | //this.IsAccountManager.SelectedValue = m_OA_Staff.IsAccountManager ? "True" : "False"; |
| | | //this.BF_IsDeliverManage.SelectedValue = m_OA_Staff.BF_IsDeliverManage ? "True" : "False"; |
| | | //this.BF_IsBaoxiaozhuguan.SelectedValue = m_OA_Staff.BF_IsBaoxiaozhuguan ? "True" : "False"; |
| | | //this.BF_Isbaoxiaojingli.SelectedValue = m_OA_Staff.BF_Isbaoxiaojingli ? "True" : "False"; |
| | | //this.BF_IsDriver.SelectedValue = m_OA_Staff.BF_IsDriver ? "True" : "False"; |
| | | this.selRole.Value = m_OA_StaffRoleRel.RoleId.ToString2(); |
| | | |
| | | this.txtName.Style.Add("display", "none"); |
| | |
| | | } |
| | | else |
| | | { |
| | | this.IsBusinessManager.SelectedValue = "False"; |
| | | this.IsAccountManager.SelectedValue = "False"; |
| | | this.BF_IsDriver.SelectedValue = "False"; |
| | | this.BF_IsDeliverManage.SelectedValue = "False"; |
| | | //this.IsBusinessManager.SelectedValue = "False"; |
| | | //this.IsAccountManager.SelectedValue = "False"; |
| | | //this.BF_IsDriver.SelectedValue = "False"; |
| | | //this.BF_IsDeliverManage.SelectedValue = "False"; |
| | | //this.BF_IsBaoxiaozhuguan.SelectedValue = "False"; |
| | | //this.BF_Isbaoxiaojingli.SelectedValue = "False"; |
| | | } |
| | | } |
| | | } |
| | |
| | | m_OA_Staff.SM_EndWorkTime = nowTime; |
| | | } |
| | | |
| | | m_OA_Staff.IsBusinessManager = this.IsBusinessManager.SelectedValue.ToBoolean2(); |
| | | m_OA_Staff.IsAccountManager = this.IsAccountManager.SelectedValue.ToBoolean2(); |
| | | m_OA_Staff.BF_IsDeliverManage = this.BF_IsDeliverManage.SelectedValue.ToBoolean2(); |
| | | m_OA_Staff.BF_IsDriver = this.BF_IsDriver.SelectedValue.ToBoolean2(); |
| | | //m_OA_Staff.IsBusinessManager = this.IsBusinessManager.SelectedValue.ToBoolean2(); |
| | | //m_OA_Staff.IsAccountManager = this.IsAccountManager.SelectedValue.ToBoolean2(); |
| | | //m_OA_Staff.BF_IsDeliverManage = this.BF_IsDeliverManage.SelectedValue.ToBoolean2(); |
| | | //m_OA_Staff.BF_IsBaoxiaozhuguan = this.BF_IsBaoxiaozhuguan.SelectedValue.ToBoolean2(); |
| | | //m_OA_Staff.BF_Isbaoxiaojingli = this.BF_Isbaoxiaojingli.SelectedValue.ToBoolean2(); |
| | | //m_OA_Staff.BF_IsDriver = this.BF_IsDriver.SelectedValue.ToBoolean2(); |
| | | |
| | | m_OA_Staff.DepartmentId = this.selDepartmentId.Value.ToInt32(); |
| | | |
| | | m_OA_Staff.SM_SpouseName = this.txtSM_SpouseName.Value.ToString2(); |