diff --git a/package.json b/package.json index 951dd8d..f1da1f8 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "nprogress": "0.2.0", "path-to-regexp": "2.4.0", "pdfobject": "^2.2.8", + "prismjs": "^1.30.0", "popper.js": "^1.16.1", "sass-loader": "^8.0.0", "screenfull": "^4.2.0", @@ -54,6 +55,7 @@ "vue-contextmenujs": "^1.3.13", "vue-count-to": "^1.0.13", "vue-i18n": "^8.7.0", + "vue-prism-editor": "^1.3.0", "vue-pdf": "^4.3.0", "vue-puzzle-vcode": "^1.1.10", "vue-router": "3.0.6", diff --git a/src/views/dictionary/template/email/components/AttachmentForm.vue b/src/views/dictionary/template/email/components/AttachmentForm.vue index 2dc7e59..b74bcdb 100644 --- a/src/views/dictionary/template/email/components/AttachmentForm.vue +++ b/src/views/dictionary/template/email/components/AttachmentForm.vue @@ -59,7 +59,9 @@ - + - {{ item.label }} + {{ item.label }} @@ -206,7 +208,7 @@ export default { this.loading = false this.$emit('closeDialog') this.$emit('getList') - this.$message.success('保存成功!') + this.$message.success(this.$t('common:message:savedSuccessfully')) }).catch(() => { this.loading = false }) diff --git a/src/views/dictionary/template/email/components/AttachmentList.vue b/src/views/dictionary/template/email/components/AttachmentList.vue index 490886d..b3f4cd2 100644 --- a/src/views/dictionary/template/email/components/AttachmentList.vue +++ b/src/views/dictionary/template/email/components/AttachmentList.vue @@ -82,7 +82,7 @@ /> diff --git a/src/views/dictionary/template/email/components/EmailForm.vue b/src/views/dictionary/template/email/components/EmailForm.vue index de98c38..7e7b214 100644 --- a/src/views/dictionary/template/email/components/EmailForm.vue +++ b/src/views/dictionary/template/email/components/EmailForm.vue @@ -1,218 +1,247 @@ + diff --git a/src/views/dictionary/template/email/components/EmailList.vue b/src/views/dictionary/template/email/components/EmailList.vue index 6b5bfbf..627dafc 100644 --- a/src/views/dictionary/template/email/components/EmailList.vue +++ b/src/views/dictionary/template/email/components/EmailList.vue @@ -1,172 +1,160 @@ + diff --git a/src/views/dictionary/template/email/index.vue b/src/views/dictionary/template/email/index.vue index 1b167f4..660deb3 100644 --- a/src/views/dictionary/template/email/index.vue +++ b/src/views/dictionary/template/email/index.vue @@ -2,24 +2,48 @@ - - + + - + + + + + + +