Example #1
0
        public ActionResult GetFH(int id)
        {
            engage_resume er = ierb.SelectWhere(e => e.res_id == id).FirstOrDefault();

            ViewBag.user = iub.Select();
            return(View(er));
        }
Example #2
0
        public ActionResult Edit(int id)
        {
            engage_major_release erm = imrb.SelectWhere(e => e.mre_id == id).FirstOrDefault();

            ViewBag.user = iub.Select();

            return(View(erm));
        }
Example #3
0
        public ActionResult FuHe(int id)
        {
            human_file hf = ihdb.SelectWhere(e => e.huf_id == id).FirstOrDefault();

            ViewBag.guoji    = ipcb.SelectWhere(e => e.attribute_kind == "国籍");
            ViewBag.minzu    = ipcb.SelectWhere(e => e.attribute_kind == "民族");
            ViewBag.xinyan   = ipcb.SelectWhere(e => e.attribute_kind == "宗教信仰");
            ViewBag.mianmao  = ipcb.SelectWhere(e => e.attribute_kind == "政治面貌");
            ViewBag.xueli    = ipcb.SelectWhere(e => e.attribute_kind == "学历");
            ViewBag.nianxian = ipcb.SelectWhere(e => e.attribute_kind == "教育年限");
            ViewBag.zhuanye  = ipcb.SelectWhere(e => e.attribute_kind == "专业");
            ViewBag.techang  = ipcb.SelectWhere(e => e.attribute_kind == "特长");
            ViewBag.aihao    = ipcb.SelectWhere(e => e.attribute_kind == "爱好");
            ViewBag.chenzhi  = ipcb.SelectWhere(e => e.attribute_kind == "职称");
            ViewBag.xinchou  = issdb.Select();
            ViewBag.user     = iub.Select();
            return(View(hf));
        }
Example #4
0
        public ActionResult saixuaninter(int id, int iid)
        {
            engage_resume er = ierb.SelectWhere(e => e.res_id == iid).FirstOrDefault();


            ViewBag.er2 = er;

            engage_interview ei = ieib.SelectWhere(e => e.ein_id == id).FirstOrDefault();

            ViewBag.ei2 = ei;
            ViewBag.us  = iub.Select();
            return(View());
        }
Example #5
0
        public ActionResult Update(int id)
        {
            engage_major_releaseModel sd = new engage_major_releaseModel()
            {
                Id = short.Parse(id.ToString())
            };
            List <engage_major_releaseModel> list = re.SelectBy(sd);
            engage_major_releaseModel        st   = new engage_major_releaseModel()
            {
                Id               = list[0].Id,
                first_kind_id    = list[0].first_kind_id,
                first_kind_name  = list[0].first_kind_name,
                second_kind_id   = list[0].second_kind_id,
                second_kind_name = list[0].second_kind_name,
                third_kind_id    = list[0].third_kind_id,
                third_kind_name  = list[0].third_kind_name,
                major_kind_id    = list[0].major_kind_id,
                major_kind_name  = list[0].major_kind_name,
                major_id         = list[0].major_id,
                major_name       = list[0].major_name,
                human_amount     = list[0].human_amount,
                engage_type      = list[0].engage_type,
                deadline         = list[0].deadline,
                changer          = list[0].changer,
                change_time      = list[0].change_time,
                major_describe   = list[0].major_describe,
                engage_required  = list[0].engage_required,
                register         = list[0].register,
                regist_time      = list[0].regist_time,
            };

            List <usersModel>     list2  = us.Select();
            List <SelectListItem> listyj = new List <SelectListItem>();

            for (int i = 0; i < list2.Count; i++)
            {
                SelectListItem sl = new SelectListItem()
                {
                    Text  = list2[i].u_name.ToString(),
                    Value = list2[i].u_name.ToString()
                };
                listyj.Add(sl);
            }
            ViewData["lj"] = listyj;
            return(View(st));
        }
        // GET: engage_major_release/Edit/5
        public ActionResult Edit(int id)
        {
            engage_major_releaseModel emrm = new engage_major_releaseModel
            {
                Id = id
            };
            engage_major_releaseModel cm   = re.SelectBy(emrm);
            List <usersModel>         list = iub.Select();
            List <SelectListItem>     user = new List <SelectListItem>();

            for (int i = 0; i < list.Count; i++)
            {
                SelectListItem sl = new SelectListItem()
                {
                    Text  = list[i].u_name.ToString(),
                    Value = list[i].u_name.ToString()
                };
                user.Add(sl);
            }
            ViewData["user"] = user;
            return(View(cm));
        }
