//获取结构员工人员
        public ActionResult GetPersonListJG()
        {
            var temp = User_Person_sltService.LoadEntities(x => x.UserInfo.BuMenID == 43).GroupBy(x => x.UserID).Select(x => x.FirstOrDefault());
            List <serchMsgLong> lsm = new List <serchMsgLong>();

            foreach (var a in temp)
            {
                serchMsgLong sm = new serchMsgLong();
                sm.ID   = a.ID;
                sm.Name = a.UserInfo.PerSonName;
                lsm.Add(sm);
            }
            return(Json(lsm, JsonRequestBehavior.AllowGet));
        }
        //获取零件名称列表
        public ActionResult GetImgName_ID()
        {
            var temp = Seb_NumberService.LoadEntities(x => x.Items == 1).DefaultIfEmpty().ToList();
            List <serchMsgLong> lsm = new List <serchMsgLong>();

            foreach (var a in temp)
            {
                serchMsgLong sm = new serchMsgLong();
                sm.ID   = a.ID;
                sm.Name = a.Ttext;
                lsm.Add(sm);
            }
            return(Json(lsm, JsonRequestBehavior.AllowGet));
        }