From 99d9216d1b1e3185bffe79c4c68ff215e10785f0 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 25 五月 2026 11:15:20 +0800
Subject: [PATCH] 巡检图片上传问题
---
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