|
@@ -1427,13 +1427,13 @@ app.controller('AppCtrl', ['$rootScope', '$scope', '$state', '$translate', '$loc
|
1427
|
1427
|
})
|
1428
|
1428
|
}
|
1429
|
1429
|
// 牛逼
|
1430
|
|
- setInterval(function() {
|
1431
|
|
- if ($scope.login && $rootScope.statuscall == 1 && $rootScope.statecall == 1) {
|
1432
|
|
- $rootScope.setidle(true);
|
1433
|
|
- } else if ($scope.login && $rootScope.statuscall != 3 && $rootScope.statecall == 2 && $rootScope.statuscall != 0) {
|
1434
|
|
- $rootScope.setbusy(true);
|
1435
|
|
- }
|
1436
|
|
- }, 5000);
|
|
1430
|
+ // setInterval(function() {
|
|
1431
|
+ // if ($scope.login && $rootScope.statuscall == 1 && $rootScope.statecall == 1) {
|
|
1432
|
+ // $rootScope.setidle(true);
|
|
1433
|
+ // } else if ($scope.login && $rootScope.statuscall != 3 && $rootScope.statecall == 2 && $rootScope.statuscall != 0) {
|
|
1434
|
+ // $rootScope.setbusy(true);
|
|
1435
|
+ // }
|
|
1436
|
+ // }, 5000);
|
1437
|
1437
|
// 华科呼叫中心 end
|
1438
|
1438
|
|
1439
|
1439
|
//话机呼叫中心--开始
|