| | |
| | | |
| | | |
| | | |
| | | ViewBag.request_info = _liaotianService.GetSYScode("t_challengeletter", "request_info");//质疑请求 |
| | | ViewBag.question = _liaotianService.GetSYScode("t_challenge_items", "question"); // 质疑事项 |
| | | var sysCodeDtls = _liaotianService.GetSYScode("expert_test_topicjiexi", "falv");//法律 |
| | | var sysCodeDtls1 = _liaotianService.GetSYScode("t_complaint_items", "law");//法律依据 |
| | | ViewBag.request_info = _liaotianService.GetSYScode("t_challengeletter", "request_info").OrderBy(x=>x.CodeSn).ToList();//质疑请求 |
| | | ViewBag.question = _liaotianService.GetSYScode("t_challenge_items", "question").OrderBy(x => x.CodeSn).ToList(); // 质疑事项 |
| | | var sysCodeDtls = _liaotianService.GetSYScode("expert_test_topicjiexi", "falv").OrderBy(x => x.CodeSn).ToList();//法律 |
| | | var sysCodeDtls1 = _liaotianService.GetSYScode("t_complaint_items", "law").OrderBy(x => x.CodeSn).ToList();//法律依据 |
| | | foreach ( var sysCodeDtl in sysCodeDtls1) |
| | | { |
| | | var sysCodeDtl1 = sysCodeDtls.Where(x => x.CodeSn == sysCodeDtl.Comments).FirstOrDefault(); |
| | |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | public IActionResult getQuestionLaw(string id, string no) |
| | | { |
| | | ResultEntity<SysCodeDtl> resultEntity = new ResultEntity<SysCodeDtl>(); |
| | | resultEntity.Result = true; |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | |
| | | var sysCodeDtls = _liaotianService.GetSYScode("t_complaint_items", "law").Where(x => x.Classify1 == id).OrderBy(x => x.CodeSn).ToList().ToList();//法律依据 |
| | | var sysCodeDtls1 = _liaotianService.GetSYScode("expert_test_topicjiexi", "falv");//法律 |
| | | foreach (var sysCodeDtl in sysCodeDtls) |
| | | { |
| | | var sysCodeDtl1 = sysCodeDtls1.Where(x => x.CodeSn == sysCodeDtl.Comments).FirstOrDefault(); |
| | | if (sysCodeDtl1 != null) |
| | | sysCodeDtl.Comments = sysCodeDtl1.Comments; |
| | | } |
| | | |
| | | //if (sysCodeDtl != null) |
| | | //{ |
| | | // resultEntity.Message = sysCodeDtl.Contents; |
| | | //} |
| | | resultEntity.Message = no; |
| | | resultEntity.DataList = sysCodeDtls; |
| | | |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 保存 |
| | |
| | | |
| | | |
| | | |
| | | ViewBag.request_info = _liaotianService.GetSYScode("t_challengeletter", "request_info");//质疑请求 |
| | | ViewBag.question = _liaotianService.GetSYScode("t_challenge_items", "question"); // 质疑事项 |
| | | var sysCodeDtls = _liaotianService.GetSYScode("expert_test_topicjiexi", "falv");//法律 |
| | | var sysCodeDtls1 = _liaotianService.GetSYScode("t_complaint_items", "law");//法律依据 |
| | | ViewBag.request_info = _liaotianService.GetSYScode("t_challengeletter", "request_info").OrderBy(x => x.CodeSn).ToList();//质疑请求 |
| | | ViewBag.question = _liaotianService.GetSYScode("t_challenge_items", "question").OrderBy(x => x.CodeSn).ToList(); // 质疑事项 |
| | | var sysCodeDtls = _liaotianService.GetSYScode("expert_test_topicjiexi", "falv").OrderBy(x => x.CodeSn).ToList();//法律 |
| | | var sysCodeDtls1 = _liaotianService.GetSYScode("t_complaint_items", "law").OrderBy(x => x.CodeSn).ToList();//法律依据 |
| | | |
| | | foreach (var sysCodeDtl in sysCodeDtls1) |
| | | { |