From ebe7c746147c83bc03561d0e38206bdd830223ea Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Tue, 21 May 2024 11:45:31 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A8=BD=E6=9F=A5=E6=9F=A5=E7=9C=8B=E5=A4=9A?=
=?UTF-8?q?=E5=9B=BEbug=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../trials-panel/trial-summary/audit-record/index.vue | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/trials/trials-panel/trial-summary/audit-record/index.vue b/src/views/trials/trials-panel/trial-summary/audit-record/index.vue
index 37e3896d..6a27c9da 100644
--- a/src/views/trials/trials-panel/trial-summary/audit-record/index.vue
+++ b/src/views/trials/trials-panel/trial-summary/audit-record/index.vue
@@ -348,7 +348,7 @@
{{$t('trials:auditRecord:title:viewDetail')}}
-
+
{{$t('trials:auditRecord:title:viewImage')}}{{scope.row.oldValue instanceof Array ? `(${scope.row.oldValue.length})` : ''}}
@@ -377,7 +377,7 @@
{{$t('trials:auditRecord:title:viewDetail')}}
-
+
{{$t('trials:auditRecord:title:viewImage')}}{{scope.row.newValue instanceof Array ? `(${scope.row.newValue.length})` : ''}}
@@ -672,7 +672,7 @@
{{$t('trials:auditRecord:title:viewDetail')}}
-
+
{{$t('trials:auditRecord:title:viewImage')}}{{scope.row.oldValue instanceof Array ? `(${scope.row.oldValue.length})` : ''}}
@@ -707,7 +707,7 @@
{{$t('trials:auditRecord:title:viewDetail')}}
-
+
{{$t('trials:auditRecord:title:viewImage')}}{{scope.row.newValue instanceof Array ? `(${scope.row.newValue.length})` : ''}}
@@ -1029,7 +1029,7 @@ export default {
key: v.Code,
Enum: v.ValueCN,
newValue: obj[v.Code] ? obj[v.Code] : '--',
- oldValue: upObj[v.Code] ? upObj[v.Code] : '--'
+ oldValue: upObj[v.Code].length > 0 ? upObj[v.Code] : '--'
}
}
item.DataType = v.DataType