From 651175d8c2bb08f8bd4739ccf0f7b19afe198325 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Mon, 15 Sep 2025 11:24:27 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A8=BD=E6=9F=A5=E6=90=9C=E7=B4=A2=E6=A0=8F?=
=?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=97=B6=E9=97=B4=E6=B7=BB=E5=8A=A0=E6=8F=90?=
=?UTF-8?q?=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../trial-summary/audit-record/index.vue | 64 ++++++++++---------
1 file changed, 34 insertions(+), 30 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 0bdae98..81f1eeb 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
@@ -38,8 +38,8 @@
-
+
@@ -79,7 +79,9 @@
+ range-separator="-" :start-placeholder="$t('trials:auditRecord:placeholder:startTime')"
+ :end-placeholder="$t('trials:auditRecord:placeholder:endTime')" :default-time="['00:00:00', '23:59:59']"
+ type="datetimerange">
@@ -91,17 +93,17 @@
{{ $t('common:button:search')
- }}
+ }}
{{ $t('common:button:reset')
- }}
+ }}
-
+
- {{ $t('trials:auditRecord:title:historicalOperations') }}
+ {{
+ $t('trials:auditRecord:title:historicalOperations') }}
- {{ $t('trials:auditRecord:title:relationOperations') }}
+ {{
+ $t('trials:auditRecord:title:relationOperations') }}
@@ -247,9 +249,9 @@
:ref="`${scope.row.oldValue instanceof Array ? scope.row.oldValue[0] : scope.row.oldValue}_modelCfg`"
:images="imagesList">
- {{ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.oldValue
- instanceof Array ? `(${scope.row.oldValue.length})` : ''}}
+ {{
+ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.oldValue
+ instanceof Array ? `(${scope.row.oldValue.length})` : '' }}
@@ -285,9 +287,9 @@
:ref="`${scope.row.newValue instanceof Array ? scope.row.newValue[0] : scope.row.newValue}_modelcfg`"
:images="imagesList">
- {{ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.newValue
- instanceof Array ? `(${scope.row.newValue.length})` : ''}}
+ {{
+ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.newValue
+ instanceof Array ? `(${scope.row.newValue.length})` : '' }}
@@ -310,7 +312,8 @@
{{ $t('trials:auditRecord:title:viewImage') }}
+ @click="openImage(scope.row[item.ColumnValue], 'modelcfg')">{{
+ $t('trials:auditRecord:title:viewImage') }}
@@ -333,7 +336,7 @@
v-show="false" crossorigin="anonymous" alt="">
{{ scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index :
- ite.ColumnValue]}}
+ ite.ColumnValue] }}
@@ -488,9 +491,9 @@
:ref="scope.row.oldValue instanceof Array ? scope.row.oldValue[0] : scope.row.oldValue"
:images="imagesList">
- {{ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.oldValue
- instanceof Array ? `(${scope.row.oldValue.length})` : ''}}
+ {{
+ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.oldValue
+ instanceof Array ? `(${scope.row.oldValue.length})` : '' }}
@@ -531,9 +534,9 @@
:ref="scope.row.newValue instanceof Array ? scope.row.newValue[0] : scope.row.newValue"
:images="imagesList">
- {{ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.newValue
- instanceof Array ? `(${scope.row.newValue.length})` : ''}}
+ {{
+ $t('trials:auditRecord:title:viewImage') }}{{ scope.row.newValue
+ instanceof Array ? `(${scope.row.newValue.length})` : '' }}
@@ -566,13 +569,14 @@
:images="imagesList">
{{ $t('trials:auditRecord:title:viewImage') }}
+ @click="openImage(scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue])">{{
+ $t('trials:auditRecord:title:viewImage') }}
{{ scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index :
- ite.ColumnValue]}}
+ ite.ColumnValue] }}
@@ -583,8 +587,8 @@
- {{ $t('trials:auditRecord:title:viewImage') }}
+ {{
+ $t('trials:auditRecord:title:viewImage') }}
@@ -801,7 +805,7 @@ export default {
var item
if (!v.IsEnable) return
- if (v.ApplyCriterionList && Array.isArray(v.ApplyCriterionList) && v.ApplyCriterionList.length > 0 && !v.ApplyCriterionList.includes(this.currentRow.CriterionType)) return false
+ if (v.ApplyCriterionList && Array.isArray(v.ApplyCriterionList) && v.ApplyCriterionList.length > 0 && !v.ApplyCriterionList.includes(this.currentRow.CriterionType)) return false
if (v.IsShowByTrialConfig) {
if (!parentRow[v.TrialConfigRelyFieldName]) return
}