码迷,mamicode.com
首页 > 其他好文 > 详细

CreateOASystemView

时间:2018-11-22 18:16:04      阅读:191      评论:0      收藏:0      [点我收藏+]

标签: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 }
VacationMvcController

 

CreateOASystemView

标签:lap   技术   Staff   ons   control   space   generic   img   pac   

原文地址:https://www.cnblogs.com/xcleowong/p/10002505.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!