Example #7
0
        public ActionResult Fill()
        {
            List <usersModel> list = ius.Select();

            return(Content(JsonConvert.SerializeObject(list)));
        }
        public ActionResult Update(int id)
        {
            human_fileModel hm = new human_fileModel()
            {
                Id = id
            };
            List <human_fileModel> list = hfb.SelectById(hm);
            human_fileModel        st   = new human_fileModel()
            {
                Id                        = list[0].Id,
                human_id                  = list[0].human_id,
                first_kind_id             = list[0].first_kind_id,
                first_kind_name           = list[0].first_kind_name,
                second_kind_id            = list[0].second_kind_id,
                second_kind_name          = list[0].second_kind_name,
                third_kind_id             = list[0].third_kind_id,
                third_kind_name           = list[0].third_kind_name,
                human_name                = list[0].human_name,
                human_address             = list[0].human_address,
                human_postcode            = list[0].human_postcode,
                human_pro_designation     = list[0].human_pro_designation,
                human_major_kind_id       = list[0].human_major_kind_id,
                human_major_kind_name     = list[0].human_major_kind_name,
                human_major_id            = list[0].human_major_id,
                hunma_major_name          = list[0].hunma_major_name,
                human_telephone           = list[0].human_telephone,
                human_mobilephone         = list[0].human_mobilephone,
                human_bank                = list[0].human_bank,
                human_account             = list[0].human_account,
                human_qq                  = list[0].human_qq,
                human_email               = list[0].human_email,
                human_hobby               = list[0].human_hobby,
                human_speciality          = list[0].human_speciality,
                human_sex                 = list[0].human_sex,
                human_religion            = list[0].human_religion,
                human_party               = list[0].human_party,
                human_nationality         = list[0].human_nationality,
                human_race                = list[0].human_race,
                human_birthday            = list[0].human_birthday,
                human_birthplace          = list[0].human_birthplace,
                human_age                 = list[0].human_age,
                human_educated_degree     = list[0].human_educated_degree,
                human_educated_years      = list[0].human_educated_years,
                human_educated_major      = list[0].human_educated_major,
                human_society_security_id = list[0].human_society_security_id,
                human_id_card             = list[0].human_id_card,
                remark                    = list[0].remark,
                salary_standard_id        = list[0].salary_standard_id,
                salary_standard_name      = list[0].salary_standard_name,
                salary_sum                = list[0].salary_sum,
                major_change_amount       = list[0].major_change_amount,
                training_amount           = list[0].training_amount,
                file_chang_amount         = list[0].file_chang_amount,
                human_histroy_records     = list[0].human_histroy_records,
                regist_time               = list[0].regist_time,
                check_time                = list[0].check_time,
                change_time               = list[0].change_time,
                lastly_change_time        = list[0].lastly_change_time,
                delete_time               = list[0].delete_time,
                recovery_time             = list[0].recovery_time,
                register                  = list[0].register,
                checker                   = list[0].checker,
                changer                   = list[0].changer,
                human_family_membership   = list[0].human_family_membership
            };

            ViewData["url"] = list[0].human_picture;
            List <usersModel>     listum = iub.Select();
            List <SelectListItem> user   = new List <SelectListItem>();

            for (int i = 0; i < listum.Count; i++)
            {
                SelectListItem sli = new SelectListItem()
                {
                    Text  = listum[i].u_name.ToString(),
                    Value = listum[i].u_name.ToString()
                };
                user.Add(sli);
            }
            ViewData["user"] = user;
            ZC();
            Fillgj();
            Fillmz();
            Fillzjxy();
            Fillzzmm();
            Fillxl();
            Filljiaoyu();
            Fillxuelizy();
            XZBZ();
            Filltechang();
            Fillaih();
            return(View(st));
        }
