From e89735710859dc5899ab1f33e08b5fac06fdb59d Mon Sep 17 00:00:00 2001 From: wx <645899409@qq.com> Date: Wed, 11 Feb 2026 16:42:30 +0800 Subject: [PATCH] =?UTF-8?q?update:=201.=E4=BF=AE=E6=94=B9=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E6=B6=88=E6=81=AFbug=202.=E4=BF=AE=E6=94=B9=E5=AF=8C?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E7=BC=96=E8=BE=91=E5=99=A8=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Form/src/jeecg/components/JEditor.vue | 10 ++++- .../src/jeecg/components/JlazyTreeSelect.vue | 5 ++- src/components/Tinymce/src/Editor.vue | 4 +- .../components/noticeDetailModal.vue | 12 ++++-- .../noticeList/components/noticeModal.vue | 36 ++++++++++++---- .../system/noticeList/noticeList.data.ts | 16 ++++++- src/views/system/noticeList/noticeList.vue | 43 ++++++++++++++++++- 7 files changed, 105 insertions(+), 21 deletions(-) diff --git a/src/components/Form/src/jeecg/components/JEditor.vue b/src/components/Form/src/jeecg/components/JEditor.vue index 754c02e..e3d1748 100644 --- a/src/components/Form/src/jeecg/components/JEditor.vue +++ b/src/components/Form/src/jeecg/components/JEditor.vue @@ -1,5 +1,5 @@ diff --git a/src/views/system/noticeList/noticeList.data.ts b/src/views/system/noticeList/noticeList.data.ts index 60e493f..1bcccd9 100644 --- a/src/views/system/noticeList/noticeList.data.ts +++ b/src/views/system/noticeList/noticeList.data.ts @@ -11,11 +11,11 @@ export const columns: BasicColumn[] = [ customRender: ({ text }) => { switch (text) { case 1: - return '指定部门'; + return '指定机构'; case 2: return '指定员工'; case 3: - return '即指定部门又指定员工'; + return '即指定机构又指定员工'; default: return '-'; } @@ -116,8 +116,20 @@ export const schemas: FormSchema[] = [ label: '通知内容', field: 'content', component: 'JEditor', + componentProps: ({ formModel }) => ({ + showImageUpload: true, + 'onUpdate:status': (v: any) => { + formModel.imgStatus = v ? '1' : '0'; + }, + }), required: true, }, + { + label: '', + field: 'imgStatus', + component: 'Input', + show: false, + }, { label: '', field: 'id', diff --git a/src/views/system/noticeList/noticeList.vue b/src/views/system/noticeList/noticeList.vue index dedc1b4..c8e7167 100644 --- a/src/views/system/noticeList/noticeList.vue +++ b/src/views/system/noticeList/noticeList.vue @@ -5,12 +5,26 @@
公告通知列表
新增 - 导出 - 导出记录 + + 批量删除
+