diff --git a/src/views/dictionary/template/email/components/EmailForm.vue b/src/views/dictionary/template/email/components/EmailForm.vue index 0cbc1171..f9e75ec7 100644 --- a/src/views/dictionary/template/email/components/EmailForm.vue +++ b/src/views/dictionary/template/email/components/EmailForm.vue @@ -246,9 +246,9 @@ :autosize="{ minRows: 8, maxRows: 8 }" /> {{ $t('common:button:preview') }} @@ -265,9 +265,9 @@ :autosize="{ minRows: 8, maxRows: 8 }" /> {{ $t('common:button:preview') }} @@ -519,8 +519,8 @@ export default { }) }, // 预览模板 - PreviewHTML(html) { - this.$emit('PreviewHTML', html) + PreviewHTML(html, htmlEn) { + this.$emit('PreviewHTML', html, htmlEn) }, }, } diff --git a/src/views/dictionary/template/email/components/EmailList.vue b/src/views/dictionary/template/email/components/EmailList.vue index fe3ca77d..88c20c5e 100644 --- a/src/views/dictionary/template/email/components/EmailList.vue +++ b/src/views/dictionary/template/email/components/EmailList.vue @@ -370,6 +370,13 @@ 删除 + {{ $t('common:button:preview') }} @@ -427,7 +434,23 @@ fullscreen custom-class="base-dialog-wrapper" > -
+
+
+

邮件内容模版(CN)

+
+
+
+

邮件内容模版(EN)

+ +
+
@@ -487,6 +510,7 @@ export default { attachmentVisible: false, previewVisible: false, previewHTML: null, + previewHTMLEN: null, } }, computed: { @@ -574,8 +598,9 @@ export default { closeDialog() { this.editVisible = false }, - preview(html) { + preview(html, htmlEN) { this.previewHTML = html + this.previewHTMLEN = htmlEN this.previewVisible = true }, // 导出