| | |
| | | actionEntity1.PageIco = "fa fa-plus"; |
| | | actionEntity1.ActionName = "新增"; |
| | | actionlist.Add(actionEntity1); |
| | | |
| | | ActionEntity actionEntity3 = new ActionEntity(); |
| | | actionEntity3.OpenType = 0; |
| | | actionEntity3.ActionUrl = ""; |
| | | actionEntity3.ActionFun = "Print"; |
| | | actionEntity3.PageIco = "fa fa-print"; |
| | | actionEntity3.ActionName = "打印"; |
| | | actionlist.Add(actionEntity3); |
| | | |
| | | ViewData["ActionInfo"] = actionlist; |
| | | |
| | | |
| | |
| | | return View(); |
| | | |
| | | } |
| | | |
| | | public IActionResult GetList(AdmPieceCheckDTOSearch search) |
| | | { |
| | | //JsonResult jsonResult = new JsonResult(_liaotianService.SearchByPaging(search), new Newtonsoft.Json.Serialization.DefaultContractResolver()); |
| | | return new JsonResult(_admPieceCheckService.SearchByPaging(search)); |
| | | } |
| | | |
| | | |
| | | public IActionResult printList(AdmPieceCheckDTOSearch search) |
| | | { |
| | | //JsonResult jsonResult = new JsonResult(_liaotianService.SearchByPaging(search), new Newtonsoft.Json.Serialization.DefaultContractResolver()); |
| | | search.rows = 1000; |
| | | search.page = 1; |
| | | var resultDataEntity = _admPieceCheckService.SearchByPaging(search); |
| | | ViewBag.ListCooperOrderDTO = resultDataEntity.DataList as List<AdmPieceCheckDTO>; |
| | | ViewBag.Heji1 = resultDataEntity.Heji1; |
| | | ViewBag.Heji2 = resultDataEntity.Heji2; |
| | | |
| | | return View(); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | public IActionResult Edit(string id = null) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |