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 @@
公告通知列表
新增 - 导出 - 导出记录 + + 批量删除
+