From c4d25912d11ab9059f8165c25a161634bb9b5e97 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 16 六月 2026 09:45:33 +0800
Subject: [PATCH] proapp 1.工作台分类修改
---
src/pages/inspectionUpload/index.vue | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/pages/inspectionUpload/index.vue b/src/pages/inspectionUpload/index.vue
index bedc38f..80c4c76 100644
--- a/src/pages/inspectionUpload/index.vue
+++ b/src/pages/inspectionUpload/index.vue
@@ -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) {
--
Gitblit v1.9.3