From 9384f42e1d7e3ad502ea801be0c0d8762a0c3123 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 01 十一月 2021 16:08:19 +0800
Subject: [PATCH] 提交
---
zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs | 67 +++++++++++++++++++++++++++++++++
1 files changed, 67 insertions(+), 0 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs b/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs
index 926924e..31bf640 100644
--- a/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs
+++ b/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs
@@ -8,6 +8,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
+using System.Transactions;
using zhengcaioa.Models;
namespace zhengcaioa.Controllers
@@ -400,5 +401,71 @@
}
+
+ [CheckLogin]
+ public IActionResult Indexfalv()
+ {
+ var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User"));
+ ViewData["curentuser"] = curentuser;
+ List<ActionEntity> actionlist = new List<ActionEntity>();
+ ActionEntity actionEntity = new ActionEntity();
+ actionEntity.OpenType = 0;
+ actionEntity.ActionUrl = "";
+ actionEntity.ActionFun = "Search";
+ actionEntity.PageIco = "fa fa-search";
+ actionEntity.ActionName = "鏌ヨ";
+ actionlist.Add(actionEntity);
+ ActionEntity actionEntity1 = new ActionEntity();
+ actionEntity1.OpenType = 0;
+ actionEntity1.ActionUrl = "";
+ actionEntity1.ActionFun = "Add";
+ actionEntity1.PageIco = "fa fa-plus";
+ actionEntity1.ActionName = "鏂板";
+ actionlist.Add(actionEntity1);
+ ViewData["ActionInfo"] = actionlist;
+ return View();
+ }
+
+ [CheckLogin]
+ public IActionResult GetListfalv(SysCodeDtlSearchEntity searchEntity)
+ {
+ var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User"));
+ ViewData["curentuser"] = curentuser;
+ //JsonResult jsonResult = new JsonResult(_liaotianService.SearchByPaging(search), new Newtonsoft.Json.Serialization.DefaultContractResolver());
+ searchEntity.CodeTable = "expert_test_topicjiexi";
+ searchEntity.CodeField = "falv";
+ return new JsonResult(_sysCodeService.SearchSysCodeDtlPaging(searchEntity));
+ }
+
+
+
+ public IActionResult Editfalv(string id)
+ {
+ var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User"));
+ ViewData["curentuser"] = curentuser;
+
+
+ SysCodeDtlEntity sysCodeDtlEntity = new SysCodeDtlEntity();
+
+
+ sysCodeDtlEntity = _sysCodeService.GetSysCodeDtlInfo(id, "expert_test_topicjiexi", "falv");
+
+
+ ViewData.Model = sysCodeDtlEntity;
+
+
+
+
+ return View();
+ }
+
+
+
+
+
+
+
+
+
}
}
--
Gitblit v1.9.1