| | |
| | | actionEntity1.ActionName = "新增"; |
| | | actionlist.Add(actionEntity1); |
| | | ViewData["ActionInfo"] = actionlist; |
| | | ViewBag.falv = _liaotianService.GetSYScode("expert_test_topicjiexi", "falv").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | ViewBag.question = _liaotianService.GetSYScode("t_challenge_items", "question").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | return View(); |
| | | } |
| | | |
| | |
| | | searchEntity.CodeTable = "t_complaint_items"; |
| | | searchEntity.CodeField = "law"; |
| | | searchEntity.Sort = "CodeSn"; |
| | | return new JsonResult(_sysCodeService.SearchSysCodeDtlPaging(searchEntity)); |
| | | |
| | | ResultDataEntity<SysCodeDtlEntity> resultDataEntity = _sysCodeService.SearchSysCodeDtlPaging(searchEntity); |
| | | |
| | | |
| | | var sysCodeDtls = _liaotianService.GetSYScode("expert_test_topicjiexi", "falv"); |
| | | |
| | | foreach(var sysCodeDtlEntity in resultDataEntity.DataList) |
| | | { |
| | | var sysCodeDtl = sysCodeDtls.Where(x => x.CodeSn == sysCodeDtlEntity.Comments).FirstOrDefault(); |
| | | if (sysCodeDtl != null) |
| | | sysCodeDtlEntity.CommentsName = sysCodeDtl.Comments; |
| | | } |
| | | sysCodeDtls = _liaotianService.GetSYScode("t_challenge_items", "question"); |
| | | foreach (var sysCodeDtlEntity in resultDataEntity.DataList) |
| | | { |
| | | var sysCodeDtl = sysCodeDtls.Where(x => x.CodeSn == sysCodeDtlEntity.Classify1).FirstOrDefault(); |
| | | if(sysCodeDtl!=null) |
| | | sysCodeDtlEntity.Classify1Name = sysCodeDtl.Comments; |
| | | } |
| | | |
| | | return new JsonResult(resultDataEntity); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | ViewData.Model = sysCodeDtlEntity; |
| | | |
| | | |
| | | |
| | | ViewBag.falv = _liaotianService.GetSYScode("expert_test_topicjiexi", "falv"); |
| | | ViewBag.question = _liaotianService.GetSYScode("t_challenge_items", "question"); |
| | | |
| | | return View(); |
| | | } |