1.修改通知消息bug
2.修改富文本编辑器组件
This commit is contained in:
2026-02-11 16:42:30 +08:00
parent a416e9d7df
commit e897357108
7 changed files with 105 additions and 21 deletions
+14 -2
View File
@@ -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',