| | |
| | | private readonly IMapper _mapper; |
| | | private readonly IHrDeptService _hrDeptService; |
| | | private readonly IPltPageService _pltPageService; |
| | | |
| | | private readonly IIntentionVisitService _intentionVisitService; |
| | | |
| | | public IntentionCustomerController(ILogger<IntentionCustomerController> logger, IProjectService projectService, ILiaotianService liaotianService, IIntentionCustomerService intentionCustomerService, IUserService userService |
| | | , ICooperatecustomCustomerService cooperatecustomCustomerService, IMapper mapper, IHrDeptService hrDeptService, IPltPageService pltPageService) |
| | | , ICooperatecustomCustomerService cooperatecustomCustomerService, IMapper mapper, IHrDeptService hrDeptService, IPltPageService pltPageService |
| | | , IIntentionVisitService intentionVisitService) |
| | | { |
| | | _logger = logger; |
| | | _projectService = projectService; |
| | |
| | | _mapper = mapper; |
| | | _hrDeptService = hrDeptService; |
| | | _pltPageService = pltPageService; |
| | | _intentionVisitService = intentionVisitService; |
| | | } |
| | | |
| | | public IActionResult Index() |
| | |
| | | { |
| | | intentionCustomerDTO = _intentionCustomerService.Get(id); |
| | | |
| | | IntentionVisitDTOSearch searchEntity = new IntentionVisitDTOSearch(); |
| | | searchEntity.page = 1; |
| | | searchEntity.rows = 1000; |
| | | searchEntity.Viscustomer = id; |
| | | var resultDataEntity = _intentionVisitService.SearchByPaging(searchEntity); |
| | | ViewData["visitlishi"] = resultDataEntity.DataList; |
| | | } |
| | | else |
| | | { |
| | |
| | | intentionCustomerDTO.AreaId = "510107"; |
| | | intentionCustomerDTO.Name = namecus; |
| | | |
| | | ViewData["visitlishi"] = new List<IntentionVisitDTO>(); |
| | | |
| | | } |
| | | |
| | | var areaDTOs = _projectService.Getsheng().ToList(); |