Exemplo n.º 1
0
        public ActionResult register()
        {
            string stringId = Request.QueryString["id"];

            if (stringId != null && stringId != "")
            {
                ViewData.Model = EngageMajorReleaseBll.FindAEngageMajorReleaseByMreID(int.Parse(stringId));
            }

            IBLL.IConfigPublicCharBll        PublicCharBll = IocContainer.IocCreate.CreateBll <IBLL.IConfigPublicCharBll>("ConfigPublicCharBll");
            List <Entity.config_public_char> allChar       = PublicCharBll.FindAll();

            //国籍
            ViewBag.nationality    = allChar.Where(e => e.attribute_kind.Equals("国籍")).ToList();
            ViewBag.FamousRace     = allChar.Where(e => e.attribute_kind.Equals("民族")).ToList();
            ViewBag.Religion       = allChar.Where(e => e.attribute_kind.Equals("宗教信仰")).ToList();
            ViewBag.Party          = allChar.Where(e => e.attribute_kind.Equals("政治面貌")).ToList();
            ViewBag.EducatedYears  = allChar.Where(e => e.attribute_kind.Equals("教育年限")).ToList();
            ViewBag.EducatedMajor  = allChar.Where(e => e.attribute_kind.Equals("学历")).ToList();
            ViewBag.Specility      = allChar.Where(e => e.attribute_kind.Equals("特长")).ToList();
            ViewBag.Hobby          = allChar.Where(e => e.attribute_kind.Equals("爱好")).ToList();
            ViewBag.hEducatedMajor = allChar.Where(e => e.attribute_kind.Equals("学历专业")).ToList();



            return(View());
        }
Exemplo n.º 2
0
        /// <summary>
        /// 您正在做的业务是:人力资源--人力资源档案管理--人力资源档案登记
        /// </summary>
        /// <returns></returns>
        public ActionResult human_register()
        {
            string rid = Request.QueryString["rid"];

            if (rid != null && rid != "")
            {
                ViewData.Model = EngageResumeBll.FindAResume(rid);
            }

            IBLL.IConfigPublicCharBll        PublicCharBll = IocContainer.IocCreate.CreateBll <IBLL.IConfigPublicCharBll>("ConfigPublicCharBll");
            List <Entity.config_public_char> allChar       = PublicCharBll.FindAll();

            //国籍
            ViewBag.nationality    = allChar.Where(e => e.attribute_kind.Equals("国籍")).ToList();
            ViewBag.FamousRace     = allChar.Where(e => e.attribute_kind.Equals("民族")).ToList();
            ViewBag.Religion       = allChar.Where(e => e.attribute_kind.Equals("宗教信仰")).ToList();
            ViewBag.Party          = allChar.Where(e => e.attribute_kind.Equals("政治面貌")).ToList();
            ViewBag.EducatedYears  = allChar.Where(e => e.attribute_kind.Equals("教育年限")).ToList();
            ViewBag.EducatedMajor  = allChar.Where(e => e.attribute_kind.Equals("学历")).ToList();
            ViewBag.Specility      = allChar.Where(e => e.attribute_kind.Equals("特长")).ToList();
            ViewBag.Hobby          = allChar.Where(e => e.attribute_kind.Equals("爱好")).ToList();
            ViewBag.hEducatedMajor = allChar.Where(e => e.attribute_kind.Equals("学历专业")).ToList();
            ViewBag.ProDesignation = allChar.Where(e => e.attribute_kind.Equals("职称")).ToList();
            //薪酬标准
            ViewBag.salary_standard = SalaryStandardBll.FindAll();
            return(View());
        }
Exemplo n.º 3
0
        public ActionResult human_check(string hId)
        {
            ViewData.Model = HumanFileBll.FindHumanFileByHumanId(hId);
            IBLL.IConfigPublicCharBll        PublicCharBll = IocContainer.IocCreate.CreateBll <IBLL.IConfigPublicCharBll>("ConfigPublicCharBll");
            List <Entity.config_public_char> allChar       = PublicCharBll.FindAll();

            //国籍
            ViewBag.nationality    = allChar.Where(e => e.attribute_kind.Equals("国籍")).ToList();
            ViewBag.FamousRace     = allChar.Where(e => e.attribute_kind.Equals("民族")).ToList();
            ViewBag.Religion       = allChar.Where(e => e.attribute_kind.Equals("宗教信仰")).ToList();
            ViewBag.Party          = allChar.Where(e => e.attribute_kind.Equals("政治面貌")).ToList();
            ViewBag.EducatedYears  = allChar.Where(e => e.attribute_kind.Equals("教育年限")).ToList();
            ViewBag.EducatedMajor  = allChar.Where(e => e.attribute_kind.Equals("学历")).ToList();
            ViewBag.Specility      = allChar.Where(e => e.attribute_kind.Equals("特长")).ToList();
            ViewBag.Hobby          = allChar.Where(e => e.attribute_kind.Equals("爱好")).ToList();
            ViewBag.hEducatedMajor = allChar.Where(e => e.attribute_kind.Equals("学历专业")).ToList();
            ViewBag.ProDesignation = allChar.Where(e => e.attribute_kind.Equals("职称")).ToList();
            //薪酬标准
            ViewBag.salary_standard = SalaryStandardBll.FindAll();


            return(View());
        }