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