Kaynağa Gözat

事件列表录音

seimin 1 ay önce
ebeveyn
işleme
e19dc70a13

+ 3 - 3
assets/js/controllers/incident/incidentCtrl.js

@@ -443,7 +443,7 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
443 443
             }
444 444
         })
445 445
     };
446
-    $scope.play = function (data) {
446
+    $scope.record = function (data) {
447 447
         console.log(data.callID)
448 448
         var modalInstance = $modal.open({
449 449
             backdrop: "static",
@@ -3417,7 +3417,7 @@ app.controller('IncidentOperCtrl', ['$rootScope', '$http', '$scope', '$modal', '
3417 3417
         $scope.colobject.grid.appScope.problem($scope.item)
3418 3418
     }
3419 3419
     $scope.record = function () { //record
3420
-        $scope.colobject.grid.appScope.play($scope.item);
3420
+        $scope.colobject.grid.appScope.record($scope.item);
3421 3421
         // $scope.doEdit($scope.item.id);
3422 3422
     }
3423 3423
     $scope.play = function () { //record
@@ -3491,7 +3491,7 @@ app.directive('incidentoperator', function () {
3491 3491
             // '<a ng-click="delSj()" ng-show="{{delFlag&&item.state.value!== \'deleted\'}}" class="assign" >删除</a>' +
3492 3492
             // '<a ng-click="print()" ng-show="dayin" class="bianjifont" >打印</a>' +
3493 3493
             // '<a ng-click="jry_evaluate()"  ng-show="jry_evaluateShow()" class="luyinfont" >评价</a>' +
3494
-            '<a ng-click="play(item)"  ng-show="{{item.callID}}" class="luyinfont" >录音</a>' +
3494
+            '<a ng-click="record(item)"  ng-show="{{item.callID}}" class="luyinfont" >录音</a>' +
3495 3495
             '<a ng-click="toSms()" ng-show="{{item.huifang&&huifang}}" class="assign" >发送短信</a>' +
3496 3496
             '<a ng-click="toHandlerLog()" ng-show="{{item.huifang&&huifang}}" class="assign" >新增沟通记录</a>' +
3497 3497
             // '<a ng-click="rotate()" ng-show="{{item.state.id==4}}" class="rotate" >转派</a>' +