diff --git a/src/views/dictionary/attachment/components/CommonTemplate/TemplateForm.vue b/src/views/dictionary/attachment/components/CommonTemplate/TemplateForm.vue index 8fabdb92..20bcc97f 100644 --- a/src/views/dictionary/attachment/components/CommonTemplate/TemplateForm.vue +++ b/src/views/dictionary/attachment/components/CommonTemplate/TemplateForm.vue @@ -9,10 +9,10 @@ class="upload-temporary-file" >
- + - + - +
@@ -176,9 +178,9 @@ export default { }, methods: { handleDelete(row) { - this.$confirm('确定删除该文件?').then(() => { + this.$confirm(this.$t('dictionary:attachment:export:confirm:delete')).then(() => { deleteCommonDocument(row.Id).then(() => { - this.$message.success('删除成功') + this.$message.success(this.$t('common:message:deletedSuccessfully')) this.getList() }) }) @@ -195,7 +197,7 @@ export default { }, // 新增 handleAdd() { - this.editDialog.title = 'Add' + this.editDialog.title = this.$t('common:button:new') this.currentRow = { FileTypeEnum: FileTypeEnum } this.editDialog.visible = true }, @@ -208,7 +210,7 @@ export default { }, // 编辑 handleEdit(row) { - this.editDialog.title = 'Edit' + this.editDialog.title = this.$t('common:action:edit') this.currentRow = { ...row } this.editDialog.visible = true }, diff --git a/src/views/dictionary/attachment/components/ExportTemplate/TemplateForm.vue b/src/views/dictionary/attachment/components/ExportTemplate/TemplateForm.vue index d7273529..1df7fe0a 100644 --- a/src/views/dictionary/attachment/components/ExportTemplate/TemplateForm.vue +++ b/src/views/dictionary/attachment/components/ExportTemplate/TemplateForm.vue @@ -9,7 +9,7 @@ class="upload-temporary-file" >
- + - - + + {{ item.label }} + @@ -235,7 +235,7 @@ export default { }, // 新增 handleAdd() { - this.editDialog.title = 'Add' + this.editDialog.title = this.$t('common:button:new') this.currentRow = { FileTypeEnum: FileTypeEnum } this.editDialog.visible = true }, @@ -252,7 +252,7 @@ export default { }, // 编辑 handleEdit(row) { - this.editDialog.title = 'Edit' + this.editDialog.title = this.$t('common:action:edit') this.currentRow = { ...row } this.editDialog.visible = true }, diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue index 3d052d91..ed4da8d3 100644 --- a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue +++ b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue @@ -247,7 +247,7 @@ export default { }, // 新增 handleAdd() { - this.title = 'Add' + this.title = this.$t('common:button:new') this.currentRow = {} this.editVisible = true }, @@ -262,7 +262,7 @@ export default { }, // 编辑 handleEdit(row) { - this.title = 'Edit' + this.title = this.$t('common:action:edit') this.currentRow = { ...row } this.editVisible = true }, diff --git a/src/views/dictionary/template/components/AddDICOMConfig.vue b/src/views/dictionary/template/components/AddDICOMConfig.vue index f4d63eb2..03e2694e 100644 --- a/src/views/dictionary/template/components/AddDICOMConfig.vue +++ b/src/views/dictionary/template/components/AddDICOMConfig.vue @@ -8,32 +8,36 @@ label-width="160px" size="small" > - + - + - + + - + + - + + - + + - + - + @@ -82,7 +86,7 @@ export default { IsAdd: false }, rules: { - Group: [{ required: true, message: 'Please specify', trigger: 'blur' }] + Group: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' }] }, model_cfg: { visible: false, showClose: true, width: '600px', title: '' } } @@ -108,7 +112,7 @@ export default { this.btnLoading = true addOrUpdateSystemAnonymization(this.form).then(res => { this.btnLoading = false - this.$message.success('Saved successfully!') + this.$message.success(this.$t('common:message:savedSuccessfully')) this.model_cfg.visible = false this.$emit('getList') }).catch(() => { diff --git a/src/views/dictionary/template/components/Anonymization.vue b/src/views/dictionary/template/components/Anonymization.vue index 817d65eb..eeec9d9e 100644 --- a/src/views/dictionary/template/components/Anonymization.vue +++ b/src/views/dictionary/template/components/Anonymization.vue @@ -3,16 +3,20 @@ @@ -42,33 +46,39 @@ height="100" > + + + + + - + + + - + + - + @@ -153,7 +165,7 @@ export default { switchChange(event, item) { this.loading = true addOrUpdateSystemAnonymization(item).then(res => { - this.$message.success('Saved successfully!') + this.$message.success(this.$t('common:message:savedSuccessfully')) this.loading = false }).catch(() => { this.loading = false @@ -161,12 +173,12 @@ export default { }, handleAdd() { this.$nextTick(() => { - this.$refs['AddDICOMConfig'].openDialog('New Anonymization', {}) + this.$refs['AddDICOMConfig'].openDialog(this.$t('common:button:new'), {}) }) }, handleEdit(row) { this.$nextTick(() => { - this.$refs['AddDICOMConfig'].openDialog('Edit Anonymization', row) + this.$refs['AddDICOMConfig'].openDialog(this.$t('common:action:edit'), row) }) }, handleDelete(row) { diff --git a/src/views/dictionary/template/components/IncreaseFields.vue b/src/views/dictionary/template/components/IncreaseFields.vue index badc3517..3764c288 100644 --- a/src/views/dictionary/template/components/IncreaseFields.vue +++ b/src/views/dictionary/template/components/IncreaseFields.vue @@ -3,16 +3,20 @@ @@ -42,33 +46,39 @@ height="100" > + + + + + - + + + - + + - + @@ -152,7 +164,7 @@ export default { switchChange(event, item) { this.loading = true addOrUpdateSystemAnonymization(item).then(res => { - this.$message.success('Saved successfully!') + this.$message.success(this.$t('common:message:savedSuccessfully')) this.loading = false }).catch(() => { this.loading = false @@ -160,12 +172,12 @@ export default { }, handleEdit(row) { this.$nextTick(() => { - this.$refs['AddDICOMConfig'].openDialog('Edit Anonymization', row) + this.$refs['AddDICOMConfig'].openDialog(this.$t('common:action:edit'), row) }) }, handleAdd() { this.$nextTick(() => { - this.$refs['AddDICOMConfig'].openDialog('New IncreaseFields', { + this.$refs['AddDICOMConfig'].openDialog(this.$t('common:button:new'), { Group: '', Element: '', TagDescription: '', diff --git a/src/views/dictionary/template/email/components/EmailList.vue b/src/views/dictionary/template/email/components/EmailList.vue index 023702e5..2a87539e 100644 --- a/src/views/dictionary/template/email/components/EmailList.vue +++ b/src/views/dictionary/template/email/components/EmailList.vue @@ -206,7 +206,7 @@ :label="$t('dictionary:email:label:businessLevel')" sortable="custom" show-overflow-tooltip - min-width="100" + min-width="150" >