|
|
@@ -230,7 +230,7 @@ namespace CallCenterApi.Interface.Controllers.tel
|
|
230
|
230
|
string sql = "";
|
|
231
|
231
|
string sqlcount = "";
|
|
232
|
232
|
DataTable dt = new DataTable();
|
|
233
|
|
-
|
|
|
233
|
+ //来电号码
|
|
234
|
234
|
string strtel = HttpUtility.UrlDecode(RequestString.GetQueryString("tel"));
|
|
235
|
235
|
string strcalltype = HttpUtility.UrlDecode(RequestString.GetQueryString("calltype"));
|
|
236
|
236
|
string strstarttime = HttpUtility.UrlDecode(RequestString.GetQueryString("starttime"));
|
|
|
@@ -240,9 +240,9 @@ namespace CallCenterApi.Interface.Controllers.tel
|
|
240
|
240
|
int pageindex = 1;
|
|
241
|
241
|
string strpagesize = RequestString.GetQueryString("pagesize");
|
|
242
|
242
|
int pagesize = 10;
|
|
243
|
|
-
|
|
244
|
|
-
|
|
245
|
|
- sql += " and CreateUserID = '" + userId + "'";
|
|
|
243
|
+ //除管理员外,各坐席只能看到自己的
|
|
|
244
|
+ if (ua.F_RoleId != 17)
|
|
|
245
|
+ sql += " and CreateUserID = '" + userId + "'";
|
|
246
|
246
|
|
|
247
|
247
|
if (strcalltype.Trim() != "" && strcalltype != "undefined")
|
|
248
|
248
|
{
|