From 5421f9a6e5e2b28cc32aa8aa6dec9becd0c1eb3c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 04 一月 2023 10:19:57 +0800
Subject: [PATCH] 业务经理意向和合作客户只能1000,90天意向不转合作就制空业务经理,查询没有业务经理的档案客户和合作客户
---
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