From 4ebf3e627244b73552febcbc61b4e872fba8f27d Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Mon, 7 Jul 2025 16:36:25 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A8=BD=E6=9F=A5=E6=96=B0=E5=A2=9E=E7=B1=BB?=
=?UTF-8?q?=E5=9E=8B=E6=96=87=E4=BB=B6=E5=A4=A7=E5=B0=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/dictionary/checkConfig/index.vue | 21 +++++--------
.../trial-summary/audit-record/index.vue | 30 +++++++++++++++++++
2 files changed, 38 insertions(+), 13 deletions(-)
diff --git a/src/views/dictionary/checkConfig/index.vue b/src/views/dictionary/checkConfig/index.vue
index d519e021..b102741a 100644
--- a/src/views/dictionary/checkConfig/index.vue
+++ b/src/views/dictionary/checkConfig/index.vue
@@ -243,16 +243,7 @@
{if (v === 'Table'){rowDrop2()}}">
- 字符串
- 数组(类似QC问题审核)
- 对话
- 外链
- 弹框列表
- 表格
- 路由
- 图片
- 图片数组
- OSS
+ {{item.label}}
@@ -671,11 +662,15 @@
-
-
+
+
+
+
完全拷贝
-
+
+
+
拷贝
新建
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 60a20c7f..45121eca 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
@@ -843,6 +843,36 @@ export default {
}
return
}
+ if (v.DataType === 'FileSize') {
+ if (obj[v.Code]) {
+ obj[v.Code] = obj[v.Code].filter(s => s && s.trim())
+ if (row.OptType === 'Add' || row.OptType === 'Init') {
+ item = {
+ key: v.Code,
+ Enum: this.$i18n.locale === 'zh' ? v.ValueCN : v.Value,
+ newValue: parseInt(obj[v.Code] ) >= 0 ? `${(obj[v.Code] / 1024 / 1024).toFixed(3)}MB` : '--',
+ oldValue: ''
+ }
+ } else if (row.OptType === 'Delete') {
+ item = {
+ key: v.Code,
+ Enum: this.$i18n.locale === 'zh' ? v.ValueCN : v.Value,
+ oldValue: parseInt(obj[v.Code] ) >= 0 ? `${(obj[v.Code] / 1024 / 1024).toFixed(3)}MB` : '--',
+ newValue: '--'
+ }
+ } else {
+ item = {
+ key: v.Code,
+ Enum: this.$i18n.locale === 'zh' ? v.ValueCN : v.Value,
+ newValue: parseInt(obj[v.Code] ) >= 0 ? `${(obj[v.Code] / 1024 / 1024).toFixed(3)}MB` : '--',
+ oldValue: parseInt(upObj[v.Code] ) >= 0 ? `${(upObj[v.Code] / 1024 / 1024).toFixed(3)}MB` : '--',
+ }
+ }
+ item.DataType = v.DataType
+ this[auditData].push(item)
+ }
+ return
+ }
if (v.DataType === 'ImageList') {
// if (obj[v.Code] && obj[v.Code].length > 0) {