Exemple #1
0
 public override void Initialize(bool isPostBack)
 {
     if (!isPostBack)
     {
         _View.AttendanceTypes = GetAttendanceTypes();
         _View.GradesSource    = GradesType.GetAll();
         _View.SelectedType    = string.Empty;
         SearchEvent();
     }
 }
Exemple #2
0
        private void GetData()
        {
            List <Department> deptList = _IDepartmentBll.GetAllDepartment();

            _View.DepartmentSource =
                Tools.RemoteUnAuthDeparetment(deptList, AuthType.HRMIS, _Operator, HrmisPowers.A401);
            _View.PositionSource     = _IPositionBll.GetAllPosition();
            _View.GradesSource       = GradesType.GetAll();
            _View.EmployeeTypeSource = EmployeeTypeUtility.GetAllEmployeeTypeEnum();
            _View.EmployeeType       = EmployeeTypeEnum.All;
        }
Exemple #3
0
        public override void Initialize(bool isPostBack)
        {
            if (isPostBack)
            {
                return;
            }

            _ItsView.DepartmentSource = BllInstance.DepartmentBllInstance.GetAllDepartment();
            _ItsView.PositionSource   = BllInstance.PositionBllInstance.GetAllPosition();
            _ItsView.GradesTypeSource = GradesType.GetAll();
            ExecutEvent();
        }
Exemple #4
0
        public void GetBaseData()
        {
            List <Department> departmentList = BllInstance.DepartmentBllInstance.GetAllDepartment();

            _ItsView.DepartmentList =
                Tools.RemoteUnAuthDeparetment(departmentList, AuthType.HRMIS, _LoginUser, HrmisPowers.A509);
            _ItsView.GradesSource = GradesType.GetAll();
            _ItsView.ApplicationTypeEnumSourse = GetApplicationTypeEnum();
            _ItsView.RequestStatusSourse       = RequestStatus.AllRequestStatuss;
            _ItsView.SearchFrom = DateTime.Now.ToShortDateString();
            _ItsView.SearchTo   = DateTime.Now.ToShortDateString();
        }
Exemple #5
0
        public override void Initialize(bool isPostBack)
        {
            new EmployeeViewIniter(_ItsView).SetMessageEmpty();
            if (isPostBack)
            {
                return;
            }

            _ItsView.Operation        = "ÐÞ¸ÄÓû§";
            _ItsView.DepartmentSource = BllInstance.DepartmentBllInstance.GetAllDepartment();
            _ItsView.GradesTypeSource = GradesType.GetAll();
            new EmployeeDataBind(_ItsView).DataBind();
        }
        public override void Initialize(bool isPostBack)
        {
            new EmployeeViewIniter(_ItsView).SetMessageEmpty();

            if (isPostBack)
            {
                return;
            }

            _ItsView.Operation        = "新增用户";
            _ItsView.IfValidate       = Convert.ToInt32(true);
            _ItsView.DepartmentSource = BllInstance.DepartmentBllInstance.GetAllDepartment();
            _ItsView.GradesTypeSource = GradesType.GetAll();
        }
