From 6f34ab1ed6f8cb79a012a30a7b687e362c6f16c2 Mon Sep 17 00:00:00 2001
From: LR-20210131IOQH\Administrator <jackcold@163.com>
Date: 星期四, 10 六月 2021 19:08:41 +0800
Subject: [PATCH] 打卡判断,增加前端浏览器mac获取,当mac获取为空时不判断

---
 zhengcaioa/zhengcaioa/Controllers/Customer/IntentionCustomerController.cs |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionCustomerController.cs b/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionCustomerController.cs
index 1c317d5..d7b9f68 100644
--- a/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionCustomerController.cs
+++ b/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionCustomerController.cs
@@ -176,6 +176,40 @@
         }
 
 
+
+
+        public IActionResult EditByName( string name)
+        {
+            var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User"));
+            ViewData["curentuser"] = curentuser;
+
+            IntentionCustomerDTO intentionCustomerDTO = new IntentionCustomerDTO();
+             
+                intentionCustomerDTO = _intentionCustomerService.GetByName(name);
+
+            
+
+            var sheng = _projectService.Getsheng();
+            var shi = _projectService.Getshi(intentionCustomerDTO.Sheng);
+            var quxian = _projectService.Getquxian(intentionCustomerDTO.City);
+            var users = _userService.GetList().Where(x => x.IsYwjl == "A").ToList(); ;
+
+            ViewData["khlx"] = _liaotianService.GetSYScode("CooperatecustomCustomer", "khlx");
+            ViewData["khly"] = _liaotianService.GetSYScode("CooperatecustomCustomer", "khly");
+            ViewData["hyfl"] = _liaotianService.GetSYScode("CooperatecustomCustomer", "hyfl");
+
+            ViewData["users"] = users;
+
+            ViewData["sheng"] = sheng;
+            ViewData["shi"] = shi;
+            ViewData["quxian"] = quxian;
+            ViewData["DeptId"] = _hrDeptService.GetList();
+            ViewData.Model = intentionCustomerDTO;
+            return View();
+        }
+
+
+
         /// <summary>
         /// 淇濆瓨
         /// </summary>

--
Gitblit v1.9.1