| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | 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> |