Exemple #7
0
        public void GetBaseData()
        {
            List <Department> departmentList = BllInstance.DepartmentBllInstance.GetAllDepartment();

            _ItsView.DepartmentList           = Tools.RemoteUnAuthDeparetment(departmentList, AuthType.HRMIS, _LoginUser, HrmisPowers.A503);
            _ItsView.GradesSource             = GradesType.GetAll();
            _ItsView.OutInTimeConditionSourse = GetOutInTimeCondition();
            _ItsView.HourFromList             = Hours();
            _ItsView.HourToList      = Hours();
            _ItsView.MinutesFromList = Minutes();
            _ItsView.MinutesToList   = Minutes();
            _ItsView.SearchFrom      = DateTime.Now.ToShortDateString() + " 0:00:00";
            _ItsView.SearchTo        = DateTime.Now.ToShortDateString() + " 23:59:59";
            _ItsView.DepartmentID    = _LoginUser.Dept.DepartmentID.ToString();
        }
 public void InitPresenter(bool isPostBack)
 {
     if (!isPostBack)
     {
         //DateTime dttempDate = new DateTime(DateTime.Now.Date.Year, DateTime.Now.Date.Month, 1);
         //_IMonthAttendanceView.FromDate = dttempDate.ToShortDateString();//月头
         //_IMonthAttendanceView.ToDate = dttempDate.AddMonths(1).AddDays(-1).ToShortDateString();//月末
         _IMonthAttendanceView.FromDate = new HrmisUtility().CurrenMonthStartTime().ToShortDateString(); //月头
         _IMonthAttendanceView.ToDate   = new HrmisUtility().CurrenMonthEndTime().ToShortDateString();   //月末
         BindDepartment();
         _IMonthAttendanceView.IsHours            = true;
         _IMonthAttendanceView.GradesSource       = GradesType.GetAll();
         _IMonthAttendanceView.SelectedDepartment = _Operator.Dept.Id;
         BindMonthAttendanceList(null, null);
     }
 }
        private void Init()
        {
            List <ControlError> errors          = new List <ControlError>();
            ParametersModel     parametersModel = new ParametersModel();

            try
            {
                #region positon

                List <Position> positions = _IPositionBll.GetAllPosition();
                parametersModel.PossitionList = new List <ParameterModel>();
                parametersModel.PossitionList.Add(new ParameterModel()
                {
                    PKID = "-1", Name = ""
                });
                parametersModel.PossitionList.AddRange(positions.Select(x => new ParameterModel
                {
                    PKID = x.Id.ToString(),
                    Name = x.Name
                }).ToList());

                #endregion

                #region department

                List <Department> deptList =
                    Tools.RemoteUnAuthDeparetment(_IDepartmentBll.GetAllDepartment(), AuthType.HRMIS, _Operator,
                                                  HrmisPowers.A401);
                if (!Tools.IsDeptListContainsDept(deptList, _Operator.Dept))
                {
                    deptList.Add(_Operator.Dept);
                }
                List <Department> departmentList = _IDepartmentBll.GenerateDeptListWithLittleParentDept(deptList);
                parametersModel.DepartmentList = new List <ParameterModel>();
                if (Powers.HasAuth(_Operator.Auths, AuthType.HRMIS, HrmisPowers.A401))
                {
                    parametersModel.DepartmentList.Add(new ParameterModel()
                    {
                        PKID = "-1", Name = ""
                    });
                }
                parametersModel.DepartmentList.AddRange(departmentList.Select(x => new ParameterModel
                {
                    PKID = x.Id.ToString(),
                    Name = x.Name
                }).ToList());

                #endregion

                #region type
                Dictionary <string, string> employeeTypeSource = EmployeeTypeUtility.GetAllEmployeeTypeEnum();
                parametersModel.EmployeeTypeList = new List <ParameterModel>();
                parametersModel.EmployeeTypeList.Add(new ParameterModel()
                {
                    PKID = "-1", Name = ""
                });
                parametersModel.EmployeeTypeList.AddRange(employeeTypeSource.Select(x => new ParameterModel
                {
                    PKID = x.Key,
                    Name = x.Value
                }).ToList());

                #endregion

                #region GradesType
                List <GradesType> gradesTypes = GradesType.GetAll();
                parametersModel.GradesTypeList = new List <ParameterModel>();
                parametersModel.GradesTypeList.Add(new ParameterModel()
                {
                    PKID = "-1", Name = ""
                });
                parametersModel.GradesTypeList.AddRange(gradesTypes.Select(x => new ParameterModel
                {
                    PKID = x.ID.ToString(),
                    Name = x.Name
                }).ToList());

                #endregion
            }
            catch (Exception ex)
            {
                errors.Add(new ControlError("lblMessage", ex.Message));
            }
            _ResponseString = PageUtility.FomartItemString(parametersModel, errors);
        }
