update:
1.修改通知消息bug 2.修改富文本编辑器组件
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user