| | |
| | | private readonly IHrDeptService _hrDeptService; |
| | | private readonly ISysAttachmentService _sysAttachmentService; |
| | | private readonly IPltPageService _pltPageService; |
| | | |
| | | private readonly ICooperVisitService _cooperVisitService; |
| | | |
| | | public CooperatecustomCustomerController(ILogger<CooperatecustomCustomerController> logger, IProjectService projectService, ILiaotianService liaotianService, ICooperatecustomCustomerService cooperatecustomCustomerService, IUserService userService, IHrDeptService hrDeptService |
| | | , ISysAttachmentService sysAttachmentService |
| | | , IPltPageService pltPageService) |
| | | , IPltPageService pltPageService |
| | | , ICooperVisitService cooperVisitService) |
| | | { |
| | | _logger = logger; |
| | | _projectService = projectService; |
| | |
| | | _hrDeptService = hrDeptService; |
| | | _sysAttachmentService = sysAttachmentService; |
| | | _pltPageService = pltPageService; |
| | | _cooperVisitService = cooperVisitService; |
| | | } |
| | | |
| | | public IActionResult Index() |
| | |
| | | { |
| | | cooperatecustomCustomerDTO = _cooperatecustomCustomerService.Get(id); |
| | | |
| | | |
| | | CooperVisitDTOSearch searchEntity = new CooperVisitDTOSearch(); |
| | | searchEntity.page = 1; |
| | | searchEntity.rows = 1000; |
| | | searchEntity.Viscustomer = id; |
| | | var resultDataEntity = _cooperVisitService.SearchByPaging(searchEntity); |
| | | ViewData["visitlishi"] = resultDataEntity.DataList; |
| | | } |
| | | else |
| | | { |
| | |
| | | cooperatecustomCustomerDTO.City = "510100"; |
| | | cooperatecustomCustomerDTO.AreaId = "510107"; |
| | | |
| | | ViewData["visitlishi"] = new List<CooperVisitDTO>(); |
| | | |
| | | } |
| | | |
| | | var areaDTOs = _projectService.Getsheng().ToList(); |