From 4ed0ebc913aa7a154f1062b78739330ef72ecc2d Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Tue, 28 Apr 2026 10:18:31 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=90=8C=E6=AD=A5=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E5=9B=BD=E9=99=85=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../data-sync/components/FileList.vue | 94 ++++++++++---------
.../data-sync/components/StudyList.vue | 46 ++++-----
.../data-sync/components/TaskList.vue | 31 +++---
.../trial-summary/data-sync/index.vue | 30 ++----
4 files changed, 97 insertions(+), 104 deletions(-)
diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/components/FileList.vue b/src/views/trials/trials-panel/trial-summary/data-sync/components/FileList.vue
index 6730bbca..f5e910ed 100644
--- a/src/views/trials/trials-panel/trial-summary/data-sync/components/FileList.vue
+++ b/src/views/trials/trials-panel/trial-summary/data-sync/components/FileList.vue
@@ -3,15 +3,15 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- 批量编辑
+ {{ $t('trials:data-sync:fileList:batchEdit') }}
@@ -89,21 +89,21 @@
class="table" @sort-change="handleSortByColumn" :default-sort="{ prop: 'CreateTime', order: 'descending' }" @selection-change="handleSelectionChange">
-
+
-
+
{{ fileSizeFormatter(scope.row.FileSize) }}
-
+
-
+
-
-
-
+
+
+
{{ $fd('YesOrNo', scope.row.IsNeedSync) }}
@@ -113,10 +113,10 @@
-
-
-
-
+
+
+
+
{{ $fd('YesOrNo', scope.row.IsSync) }}
@@ -126,17 +126,19 @@
-
-
+
+
+
- 详情
+ {{ $t('trials:data-sync:fileList:detail') }}
+
- 重新同步
+ {{ $t('trials:data-sync:fileList:reExecute') }}
- 编辑
+ {{ $t('common:action:edit') }}
@@ -145,24 +147,24 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -277,8 +279,8 @@ export default {
// IsSync: null,
},
editRules: {
- Priority: [{ required: true, message: '请输入', trigger: 'change' }],
- IsSync: [{ required: true, message: '请选择', trigger: 'change' }],
+ Priority: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'change' }],
+ IsSync: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'change' }],
},
formLoading: false,
selectedRows: [],
@@ -287,7 +289,7 @@ export default {
Priority: null,
},
batchEditRules: {
- Priority: [{ required: true, message: '请输入', trigger: 'change' }],
+ Priority: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'change' }],
},
}
},
@@ -350,7 +352,7 @@ export default {
}
let res = await batchAddSyncFileTask(params)
if (res.IsSuccess) {
- this.$message.success('执行成功!')
+ this.$message.success(this.$t('trials:data-sync:msg:executeSuccessfully'))
}
this.loading = false
this.getList()
diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/components/StudyList.vue b/src/views/trials/trials-panel/trial-summary/data-sync/components/StudyList.vue
index 35768346..386b60b7 100644
--- a/src/views/trials/trials-panel/trial-summary/data-sync/components/StudyList.vue
+++ b/src/views/trials/trials-panel/trial-summary/data-sync/components/StudyList.vue
@@ -3,11 +3,11 @@
-
+
-
+
@@ -17,11 +17,11 @@
-
+
-
+
-->
-
+
-->
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
{{ $fd('YesOrNo', scope.row.IsSync) }}
@@ -108,10 +108,11 @@
-
+
+
- 详情
+ {{ $t('trials:data-sync:studyList:detail') }}
@@ -129,9 +130,11 @@
class="detail-dialog"
>
{{ detailDialog.title }}
- {{`${detailDialog.currentRow.SubjectCode} / ${detailDialog.currentRow.VisitName} ${detailDialog.currentRow.StudyCode ? ' / ' + detailDialog.currentRow.StudyCode : ''} (源:${detailDialog.currentRow.UploadRegion} -> 目标:${detailDialog.currentRow.TargetRegion})`}}
+
+ {{`${detailDialog.currentRow.SubjectCode} / ${detailDialog.currentRow.VisitName} ${detailDialog.currentRow.StudyCode ? ' / ' + detailDialog.currentRow.StudyCode : ''} ${$t('trials:data-sync:studyList:msg1').replace('xxx', detailDialog.currentRow.UploadRegion).replace('yyy', detailDialog.currentRow.TargetRegion)}`}}
-
+
+
-
+
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
{{ $fd('JobState', scope.row.JobState) }}
@@ -79,15 +79,16 @@
{{ $fd('JobState', scope.row.JobState) }}
-
-
-
+
+
+
-
+
+
- 再次执行
+ {{ $t('trials:data-sync:button:execute') }}
@@ -201,7 +202,7 @@ export default {
}
let res = await batchAddSyncFileTask(params)
if (res.IsSuccess) {
- this.$message.success('执行成功!')
+ this.$message.success(this.$t('trials:data-sync:msg:executeSuccessfully')) //'执行成功!'
}
this.loading = false
diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/index.vue b/src/views/trials/trials-panel/trial-summary/data-sync/index.vue
index dbd1f7c1..f88da6e8 100644
--- a/src/views/trials/trials-panel/trial-summary/data-sync/index.vue
+++ b/src/views/trials/trials-panel/trial-summary/data-sync/index.vue
@@ -1,20 +1,22 @@
-
+
+
-
-
+
+
-
-
+
+
-
+
+
-