박민혁 박민혁 02-16
240216 박민혁 상세 결과 내림차순 정렬
@96df5661dfd8b928ebb2830fa1d0b48eeb7a2242
client/views/pages/result/ExecRuleResult.vue
--- client/views/pages/result/ExecRuleResult.vue
+++ client/views/pages/result/ExecRuleResult.vue
@@ -348,7 +348,7 @@
       vm.selectedResultName = vm.manageResultList[index].column_nm;
       vm.manageResultDetail = [];
 
-      const error_nm = this.manageResultList[index].error_nm;
+      const error_nm = vm.manageResultList[index].error_nm;
       const error_nm_array = error_nm || [];
 
       function findErrorDataIndex(error_data, manageResultDetail) {
@@ -373,7 +373,7 @@
         }
       }
 
-      console.log(manageResultDetail);
+      vm.manageResultDetail.sort((a, b) => b.error_data_cnt - a.error_data_cnt);
     },
 
     // 탭 변경
Add a comment
List