//机房进出查询查看
        public ActionResult JiFangJinChuSelectLook(int id)
        {
            DengJiRen();
            V_ComputerRoomVisit dt = lcr.SelectWhere(e => e.CID == id).FirstOrDefault();

            return(View(dt));
        }
        //机房进出申请的视图
        public ActionResult ChaXun(int id)
        {
            DengJiRen();
            V_ComputerRoomVisit cor = lcr.SelectWhere(e => e.CID == id).FirstOrDefault();

            return(View(cor));
        }
        // GET: JiFang/Edit/5
        public ActionResult Edit(int id)
        {
            DengJiRen();
            V_ComputerRoomVisit dtc = lcr.SelectWhere(e => e.CID == id).FirstOrDefault();

            return(View(dtc));
        }
        //查询系统机房进出驳回视图
        public ActionResult SelelctAllBoHui(int id)
        {
            V_ComputerRoomVisit cop = lcr.SelectWhere(e => e.CID == id).FirstOrDefault();

            ChaXunPeiTong(id);
            return(View(cop));
        }
        //查询陪同人员的方法
        public void ChaXunPeiTong(int id)
        {
            V_ComputerRoomVisit c = lcr.SelectWhere(e => e.CID == id).FirstOrDefault();

            ViewData["LaiFang"] = c.CEntourage;
        }