cqp 5 сар өмнө
parent
commit
37229f5a03

+ 8 - 6
app/Service/QuantizationService.php

@@ -692,17 +692,19 @@ class QuantizationService extends Service
 
     private function fillDataResult2($value)
     {
-        $type  = $value['result_type'] ?? null;
+        $type  = $value['type'] ?? null;
 
         if ($type != QuantizationCreate::type_three) {
             return '';
         }
 
-        if ($type == 1) return '权威决策型';
-        if ($type == 2) return '成长潜力型';
-        if ($type == 3) return '关系导向型';
-        if ($type == 4) return '务实执行型';
-        if ($type == 5) return '待发展型';
+        $result = $value['result_type'];
+
+        if ($result == 1) return '权威决策型';
+        if ($result == 2) return '成长潜力型';
+        if ($result == 3) return '关系导向型';
+        if ($result == 4) return '务实执行型';
+        if ($result == 5) return '待发展型';
     }
 
     //量化创建-----------------------------------------------