From 55f0be610b3adae8cc0d83e6d33ff71075f1b9de Mon Sep 17 00:00:00 2001
From: zjh <2207896513@qq.com>
Date: 星期六, 09 八月 2025 11:15:01 +0800
Subject: [PATCH] 扫码优化

---
 pages/QC/SJ/List.vue |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/pages/QC/SJ/List.vue b/pages/QC/SJ/List.vue
index 0360664..7125a48 100644
--- a/pages/QC/SJ/List.vue
+++ b/pages/QC/SJ/List.vue
@@ -35,9 +35,15 @@
           <view v-if="item.urgent == 1" class="badge urgent">鎬ユ枡</view>
           <view v-if="item.isFirst == 1" class="badge normal">棣栨</view>
           <view class="card-title">妫�楠屽崟鍙�: {{ item.billNo }}</view>
-          <view :class="{'status-pending': current === 0, 'status-assigned': current === 0 && item.statusUser, 'status-pass': current === 1 && item.result === '鍚堟牸', 'status-fail': current === 1 && item.result === '涓嶅悎鏍�'}"
+          <view :class="{
+                  'status-pending': !item.result && current === 0,
+                  'status-assigned': current === 0 && item.statusUser && !item.result,
+                  'status-pass': item.result === '鍚堟牸',
+                  'status-fail': item.result === '涓嶅悎鏍�',
+                  'status-submitted': !item.result && current === 1
+                }"
                 class="status">
-            {{ current === 0 ? (item.statusUser ? '宸插垎閰�' : '鏈彁浜�') : (item.result ? item.result : '宸叉彁浜�') }}
+            {{ current === 0 ? (item.result ? item.result : '鏈彁浜�') : (item.result ? item.result : '宸叉彁浜�') }}
           </view>
         </view>
 
@@ -460,7 +466,12 @@
 }
 
 .status-fail {
-  background: linear-gradient(135deg, #e74c3c, #c0392b);
+  background: linear-gradient(135deg, #3498db, #2980b9);
+  color: white;
+}
+
+.status-submitted {
+  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
   color: white;
 }
 

--
Gitblit v1.9.3