|
|
@@ -27,6 +27,9 @@ namespace CallCenterApi.Interface.Controllers.tel
|
|
27
|
27
|
string endtime = HttpUtility.UrlDecode(RequestString.GetQueryString("endtime"));
|
|
28
|
28
|
string tasktype = HttpUtility.UrlDecode(RequestString.GetQueryString("tasktype"));
|
|
29
|
29
|
string extnumber = HttpUtility.UrlDecode(RequestString.GetQueryString("extnumber"));
|
|
|
30
|
+ string city = HttpUtility.UrlDecode(RequestString.GetQueryString("city"));
|
|
|
31
|
+
|
|
|
32
|
+
|
|
30
|
33
|
int type = RequestString.GetInt("type", 0);
|
|
31
|
34
|
|
|
32
|
35
|
string strpageindex = RequestString.GetQueryString("page");
|
|
|
@@ -54,6 +57,11 @@ namespace CallCenterApi.Interface.Controllers.tel
|
|
54
|
57
|
{
|
|
55
|
58
|
sql += " and CallNumber like '%" + phone + "%'";
|
|
56
|
59
|
}
|
|
|
60
|
+ if (city != null && city.Trim() != "")
|
|
|
61
|
+ {
|
|
|
62
|
+ sql += " and City='" + city + "'";
|
|
|
63
|
+ }
|
|
|
64
|
+
|
|
57
|
65
|
if (callstate.Trim() != "")
|
|
58
|
66
|
{
|
|
59
|
67
|
if (callstate.Trim() == "0")
|
|
|
@@ -124,7 +132,7 @@ namespace CallCenterApi.Interface.Controllers.tel
|
|
124
|
132
|
true,
|
|
125
|
133
|
out recordCount);
|
|
126
|
134
|
|
|
127
|
|
- var config = new BLL.T_Sys_SystemConfig().GetModelList(" F_ParamCode='PlayPath' ").FirstOrDefault();
|
|
|
135
|
+ var config = new BLL.T_Sys_SystemConfig().GetModelList(" F_ParamCode='PlayPath'").FirstOrDefault();
|
|
128
|
136
|
//var users = new BLL.T_Sys_UserAccount().GetModelList("");
|
|
129
|
137
|
//dt.Columns.Add("TypeName",typeof( string));
|
|
130
|
138
|
//dt.Columns.Add("WorkOrderId", typeof(string));
|
|
|
@@ -335,7 +343,28 @@ namespace CallCenterApi.Interface.Controllers.tel
|
|
335
|
343
|
return Content(obj.ToJson());
|
|
336
|
344
|
|
|
337
|
345
|
}
|
|
|
346
|
+ /// <summary>
|
|
|
347
|
+ /// 更新转接记录
|
|
|
348
|
+ /// </summary>
|
|
|
349
|
+ /// <returns></returns>
|
|
|
350
|
+ public ActionResult TransferCall(string CallId, string city)
|
|
|
351
|
+ {
|
|
338
|
352
|
|
|
|
353
|
+
|
|
|
354
|
+
|
|
|
355
|
+ bool bl = new BLL.T_Call_CallRecords().TransferCall(CallId, city);
|
|
|
356
|
+ if (bl)
|
|
|
357
|
+ {
|
|
|
358
|
+ return Success("更新转接记录成功");
|
|
|
359
|
+ }
|
|
|
360
|
+ else
|
|
|
361
|
+ {
|
|
|
362
|
+ return Success("更新转接记录失败");
|
|
|
363
|
+ }
|
|
|
364
|
+
|
|
|
365
|
+
|
|
|
366
|
+
|
|
|
367
|
+ }
|
|
339
|
368
|
//删除通话记录
|
|
340
|
369
|
public ActionResult DelCallRecord(string[] ids)
|
|
341
|
370
|
{
|