#99 qhse看板调整

Đã hợp nhất
yanghao đã nhập 1 commit từ shuzhihua/qhse_person vào [3]s 1 tháng trước cách đây
1 tập tin đã thay đổi với 4 bổ sung6 xóa
  1. 4 6
      src/views/pms/qhse/kanban/index.vue

+ 4 - 6
src/views/pms/qhse/kanban/index.vue

@@ -351,12 +351,10 @@ const total = ref(0)
 const instrumentExpired = ref(0)
 
 function buildSafeDayBarData(baseData: SafeDayMap) {
-  safeDayBarData.value = Object.entries(baseData || {})
-    .map(([name, value]) => ({
-      name,
-      value: Number(value) || 0
-    }))
-    .sort((a, b) => b.value - a.value)
+  safeDayBarData.value = Object.entries(baseData || {}).map(([name, value]) => ({
+    name,
+    value: Number(value) || 0
+  }))
 }
 
 async function getStatic() {