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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
| // 表单数据选项(自行扩展)
| export const formData = [
| {
| label: '姓名',
| prop: 'name',
| placeholder: '请输入姓名',
| clearable: true,
| disabled: false,
| required: true,
| type: 'input',
| i18n: false,
| i18nText: '',
| isShow: true,
| xs: 24,
| sm: 12,
| md: 8,
| lg: 6,
| xl: 4,
| },
| {
| label: '邮箱',
| prop: 'email',
| placeholder: '请输入用户邮箱',
| clearable: true,
| disabled: false,
| required: true,
| type: 'input',
| i18n: false,
| i18nText: '',
| isShow: true,
| xs: 24,
| sm: 12,
| md: 8,
| lg: 6,
| xl: 4,
| },
| {
| label: '登陆时间',
| prop: 'autograph',
| placeholder: '选择时间',
| clearable: true,
| disabled: false,
| required: true,
| type: 'date',
| i18n: false,
| i18nText: '',
| isShow: true,
| xs: 24,
| sm: 12,
| md: 8,
| lg: 6,
| xl: 4,
| },
| {
| label: '职务',
| prop: 'occupation',
| placeholder: '请选择职务',
| clearable: true,
| disabled: false,
| required: true,
| type: 'select',
| i18n: false,
| i18nText: '',
| options: [
| {
| label: '计算机 / 互联网 / 通信',
| value: '1',
| },
| {
| label: '生产 / 工艺 / 制造',
| value: '2',
| },
| {
| label: '医疗 / 护理 / 制药',
| value: '3',
| },
| ],
| isShow: true,
| xs: 24,
| sm: 12,
| md: 8,
| lg: 6,
| xl: 4,
| },
| {
| label: '',
| prop: '',
| placeholder: '',
| clearable: true,
| disabled: false,
| required: true,
| type: '',
| i18n: false,
| i18nText: '',
| isShow: true,
| xs: 24,
| sm: 24,
| md: 24,
| lg: 24,
| xl: 24,
| },
| {
| label: '备注',
| prop: 'remarks',
| placeholder: '请输入',
| clearable: true,
| disabled: false,
| required: true,
| type: 'textarea',
| i18n: false,
| i18nText: '',
| isShow: true,
| xs: 24,
| sm: 24,
| md: 24,
| lg: 24,
| xl: 24,
| },
| ];
|
|