From aa11889dab7ffb8d0a4f9e5f62518c120349cc0d Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期日, 04 一月 2026 16:14:28 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/sta/rowSx.jsx |   29 +++++++++++------------------
 1 files changed, 11 insertions(+), 18 deletions(-)

diff --git a/zy-acs-flow/src/page/sta/rowSx.jsx b/zy-acs-flow/src/page/sta/rowSx.jsx
index cfac4bf..ac14e60 100644
--- a/zy-acs-flow/src/page/sta/rowSx.jsx
+++ b/zy-acs-flow/src/page/sta/rowSx.jsx
@@ -15,42 +15,35 @@
             backgroundColor: 'action.selected',
         };
     }
-    if (record.staSts$ === '鏃犺揣')
+    if (record.connect)
         return {
             ...style,
             borderLeftColor: green[500],
             borderLeftWidth: 5,
             borderLeftStyle: 'solid',
         };
-    if (record.staSts$ === '鏈夎揣')
-        return {
-            ...style,
-            borderLeftColor: blue[500],
-            borderLeftWidth: 5,
-            borderLeftStyle: 'solid',
-        };
-    if (record.staSts$ === '绂佺敤')
+    if (!record.connect)
         return {
             ...style,
             borderLeftColor: red[500],
             borderLeftWidth: 5,
             borderLeftStyle: 'solid',
         };
-    if (record.staSts$ === '鏀捐揣棰勭害')
+    if (record.rsvInCnt && record.rsvInCnt > 0)
+        return {
+            ...style,
+            borderLeftColor: blue[500],
+            borderLeftWidth: 5,
+            borderLeftStyle: 'solid',
+        };
+    if (record.rsvOutCnt && record.rsvOutCnt > 0)
         return {
             ...style,
             borderLeftColor: orange[500],
             borderLeftWidth: 5,
             borderLeftStyle: 'solid',
         };
-    if (record.staSts$ === '鍙栬揣棰勭害')
-        return {
-            ...style,
-            borderLeftColor: orange[500],
-            borderLeftWidth: 5,
-            borderLeftStyle: 'solid',
-        };
-    if (record.staSts$ === '鍏朵粬')
+    if (!record.statusBool)
         return {
             ...style,
             borderLeftColor: grey[500],

--
Gitblit v1.9.1