From ce222173a9f29ca8291530f9da7ba5d9ecacbe39 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 06 一月 2023 09:49:24 +0800
Subject: [PATCH] 提交
---
zhengcaioa/zhengcaioa/Controllers/Expert/ZhuanjiahuidaController.cs | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Controllers/Expert/ZhuanjiahuidaController.cs b/zhengcaioa/zhengcaioa/Controllers/Expert/ZhuanjiahuidaController.cs
index 3904acf..cb26f66 100644
--- a/zhengcaioa/zhengcaioa/Controllers/Expert/ZhuanjiahuidaController.cs
+++ b/zhengcaioa/zhengcaioa/Controllers/Expert/ZhuanjiahuidaController.cs
@@ -21,16 +21,18 @@
private readonly ILogger<ZhuanjiahuidaController> _logger;
private readonly ILZhuanjiahuidumService _lZhuanjiahuidumService;
private readonly ILiaotianService _liaotianService;
- private readonly IConfiguration _configuration;
+ //private readonly IConfiguration _configuration;
+ private readonly IPltPageService _pltPageService;
-
- public ZhuanjiahuidaController(ILogger<ZhuanjiahuidaController> logger, ILZhuanjiahuidumService lZhuanjiahuidumService, ILiaotianService liaotianService)
+ public ZhuanjiahuidaController(ILogger<ZhuanjiahuidaController> logger, ILZhuanjiahuidumService lZhuanjiahuidumService, ILiaotianService liaotianService
+ , IPltPageService pltPageService)
{
_logger = logger;
_lZhuanjiahuidumService = lZhuanjiahuidumService;
_liaotianService = liaotianService;
+ _pltPageService = pltPageService;
}
[CheckLogin]
public IActionResult Index()
@@ -54,6 +56,10 @@
//actionlist.Add(actionEntity1);
ViewData["ActionInfo"] = actionlist;
+ var pageEntities = _pltPageService.GetUserPage(curentuser.Id, "/Zhuanjiahuida/Index");
+ var pageEntities2 = pageEntities.Where(x => x.PageMethod == "02").ToList();
+ ViewData["ActionInfo2"] = pageEntities2;
+
ViewBag.shifou = _liaotianService.GetSYScode("system", "shifou").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList();
return View();
}
--
Gitblit v1.9.1