szld-libs 0.2.98 → 0.2.99

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/lib/mock/index.js CHANGED
@@ -1,387 +1,82 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const baseAttrList = [
3
+ const baseAttrList = [];
4
+ const attrList = [
4
5
  {
5
6
  xh: 1,
6
- asid: "2C648B554C994DED994D6049BA8E7488",
7
+ asid: "FB5D3B940E544EA898A6983A31FD1504",
7
8
  astype: 0,
8
- tname: "fcctest",
9
- attrid: "987C9E76D2604B2587A259E193E0E4D4",
10
- attrname: "输入框",
9
+ tname: "ygzh_table",
10
+ attrid: "02FAE63A990E4E9D87609D3DA764B10C",
11
+ attrname: "唯一编号",
11
12
  attrtype: 0,
12
- info: '{"input":"text","dataType":"string","length":100}',
13
+ info: '{"input":"text","dataType":"string","length":100,"auto-generate":true,"auto-generate-type":"guid"}',
13
14
  info_base64: 0,
14
- createtime: "2026-01-25 14:02:34",
15
+ createtime: "2026-01-26 10:23:31",
15
16
  attrvalue: "",
16
- serialnum: 1,
17
- children: [],
18
- json: {
19
- input: "text",
20
- dataType: "string",
21
- length: 100
22
- }
17
+ serialnum: 0,
18
+ children: []
23
19
  },
24
20
  {
25
21
  xh: 2,
26
- asid: "2C648B554C994DED994D6049BA8E7488",
27
- astype: 0,
28
- tname: "fcctest",
29
- attrid: "28F623FA152D44B89BA2518D52AA172B",
30
- attrname: "数字输入框",
31
- attrtype: 0,
32
- info: '{"input":"number","dataType":"int"}',
33
- info_base64: 0,
34
- createtime: "2026-01-25 14:03:01",
35
- attrvalue: "",
36
- serialnum: 2,
37
- children: [],
38
- json: {
39
- input: "number",
40
- dataType: "int"
41
- }
42
- },
43
- {
44
- xh: 3,
45
- asid: "2C648B554C994DED994D6049BA8E7488",
46
- astype: 0,
47
- tname: "fcctest",
48
- attrid: "309919F2EFCD4625B4428D4B12B5169F",
49
- attrname: "日期段选择",
50
- attrtype: 0,
51
- info: '{"input":"range-picker","range-picker-save":"range","dataType":"string","length":100,"disable-date-goover":true}',
52
- info_base64: 0,
53
- createtime: "2026-01-25 14:05:35",
54
- attrvalue: "",
55
- serialnum: 3,
56
- children: [],
57
- json: {
58
- input: "range-picker",
59
- "range-picker-save": "range",
60
- dataType: "string",
61
- length: 100,
62
- "disable-date-goover": true
63
- }
64
- }
65
- ];
66
- const attrList = [
67
- {
68
- xh: 1,
69
- asid: "2C648B554C994DED994D6049BA8E7488",
22
+ asid: "FB5D3B940E544EA898A6983A31FD1504",
70
23
  astype: 0,
71
- tname: "fcctest",
72
- attrid: "987C9E76D2604B2587A259E193E0E4D4",
73
- attrname: "输入框",
24
+ tname: "ygzh_table",
25
+ attrid: "3A8EC89103A740F192CB5FD582CA5678",
26
+ attrname: "账号",
74
27
  attrtype: 0,
75
28
  info: '{"input":"text","dataType":"string","length":100}',
76
29
  info_base64: 0,
77
- createtime: "2026-01-25 14:02:34",
30
+ createtime: "2026-01-26 10:23:31",
78
31
  attrvalue: "",
79
32
  serialnum: 1,
80
- children: [],
81
- json: {
82
- input: "text",
83
- dataType: "string",
84
- length: 100
85
- }
86
- },
87
- {
88
- xh: 2,
89
- asid: "2C648B554C994DED994D6049BA8E7488",
90
- astype: 0,
91
- tname: "fcctest",
92
- attrid: "28F623FA152D44B89BA2518D52AA172B",
93
- attrname: "数字输入框",
94
- attrtype: 0,
95
- info: '{"input":"number","dataType":"int"}',
96
- info_base64: 0,
97
- createtime: "2026-01-25 14:03:01",
98
- attrvalue: "",
99
- serialnum: 2,
100
- children: [],
101
- json: {
102
- input: "number",
103
- dataType: "int"
104
- }
33
+ children: []
105
34
  },
106
35
  {
107
36
  xh: 3,
108
- asid: "2C648B554C994DED994D6049BA8E7488",
37
+ asid: "FB5D3B940E544EA898A6983A31FD1504",
109
38
  astype: 0,
110
- tname: "fcctest",
111
- attrid: "309919F2EFCD4625B4428D4B12B5169F",
112
- attrname: "日期段选择",
39
+ tname: "ygzh_table",
40
+ attrid: "7795221133E0479D956D254A71858B39",
41
+ attrname: "密码",
113
42
  attrtype: 0,
114
- info: '{"input":"range-picker","range-picker-save":"range","dataType":"string","length":100,"disable-date-goover":true}',
43
+ info: '{"input":"text","dataType":"string","length":100}',
115
44
  info_base64: 0,
116
- createtime: "2026-01-25 14:05:35",
45
+ createtime: "2026-01-26 10:23:31",
117
46
  attrvalue: "",
118
- serialnum: 3,
119
- children: [],
120
- json: {
121
- input: "range-picker",
122
- "range-picker-save": "range",
123
- dataType: "string",
124
- length: 100,
125
- "disable-date-goover": true
126
- }
127
- }
128
- ];
129
- const testList = [
130
- {
131
- xh: 1,
132
- asid: "94C24D4B534A43A893ADDD78021AC393",
133
- astype: 0,
134
- tname: "dog_room_type_table",
135
- attrid: "1710D157CDFF46A7A4E4501095C8ACBE",
136
- attrname: "唯一编号",
137
- attrtype: 0,
138
- info: "eyJpbnB1dCI6InRleHQiLCJkYXRhVHlwZSI6InN0cmluZyIsImxlbmd0aCI6MTAwLCJhdXRvLWdlbmVyYXRlIjp0cnVlLCJhdXRvLWdlbmVyYXRlLXR5cGUiOiJndWlkIn0=",
139
- info_base64: 1,
140
- createtime: "2026-01-26 10:06:27",
141
- attrvalue: "01",
142
- serialnum: 0,
143
- children: [],
144
- json: {
145
- input: "text",
146
- dataType: "string",
147
- length: 100,
148
- "auto-generate": true,
149
- "auto-generate-type": "guid"
150
- }
151
- },
152
- {
153
- xh: 2,
154
- asid: "94C24D4B534A43A893ADDD78021AC393",
155
- astype: 0,
156
- tname: "dog_room_type_table",
157
- attrid: "41CCD121BD6A4356A95CC24968F86D75",
158
- attrname: "房型名称",
159
- attrtype: 0,
160
- info: "eyJpbnB1dCI6InRleHQiLCJkYXRhVHlwZSI6InN0cmluZyIsImxlbmd0aCI6MTAwLCJtdXN0Ijp0cnVlfQ==",
161
- info_base64: 1,
162
- createtime: "2025-11-14 16:11:23",
163
- attrvalue: "12",
164
- serialnum: 1,
165
- children: [],
166
- json: {
167
- input: "text",
168
- dataType: "string",
169
- length: 100,
170
- must: true
171
- }
172
- },
173
- {
174
- xh: 3,
175
- asid: "94C24D4B534A43A893ADDD78021AC393",
176
- astype: 0,
177
- tname: "dog_room_type_table",
178
- attrid: "40E6CE0B4C9647FF9786AE8E1B230F94",
179
- attrname: "房型价格",
180
- attrtype: 0,
181
- info: '{"input":"text","dataType":"string","length":20,"must":true}',
182
- info_base64: 0,
183
- createtime: "2025-11-14 16:11:23",
184
- attrvalue: "22",
185
47
  serialnum: 2,
186
- children: [],
187
- json: {
188
- input: "text",
189
- dataType: "string",
190
- length: 20,
191
- must: true
192
- }
48
+ children: []
193
49
  },
194
50
  {
195
51
  xh: 4,
196
- asid: "94C24D4B534A43A893ADDD78021AC393",
52
+ asid: "FB5D3B940E544EA898A6983A31FD1504",
197
53
  astype: 0,
198
- tname: "dog_room_type_table",
199
- attrid: "846FC648A4924501A76DAB1F28F3A803",
200
- attrname: "房型说明",
54
+ tname: "ygzh_table",
55
+ attrid: "7039599603174845B3CD03CA351EEB62",
56
+ attrname: "关联人员编号",
201
57
  attrtype: 0,
202
- info: '{"input":"textarea","dataType":"string","length":500}',
58
+ info: '{\r\n "input": "mul-field-modal-select",\r\n "inputType": "url",\r\n "dataType": "string",\r\n "length": 100,\r\n "modal-caption": "关联人员",\r\n "modal-width": 800,\r\n "modal-height": 500,\r\n "modal-field-list": {\r\n "CAB51378248F4097BE2CF327F78E408B": "姓名",\r\n "F7CB899C4AE140948D2D0E161F9B1F50": "性别",\r\n "FF3E62E516124D8296D3A0BF6A7160EC": "出生年月日",\r\n "E84B71814D2C4921943B62243903F9CA": "职位"\r\n },\r\n "action-url": "http://113.219.243.107:19003/ucc?AppID=KF_SZLD_YLFWLR&Password=KF_SZLD_YLFWLR2557013&return=true&PageName=YLFWLRInstanceData&Controlname=List",\r\n "action-url-extra-params": {\r\n "asid": "3D6CD87DC9EC4CCB9FA1149A1F04E93A"\r\n },\r\n "key-field": {\r\n "3DD9CF67A3E34A62A9857CD1DB9CD782": {\r\n "list": ["CAB51378248F4097BE2CF327F78E408B"],\r\n "delimiter": "-"\r\n },\r\n "7039599603174845B3CD03CA351EEB62": {\r\n "list": ["9416A2FA296846E199738345A393E264"],\r\n "delimiter": "-"\r\n }\r\n }\r\n}',
203
59
  info_base64: 0,
204
- createtime: "2025-11-14 16:11:23",
205
- attrvalue: "3",
60
+ createtime: "2026-01-26 10:27:10",
61
+ attrvalue: "",
206
62
  serialnum: 3,
207
- children: [],
208
- json: {
209
- input: "textarea",
210
- dataType: "string",
211
- length: 500
212
- }
63
+ children: []
213
64
  },
214
65
  {
215
66
  xh: 5,
216
- asid: "94C24D4B534A43A893ADDD78021AC393",
67
+ asid: "FB5D3B940E544EA898A6983A31FD1504",
217
68
  astype: 0,
218
- tname: "dog_room_type_table",
219
- attrid: "394EBAE299694BBA88C2300C5C0FA5F7",
220
- attrname: "房型图片",
69
+ tname: "ygzh_table",
70
+ attrid: "3DD9CF67A3E34A62A9857CD1DB9CD782",
71
+ attrname: "关联人员姓名",
221
72
  attrtype: 0,
222
- info: '{"input":"image","upload-accept":".png,.jpg,.jpeg","upload-max-count":"1","upload-size":"5","dataType":"string","length":1000,"instruction":"仅允许上传1个.png,.jpg,.jpeg文件","instruction-color":"#999999"}',
73
+ info: '{\r\n "input": "mul-field-modal-select",\r\n "inputType": "url",\r\n "dataType": "string",\r\n "length": 100,\r\n "modal-caption": "关联人员",\r\n "modal-width": 800,\r\n "modal-height": 500,\r\n "modal-field-list": {\r\n "CAB51378248F4097BE2CF327F78E408B": "姓名",\r\n "F7CB899C4AE140948D2D0E161F9B1F50": "性别",\r\n "FF3E62E516124D8296D3A0BF6A7160EC": "出生年月日",\r\n "E84B71814D2C4921943B62243903F9CA": "职位"\r\n },\r\n "action-url": "http://113.219.243.107:19003/ucc?AppID=KF_SZLD_YLFWLR&Password=KF_SZLD_YLFWLR2557013&return=true&PageName=YLFWLRInstanceData&Controlname=List",\r\n "action-url-extra-params": {\r\n "asid": "3D6CD87DC9EC4CCB9FA1149A1F04E93A"\r\n },\r\n "key-field": {\r\n "3DD9CF67A3E34A62A9857CD1DB9CD782": {\r\n "list": ["CAB51378248F4097BE2CF327F78E408B"],\r\n "delimiter": "-"\r\n },\r\n "7039599603174845B3CD03CA351EEB62": {\r\n "list": ["9416A2FA296846E199738345A393E264"],\r\n "delimiter": "-"\r\n }\r\n }\r\n}',
223
74
  info_base64: 0,
224
- createtime: "2025-11-14 16:11:23",
75
+ createtime: "2026-01-26 10:27:29",
225
76
  attrvalue: "",
226
77
  serialnum: 4,
227
- children: [],
228
- json: {
229
- input: "image",
230
- "upload-accept": ".png,.jpg,.jpeg",
231
- "upload-max-count": "1",
232
- "upload-size": "5",
233
- dataType: "string",
234
- length: 1e3,
235
- instruction: "仅允许上传1个.png,.jpg,.jpeg文件",
236
- "instruction-color": "#999999"
237
- }
238
- },
239
- {
240
- xh: 6,
241
- asid: "94C24D4B534A43A893ADDD78021AC393",
242
- astype: 0,
243
- tname: "dog_room_type_table",
244
- attrid: "F8F7239DB205465585F5B55755769FF0",
245
- attrname: "总房间数",
246
- attrtype: 0,
247
- info: '{"input":"number","dataType":"int","default":"0"}',
248
- info_base64: 0,
249
- createtime: "2026-01-24 11:06:17",
250
- attrvalue: "0",
251
- serialnum: 5,
252
- children: [],
253
- json: {
254
- input: "number",
255
- dataType: "int",
256
- default: "0"
257
- }
258
- },
259
- {
260
- xh: 7,
261
- asid: "94C24D4B534A43A893ADDD78021AC393",
262
- astype: 0,
263
- tname: "dog_room_type_table",
264
- attrid: "A190218E6AF64176A71544FD4FEE74F6",
265
- attrname: "已住房间数",
266
- attrtype: 0,
267
- info: '{"input":"number","dataType":"int","default":"0"}',
268
- info_base64: 0,
269
- createtime: "2026-01-24 11:09:26",
270
- attrvalue: "0",
271
- serialnum: 6,
272
- children: [],
273
- json: {
274
- input: "number",
275
- dataType: "int",
276
- default: "0"
277
- }
278
- },
279
- {
280
- xh: 8,
281
- asid: "94C24D4B534A43A893ADDD78021AC393",
282
- astype: 0,
283
- tname: "dog_room_type_table",
284
- attrid: "1666323D69DC4AC8B28EC38B72BC24FF",
285
- attrname: "房间",
286
- attrtype: 1,
287
- info: '{"propertiesID":"2AA903FDA83245C9A933F99BA31FD739"}',
288
- info_base64: 0,
289
- createtime: "2026-01-26 10:09:33",
290
- attrvalue: "dog_room_type_table,1666323D69DC4AC8B28EC38B72BC24FF,dog_room_table",
291
- serialnum: 7,
292
- children: [
293
- [
294
- {
295
- xh: 1,
296
- asid: "2AA903FDA83245C9A933F99BA31FD739",
297
- astype: 0,
298
- tname: "dog_room_table",
299
- attrid: "3C8FDCA9AD3E46F58006FA0DFE6B7612",
300
- attrname: "唯一编号",
301
- attrtype: 0,
302
- info: '{"input":"text","dataType":"string","length":100,"auto-generate":true,"auto-generate-type":"guid"}',
303
- info_base64: 0,
304
- createtime: "2026-01-26 10:03:45",
305
- attrvalue: "",
306
- serialnum: 0,
307
- children: [],
308
- json: {
309
- input: "text",
310
- dataType: "string",
311
- length: 100,
312
- "auto-generate": true,
313
- "auto-generate-type": "guid"
314
- }
315
- },
316
- {
317
- xh: 2,
318
- asid: "2AA903FDA83245C9A933F99BA31FD739",
319
- astype: 0,
320
- tname: "dog_room_table",
321
- attrid: "902B5AD407D34B9E8F267FABBE244B15",
322
- attrname: "房间编号",
323
- attrtype: 0,
324
- info: '{"input":"text","dataType":"string","length":100,"must":true}',
325
- info_base64: 0,
326
- createtime: "2025-11-14 16:18:24",
327
- attrvalue: "",
328
- serialnum: 1,
329
- children: [],
330
- json: {
331
- input: "text",
332
- dataType: "string",
333
- length: 100,
334
- must: true
335
- }
336
- },
337
- {
338
- xh: 3,
339
- asid: "2AA903FDA83245C9A933F99BA31FD739",
340
- astype: 0,
341
- tname: "dog_room_table",
342
- attrid: "276B08A817F540A3B5B56FBB5016E1D2",
343
- attrname: "房间名称",
344
- attrtype: 0,
345
- info: '{"input":"text","dataType":"string","length":100,"must":true}',
346
- info_base64: 0,
347
- createtime: "2026-01-24 11:53:53",
348
- attrvalue: "",
349
- serialnum: 2,
350
- children: [],
351
- json: {
352
- input: "text",
353
- dataType: "string",
354
- length: 100,
355
- must: true
356
- }
357
- },
358
- {
359
- xh: 4,
360
- asid: "2AA903FDA83245C9A933F99BA31FD739",
361
- astype: 0,
362
- tname: "dog_room_table",
363
- attrid: "BBB307871C054A1AAC8B39526B62B4D0",
364
- attrname: "关联房型编号",
365
- attrtype: 0,
366
- info: '{"input":"text","dataType":"string","length":100}',
367
- info_base64: 0,
368
- createtime: "2025-11-14 16:18:24",
369
- attrvalue: "",
370
- serialnum: 3,
371
- children: [],
372
- json: {
373
- input: "text",
374
- dataType: "string",
375
- length: 100
376
- }
377
- }
378
- ]
379
- ],
380
- json: {
381
- propertiesID: "2AA903FDA83245C9A933F99BA31FD739"
382
- }
78
+ children: []
383
79
  }
384
80
  ];
385
81
  exports.attrList = attrList;
386
82
  exports.baseAttrList = baseAttrList;
387
- exports.testList = testList;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.2.98",
4
+ "version": "0.2.99",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",