Commit 781ead62c1b50d76696a1f90ce636d6e7e222d45

Authored by fengtao
1 parent 6178c639

pref:通知标题做限制

@@ -87,7 +87,7 @@ export const formSchema: FormSchema[] = [ @@ -87,7 +87,7 @@ export const formSchema: FormSchema[] = [
87 component: 'Input', 87 component: 'Input',
88 componentProps: { 88 componentProps: {
89 placeholder: '请输入标题', 89 placeholder: '请输入标题',
90 - maxLength: 200, 90 + maxLength: 36,
91 }, 91 },
92 }, 92 },
93 { 93 {
@@ -96,6 +96,9 @@ export const formSchema: FormSchema[] = [ @@ -96,6 +96,9 @@ export const formSchema: FormSchema[] = [
96 colProps: { span: 24 }, 96 colProps: { span: 24 },
97 label: '通知内容', 97 label: '通知内容',
98 required: true, 98 required: true,
  99 + componentProps: {
  100 + maxLength: 255,
  101 + },
99 render: ({ model, field }) => { 102 render: ({ model, field }) => {
100 return h(Tinymce, { 103 return h(Tinymce, {
101 value: model[field], 104 value: model[field],
@@ -30,6 +30,7 @@ export enum SchemaFiled { @@ -30,6 +30,7 @@ export enum SchemaFiled {
30 ORDER_BY = 'orderBy', 30 ORDER_BY = 'orderBy',
31 } 31 }
32 export const organizationId = ref(''); 32 export const organizationId = ref('');
  33 +
33 // 表格配置 34 // 表格配置
34 export const columns: BasicColumn[] = [ 35 export const columns: BasicColumn[] = [
35 { 36 {
@@ -185,7 +186,11 @@ export const formSchema: QFormSchema[] = [ @@ -185,7 +186,11 @@ export const formSchema: QFormSchema[] = [
185 { 186 {
186 field: 'executeWay', 187 field: 'executeWay',
187 component: 'RadioGroup', 188 component: 'RadioGroup',
188 - helpMessage: [''], 189 + helpMessage: [
  190 + `立即执行,在创建完报表配置后,启用配置即执行。
  191 + 定时执行,用户定义执行时间,启用后,
  192 + 在满足执行时间条件后,自动执行。`,
  193 + ],
189 label: '执行方式', 194 label: '执行方式',
190 colProps: { 195 colProps: {
191 span: 24, 196 span: 24,