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('common:button:cancel') }} + {{ $t('common:button:save') }} - + - + - 取消 - 保存 + {{ $t('common:button:cancel') }} + {{ $t('common:button:save') }} @@ -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 @@