Exemple #10
0
        /// <summary>
        /// 绑定
        /// </summary>
        /// <returns></returns>
        public string ToBind()
        {
            string result = String.Empty;

            if (EmployeeFieldPara.Skill.Id.ToString() == _FieldParaBaseId)
            {
                List <Skill> all = new GetSkill().GetSkillByCondition("", -1);
                foreach (Skill item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.SkillName : "\n" + item.SkillName;
                }
            }
            if (EmployeeFieldPara.PositionGrade.Id.ToString() == _FieldParaBaseId)
            {
                List <PositionGrade> all = BllInstance.PositionBllInstance.GetAllPositionGrade();
                foreach (PositionGrade item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.EmployeeType.Id.ToString() == _FieldParaBaseId)
            {
                Dictionary <string, string> AllEmployeeType = EmployeeTypeUtility.GetAllEmployeeTypeEnum();
                foreach (KeyValuePair <string, string> item in AllEmployeeType)
                {
                    result += string.IsNullOrEmpty(result) ? item.Value : "\n" + item.Value;
                }
            }
            if (EmployeeFieldPara.Position.Id.ToString() == _FieldParaBaseId)
            {
                IPositionBll    _IPositionBll = BllInstance.PositionBllInstance;
                List <Position> all           = _IPositionBll.GetAllPosition();
                foreach (Position item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.Grades.Id.ToString() == _FieldParaBaseId)
            {
                var all = GradesType.GetAll();
                foreach (var item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.Department.Id.ToString() == _FieldParaBaseId)
            {
                IDepartmentBll    _IDepartmentBll = BllInstance.DepartmentBllInstance;
                List <Department> all             = _IDepartmentBll.GetAllDepartment();
                all = Tools.RemoteUnAuthDeparetment(all, AuthType.HRMIS, _OperatorAccount, HrmisPowers.A401);
                foreach (Department item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.Company.Id.ToString() == _FieldParaBaseId)
            {
                GetCompanyInvolve _GetCompanyInvolve = new GetCompanyInvolve();
                List <Department> all = _GetCompanyInvolve.GetAllCompanyHaveEmployee();
                foreach (Department item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.Gender.Id.ToString() == _FieldParaBaseId)
            {
                List <Gender> all = Gender.AllGenders;
                foreach (Gender item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.DimissionReasonType.Id.ToString() == _FieldParaBaseId)
            {
                List <DimissionReasonType> all = DimissionReasonType.GetAll();
                foreach (DimissionReasonType item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.DiyProcessApplicationTypeOut.Id.ToString() == _FieldParaBaseId)
            {
                GetDiyProcess     _GetDiyProcess = new GetDiyProcess();
                List <DiyProcess> all            =
                    _GetDiyProcess.GetDiyProcessByProcessType(ProcessType.ApplicationTypeOut.Id);
                foreach (DiyProcess item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.DiyProcessApplicationTypeOverTime.Id.ToString() == _FieldParaBaseId)
            {
                GetDiyProcess     _GetDiyProcess = new GetDiyProcess();
                List <DiyProcess> all            =
                    _GetDiyProcess.GetDiyProcessByProcessType(ProcessType.ApplicationTypeOverTime.Id);
                foreach (DiyProcess item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.DiyProcessAssess.Id.ToString() == _FieldParaBaseId)
            {
                GetDiyProcess     _GetDiyProcess = new GetDiyProcess();
                List <DiyProcess> all            =
                    _GetDiyProcess.GetDiyProcessByProcessType(ProcessType.Assess.Id);
                foreach (DiyProcess item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.DiyProcessHRPrincipal.Id.ToString() == _FieldParaBaseId)
            {
                GetDiyProcess     _GetDiyProcess = new GetDiyProcess();
                List <DiyProcess> all            =
                    _GetDiyProcess.GetDiyProcessByProcessType(ProcessType.HRPrincipal.Id);
                foreach (DiyProcess item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.DiyProcessLeaveRequest.Id.ToString() == _FieldParaBaseId)
            {
                GetDiyProcess     _GetDiyProcess = new GetDiyProcess();
                List <DiyProcess> all            =
                    _GetDiyProcess.GetDiyProcessByProcessType(ProcessType.LeaveRequest.Id);
                foreach (DiyProcess item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.DiyProcessTraineeApplication.Id.ToString() == _FieldParaBaseId)
            {
                GetDiyProcess     _GetDiyProcess = new GetDiyProcess();
                List <DiyProcess> all            =
                    _GetDiyProcess.GetDiyProcessByProcessType(ProcessType.TraineeApplication.Id);
                foreach (DiyProcess item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.EducationalBackground.Id.ToString() == _FieldParaBaseId)
            {
                List <EducationalBackground> all = EducationalBackground.AllEducationalBackgrounds;
                foreach (EducationalBackground item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.MaritalStatus.Id.ToString() == _FieldParaBaseId)
            {
                List <MaritalStatus> all = MaritalStatus.GetAllMaritalStatus();
                foreach (MaritalStatus item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.PoliticalAffiliation.Id.ToString() == _FieldParaBaseId)
            {
                List <PoliticalAffiliation> all = PoliticalAffiliation.AllPoliticalAffiliations;
                foreach (PoliticalAffiliation item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.WorkType.Id.ToString() == _FieldParaBaseId)
            {
                List <WorkType> all = WorkType.GetAll();
                foreach (WorkType item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            if (EmployeeFieldPara.CountryNationality.Id.ToString() == _FieldParaBaseId)
            {
                GetNationality     _GetNationality = new GetNationality();
                List <Nationality> all             = _GetNationality.GetNationalityByCondition(-1, "");
                foreach (Nationality item in all)
                {
                    result += string.IsNullOrEmpty(result) ? item.Name : "\n" + item.Name;
                }
            }
            return(result);
        }
Exemple #11
0
        /// <summary>
        /// 员工导出
        /// </summary>
        /// <returns></returns>
        public string StatEmployeeInfo()
        {
            string iDCardNo                  = string.Empty;
            string dueDate                   = string.Empty;
            string rDueDate                  = string.Empty;
            string rOrgnaization             = string.Empty;
            string dimissionReason           = string.Empty;
            string dimissionDate             = string.Empty;
            string RPRAddress                = string.Empty;
            string PRPPostCode               = string.Empty;
            string PRPStreet                 = string.Empty;
            string PRPArea                   = string.Empty;
            string educationalBackgroundName = string.Empty;
            string educationSchool           = string.Empty;
            string educationMajor            = string.Empty;
            string foreignLanguageAbility    = string.Empty;
            string certificates              = string.Empty;
            string childName                 = string.Empty;
            string childBirthday             = string.Empty;
            string strDate                   = string.Empty;
            string endDate                   = string.Empty;
            string newstrDate                = string.Empty;
            string workPlace                 = string.Empty;
            string countryNationalityName    = string.Empty;
            //将非空字段也加判断,以免代码修改
            string name                     = string.Empty;
            string gradeType                = string.Empty;
            string iD                       = string.Empty;
            string genderName               = string.Empty;
            string mobileNum                = string.Empty;
            string companyName              = string.Empty;
            string departmentName           = string.Empty;
            string positionName             = string.Empty;
            string positionGrad             = string.Empty;
            string principalship            = string.Empty;
            string politicalAffiliationName = string.Empty;
            string maritalStatusName        = string.Empty;
            string familyAddress            = string.Empty;
            string familyPhone              = string.Empty;
            string postCode                 = string.Empty;
            string departmentLeaderName     = string.Empty;
            string workTypeName             = string.Empty;
            string comeDate                 = string.Empty;
            //string contractPosition = string.Empty;
            string workTitle  = string.Empty;
            string email1     = string.Empty;
            string email2     = string.Empty;
            var    gradesType = GradesType.GetAll();

            if (_EmployeeDetails.IDCard != null)
            {
                iDCardNo = _EmployeeDetails.IDCard.IDCardNo;
                dueDate  = _EmployeeDetails.IDCard.DueDate.ToShortDateString();
            }

            if (_EmployeeDetails.ResidencePermits != null)
            {
                rDueDate      = _EmployeeDetails.ResidencePermits.DueDate.ToShortDateString();
                rOrgnaization = _EmployeeDetails.ResidencePermits.Orgnaization;
            }

            if (_EmployeeDetails.RegisteredPermanentResidence != null)
            {
                PRPStreet   = _EmployeeDetails.RegisteredPermanentResidence.PRPStreet;
                PRPPostCode = _EmployeeDetails.RegisteredPermanentResidence.PRPPostCode;
                RPRAddress  = _EmployeeDetails.RegisteredPermanentResidence.RPRAddress;
                PRPArea     = _EmployeeDetails.RegisteredPermanentResidence.PRPArea;
            }

            if (_EmployeeDetails.Work != null && _EmployeeDetails.Work.DimissionInfo != null)
            {
                dimissionReason = _EmployeeDetails.Work.DimissionInfo.DimissionReason;
                dimissionDate   = _EmployeeDetails.Work.DimissionInfo.DimissionDate.ToShortDateString();
            }

            if (_EmployeeDetails.Education != null)
            {
                educationSchool        = _EmployeeDetails.Education.School;
                educationMajor         = _EmployeeDetails.Education.Major;
                foreignLanguageAbility = _EmployeeDetails.Education.ForeignLanguageAbility;
                if (_EmployeeDetails.Education.EducationalBackground != null)
                {
                    educationalBackgroundName = _EmployeeDetails.Education.EducationalBackground.Name;
                }
            }

            if (_EmployeeDetails.Family != null)
            {
                childName     = _EmployeeDetails.Family.ChildName;
                childBirthday = _EmployeeDetails.Family.ChildBirthday == null
                                    ? string.Empty
                                    : Convert.ToDateTime(EmployeeDetails.Family.ChildBirthday).ToShortDateString();
            }
            if (_EmployeeContracts.Count != 0)
            {
                DateTime strDateTemp    = new DateTime();
                DateTime endDateTemp    = new DateTime();
                DateTime newstrDateTemp = new DateTime();
                int      icount         = _EmployeeContracts.Count;
                if (icount > 0)
                {
                    strDateTemp = _EmployeeContracts[0].StartDate;
                    endDateTemp = _EmployeeContracts[0].EndDate;
                    //newstrDate = strDate;

                    foreach (Contract con in _EmployeeContracts)
                    {
                        if (con != null && DateTime.Compare(strDateTemp, con.StartDate) > 0)
                        {
                            strDateTemp = con.StartDate;
                        }
                        if (con != null && DateTime.Compare(endDateTemp, con.EndDate) < 0)
                        {
                            endDateTemp = con.EndDate;
                        }
                        if (con != null && DateTime.Compare(newstrDateTemp, con.StartDate) < 0)
                        {
                            newstrDateTemp = con.StartDate;
                        }
                    }
                }
                strDate    = strDateTemp.ToShortDateString();
                endDate    = endDateTemp.ToShortDateString();
                newstrDate = newstrDateTemp.ToShortDateString();
            }

            if (_Account != null)
            {
                name      = _Account.Name;
                iD        = _Account.Id.ToString();
                mobileNum = _Account.MobileNum;
                email1    = _Account.Email1;
                email2    = _Account.Email2;
                if (_Account.Dept != null)
                {
                    departmentName = _Account.Dept.DepartmentName;
                    if (_Account.Dept.DepartmentLeader != null)
                    {
                        departmentLeaderName = _Account.Dept.DepartmentLeader.Name;
                    }
                }
                if (_Account.Position != null)
                {
                    positionName = _Account.Position.Name;
                    if (_Account.Position.Grade != null)
                    {
                        positionGrad = _Account.Position.Grade.Name;
                    }
                }
                foreach (var type in gradesType)
                {
                    if (type.ID == _Account.GradesID)
                    {
                        gradeType = type.Name;
                        break;
                    }
                }
            }
            if (_EmployeeDetails.Gender != null)
            {
                genderName = _EmployeeDetails.Gender.Name;
            }
            if (_EmployeeDetails.Work != null)
            {
                if (_EmployeeDetails.Work.Company != null)
                {
                    companyName = _EmployeeDetails.Work.Company.Name;
                }
                if (_EmployeeDetails.Work.WorkType != null)
                {
                    workTypeName = _EmployeeDetails.Work.WorkType.Name;
                }
                comeDate = _EmployeeDetails.Work.ComeDate.ToShortDateString();
                if (_EmployeeDetails.Work.Principalship != null)
                {
                    principalship = _EmployeeDetails.Work.Principalship.Name;
                }

                //contractPosition = _EmployeeDetails.Work.ContractPosition;
                workTitle = _EmployeeDetails.Work.Title;
                workPlace = _EmployeeDetails.Work.WorkPlace;
            }
            if (_EmployeeDetails.PoliticalAffiliation != null)
            {
                politicalAffiliationName = _EmployeeDetails.PoliticalAffiliation.Name;
            }
            if (_EmployeeDetails.MaritalStatus != null)
            {
                maritalStatusName = _EmployeeDetails.MaritalStatus.Name;
            }
            if (_EmployeeDetails.Family != null)
            {
                familyAddress = _EmployeeDetails.Family.FamilyAddress;
                familyPhone   = _EmployeeDetails.Family.FamilyPhone;
                postCode      = _EmployeeDetails.Family.PostCode;
            }
            if (_EmployeeDetails.CountryNationality != null)
            {
                countryNationalityName = _EmployeeDetails.CountryNationality.Name;
            }
            StringBuilder theEmployeeInfo = new StringBuilder();

            theEmployeeInfo.Append(name).Append("\t")
            .Append(iD).Append("\t")
            .Append(_EmployeeDetails.EnglishName).Append("\t")
            .Append(genderName).Append("\t")
            .Append("'" + mobileNum.Replace("\n", @"\n")).Append("\t")
            .Append(companyName).Append("\t")
            .Append(departmentName).Append("\t")
            .Append(positionName).Append("\t")
            .Append(principalship).Append("\t")
            .Append(positionGrad).Append("\t")
            .Append(gradeType).Append("\t")
            .Append("'" + iDCardNo).Append("\t")
            .Append(dueDate).Append("\t")
            .Append(_EmployeeDetails.Birthday.ToShortDateString()).Append("\t")
            .Append(_EmployeeDetails.Nationality).Append("\t")
            .Append(politicalAffiliationName).Append("\t")
            .Append(educationalBackgroundName).Append("\t")
            .Append(educationSchool).Append("\t")
            .Append(educationMajor).Append("\t")
            .Append(maritalStatusName).Append("\t")
            .Append(RPRAddress).Append("\t")
            .Append(PRPPostCode).Append("\t")
            .Append(PRPStreet).Append("\t")
            .Append(PRPArea).Append("\t")
            .Append(familyAddress).Append("\t")
            .Append(familyPhone).Append("\t")
            .Append(postCode).Append("\t")
            .Append(departmentLeaderName).Append("\t")
            .Append(workTypeName).Append("\t")
            .Append(rDueDate).Append("\t")
            .Append(rOrgnaization).Append("\t")
            .Append(comeDate).Append("\t")
            .Append(_EmployeeDetails.ProbationStartTime.ToShortDateString()).Append("\t")
            .Append(_EmployeeDetails.ProbationTime.ToShortDateString()).Append("\t")
            .Append(strDate).Append("\t")
            .Append(newstrDate).Append("\t")
            .Append(endDate).Append("\t")
            //.Append(contractPosition).Append("\t")
            .Append(dimissionReason).Append("\t")
            .Append(dimissionDate).Append("\t")
            .Append("").Append("\t")
            .Append(childName).Append("\t")
            .Append(childBirthday).Append("\t")
            .Append(_EmployeeDetails.Height).Append("\t")
            .Append(_EmployeeDetails.Weight).Append("\t")
            .Append(_EmployeeDetails.NativePlace).Append("\t")
            .Append(_EmployeeDetails.PhysicalConditions).Append("\t")
            .Append(_EmployeeDetails.RecordPlace).Append("\t")
            .Append(foreignLanguageAbility).Append("\t")
            .Append(_EmployeeDetails.EmergencyContacts).Append("\t")
            .Append(workTitle).Append("\t")
            .Append(certificates).Append("\t")
            .Append(email1).Append("\t")
            .Append(email2).Append("\t")
            .Append(workPlace).Append("\t")
            .Append(countryNationalityName).Append("\t");
            return(theEmployeeInfo.ToString());
        }