|
|
@@ -1406,12 +1406,15 @@ namespace CallCenterApi.Interface.Controllers.callout
|
|
1406
|
1406
|
{
|
|
1407
|
1407
|
//if (!Request.IsAuthenticated)
|
|
1408
|
1408
|
// return NoToken("未知错误,请重新登录");
|
|
1409
|
|
- List<string> headList = new List<string>() { "序号", "号码", "是否分配", "分配坐席", "呼叫状态", "接通状态", "导入时间", "呼叫时间" };
|
|
|
1409
|
+ List<string> headList = new List<string>() { "序号", "号码", "是否分配", "分配坐席", "呼叫状态", "接通状态", "导入时间", "导入人", "呼叫时间" };
|
|
1410
|
1410
|
var userAccountList = userAccountBLL.DataTableToList(userAccountBLL.GetList("").Tables[0]);
|
|
1411
|
1411
|
NPOIHelper npoi = new NPOIHelper();
|
|
1412
|
1412
|
var task = taskBLL.GetModel(taskId);
|
|
1413
|
1413
|
if (task == null)
|
|
1414
|
1414
|
return Error("该外呼任务不存在");
|
|
|
1415
|
+ var taskUser = userAccountBLL.GetModel(task.AddAgentId ?? 0);
|
|
|
1416
|
+ if (taskUser == null)
|
|
|
1417
|
+ return Error("该外呼任务不存在导入人");
|
|
1415
|
1418
|
switch (type)
|
|
1416
|
1419
|
{
|
|
1417
|
1420
|
case 1:
|
|
|
@@ -1429,6 +1432,7 @@ namespace CallCenterApi.Interface.Controllers.callout
|
|
1429
|
1432
|
(item.F_HCState==null || item.F_HCState<=0)?"未呼叫":"已呼叫",
|
|
1430
|
1433
|
(item.F_YJState==null || item.F_YJState<=0)?"未接通":"已接通",
|
|
1431
|
1434
|
item.F_CreateTime?.ToString("yyyy-MM-dd HH:mm:ss")??"",
|
|
|
1435
|
+ $"{taskUser.F_UserCode}-{taskUser.F_UserName}",
|
|
1432
|
1436
|
item.F_LastCallTime?.ToString("yyyy-MM-dd HH:mm:ss")??"",
|
|
1433
|
1437
|
});
|
|
1434
|
1438
|
}
|
|
|
@@ -1449,6 +1453,7 @@ namespace CallCenterApi.Interface.Controllers.callout
|
|
1449
|
1453
|
(item.F_HCState==null || item.F_HCState<=0)?"未呼叫":"已呼叫",
|
|
1450
|
1454
|
(item.F_YJState==null || item.F_YJState<=0)?"未接通":"已接通",
|
|
1451
|
1455
|
item.F_CreateTime?.ToString("yyyy-MM-dd HH:mm:ss")??"",
|
|
|
1456
|
+ $"{taskUser.F_UserCode}-{taskUser.F_UserName}",
|
|
1452
|
1457
|
item.F_LastCallTime?.ToString("yyyy-MM-dd HH:mm:ss")??"",
|
|
1453
|
1458
|
});
|
|
1454
|
1459
|
}
|