From 705131285595eb360eb14b9e29205f7b0c247324 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Mon, 10 Mar 2025 15:09:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/EmailTemplate/index.vue | 22 +-- .../UploadTemplate/TemplateForm.vue | 31 +++-- .../components/UploadTemplate/index.vue | 44 +++--- src/views/dictionary/sign/index.vue | 57 +++++--- .../components/ClinicalDataConfig.vue | 81 ++++++----- .../template/components/ClinicalDataForm.vue | 55 ++++---- .../components/ClinicalQuestionConfig.vue | 74 ++++++---- .../components/ClinicalQuestionForm.vue | 83 +++++++----- .../components/ClinicalQuestionTableForm.vue | 60 +++++---- .../ClinicalQuestionTableQsList.vue | 42 +++--- .../template/components/MedicalAudit.vue | 45 ++++--- .../template/components/MedicalAuditForm.vue | 78 +++++++---- .../template/email/components/EmailForm.vue | 126 ++++++++++++------ .../template/email/components/EmailList.vue | 67 ++++++---- .../sign/components/SceneConfigForm.vue | 20 +-- .../template/sign/components/SceneList.vue | 22 +-- .../sign/components/SignTemplateForm.vue | 23 ++-- src/views/dictionary/template/sign/index.vue | 43 +++--- .../email-manage/components/EmailForm.vue | 2 +- .../components/ClinicalQuestionTableForm.vue | 2 +- 20 files changed, 580 insertions(+), 397 deletions(-) diff --git a/src/views/dictionary/attachment/components/EmailTemplate/index.vue b/src/views/dictionary/attachment/components/EmailTemplate/index.vue index cedddeff..2ea24745 100644 --- a/src/views/dictionary/attachment/components/EmailTemplate/index.vue +++ b/src/views/dictionary/attachment/components/EmailTemplate/index.vue @@ -2,7 +2,8 @@ + - + @@ -197,12 +202,13 @@ export default { }, methods: { handleDelete(row) { - this.$confirm('确定删除该模版?').then(() => { + // 确定删除该模版? + this.$confirm(this.$t('dictionary:attachment:message:msg1')).then(() => { deleteCommonDocument(row.Id).then(() => { - this.$message.success('删除成功') + this.$message.success(this.$t('common:message:deletedSuccessfully')) this.getList() }) - }) + }).catch(()=>{}) }, PreviewFile(row) { let basePath = window.location.origin @@ -229,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 }, @@ -246,7 +252,7 @@ export default { }, // 编辑 handleEdit(row) { - this.editDialog.title = 'Edit' + this.editDialog.title = this.$t('common:button:edit') this.currentRow = { ...row } this.editDialog.visible = true }, diff --git a/src/views/dictionary/sign/index.vue b/src/views/dictionary/sign/index.vue index 7e84582b..777fcce4 100644 --- a/src/views/dictionary/sign/index.vue +++ b/src/views/dictionary/sign/index.vue @@ -3,15 +3,25 @@