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 @@