标签:lap 技术 Staff ons control space generic img pac
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Web.Mvc; 6 7 namespace VacationOA.UI.Controllers 8 { 9 public class VacationMvcController : Controller 10 { 11 // GET: VacationMvc 12 public ActionResult Index() 13 { 14 ViewBag.name = Session["name"]; 15 ViewBag.staffid = Session["id"]; 16 return View(); 17 } 18 public ActionResult Login() 19 { 20 return View(); 21 } 22 public void LoginTo() 23 { 24 Session["name"] = Request["name"]; 25 Session["department"] = Request["department"]; 26 Session["id"] = Request["id"]; 27 Session["positions"] = Request["positions"]; 28 } 29 public ActionResult CheckShow() 30 { 31 ViewBag.name = Session["name"]; 32 ViewBag.positions = Session["positions"]; 33 ViewBag.deprtment = Session["department"]; 34 return View(); 35 } 36 public ActionResult Addcheck() 37 { 38 ViewBag.name = Session["name"]; 39 ViewBag.checkPerson = Session["department"] + "-" + Session["positions"]; 40 ViewBag.positons= Session["positions"]; 41 return View(); 42 } 43 44 public ActionResult AddLeave() 45 { 46 ViewBag.name = Session["name"]; 47 ViewBag.name= Session["name"]; 48 ViewBag.department= Session["department"]; 49 ViewBag.id = Session["id"]; 50 return View(); 51 } 52 } 53 }
标签:lap 技术 Staff ons control space generic img pac
原文地址:https://www.cnblogs.com/xcleowong/p/10002505.html