瀏覽代碼

留言列表和通话列表回拨

seimin 2 年之前
父節點
當前提交
fddf932af7
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      assets/js/controllers/desk/calllogCtrl.js
  2. 1 1
      assets/js/controllers/desk/recordCtrl.js

+ 1 - 1
assets/js/controllers/desk/calllogCtrl.js

@@ -371,7 +371,7 @@ app.controller('calllogCtrl', ["$scope", "i18nService", "$rootScope", "$state",
371
             $rootScope.toggle('off-sidebar');
371
             $rootScope.toggle('off-sidebar');
372
           }else if(localStorage.getItem('hk_phone')){
372
           }else if(localStorage.getItem('hk_phone')){
373
             var gid = "@0"
373
             var gid = "@0"
374
-            var telephone = '9' + teleno
374
+            var telephone = '9' + data.ano
375
             $rootScope.callout = 2;
375
             $rootScope.callout = 2;
376
             if ($rootScope.takes) {
376
             if ($rootScope.takes) {
377
                 api_text.dialout($rootScope.takes, gid, telephone).then(function (data) {
377
                 api_text.dialout($rootScope.takes, gid, telephone).then(function (data) {

+ 1 - 1
assets/js/controllers/desk/recordCtrl.js

@@ -739,7 +739,7 @@ app.controller("recordCtrl", [
739
         $rootScope.toggle("off-sidebar");
739
         $rootScope.toggle("off-sidebar");
740
       }else if(localStorage.getItem('hk_phone')){
740
       }else if(localStorage.getItem('hk_phone')){
741
         var gid = "@0"
741
         var gid = "@0"
742
-        var telephone = '9' + teleno
742
+        var telephone = '9' + data.ano
743
         $rootScope.callout = 2;
743
         $rootScope.callout = 2;
744
         if ($rootScope.takes) {
744
         if ($rootScope.takes) {
745
             api_text.dialout($rootScope.takes, gid, telephone).then(function (data) {
745
             api_text.dialout($rootScope.takes, gid, telephone).then(function (data) {