vue2-client 1.6.47 → 1.6.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +625 -622
- package/index.js +30 -30
- package/package.json +81 -81
- package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +316 -316
- package/src/base-client/components/common/CitySelect/CitySelect.vue +247 -247
- package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +733 -733
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +508 -508
- package/src/base-client/components/common/FormGroupEdit/FormGroupEdit.vue +140 -140
- package/src/base-client/components/common/FormGroupQuery/FormGroupQuery.vue +165 -165
- package/src/base-client/components/common/JSONToTree/jsontotree.vue +275 -275
- package/src/base-client/components/common/Upload/Upload.vue +168 -168
- package/src/base-client/components/common/XAddForm/XAddForm.vue +325 -325
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +279 -279
- package/src/base-client/components/common/XCard/XCard.vue +64 -64
- package/src/base-client/components/common/XForm/XForm.vue +180 -180
- package/src/base-client/components/common/XForm/XFormItem.vue +513 -519
- package/src/base-client/components/common/XForm/XTreeSelect.vue +184 -184
- package/src/base-client/components/common/XFormCol/XFormCol.vue +18 -29
- package/src/base-client/components/common/XFormTable/XFormTable.vue +336 -336
- package/src/base-client/components/common/XFormTable/index.md +97 -97
- package/src/base-client/components/common/XImportExcel/XImportExcel.vue +132 -132
- package/src/base-client/components/common/XTable/XTable.vue +6 -5
- package/src/base-client/components/common/XTreeOne/XTreeOne.vue +111 -111
- package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +281 -281
- package/src/base-client/components/ticket/TicketDetailsView/TicketDetailsView.vue +807 -807
- package/src/base-client/components/ticket/TicketDetailsView/index.md +29 -29
- package/src/base-client/components/ticket/TicketDetailsView/part/TicketDetailsFlow.vue +260 -260
- package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +532 -532
- package/src/base-client/components/ticket/TicketSubmitSuccessView/index.md +29 -29
- package/src/base-client/plugins/AppData.js +76 -76
- package/src/base-client/plugins/GetLoginInfoService.js +179 -179
- package/src/base-client/plugins/PagedList.js +177 -177
- package/src/base-client/plugins/compatible/LoginServiceOA.js +20 -20
- package/src/base-client/plugins/i18n-extend.js +32 -32
- package/src/components/Ellipsis/Ellipsis.vue +65 -65
- package/src/components/Ellipsis/index.md +38 -38
- package/src/components/NumberInfo/index.md +43 -43
- package/src/components/STable/README.md +341 -341
- package/src/components/STable/index.js +318 -318
- package/src/components/Trend/index.md +45 -45
- package/src/components/checkbox/ColorCheckbox.vue +157 -157
- package/src/components/checkbox/ImgCheckbox.vue +163 -163
- package/src/components/exception/ExceptionPage.vue +70 -70
- package/src/components/form/FormRow.vue +52 -52
- package/src/components/index.js +36 -36
- package/src/components/menu/SideMenu.vue +62 -62
- package/src/components/menu/menu.js +273 -273
- package/src/components/page/header/index.less +40 -40
- package/src/components/setting/Setting.vue +235 -235
- package/src/components/table/StandardTable.vue +141 -141
- package/src/components/table/advance/ActionColumns.vue +158 -158
- package/src/components/table/advance/SearchArea.vue +355 -355
- package/src/components/tool/AStepItem.vue +60 -60
- package/src/components/tool/AvatarList.vue +68 -68
- package/src/components/tool/Drawer.vue +142 -142
- package/src/components/tool/TagSelect.vue +83 -83
- package/src/components/transition/PageToggleTransition.vue +97 -97
- package/src/config/CreateQueryConfig.js +307 -307
- package/src/config/default/admin.config.js +18 -18
- package/src/config/default/setting.config.js +46 -46
- package/src/config/replacer/resolve.config.js +67 -67
- package/src/layouts/CommonLayout.vue +42 -42
- package/src/layouts/ComponentLayoutOne.vue +47 -47
- package/src/layouts/PageLayout.vue +151 -151
- package/src/layouts/SinglePageView.vue +116 -116
- package/src/layouts/footer/PageFooter.vue +49 -49
- package/src/layouts/header/AdminHeader.vue +134 -134
- package/src/layouts/header/HeaderAvatar.vue +64 -64
- package/src/layouts/header/HeaderNotice.vue +176 -176
- package/src/layouts/header/HeaderSearch.vue +67 -67
- package/src/layouts/header/InstitutionDetail.vue +181 -181
- package/src/layouts/header/index.less +92 -92
- package/src/layouts/tabs/TabsHead.vue +190 -190
- package/src/layouts/tabs/TabsView.vue +379 -379
- package/src/mock/goods/index.js +108 -108
- package/src/pages/login/Login.vue +369 -366
- package/src/pages/report/ReportTable.js +124 -124
- package/src/pages/report/ReportTableHome.vue +28 -28
- package/src/pages/resourceManage/orgListManage.vue +98 -98
- package/src/pages/system/file/index.vue +317 -317
- package/src/pages/system/settings/index.vue +126 -126
- package/src/pages/system/settings/modifyPassword.vue +109 -109
- package/src/router/async/config.async.js +28 -28
- package/src/router/async/router.map.js +68 -68
- package/src/router/index.js +27 -27
- package/src/services/api/DictionaryDetailsViewApi.js +6 -6
- package/src/services/api/LogDetailsViewApi.js +10 -10
- package/src/services/api/QueryParamsDetailsViewApi.js +6 -6
- package/src/services/api/TicketDetailsViewApi.js +34 -34
- package/src/services/api/cas.js +79 -79
- package/src/services/api/common.js +9 -0
- package/src/services/api/commonTempTable.js +10 -10
- package/src/services/api/index.js +17 -17
- package/src/services/api/logininfor/index.js +6 -6
- package/src/services/api/manage.js +8 -8
- package/src/services/apiService.js +14 -14
- package/src/services/user.js +67 -67
- package/src/store/modules/index.js +4 -4
- package/src/theme/default/nprogress.less +76 -76
- package/src/theme/default/style.less +58 -58
- package/src/utils/EncryptUtil.js +53 -53
- package/src/utils/colors.js +107 -107
- package/src/utils/excel/Blob.js +180 -180
- package/src/utils/excel/Export2Excel.js +141 -141
- package/src/utils/formatter.js +68 -68
- package/src/utils/i18n.js +80 -80
- package/src/utils/map-utils.js +37 -37
- package/src/utils/theme-color-replacer-extend.js +91 -91
- package/src/utils/themeUtil.js +100 -100
- package/src/utils/util.js +230 -230
- package/vue.config.js +106 -106
|
@@ -1,307 +1,307 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
// 数据模式类型
|
|
3
|
-
dataModeType: [
|
|
4
|
-
{
|
|
5
|
-
label: '渲染查询表单项',
|
|
6
|
-
value: 'queryForm',
|
|
7
|
-
noMatch: ['file', 'image', 'textarea', 'personSetting']
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
label: '渲染表格列',
|
|
11
|
-
value: 'table',
|
|
12
|
-
noMatch: ['file', 'image', 'personSetting']
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
label: '渲染新增/修改表单项',
|
|
16
|
-
value: 'addOrEditForm',
|
|
17
|
-
noMatch: []
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
label: 'SQL生成查询项',
|
|
21
|
-
value: 'sqlQueryItem',
|
|
22
|
-
noMatch: ['file', 'personSetting']
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
label: 'SQL生成查询表达式',
|
|
26
|
-
value: 'sqlQueryCondition',
|
|
27
|
-
noMatch: ['file', 'image', 'textarea', 'personSetting']
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
// 表单类型
|
|
31
|
-
formType: [
|
|
32
|
-
{
|
|
33
|
-
label: '输入框', key: 'input'
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
label: '选择框', key: 'select'
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
label: '多选框', key: 'checkbox'
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
label: '树形选择框', key: 'treeSelect'
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
label: '地点搜索框', key: 'addressSearch'
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
label: '省市区选择框', key: 'citySelect'
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
label: '单选框', key: 'radio'
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
label: '日期范围选择框', key: 'rangePicker'
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
label: '年份选择框', key: 'yearPicker'
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
label: '月份选择框', key: 'monthPicker'
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
label: '单日选择框', key: 'datePicker'
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
label: '文本域', key: 'textarea'
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
label: '文件上传', key: 'file'
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
label: '图片上传', key: 'image'
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
label: '人员选择框', key: 'personSetting'
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
// 文件上传类型
|
|
79
|
-
fileType: [
|
|
80
|
-
{
|
|
81
|
-
label: '无限制',
|
|
82
|
-
accept: '*'
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
label: 'word文档',
|
|
86
|
-
accept: '.doc,.docx,'
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
label: 'excel表格',
|
|
90
|
-
accept: '.xls,.xlsx,'
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
label: 'ppt幻灯片',
|
|
94
|
-
accept: '.ppt,.pptx,'
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
label: '图片',
|
|
98
|
-
accept: '.jpg,.jpeg,.ico,.gif,svg,.webp,.png,.bmp,.pjpeg,'
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
label: '视频',
|
|
102
|
-
accept: '.mp4,.mov,.m4v,.wmv,.asf,.asx,.rm,.rmvb,.3gp,.avi,.mkv,'
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
label: '音频',
|
|
106
|
-
accept: '.mp3,.cda,.wav,.aif,.aiff,.ape,.ra,'
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
label: '压缩包',
|
|
110
|
-
accept: '.zip,.rar,.7z,'
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
label: '文本/JSON',
|
|
114
|
-
accept: '.json,.txt,'
|
|
115
|
-
}
|
|
116
|
-
],
|
|
117
|
-
// 表单校验类型
|
|
118
|
-
formRuleType: [
|
|
119
|
-
{
|
|
120
|
-
label: '字符串', key: 'string'
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
label: '数字', key: 'number'
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
label: '布尔值', key: 'boolean'
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
label: '正则表达式', key: 'regexp'
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
label: '整数', key: 'integer'
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
label: '小数', key: 'float'
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
label: '数组或集合', key: 'array'
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
label: '邮箱', key: 'email'
|
|
142
|
-
}
|
|
143
|
-
],
|
|
144
|
-
// 作用域插槽类型
|
|
145
|
-
slotType: [
|
|
146
|
-
{
|
|
147
|
-
label: '不设置',
|
|
148
|
-
key: 'default',
|
|
149
|
-
match: ['input', 'select', 'checkbox', 'radio', 'addressSearch', 'citySelect']
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
label: '文本溢出省略',
|
|
153
|
-
key: 'ellipsis',
|
|
154
|
-
match: ['input', 'citySelect', 'addressSearch', 'treeSelect']
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
label: '多彩徽标',
|
|
158
|
-
key: 'badge',
|
|
159
|
-
match: ['select', 'citySelect', 'addressSearch']
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
label: '日期格式化',
|
|
163
|
-
key: 'date',
|
|
164
|
-
match: ['rangePicker', 'datePicker']
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
label: '日期时间格式化',
|
|
168
|
-
key: 'dateTime',
|
|
169
|
-
match: ['rangePicker', 'datePicker']
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
label: '操作列',
|
|
173
|
-
key: 'action',
|
|
174
|
-
match: [
|
|
175
|
-
'input'
|
|
176
|
-
]
|
|
177
|
-
},
|
|
178
|
-
],
|
|
179
|
-
// 查询方式
|
|
180
|
-
queryType: [
|
|
181
|
-
{
|
|
182
|
-
label: '相等[=]',
|
|
183
|
-
key: '=',
|
|
184
|
-
match: ['input', 'select', 'radio', 'datePicker', 'monthPicker', 'yearPicker', 'addressSearch', 'citySelect']
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
label: '不相等[!=]',
|
|
188
|
-
key: '!=',
|
|
189
|
-
match: ['input']
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
label: '全模糊[like]',
|
|
193
|
-
key: 'LIKE',
|
|
194
|
-
match: ['input']
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
label: '左模糊[left like]',
|
|
198
|
-
key: 'LEFT_LIKE',
|
|
199
|
-
match: ['input']
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
label: '右模糊[right like]',
|
|
203
|
-
key: 'RIGHT_LIKE',
|
|
204
|
-
match: ['input', 'treeSelect']
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
label: '大于[>]',
|
|
208
|
-
key: '>',
|
|
209
|
-
match: ['input', 'radio', 'monthPicker', 'yearPicker']
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
label: '大于等于[>=]',
|
|
213
|
-
key: '>=',
|
|
214
|
-
match: ['input', 'radio', 'monthPicker', 'yearPicker']
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
label: '小于[<]',
|
|
218
|
-
key: '<',
|
|
219
|
-
match: ['input', 'radio', 'monthPicker', 'yearPicker']
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
label: '小于等于[<=]',
|
|
223
|
-
key: '<=',
|
|
224
|
-
match: ['input', 'radio', 'monthPicker', 'yearPicker']
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
label: '包含[in]',
|
|
228
|
-
key: 'IN',
|
|
229
|
-
match: ['checkbox', 'treeSelect']
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
label: '不包含[not in]',
|
|
233
|
-
key: 'NOT_IN',
|
|
234
|
-
match: []
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
label: '之间[between]',
|
|
238
|
-
key: 'BETWEEN',
|
|
239
|
-
match: ['rangePicker']
|
|
240
|
-
}
|
|
241
|
-
],
|
|
242
|
-
// 新增/修改场景类型
|
|
243
|
-
addOrEditType: [
|
|
244
|
-
{
|
|
245
|
-
label: '新增和修改',
|
|
246
|
-
key: 'all',
|
|
247
|
-
match: ['all']
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
label: '仅支持新增',
|
|
251
|
-
key: 'add',
|
|
252
|
-
match: ['all']
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
label: '仅支持修改',
|
|
256
|
-
key: 'edit',
|
|
257
|
-
match: ['all']
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
label: '静默新增(不生成表单)',
|
|
261
|
-
key: 'silenceAdd',
|
|
262
|
-
match: ['input', 'rangePicker']
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
label: '版本号',
|
|
266
|
-
key: 'version',
|
|
267
|
-
match: ['input']
|
|
268
|
-
}
|
|
269
|
-
],
|
|
270
|
-
// 字段用途类型
|
|
271
|
-
silencePurposeType: [
|
|
272
|
-
{
|
|
273
|
-
label: '创建时间',
|
|
274
|
-
key: 'createTime'
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
label: '创建/操作人',
|
|
278
|
-
key: 'operator'
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
label: '组织机构ID',
|
|
282
|
-
key: 'orgId'
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
label: '自定义',
|
|
286
|
-
key: 'customize'
|
|
287
|
-
}
|
|
288
|
-
],
|
|
289
|
-
// 数据源类型
|
|
290
|
-
selectDataType: [
|
|
291
|
-
{
|
|
292
|
-
label: '字典键',
|
|
293
|
-
key: 'key',
|
|
294
|
-
noMatch: ['treeSelect']
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
label: '固定集合',
|
|
298
|
-
key: 'fixArray',
|
|
299
|
-
noMatch: []
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
label: '业务逻辑',
|
|
303
|
-
key: 'logic',
|
|
304
|
-
noMatch: []
|
|
305
|
-
}
|
|
306
|
-
]
|
|
307
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
// 数据模式类型
|
|
3
|
+
dataModeType: [
|
|
4
|
+
{
|
|
5
|
+
label: '渲染查询表单项',
|
|
6
|
+
value: 'queryForm',
|
|
7
|
+
noMatch: ['file', 'image', 'textarea', 'personSetting']
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
label: '渲染表格列',
|
|
11
|
+
value: 'table',
|
|
12
|
+
noMatch: ['file', 'image', 'personSetting']
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
label: '渲染新增/修改表单项',
|
|
16
|
+
value: 'addOrEditForm',
|
|
17
|
+
noMatch: []
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
label: 'SQL生成查询项',
|
|
21
|
+
value: 'sqlQueryItem',
|
|
22
|
+
noMatch: ['file', 'personSetting']
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
label: 'SQL生成查询表达式',
|
|
26
|
+
value: 'sqlQueryCondition',
|
|
27
|
+
noMatch: ['file', 'image', 'textarea', 'personSetting']
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
// 表单类型
|
|
31
|
+
formType: [
|
|
32
|
+
{
|
|
33
|
+
label: '输入框', key: 'input'
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
label: '选择框', key: 'select'
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: '多选框', key: 'checkbox'
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
label: '树形选择框', key: 'treeSelect'
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: '地点搜索框', key: 'addressSearch'
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
label: '省市区选择框', key: 'citySelect'
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
label: '单选框', key: 'radio'
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
label: '日期范围选择框', key: 'rangePicker'
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
label: '年份选择框', key: 'yearPicker'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
label: '月份选择框', key: 'monthPicker'
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
label: '单日选择框', key: 'datePicker'
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
label: '文本域', key: 'textarea'
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
label: '文件上传', key: 'file'
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
label: '图片上传', key: 'image'
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: '人员选择框', key: 'personSetting'
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
// 文件上传类型
|
|
79
|
+
fileType: [
|
|
80
|
+
{
|
|
81
|
+
label: '无限制',
|
|
82
|
+
accept: '*'
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: 'word文档',
|
|
86
|
+
accept: '.doc,.docx,'
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: 'excel表格',
|
|
90
|
+
accept: '.xls,.xlsx,'
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: 'ppt幻灯片',
|
|
94
|
+
accept: '.ppt,.pptx,'
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
label: '图片',
|
|
98
|
+
accept: '.jpg,.jpeg,.ico,.gif,svg,.webp,.png,.bmp,.pjpeg,'
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
label: '视频',
|
|
102
|
+
accept: '.mp4,.mov,.m4v,.wmv,.asf,.asx,.rm,.rmvb,.3gp,.avi,.mkv,'
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
label: '音频',
|
|
106
|
+
accept: '.mp3,.cda,.wav,.aif,.aiff,.ape,.ra,'
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
label: '压缩包',
|
|
110
|
+
accept: '.zip,.rar,.7z,'
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
label: '文本/JSON',
|
|
114
|
+
accept: '.json,.txt,'
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
// 表单校验类型
|
|
118
|
+
formRuleType: [
|
|
119
|
+
{
|
|
120
|
+
label: '字符串', key: 'string'
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
label: '数字', key: 'number'
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
label: '布尔值', key: 'boolean'
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
label: '正则表达式', key: 'regexp'
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
label: '整数', key: 'integer'
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
label: '小数', key: 'float'
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
label: '数组或集合', key: 'array'
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
label: '邮箱', key: 'email'
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
// 作用域插槽类型
|
|
145
|
+
slotType: [
|
|
146
|
+
{
|
|
147
|
+
label: '不设置',
|
|
148
|
+
key: 'default',
|
|
149
|
+
match: ['input', 'select', 'checkbox', 'radio', 'addressSearch', 'citySelect']
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
label: '文本溢出省略',
|
|
153
|
+
key: 'ellipsis',
|
|
154
|
+
match: ['input', 'citySelect', 'addressSearch', 'treeSelect']
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
label: '多彩徽标',
|
|
158
|
+
key: 'badge',
|
|
159
|
+
match: ['select', 'citySelect', 'addressSearch']
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
label: '日期格式化',
|
|
163
|
+
key: 'date',
|
|
164
|
+
match: ['rangePicker', 'datePicker']
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
label: '日期时间格式化',
|
|
168
|
+
key: 'dateTime',
|
|
169
|
+
match: ['rangePicker', 'datePicker']
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
label: '操作列',
|
|
173
|
+
key: 'action',
|
|
174
|
+
match: [
|
|
175
|
+
'input'
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
// 查询方式
|
|
180
|
+
queryType: [
|
|
181
|
+
{
|
|
182
|
+
label: '相等[=]',
|
|
183
|
+
key: '=',
|
|
184
|
+
match: ['input', 'select', 'radio', 'datePicker', 'monthPicker', 'yearPicker', 'addressSearch', 'citySelect']
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
label: '不相等[!=]',
|
|
188
|
+
key: '!=',
|
|
189
|
+
match: ['input']
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
label: '全模糊[like]',
|
|
193
|
+
key: 'LIKE',
|
|
194
|
+
match: ['input']
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
label: '左模糊[left like]',
|
|
198
|
+
key: 'LEFT_LIKE',
|
|
199
|
+
match: ['input']
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
label: '右模糊[right like]',
|
|
203
|
+
key: 'RIGHT_LIKE',
|
|
204
|
+
match: ['input', 'treeSelect']
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
label: '大于[>]',
|
|
208
|
+
key: '>',
|
|
209
|
+
match: ['input', 'radio', 'monthPicker', 'yearPicker']
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
label: '大于等于[>=]',
|
|
213
|
+
key: '>=',
|
|
214
|
+
match: ['input', 'radio', 'monthPicker', 'yearPicker']
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
label: '小于[<]',
|
|
218
|
+
key: '<',
|
|
219
|
+
match: ['input', 'radio', 'monthPicker', 'yearPicker']
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
label: '小于等于[<=]',
|
|
223
|
+
key: '<=',
|
|
224
|
+
match: ['input', 'radio', 'monthPicker', 'yearPicker']
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
label: '包含[in]',
|
|
228
|
+
key: 'IN',
|
|
229
|
+
match: ['checkbox', 'treeSelect']
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
label: '不包含[not in]',
|
|
233
|
+
key: 'NOT_IN',
|
|
234
|
+
match: []
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
label: '之间[between]',
|
|
238
|
+
key: 'BETWEEN',
|
|
239
|
+
match: ['rangePicker']
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
// 新增/修改场景类型
|
|
243
|
+
addOrEditType: [
|
|
244
|
+
{
|
|
245
|
+
label: '新增和修改',
|
|
246
|
+
key: 'all',
|
|
247
|
+
match: ['all']
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
label: '仅支持新增',
|
|
251
|
+
key: 'add',
|
|
252
|
+
match: ['all']
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
label: '仅支持修改',
|
|
256
|
+
key: 'edit',
|
|
257
|
+
match: ['all']
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
label: '静默新增(不生成表单)',
|
|
261
|
+
key: 'silenceAdd',
|
|
262
|
+
match: ['input', 'rangePicker']
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
label: '版本号',
|
|
266
|
+
key: 'version',
|
|
267
|
+
match: ['input']
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
// 字段用途类型
|
|
271
|
+
silencePurposeType: [
|
|
272
|
+
{
|
|
273
|
+
label: '创建时间',
|
|
274
|
+
key: 'createTime'
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
label: '创建/操作人',
|
|
278
|
+
key: 'operator'
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
label: '组织机构ID',
|
|
282
|
+
key: 'orgId'
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
label: '自定义',
|
|
286
|
+
key: 'customize'
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
// 数据源类型
|
|
290
|
+
selectDataType: [
|
|
291
|
+
{
|
|
292
|
+
label: '字典键',
|
|
293
|
+
key: 'key',
|
|
294
|
+
noMatch: ['treeSelect']
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
label: '固定集合',
|
|
298
|
+
key: 'fixArray',
|
|
299
|
+
noMatch: []
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
label: '业务逻辑',
|
|
303
|
+
key: 'logic',
|
|
304
|
+
noMatch: []
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
// admin 配置
|
|
2
|
-
const ADMIN = {
|
|
3
|
-
palettes: ['#f5222d', '#fa541c', '#fadb14', '#3eaf7c', '#13c2c2', '#1890ff', '#722ed1', '#eb2f96', '#507CAD'],
|
|
4
|
-
animates: require('./animate.config').preset,
|
|
5
|
-
theme: {
|
|
6
|
-
mode: {
|
|
7
|
-
DARK: 'dark',
|
|
8
|
-
LIGHT: 'light',
|
|
9
|
-
NIGHT: 'night'
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
layout: {
|
|
13
|
-
SIDE: 'side',
|
|
14
|
-
HEAD: 'head'
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
module.exports = ADMIN
|
|
1
|
+
// admin 配置
|
|
2
|
+
const ADMIN = {
|
|
3
|
+
palettes: ['#f5222d', '#fa541c', '#fadb14', '#3eaf7c', '#13c2c2', '#1890ff', '#722ed1', '#eb2f96', '#507CAD'],
|
|
4
|
+
animates: require('./animate.config').preset,
|
|
5
|
+
theme: {
|
|
6
|
+
mode: {
|
|
7
|
+
DARK: 'dark',
|
|
8
|
+
LIGHT: 'light',
|
|
9
|
+
NIGHT: 'night'
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
layout: {
|
|
13
|
+
SIDE: 'side',
|
|
14
|
+
HEAD: 'head'
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
module.exports = ADMIN
|