|
|
@@ -771,17 +771,6 @@ $(document).ready(function() {
|
|
771
|
771
|
var CallId = IVRSelKey;
|
|
772
|
772
|
var NowCallerPhoneCode = Phone.CallInfoEx_Ani;
|
|
773
|
773
|
//获取呼叫编号callId
|
|
774
|
|
-// $.get(huayi.config.callcenter_url + 'CallInScreen/GetCallIdByPhone',{
|
|
775
|
|
-// telphone:NowCallerPhoneCode,
|
|
776
|
|
-// "token": $.cookie("token")
|
|
777
|
|
-// }, function (res) {
|
|
778
|
|
-// res = JSON.parse(res);
|
|
779
|
|
-// if (res.state == "success") {
|
|
780
|
|
-// $('#callId').val(res.data.CallId);
|
|
781
|
|
-// $('#BusinessType').val(res.data.BusinessType);
|
|
782
|
|
-// updateCallLogs(NowCallerPhoneCode,status,becallcome)
|
|
783
|
|
-// }
|
|
784
|
|
-// });
|
|
785
|
774
|
$.ajax({
|
|
786
|
775
|
type:"get",
|
|
787
|
776
|
url:huayi.config.callcenter_url + 'CallInScreen/GetCallIdByPhone',
|
|
|
@@ -792,7 +781,6 @@ $(document).ready(function() {
|
|
792
|
781
|
"token": $.cookie("token")
|
|
793
|
782
|
},
|
|
794
|
783
|
success:function(res){
|
|
795
|
|
-// res = JSON.parse(res);
|
|
796
|
784
|
if (res.state == "success") {
|
|
797
|
785
|
console.log('获取callId'+res.data.CallId)
|
|
798
|
786
|
$('#callId').val(res.data.CallId);
|
|
|
@@ -1306,7 +1294,7 @@ function call(val) {
|
|
1306
|
1294
|
}
|
|
1307
|
1295
|
|
|
1308
|
1296
|
function logout() {
|
|
1309
|
|
- if(!$('.Logout').hasClass('active')) {
|
|
|
1297
|
+// if(!$('.Logout').hasClass('active')) {
|
|
1310
|
1298
|
$.ajax({
|
|
1311
|
1299
|
url: huayi.config.callcenter_url + "Login/Logout",
|
|
1312
|
1300
|
data: {
|
|
|
@@ -1319,9 +1307,9 @@ function logout() {
|
|
1319
|
1307
|
}
|
|
1320
|
1308
|
}
|
|
1321
|
1309
|
});
|
|
1322
|
|
- } else {
|
|
1323
|
|
- layer.msg("退出失败!");
|
|
1324
|
|
- }
|
|
|
1310
|
+// } else {
|
|
|
1311
|
+// layer.msg("退出失败!");
|
|
|
1312
|
+// }
|
|
1325
|
1313
|
|
|
1326
|
1314
|
}
|
|
1327
|
1315
|
//用于实施记录登录时长
|