Browse Source

呼叫中心主动断开

seimin 3 years ago
parent
commit
38213170c7
1 changed files with 6 additions and 0 deletions
  1. 6 0
      assets/js/controllers/mainCtrl.js

+ 6 - 0
assets/js/controllers/mainCtrl.js

@@ -2414,6 +2414,12 @@ app.controller('AppCtrl', ['$rootScope', '$scope', '$state', '$translate', '$loc
2414 2414
             // $auth.deleteData('auth_headers')
2415 2415
             sessionStorage.clear();
2416 2416
             localStorage.clear();
2417
+            tlwsa.tlaClose();
2418
+            $.toaster({
2419
+              priority: 'info',
2420
+              title: '操作',
2421
+              message: '呼叫中心断开连接'
2422
+            });
2417 2423
             $state.go("login.signin");
2418 2424
           })
2419 2425
           .catch(function (resp) { });