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()); }
/// <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()); }
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()); }
//公共属性设置 public ActionResult public_char() { List <config_public_char> list = cc.FindAll(); return(View(list)); }