瀏覽代碼

满意度调查默认非常满意

seimin 1 年之前
父節點
當前提交
6a07bc0da6
共有 1 個文件被更改,包括 8 次插入4 次删除
  1. 8 4
      assets/js/controllers/customform/customformCtrl.js

+ 8 - 4
assets/js/controllers/customform/customformCtrl.js

@@ -11154,6 +11154,10 @@ appFormly.config(function config(formlyConfigProvider) {
11154 11154
             //     $scope.options.templateOptions.options.unshift({id:0,groupName:'全部'});
11155 11155
             //     $scope.model._group = 0;
11156 11156
             // }
11157
+            // 满意度评价
11158
+            if($scope.options.templateOptions.pkey == "incident.degree"){
11159
+              $scope.model.id = 1578;
11160
+            }
11157 11161
             if (
11158 11162
               $scope.options.templateOptions.pkey &&
11159 11163
               $scope.options.templateOptions.pkey == "incident.place"
@@ -11206,10 +11210,10 @@ appFormly.config(function config(formlyConfigProvider) {
11206 11210
               }
11207 11211
             }
11208 11212
             // 关闭事件页面满意度评价下拉框处理
11209
-            if ($scope.options.templateOptions.onlyKey == "close_degree") {
11210
-              $scope.model.id =
11211
-                $scope.$parent.$parent.$parent.$parent.$parent.$parent.formData.model.incident.wxdegree.id;
11212
-            }
11213
+            // if ($scope.options.templateOptions.onlyKey == "close_degree") {
11214
+            //   $scope.model.id =
11215
+            //     $scope.$parent.$parent.$parent.$parent.$parent.$parent.formData.model.incident.wxdegree.id;
11216
+            // }
11213 11217
             if ($scope.options.templateOptions.initData == 1) {
11214 11218
               $scope.options.templateOptions.onChange(
11215 11219
                 $scope.model.id,