From 61a2db936dcbc3d5aebe8ff850bcaab76e3b3785 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 15 六月 2026 11:09:18 +0800
Subject: [PATCH] 合并恢复

---
 src/pages/inspectionUpload/index.vue |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/pages/inspectionUpload/index.vue b/src/pages/inspectionUpload/index.vue
index 3c6547b..80c4c76 100644
--- a/src/pages/inspectionUpload/index.vue
+++ b/src/pages/inspectionUpload/index.vue
@@ -84,7 +84,7 @@
                          size="small"
                          type="primary"
                          inverted></uni-tag>
-                <uni-tag v-else=""
+                <uni-tag v-else
                          text="鏈贰妫�"
                          size="small"
                          type="warning"
@@ -297,11 +297,15 @@
 
   const getFileStatus = record => {
     let _beforeProduction =
-      record.beforeProduction && record.beforeProduction.length;
+      (record.commonFileListBeforeVO && record.commonFileListBeforeVO.length) ||
+      (record.commonFileListBefore && record.commonFileListBefore.length);
     let _afterProduction =
-      record.afterProduction && record.afterProduction.length;
+      (record.commonFileListVO && record.commonFileListVO.length) ||
+      (record.commonFileListAfter && record.commonFileListAfter.length);
     let _productionIssues =
-      record.productionIssues && record.productionIssues.length;
+      (record.commonFileListAfterVO && record.commonFileListAfterVO.length) ||
+      (record.commonFileListIssue && record.commonFileListIssue.length);
+
     if (_beforeProduction && _afterProduction && _productionIssues) {
       return 2;
     } else if (_beforeProduction || _afterProduction || _productionIssues) {
@@ -494,8 +498,6 @@
       icon: "error",
     });
   };
-
-
 </script>
 
 <style scoped>

--
Gitblit v1.9.3