Example #9
0
        public ActionResult Update(int id)
        {
            engage_resumeModel sd = new engage_resumeModel()
            {
                Id = short.Parse(id.ToString())
            };
            List <engage_resumeModel> list   = ss.SelectBy(sd);
            List <SelectListItem>     listyj = new List <SelectListItem>();
            SelectListItem            sl     = new SelectListItem()
            {
                Text  = list[0].human_major_kind_name.ToString(),
                Value = list[0].human_major_kind_id.ToString()
            };

            listyj.Add(sl);

            List <SelectListItem> listy = new List <SelectListItem>();
            SelectListItem        si    = new SelectListItem()
            {
                Text  = list[0].human_major_name.ToString(),
                Value = list[0].human_major_id.ToString()
            };

            listy.Add(si);

            List <SelectListItem> lista = new List <SelectListItem>();
            SelectListItem        sa    = new SelectListItem()
            {
                Text  = list[0].engage_type.ToString(),
                Value = list[0].engage_type.ToString()
            };

            lista.Add(sa);
            engage_resumeModel    ctm    = new engage_resumeModel();
            List <usersModel>     listum = iub.Select();
            List <SelectListItem> user   = new List <SelectListItem>();

            for (int i = 0; i < listum.Count; i++)
            {
                SelectListItem sli = new SelectListItem()
                {
                    Text  = listum[i].u_name.ToString(),
                    Value = listum[i].u_name.ToString()
                };
                user.Add(sli);
            }
            ViewData["user"] = user;
            ViewData["yj"]   = listyj;
            ViewData["jj"]   = listy;
            ViewData["ej"]   = lista;
            engage_resumeModel st = new engage_resumeModel()
            {
                Id                     = list[0].Id,
                human_name             = list[0].human_name,
                engage_type            = list[0].engage_type,
                human_address          = list[0].human_address,
                human_postcode         = list[0].human_postcode,
                human_major_kind_id    = list[0].human_major_kind_id,
                human_major_kind_name  = list[0].human_major_kind_name,
                human_major_id         = list[0].human_major_id,
                human_major_name       = list[0].human_major_name,
                human_telephone        = list[0].human_telephone,
                human_homephone        = list[0].human_homephone,
                human_mobilephone      = list[0].human_mobilephone,
                human_email            = list[0].human_email,
                human_hobby            = list[0].human_hobby,
                human_specility        = list[0].human_specility,
                human_sex              = list[0].human_sex,
                human_religion         = list[0].human_religion,
                human_party            = list[0].human_party,
                human_nationality      = list[0].human_nationality,
                human_race             = list[0].human_race,
                human_birthday         = list[0].human_birthday,
                human_age              = list[0].human_age,
                human_educated_degree  = list[0].human_educated_degree,
                human_educated_years   = list[0].human_educated_years,
                human_educated_major   = list[0].human_educated_major,
                human_college          = list[0].human_college,
                human_idcard           = list[0].human_idcard,
                human_birthplace       = list[0].human_birthplace,
                demand_salary_standard = list[0].demand_salary_standard,
                human_history_records  = list[0].human_history_records,
                remark                 = list[0].remark,
                regist_time            = list[0].regist_time,
                check_time             = list[0].check_time,
                pass_check_time        = list[0].pass_check_time,
                pass_regist_time       = list[0].pass_regist_time,
                test_check_time        = list[0].test_check_time,
                recomandation          = list[0].recomandation,
                checker                = list[0].checker,
            };

            return(View(st));
        }
        // GET: engage_interview/Create
        public ActionResult Add(int id)
        {
            List <engage_resumeModel> list = ieb.ByID(id);
            engage_resumeModel        erm  = new engage_resumeModel
            {
                Id                      = list[0].Id,
                human_name              = list[0].human_name,
                engage_type             = list[0].engage_type,
                human_address           = list[0].human_address,
                human_postcode          = list[0].human_postcode,
                human_major_kind_id     = list[0].human_major_kind_id,
                human_major_kind_name   = list[0].human_major_kind_name,
                human_major_id          = list[0].human_major_id,
                human_major_name        = list[0].human_major_name,
                human_telephone         = list[0].human_telephone,
                human_homephone         = list[0].human_homephone,
                human_mobilephone       = list[0].human_mobilephone,
                human_email             = list[0].human_email,
                human_hobby             = list[0].human_hobby,
                human_specility         = list[0].human_specility,
                human_sex               = list[0].human_sex,
                human_religion          = list[0].human_religion,
                human_party             = list[0].human_party,
                human_nationality       = list[0].human_nationality,
                human_race              = list[0].human_race,
                human_birthday          = list[0].human_birthday,
                human_age               = list[0].human_age,
                human_educated_degree   = list[0].human_educated_degree,
                human_educated_years    = list[0].human_educated_years,
                human_educated_major    = list[0].human_educated_major,
                human_college           = list[0].human_college,
                human_idcard            = list[0].human_idcard,
                human_birthplace        = list[0].human_birthplace,
                demand_salary_standard  = list[0].demand_salary_standard,
                human_history_records   = list[0].human_history_records,
                remark                  = list[0].remark,
                regist_time             = list[0].regist_time,
                check_time              = list[0].check_time,
                pass_check_time         = list[0].pass_check_time,
                pass_regist_time        = list[0].pass_regist_time,
                test_check_time         = list[0].test_check_time,
                recomandation           = list[0].recomandation,
                checker                 = list[0].checker,
                interview_amount        = list[0].interview_amount,
                interview_status        = list[0].interview_status,
                image_degree            = list[0].image_degree,
                native_language_degree  = list[0].native_language_degree,
                foreign_language_degree = list[0].foreign_language_degree,
                response_speed_degree   = list[0].response_speed_degree,
                EQ_degree               = list[0].EQ_degree,
                IQ_degree               = list[0].IQ_degree,
                multi_quality_degree    = list[0].multi_quality_degree,
                pass_register           = list[0].pass_register,
                pass_checker            = list[0].pass_checker,
                pass_check_status       = list[0].pass_check_status
            };

            ViewData.Model = erm;
            List <usersModel>     listum = iub.Select();
            List <SelectListItem> user   = new List <SelectListItem>();

            for (int i = 0; i < listum.Count; i++)
            {
                SelectListItem sl = new SelectListItem()
                {
                    Text  = listum[i].u_name.ToString(),
                    Value = listum[i].u_name.ToString()
                };
                user.Add(sl);
            }
            ViewData["user"] = user;
            return(View());
        }