szld-libs 0.4.16 → 0.4.18
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/dist/szld-components.es.js +497 -495
- package/dist/szld-components.umd.js +32 -32
- package/es/components/DynamicForm/useDynamicForm.js +6 -3
- package/es/index.js +4 -16
- package/es/mock/index.js +231 -39
- package/lib/components/DynamicForm/useDynamicForm.js +6 -3
- package/lib/index.js +4 -16
- package/lib/mock/index.js +231 -39
- package/package.json +1 -1
package/lib/mock/index.js
CHANGED
|
@@ -4,78 +4,270 @@ const baseAttrList = [];
|
|
|
4
4
|
const attrList = [
|
|
5
5
|
{
|
|
6
6
|
xh: 1,
|
|
7
|
-
asid: "
|
|
7
|
+
asid: "A16FC2DAFC9F4786A0BCE4842F680B21",
|
|
8
8
|
astype: 0,
|
|
9
|
-
tname: "
|
|
10
|
-
attrid: "
|
|
11
|
-
attrname: "
|
|
9
|
+
tname: "tcdkpz_table",
|
|
10
|
+
attrid: "452A52271CB640E8A7EBA64114E41823",
|
|
11
|
+
attrname: "套餐编号",
|
|
12
12
|
attrtype: 0,
|
|
13
|
-
info: '{"
|
|
13
|
+
info: '{"input":"text","dataType":"string","length":100,"auto-generate":true,"auto-generate-type":"guid","hidden":true}',
|
|
14
14
|
info_base64: 0,
|
|
15
|
-
createtime: "2026-
|
|
15
|
+
createtime: "2026-05-20 15:03:42",
|
|
16
16
|
attrvalue: "",
|
|
17
|
-
serialnum:
|
|
18
|
-
children: []
|
|
17
|
+
serialnum: 0,
|
|
18
|
+
children: [],
|
|
19
|
+
json: {
|
|
20
|
+
input: "text",
|
|
21
|
+
dataType: "string",
|
|
22
|
+
length: 100,
|
|
23
|
+
"auto-generate": true,
|
|
24
|
+
"auto-generate-type": "guid",
|
|
25
|
+
hidden: true
|
|
26
|
+
}
|
|
19
27
|
},
|
|
20
28
|
{
|
|
21
29
|
xh: 2,
|
|
22
|
-
asid: "
|
|
30
|
+
asid: "A16FC2DAFC9F4786A0BCE4842F680B21",
|
|
23
31
|
astype: 0,
|
|
24
|
-
tname: "
|
|
25
|
-
attrid: "
|
|
26
|
-
attrname: "
|
|
32
|
+
tname: "tcdkpz_table",
|
|
33
|
+
attrid: "8B8A0AE3A5EB498982E03F4EA937A3E0",
|
|
34
|
+
attrname: "顺序号",
|
|
27
35
|
attrtype: 0,
|
|
28
|
-
info: '{"input":"
|
|
36
|
+
info: '{"input":"number","dataType":"int","must":true}',
|
|
29
37
|
info_base64: 0,
|
|
30
|
-
createtime: "2026-
|
|
38
|
+
createtime: "2026-05-22 14:56:07",
|
|
31
39
|
attrvalue: "",
|
|
32
|
-
serialnum:
|
|
33
|
-
children: []
|
|
40
|
+
serialnum: 1,
|
|
41
|
+
children: [],
|
|
42
|
+
json: {
|
|
43
|
+
input: "number",
|
|
44
|
+
dataType: "int",
|
|
45
|
+
must: true
|
|
46
|
+
}
|
|
34
47
|
},
|
|
35
48
|
{
|
|
36
49
|
xh: 3,
|
|
37
|
-
asid: "
|
|
50
|
+
asid: "A16FC2DAFC9F4786A0BCE4842F680B21",
|
|
38
51
|
astype: 0,
|
|
39
|
-
tname: "
|
|
40
|
-
attrid: "
|
|
41
|
-
attrname: "
|
|
52
|
+
tname: "tcdkpz_table",
|
|
53
|
+
attrid: "A8D4CF41106F4E1F8090A767F962A744",
|
|
54
|
+
attrname: "套餐说明",
|
|
42
55
|
attrtype: 0,
|
|
43
|
-
info: '{"input":"
|
|
56
|
+
info: '{"input":"text","dataType":"string","length":200,"must":true}',
|
|
44
57
|
info_base64: 0,
|
|
45
|
-
createtime: "2026-
|
|
58
|
+
createtime: "2026-05-20 15:03:42",
|
|
46
59
|
attrvalue: "",
|
|
47
|
-
serialnum:
|
|
48
|
-
children: []
|
|
60
|
+
serialnum: 2,
|
|
61
|
+
children: [],
|
|
62
|
+
json: {
|
|
63
|
+
input: "text",
|
|
64
|
+
dataType: "string",
|
|
65
|
+
length: 200,
|
|
66
|
+
must: true
|
|
67
|
+
}
|
|
49
68
|
},
|
|
50
69
|
{
|
|
51
70
|
xh: 4,
|
|
52
|
-
asid: "
|
|
71
|
+
asid: "A16FC2DAFC9F4786A0BCE4842F680B21",
|
|
53
72
|
astype: 0,
|
|
54
|
-
tname: "
|
|
55
|
-
attrid: "
|
|
56
|
-
attrname: "
|
|
73
|
+
tname: "tcdkpz_table",
|
|
74
|
+
attrid: "350AF384E18C490D862A3B930A7DED8B",
|
|
75
|
+
attrname: "关联服务编号",
|
|
57
76
|
attrtype: 0,
|
|
58
|
-
info: '{"input":"text","dataType":"string","length":
|
|
77
|
+
info: '{"input":"text","dataType":"string","length":100,"must":true,"hidden":true}',
|
|
59
78
|
info_base64: 0,
|
|
60
|
-
createtime: "2026-
|
|
79
|
+
createtime: "2026-05-20 15:03:42",
|
|
61
80
|
attrvalue: "",
|
|
62
|
-
serialnum:
|
|
63
|
-
children: []
|
|
81
|
+
serialnum: 3,
|
|
82
|
+
children: [],
|
|
83
|
+
json: {
|
|
84
|
+
input: "text",
|
|
85
|
+
dataType: "string",
|
|
86
|
+
length: 100,
|
|
87
|
+
must: true,
|
|
88
|
+
hidden: true
|
|
89
|
+
}
|
|
64
90
|
},
|
|
65
91
|
{
|
|
66
92
|
xh: 5,
|
|
67
|
-
asid: "
|
|
93
|
+
asid: "A16FC2DAFC9F4786A0BCE4842F680B21",
|
|
94
|
+
astype: 0,
|
|
95
|
+
tname: "tcdkpz_table",
|
|
96
|
+
attrid: "06DDAB9B8DC34A6FB65602238FF35DAD",
|
|
97
|
+
attrname: "关联服务名称",
|
|
98
|
+
attrtype: 0,
|
|
99
|
+
info: '{"input":"select","inputType":"instance-url","dataType":"string","length":100,"instance-source-number":"5000245","key-field":{"06DDAB9B8DC34A6FB65602238FF35DAD":{"list":["003AB3221AE84161B87368F67FD7F4F4"],"delimiter":"-"},"350AF384E18C490D862A3B930A7DED8B":{"list":["B4604AEB3C3C46239958C90C98911839"],"delimiter":","}}}',
|
|
100
|
+
info_base64: 0,
|
|
101
|
+
createtime: "2026-05-25 16:00:07",
|
|
102
|
+
attrvalue: "",
|
|
103
|
+
serialnum: 4,
|
|
104
|
+
children: [],
|
|
105
|
+
json: {
|
|
106
|
+
input: "select",
|
|
107
|
+
inputType: "instance-url",
|
|
108
|
+
dataType: "string",
|
|
109
|
+
length: 100,
|
|
110
|
+
"instance-source-number": "5000245",
|
|
111
|
+
"key-field": {
|
|
112
|
+
"06DDAB9B8DC34A6FB65602238FF35DAD": {
|
|
113
|
+
list: ["003AB3221AE84161B87368F67FD7F4F4"],
|
|
114
|
+
delimiter: "-"
|
|
115
|
+
},
|
|
116
|
+
"350AF384E18C490D862A3B930A7DED8B": {
|
|
117
|
+
list: ["B4604AEB3C3C46239958C90C98911839"],
|
|
118
|
+
delimiter: ","
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
xh: 6,
|
|
125
|
+
asid: "A16FC2DAFC9F4786A0BCE4842F680B21",
|
|
68
126
|
astype: 0,
|
|
69
|
-
tname: "
|
|
70
|
-
attrid: "
|
|
71
|
-
attrname: "
|
|
127
|
+
tname: "tcdkpz_table",
|
|
128
|
+
attrid: "78B7A74ECE664836917FEB4502965E14",
|
|
129
|
+
attrname: "关联房型编号",
|
|
72
130
|
attrtype: 0,
|
|
73
|
-
info: '{"input":"text","dataType":"string","length":
|
|
131
|
+
info: '{"input":"text","dataType":"string","length":100,"hidden":true}',
|
|
74
132
|
info_base64: 0,
|
|
75
|
-
createtime: "2026-
|
|
133
|
+
createtime: "2026-05-25 16:00:16",
|
|
76
134
|
attrvalue: "",
|
|
77
135
|
serialnum: 5,
|
|
78
|
-
children: []
|
|
136
|
+
children: [],
|
|
137
|
+
json: {
|
|
138
|
+
input: "text",
|
|
139
|
+
dataType: "string",
|
|
140
|
+
length: 100,
|
|
141
|
+
hidden: true
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
xh: 7,
|
|
146
|
+
asid: "A16FC2DAFC9F4786A0BCE4842F680B21",
|
|
147
|
+
astype: 0,
|
|
148
|
+
tname: "tcdkpz_table",
|
|
149
|
+
attrid: "AFFAD31706E84259B4A3FF71F0752362",
|
|
150
|
+
attrname: "关联房型名称",
|
|
151
|
+
attrtype: 0,
|
|
152
|
+
info: '{"input":"text","inputType":"instance-url","dataType":"string","length":100,"instance-source-number":5000033,"key-field":{"AFFAD31706E84259B4A3FF71F0752362":{"list":["DCC3C536A7BC41A2B972CA8779FC3CAC"],"delimiter":"-"},"78B7A74ECE664836917FEB4502965E14":{"list":["1710D157CDFF46A7A4E4501095C8ACBE"],"delimiter":","}}}',
|
|
153
|
+
info_base64: 0,
|
|
154
|
+
createtime: "2026-05-25 16:00:36",
|
|
155
|
+
attrvalue: "",
|
|
156
|
+
serialnum: 6,
|
|
157
|
+
children: [],
|
|
158
|
+
json: {
|
|
159
|
+
input: "text",
|
|
160
|
+
inputType: "instance-url",
|
|
161
|
+
dataType: "string",
|
|
162
|
+
length: 100,
|
|
163
|
+
"instance-source-number": 5000033,
|
|
164
|
+
"key-field": {
|
|
165
|
+
AFFAD31706E84259B4A3FF71F0752362: {
|
|
166
|
+
list: ["DCC3C536A7BC41A2B972CA8779FC3CAC"],
|
|
167
|
+
delimiter: "-"
|
|
168
|
+
},
|
|
169
|
+
"78B7A74ECE664836917FEB4502965E14": {
|
|
170
|
+
list: ["1710D157CDFF46A7A4E4501095C8ACBE"],
|
|
171
|
+
delimiter: ","
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
xh: 8,
|
|
178
|
+
asid: "A16FC2DAFC9F4786A0BCE4842F680B21",
|
|
179
|
+
astype: 0,
|
|
180
|
+
tname: "tcdkpz_table",
|
|
181
|
+
attrid: "571CDE321CE74DA48B5FC74537551689",
|
|
182
|
+
attrname: "可抵扣天(晚)数",
|
|
183
|
+
attrtype: 0,
|
|
184
|
+
info: '{"input":"number","dataType":"int","must":true}',
|
|
185
|
+
info_base64: 0,
|
|
186
|
+
createtime: "2026-05-20 15:03:42",
|
|
187
|
+
attrvalue: "",
|
|
188
|
+
serialnum: 7,
|
|
189
|
+
children: [],
|
|
190
|
+
json: {
|
|
191
|
+
input: "number",
|
|
192
|
+
dataType: "int",
|
|
193
|
+
must: true
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
xh: 9,
|
|
198
|
+
asid: "A16FC2DAFC9F4786A0BCE4842F680B21",
|
|
199
|
+
astype: 0,
|
|
200
|
+
tname: "tcdkpz_table",
|
|
201
|
+
attrid: "0EFC42CF4F9946DDA52C754F545E963A",
|
|
202
|
+
attrname: "套餐金额",
|
|
203
|
+
attrtype: 0,
|
|
204
|
+
info: '{"input":"text","dataType":"string","length":"100","must":true}',
|
|
205
|
+
info_base64: 0,
|
|
206
|
+
createtime: "2026-05-20 15:03:42",
|
|
207
|
+
attrvalue: "",
|
|
208
|
+
serialnum: 8,
|
|
209
|
+
children: [],
|
|
210
|
+
json: {
|
|
211
|
+
input: "text",
|
|
212
|
+
dataType: "string",
|
|
213
|
+
length: "100",
|
|
214
|
+
must: true
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
xh: 10,
|
|
219
|
+
asid: "A16FC2DAFC9F4786A0BCE4842F680B21",
|
|
220
|
+
astype: 0,
|
|
221
|
+
tname: "tcdkpz_table",
|
|
222
|
+
attrid: "E5560CDEC6E3467C87BB5EEBEA4A9A5B",
|
|
223
|
+
attrname: "是否启用",
|
|
224
|
+
attrtype: 0,
|
|
225
|
+
info: '{"input":"select","dataType":"string","length":100,"inputType":"local","must":true,"options":[{"label":"是","value":"5000024-1"},{"label":"否","value":"5000024-2"}]}',
|
|
226
|
+
info_base64: 0,
|
|
227
|
+
createtime: "2026-05-21 09:51:28",
|
|
228
|
+
attrvalue: "",
|
|
229
|
+
serialnum: 9,
|
|
230
|
+
children: [],
|
|
231
|
+
json: {
|
|
232
|
+
input: "select",
|
|
233
|
+
dataType: "string",
|
|
234
|
+
length: 100,
|
|
235
|
+
inputType: "local",
|
|
236
|
+
must: true,
|
|
237
|
+
options: [
|
|
238
|
+
{
|
|
239
|
+
label: "是",
|
|
240
|
+
value: "5000024-1"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
label: "否",
|
|
244
|
+
value: "5000024-2"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
xh: 11,
|
|
251
|
+
asid: "A16FC2DAFC9F4786A0BCE4842F680B21",
|
|
252
|
+
astype: 0,
|
|
253
|
+
tname: "tcdkpz_table",
|
|
254
|
+
attrid: "B602827557DB4F87B760FA243FCFB581",
|
|
255
|
+
attrname: "创建时间",
|
|
256
|
+
attrtype: 0,
|
|
257
|
+
info: '{"input":"time-picker","dataType":"datetime","must":true,"auto-generate":true,"auto-generate-type":"currenttime","hidden":true}',
|
|
258
|
+
info_base64: 0,
|
|
259
|
+
createtime: "2026-05-20 15:03:42",
|
|
260
|
+
attrvalue: "",
|
|
261
|
+
serialnum: 10,
|
|
262
|
+
children: [],
|
|
263
|
+
json: {
|
|
264
|
+
input: "time-picker",
|
|
265
|
+
dataType: "datetime",
|
|
266
|
+
must: true,
|
|
267
|
+
"auto-generate": true,
|
|
268
|
+
"auto-generate-type": "currenttime",
|
|
269
|
+
hidden: true
|
|
270
|
+
}
|
|
79
271
|
}
|
|
80
272
|
];
|
|
81
273
|
const langConfig = [
|