From 18fbea5a7217f034c66bd5806fb2a418391a0685 Mon Sep 17 00:00:00 2001 From: xxm Date: Thu, 17 Nov 2022 16:55:51 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E7=9B=B8=E5=85=B3,=20=E6=B7=BB=E5=8A=A0wangEditor=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 + ...{NoticeIconReader.vue => NoticeReader.vue} | 9 +- .../components/notify/SiteMessage.api.ts | 14 +- .../header/components/notify/index.vue | 4 +- .../site/{sender => }/SiteMessage.api.ts | 48 +-- .../notice/site/receive/SiteMessageList.vue | 95 ++++- .../notice/site/sender/SiteMessageEdit.vue | 110 +++--- .../notice/site/sender/SiteMessageList.vue | 11 +- yarn.lock | 333 +++++++++++++++++- 9 files changed, 529 insertions(+), 97 deletions(-) rename src/layouts/default/header/components/notify/{NoticeIconReader.vue => NoticeReader.vue} (78%) rename src/views/modules/notice/site/{sender => }/SiteMessage.api.ts (70%) diff --git a/package.json b/package.json index 39ebdae1..41ea8d9e 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,8 @@ "@vue/shared": "^3.2.33", "@vueuse/core": "^8.3.0", "@vueuse/shared": "^8.3.0", + "@wangeditor/editor": "^5.1.23", + "@wangeditor/editor-for-vue": "^5.1.12", "@zxcvbn-ts/core": "^2.0.1", "ant-design-vue": "^3.2.13", "axios": "^0.26.1", diff --git a/src/layouts/default/header/components/notify/NoticeIconReader.vue b/src/layouts/default/header/components/notify/NoticeReader.vue similarity index 78% rename from src/layouts/default/header/components/notify/NoticeIconReader.vue rename to src/layouts/default/header/components/notify/NoticeReader.vue index 29d36994..eb9c8edc 100644 --- a/src/layouts/default/header/components/notify/NoticeIconReader.vue +++ b/src/layouts/default/header/components/notify/NoticeReader.vue @@ -22,16 +22,23 @@ - + diff --git a/src/views/modules/notice/site/sender/SiteMessageEdit.vue b/src/views/modules/notice/site/sender/SiteMessageEdit.vue index 466a2b01..58149a1d 100644 --- a/src/views/modules/notice/site/sender/SiteMessageEdit.vue +++ b/src/views/modules/notice/site/sender/SiteMessageEdit.vue @@ -1,51 +1,33 @@