seimin 2 年之前
父节点
当前提交
0f5d0f19ee
共有 1 个文件被更改,包括 8 次插入6 次删除
  1. 8 6
      assets/js/controllers/incident/incidentCtrl.js

+ 8 - 6
assets/js/controllers/incident/incidentCtrl.js

@@ -3108,11 +3108,12 @@ app.controller('IncidentOperCtrl', ['$rootScope', '$http', '$scope', '$modal', '
3108 3108
     for (var obj in $rootScope.user.role) {
3109 3109
         // console.log($rootScope.user.role[obj].rolecode)
3110 3110
         if ($rootScope.user.role[obj].rolecode == 'call center') {
3111
-            if ($scope.item.state.id == 1546) {
3112
-                $scope.item.huifang = true;
3113
-            } else {
3114
-                // $scope.item.xiugai = true;
3115
-            }
3111
+            $scope.item.huifang = true;
3112
+            // if ($scope.item.state.id == 1546) {
3113
+            //     $scope.item.huifang = true;
3114
+            // } else {
3115
+            //     // $scope.item.xiugai = true;
3116
+            // }
3116 3117
         }
3117 3118
     }
3118 3119
     // 评价操作权限
@@ -3264,7 +3265,8 @@ app.directive('incidentoperator', function () {
3264 3265
             // '<a ng-click="visit()"  ng-show="{{item.huifang&&huifang}}"  class="bianjifont">回访</a>' +
3265 3266
             '<a ng-click="changeCenter()"  ng-show="jry_modify(item)"  class="luyinfont">编辑</a>' +
3266 3267
             '<a ng-click="toAssign()" ng-show="{{(item.state.id==1543||item.state.id==1544)&&assignFlag&&item.assignee}}" class="assign" >指派</a>' +
3267
-            '<a ng-click="toHandlerLog()" ng-show="{{item.state.id==1544}}" class="assign" >新增沟通记录</a>' +
3268
+            // '<a ng-click="toHandlerLog()" ng-show="{{item.state.id==1544}}" class="assign" >新增沟通记录</a>' +
3269
+            '<a ng-click="toHandlerLog()" ng-show="{{item.huifang&&huifang}}" class="assign" >新增沟通记录</a>' +
3268 3270
             // '<a ng-click="delSj()" ng-show="{{delFlag&&item.state.value!== \'deleted\'}}" class="assign" >删除</a>' +
3269 3271
             // '<a ng-click="print()" ng-show="dayin" class="bianjifont" >打印</a>' +
3270 3272
             // '<a ng-click="jry_evaluate()"  ng-show="jry_evaluateShow()" class="luyinfont" >评价</a>' +