drawingDefalut.js
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// 默认表单配置项
export default [
{
formCodeId: 11,
label: '姓名',
//文字说明
captions: '',
tag: 'el-input',
tagIcon: 'input',
layout: 'colFormItem',
placeholder: '请输入你的名字',
defaultValue: undefined,
span: 24,
labelWidth: null,
style: { width: '100%' },
clearable: true,
prepend: '',
append: '',
'prefix-icon': '',
'suffix-icon': '',
maxlength: null,
'show-word-limit': true,
readonly: false,
disabled: false,
required: true,
regList: [],
changeTag: true,
},
{
formCodeId: 5,
layout: 'colFormItem',
tagIcon: 'phone',
label: '手机号',
//文字说明
captions: '',
tag: 'el-input',
placeholder: '请输入手机号',
defaultValue: '',
span: 24,
style: { width: '100%' },
clearable: true,
prepend: '',
append: '',
'prefix-icon': '',
'suffix-icon': '',
maxlength: 11,
'show-word-limit': true,
change: 'change',
readonly: false,
disabled: false,
required: true,
changeTag: true,
regList: [
{
pattern: '/^1(3|4|5|7|8|9)\\d{9}$/',
message: '手机号格式错误',
},
],
},
]