szld-libs 0.3.60 → 0.3.62
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 +8641 -8605
- package/dist/szld-components.umd.js +49 -49
- package/es/components/DynamicForm/index.d.ts +1 -0
- package/es/components/DynamicForm/useDynamicForm.js +23 -16
- package/es/hooks/useUniversalTable.d.ts +3 -1
- package/es/hooks/useUniversalTable.js +37 -6
- package/es/mock/index.js +14 -262
- package/es/utils/szxkFunc.d.ts +3 -0
- package/lib/components/DynamicForm/index.d.ts +1 -0
- package/lib/components/DynamicForm/useDynamicForm.js +23 -16
- package/lib/hooks/useUniversalTable.d.ts +3 -1
- package/lib/hooks/useUniversalTable.js +37 -6
- package/lib/mock/index.js +14 -262
- package/lib/utils/szxkFunc.d.ts +3 -0
- package/package.json +1 -1
|
@@ -431,7 +431,7 @@ function useDynamicForm(props) {
|
|
|
431
431
|
defaultWidth = 358,
|
|
432
432
|
customWidth = {}
|
|
433
433
|
}) => {
|
|
434
|
-
var _a, _b, _c, _d, _e, _f;
|
|
434
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
|
|
435
435
|
const mode = item.json.input || "text";
|
|
436
436
|
const format = ((_a = item.json) == null ? void 0 : _a.format) || "";
|
|
437
437
|
const attrid = item.attrid;
|
|
@@ -464,7 +464,7 @@ function useDynamicForm(props) {
|
|
|
464
464
|
{
|
|
465
465
|
placeholder: message2 || placeholder,
|
|
466
466
|
...params,
|
|
467
|
-
disabled: readonly,
|
|
467
|
+
disabled: readonly || ((_g = item.json) == null ? void 0 : _g.readonly),
|
|
468
468
|
allowClear: true,
|
|
469
469
|
style: { width, ...itemStyle == null ? void 0 : itemStyle.style, ...customWidth }
|
|
470
470
|
}
|
|
@@ -475,7 +475,7 @@ function useDynamicForm(props) {
|
|
|
475
475
|
{
|
|
476
476
|
placeholder: message2 || placeholder,
|
|
477
477
|
...params,
|
|
478
|
-
disabled: readonly,
|
|
478
|
+
disabled: readonly || ((_h = item.json) == null ? void 0 : _h.readonly),
|
|
479
479
|
allowClear: true,
|
|
480
480
|
style: { width, ...itemStyle == null ? void 0 : itemStyle.style, ...customWidth }
|
|
481
481
|
}
|
|
@@ -488,7 +488,7 @@ function useDynamicForm(props) {
|
|
|
488
488
|
placeholder: message2 || placeholder,
|
|
489
489
|
rows: 5,
|
|
490
490
|
...params,
|
|
491
|
-
disabled: readonly,
|
|
491
|
+
disabled: readonly || ((_i = item.json) == null ? void 0 : _i.readonly),
|
|
492
492
|
style: { width, ...itemStyle == null ? void 0 : itemStyle.style, ...customWidth }
|
|
493
493
|
}
|
|
494
494
|
);
|
|
@@ -499,7 +499,7 @@ function useDynamicForm(props) {
|
|
|
499
499
|
controls: false,
|
|
500
500
|
placeholder: message2 || placeholder,
|
|
501
501
|
...params,
|
|
502
|
-
disabled: readonly,
|
|
502
|
+
disabled: readonly || ((_j = item.json) == null ? void 0 : _j.readonly),
|
|
503
503
|
style: { width, ...itemStyle == null ? void 0 : itemStyle.style, ...customWidth }
|
|
504
504
|
}
|
|
505
505
|
);
|
|
@@ -509,7 +509,7 @@ function useDynamicForm(props) {
|
|
|
509
509
|
MySelect,
|
|
510
510
|
{
|
|
511
511
|
item: item.json,
|
|
512
|
-
readonly,
|
|
512
|
+
readonly: readonly || ((_k = item.json) == null ? void 0 : _k.readonly),
|
|
513
513
|
style: { width, ...itemStyle == null ? void 0 : itemStyle.style, ...customWidth },
|
|
514
514
|
commonRequestWidthParams,
|
|
515
515
|
commonRequest,
|
|
@@ -538,7 +538,7 @@ function useDynamicForm(props) {
|
|
|
538
538
|
onSure: async (value) => {
|
|
539
539
|
form.setFieldValue(item.attrid, value);
|
|
540
540
|
},
|
|
541
|
-
disabled: readonly,
|
|
541
|
+
disabled: readonly || ((_l = item.json) == null ? void 0 : _l.readonly),
|
|
542
542
|
langId,
|
|
543
543
|
CustomModalComponent
|
|
544
544
|
}
|
|
@@ -558,7 +558,7 @@ function useDynamicForm(props) {
|
|
|
558
558
|
onSure: async (value) => {
|
|
559
559
|
form.setFieldsValue(value);
|
|
560
560
|
},
|
|
561
|
-
disabled: readonly,
|
|
561
|
+
disabled: readonly || ((_m = item.json) == null ? void 0 : _m.readonly),
|
|
562
562
|
CustomModalComponent,
|
|
563
563
|
langId
|
|
564
564
|
}
|
|
@@ -590,7 +590,7 @@ function useDynamicForm(props) {
|
|
|
590
590
|
showTime: mode === "time-picker",
|
|
591
591
|
format: format ? format : void 0,
|
|
592
592
|
picker: pickerObj[mode] || "date",
|
|
593
|
-
disabled: readonly,
|
|
593
|
+
disabled: readonly || ((_n = item.json) == null ? void 0 : _n.readonly),
|
|
594
594
|
disabledDate: disabledDateFunc,
|
|
595
595
|
placement: "bottomLeft",
|
|
596
596
|
style: { width, ...itemStyle == null ? void 0 : itemStyle.style, ...customWidth }
|
|
@@ -602,12 +602,19 @@ function useDynamicForm(props) {
|
|
|
602
602
|
DatePicker.RangePicker,
|
|
603
603
|
{
|
|
604
604
|
disabledDate: disableDateGoover ? disabledDate : void 0,
|
|
605
|
-
disabled: readonly,
|
|
605
|
+
disabled: readonly || ((_o = item.json) == null ? void 0 : _o.readonly),
|
|
606
606
|
style: { width, ...itemStyle == null ? void 0 : itemStyle.style, ...customWidth }
|
|
607
607
|
}
|
|
608
608
|
);
|
|
609
609
|
case "multiple-date-picker":
|
|
610
|
-
return /* @__PURE__ */ jsx(
|
|
610
|
+
return /* @__PURE__ */ jsx(
|
|
611
|
+
DatePicker,
|
|
612
|
+
{
|
|
613
|
+
multiple: true,
|
|
614
|
+
disabled: readonly || ((_p = item.json) == null ? void 0 : _p.readonly) || false,
|
|
615
|
+
style: { width, ...itemStyle == null ? void 0 : itemStyle.style, ...customWidth }
|
|
616
|
+
}
|
|
617
|
+
);
|
|
611
618
|
case "radio":
|
|
612
619
|
return /* @__PURE__ */ jsx(
|
|
613
620
|
MyRadio,
|
|
@@ -616,7 +623,7 @@ function useDynamicForm(props) {
|
|
|
616
623
|
commonRequest,
|
|
617
624
|
commonRequestWidthParams,
|
|
618
625
|
item: item.json,
|
|
619
|
-
readonly,
|
|
626
|
+
readonly: readonly || ((_q = item.json) == null ? void 0 : _q.readonly),
|
|
620
627
|
options: params,
|
|
621
628
|
handleUrlOptions,
|
|
622
629
|
value: formatValue,
|
|
@@ -637,7 +644,7 @@ function useDynamicForm(props) {
|
|
|
637
644
|
commonRequest,
|
|
638
645
|
commonRequestWidthParams,
|
|
639
646
|
item: item.json,
|
|
640
|
-
readonly,
|
|
647
|
+
readonly: readonly || ((_r = item.json) == null ? void 0 : _r.readonly),
|
|
641
648
|
options: params,
|
|
642
649
|
value: formatValue,
|
|
643
650
|
handleUrlOptions,
|
|
@@ -662,7 +669,7 @@ function useDynamicForm(props) {
|
|
|
662
669
|
uploadType: mode,
|
|
663
670
|
langId,
|
|
664
671
|
list: formatValue,
|
|
665
|
-
readonly,
|
|
672
|
+
readonly: readonly || ((_s = item.json) == null ? void 0 : _s.readonly),
|
|
666
673
|
relatedid,
|
|
667
674
|
relatedidKey,
|
|
668
675
|
onRemove: (file) => handleOnRemove(file)
|
|
@@ -689,7 +696,7 @@ function useDynamicForm(props) {
|
|
|
689
696
|
RadioCard,
|
|
690
697
|
{
|
|
691
698
|
item: item.json,
|
|
692
|
-
readonly,
|
|
699
|
+
readonly: readonly || ((_t = item.json) == null ? void 0 : _t.readonly),
|
|
693
700
|
onChange: (value) => {
|
|
694
701
|
form.setFieldValue(item.attrid, value);
|
|
695
702
|
},
|
|
@@ -704,7 +711,7 @@ function useDynamicForm(props) {
|
|
|
704
711
|
placeholder: message2 || placeholder,
|
|
705
712
|
...params,
|
|
706
713
|
showCount: true,
|
|
707
|
-
disabled: readonly,
|
|
714
|
+
disabled: readonly || ((_u = item.json) == null ? void 0 : _u.readonly),
|
|
708
715
|
style: { width, ...itemStyle == null ? void 0 : itemStyle.style, ...customWidth }
|
|
709
716
|
}
|
|
710
717
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosResponse } from 'axios';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
declare function useUniversalTable(): {
|
|
4
|
-
handleUniversalHeaderToColumns: ({ universalHeader, extraBtn, operationColumnConfig, attributeSetId, getTitle, downloadText, isDefaultWidth, otherLangPageId, }: {
|
|
4
|
+
handleUniversalHeaderToColumns: ({ universalHeader, extraBtn, operationColumnConfig, attributeSetId, getTitle, downloadText, isDefaultWidth, otherLangPageId, objDefaultLangPageId, }: {
|
|
5
5
|
universalHeader: any[];
|
|
6
6
|
extraBtn?: ((record: any, content: string, item: any) => ReactNode) | undefined;
|
|
7
7
|
operationColumnConfig?: any;
|
|
@@ -10,6 +10,7 @@ declare function useUniversalTable(): {
|
|
|
10
10
|
downloadText?: string | undefined;
|
|
11
11
|
isDefaultWidth?: boolean | undefined;
|
|
12
12
|
otherLangPageId?: string | undefined;
|
|
13
|
+
objDefaultLangPageId?: string | undefined;
|
|
13
14
|
}) => any[] | import("antd/es/message/interface").MessageType;
|
|
14
15
|
handleSelListToFormItems: ({ selListData, handleSearch, handleReset, detail, styles, attributeSetId, commonRequest, commonRequestWidthParams, getTitle, searchText, resetText, }: {
|
|
15
16
|
selListData: any[];
|
|
@@ -53,5 +54,6 @@ declare function useUniversalTable(): {
|
|
|
53
54
|
tabItems?: any[] | undefined;
|
|
54
55
|
currentActive?: string | number | undefined;
|
|
55
56
|
}) => void;
|
|
57
|
+
isArrayString: (str: string) => boolean;
|
|
56
58
|
};
|
|
57
59
|
export default useUniversalTable;
|
|
@@ -51,7 +51,8 @@ function useUniversalTable() {
|
|
|
51
51
|
searchItems.map(async (item) => {
|
|
52
52
|
var _a;
|
|
53
53
|
const renderdata = item.renderdata || {};
|
|
54
|
-
const { input, width
|
|
54
|
+
const { input, width } = renderdata || {};
|
|
55
|
+
const labelCol = (renderdata == null ? void 0 : renderdata["label-col"]) || 6;
|
|
55
56
|
const renderPlaceholder = () => {
|
|
56
57
|
const value = renderdata["default-prompt"];
|
|
57
58
|
if (getTitle) {
|
|
@@ -106,8 +107,8 @@ function useUniversalTable() {
|
|
|
106
107
|
},
|
|
107
108
|
colProps: {},
|
|
108
109
|
formItemProps: {
|
|
109
|
-
style: { marginBottom: 10, width: width || 240 },
|
|
110
|
-
labelCol: { span: labelCol
|
|
110
|
+
style: { marginBottom: 10, width: typeof width === "string" ? `${width}px` : width || 240 },
|
|
111
|
+
labelCol: { span: labelCol }
|
|
111
112
|
}
|
|
112
113
|
};
|
|
113
114
|
if (["select", "checkbox", "radio", "mult-select", "cascader"].includes(input)) {
|
|
@@ -199,7 +200,8 @@ function useUniversalTable() {
|
|
|
199
200
|
getTitle,
|
|
200
201
|
downloadText = "下载",
|
|
201
202
|
isDefaultWidth = true,
|
|
202
|
-
otherLangPageId
|
|
203
|
+
otherLangPageId,
|
|
204
|
+
objDefaultLangPageId = "5000000"
|
|
203
205
|
}) => {
|
|
204
206
|
if (!(universalHeader == null ? void 0 : universalHeader.length))
|
|
205
207
|
return message.error("请配置 universalHeader表头数据");
|
|
@@ -209,7 +211,8 @@ function useUniversalTable() {
|
|
|
209
211
|
title: attributeSetId ? (getTitle == null ? void 0 : getTitle(attributeSetId, item == null ? void 0 : item["header-attribute-id"])) || "" : (item == null ? void 0 : item["header-name"]) || "",
|
|
210
212
|
dataIndex: (item == null ? void 0 : item["header-attribute-id"]) || "",
|
|
211
213
|
width: isDefaultWidth ? (item == null ? void 0 : item["header-width"]) || 180 : void 0,
|
|
212
|
-
render: (text) => {
|
|
214
|
+
render: (text, record) => {
|
|
215
|
+
var _a, _b;
|
|
213
216
|
if (text && text && typeof text === "string" && (text == null ? void 0 : text.includes("FileName")) && (text == null ? void 0 : text.includes("FilePath"))) {
|
|
214
217
|
try {
|
|
215
218
|
const items = JSON.parse(text);
|
|
@@ -228,6 +231,23 @@ function useUniversalTable() {
|
|
|
228
231
|
return /* @__PURE__ */ jsx(Space, {});
|
|
229
232
|
}
|
|
230
233
|
if ((item == null ? void 0 : item["show-lang-data-id"]) && otherLangPageId) {
|
|
234
|
+
if (text && text && typeof text === "object" && ((_a = Object.keys(text)) == null ? void 0 : _a.includes("delimiter"))) {
|
|
235
|
+
const { list: list2, delimiter = "," } = text || {};
|
|
236
|
+
const newList = list2 == null ? void 0 : list2.map((item2) => {
|
|
237
|
+
if (!item2)
|
|
238
|
+
return "-";
|
|
239
|
+
const arr = (item2 == null ? void 0 : item2.split("|")) || [];
|
|
240
|
+
const pageId = (arr == null ? void 0 : arr.length) > 1 ? arr[0] : objDefaultLangPageId;
|
|
241
|
+
const str = (arr == null ? void 0 : arr.length) > 1 ? arr[1] : arr[0];
|
|
242
|
+
return (getTitle == null ? void 0 : getTitle(pageId, str)) || "-";
|
|
243
|
+
});
|
|
244
|
+
return /* @__PURE__ */ jsx(
|
|
245
|
+
"span",
|
|
246
|
+
{
|
|
247
|
+
dangerouslySetInnerHTML: { __html: ((_b = newList == null ? void 0 : newList.join(delimiter)) == null ? void 0 : _b.replace(/\n/g, "<br>")) || "-" }
|
|
248
|
+
}
|
|
249
|
+
);
|
|
250
|
+
}
|
|
231
251
|
return /* @__PURE__ */ jsx(Tooltip, { title: text, children: /* @__PURE__ */ jsx("span", { style: { cursor: "pointer" }, children: (getTitle == null ? void 0 : getTitle(otherLangPageId, text)) || "-" }) });
|
|
232
252
|
}
|
|
233
253
|
return text || "-";
|
|
@@ -421,12 +441,23 @@ function useUniversalTable() {
|
|
|
421
441
|
};
|
|
422
442
|
return recursionTransform(data);
|
|
423
443
|
};
|
|
444
|
+
const isArrayString = (str) => {
|
|
445
|
+
if (typeof str !== "string")
|
|
446
|
+
return false;
|
|
447
|
+
try {
|
|
448
|
+
const parsed = JSON.parse(str);
|
|
449
|
+
return Array.isArray(parsed);
|
|
450
|
+
} catch (e) {
|
|
451
|
+
return false;
|
|
452
|
+
}
|
|
453
|
+
};
|
|
424
454
|
return {
|
|
425
455
|
handleUniversalHeaderToColumns,
|
|
426
456
|
handleSelListToFormItems,
|
|
427
457
|
handleUniversalDelete,
|
|
428
458
|
handleUniversalSearch,
|
|
429
|
-
handleUniversalReset
|
|
459
|
+
handleUniversalReset,
|
|
460
|
+
isArrayString
|
|
430
461
|
};
|
|
431
462
|
}
|
|
432
463
|
export {
|
package/es/mock/index.js
CHANGED
|
@@ -2,273 +2,25 @@ const baseAttrList = [];
|
|
|
2
2
|
const attrList = [
|
|
3
3
|
{
|
|
4
4
|
xh: 1,
|
|
5
|
-
asid: "
|
|
5
|
+
asid: "2F79EF19DBD846D2AD5309E85A436689",
|
|
6
6
|
astype: 0,
|
|
7
|
-
tname: "
|
|
8
|
-
attrid: "
|
|
9
|
-
attrname: "
|
|
7
|
+
tname: "fjffrt_table2",
|
|
8
|
+
attrid: "47081ED51BB4407C92070CB7CAA8D056",
|
|
9
|
+
attrname: "Dates",
|
|
10
10
|
attrtype: 0,
|
|
11
|
-
info: '{"input":"
|
|
11
|
+
info: '{"input":"range-picker","dataType":"date","input-width":370,"must":true,"readonly":true}',
|
|
12
12
|
info_base64: 0,
|
|
13
|
-
createtime: "2026-
|
|
13
|
+
createtime: "2026-02-11 15:18:12",
|
|
14
14
|
attrvalue: "",
|
|
15
15
|
serialnum: 1,
|
|
16
|
-
children: []
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
attrname: "品种",
|
|
25
|
-
attrtype: 0,
|
|
26
|
-
info: '{"input":"text","dataType":"string","length":20}',
|
|
27
|
-
info_base64: 0,
|
|
28
|
-
createtime: "2026-01-05 21:26:01",
|
|
29
|
-
attrvalue: "",
|
|
30
|
-
serialnum: 2,
|
|
31
|
-
children: []
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
xh: 3,
|
|
35
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
36
|
-
astype: 0,
|
|
37
|
-
tname: "gg_table",
|
|
38
|
-
attrid: "B1B10494F9A949CCBD26567A597E8DAE",
|
|
39
|
-
attrname: "重量",
|
|
40
|
-
attrtype: 0,
|
|
41
|
-
info: '{"input":"text","dataType":"string","length":3,"combination":true,"combination-id":1,"combination-name":"5000008-1","combination-width-ratio":0.7,"must":true}',
|
|
42
|
-
info_base64: 0,
|
|
43
|
-
createtime: "2026-01-05 21:26:13",
|
|
44
|
-
attrvalue: "",
|
|
45
|
-
serialnum: 3,
|
|
46
|
-
children: []
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
xh: 4,
|
|
50
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
51
|
-
astype: 0,
|
|
52
|
-
tname: "gg_table",
|
|
53
|
-
attrid: "A3CB9307DED6493382C78E065F3C6A99",
|
|
54
|
-
attrname: "单位",
|
|
55
|
-
attrtype: 0,
|
|
56
|
-
info: '{"input":"select","dataType":"string","length":5,"inputType":"local","data":["5000008-1","5000008-2"],"default":"5000008-1","combination":true,"combination-id":1,"combination-name":"5000008-1","combination-width-ratio":0.3,"must":true}',
|
|
57
|
-
info_base64: 0,
|
|
58
|
-
createtime: "2026-01-05 21:27:16",
|
|
59
|
-
attrvalue: "",
|
|
60
|
-
serialnum: 4,
|
|
61
|
-
children: []
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
xh: 5,
|
|
65
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
66
|
-
astype: 0,
|
|
67
|
-
tname: "gg_table",
|
|
68
|
-
attrid: "F0999F269D3C4425A59A883442055C5C",
|
|
69
|
-
attrname: "性别",
|
|
70
|
-
attrtype: 0,
|
|
71
|
-
info: '{"input":"radio","dataType":"string","length":100,"inputType":"local","data":["5000011-3-1","5000011-3-2"]}',
|
|
72
|
-
info_base64: 0,
|
|
73
|
-
createtime: "2026-01-05 21:28:11",
|
|
74
|
-
attrvalue: "",
|
|
75
|
-
serialnum: 5,
|
|
76
|
-
children: []
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
xh: 6,
|
|
80
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
81
|
-
astype: 0,
|
|
82
|
-
tname: "gg_table",
|
|
83
|
-
attrid: "4986EE62B15E4C0197A1E073E098CCAF",
|
|
84
|
-
attrname: "是否绝育",
|
|
85
|
-
attrtype: 0,
|
|
86
|
-
info: '{"input":"radio","dataType":"string","length":100,"inputType":"local","data":["5000011-1-2","5000011-1-1"],"must":true}',
|
|
87
|
-
info_base64: 0,
|
|
88
|
-
createtime: "2026-01-05 21:28:34",
|
|
89
|
-
attrvalue: "",
|
|
90
|
-
serialnum: 6,
|
|
91
|
-
children: []
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
xh: 7,
|
|
95
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
96
|
-
astype: 0,
|
|
97
|
-
tname: "gg_table",
|
|
98
|
-
attrid: "8561D992C88645EE9EA184800BBE0E1D",
|
|
99
|
-
attrname: "是否对其他狗有攻击性",
|
|
100
|
-
attrtype: 0,
|
|
101
|
-
info: '{"input":"radio","dataType":"string","length":100,"inputType":"local","data":["5000011-2-2","5000011-2-1","5000011-2-3","5000011-2-4"],"must":true}',
|
|
102
|
-
info_base64: 0,
|
|
103
|
-
createtime: "2026-01-05 21:29:07",
|
|
104
|
-
attrvalue: "",
|
|
105
|
-
serialnum: 7,
|
|
106
|
-
children: []
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
xh: 8,
|
|
110
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
111
|
-
astype: 0,
|
|
112
|
-
tname: "gg_table",
|
|
113
|
-
attrid: "93366648DF5146E98AE3D58DE5D6BD73",
|
|
114
|
-
attrname: "是否对人有攻击性",
|
|
115
|
-
attrtype: 0,
|
|
116
|
-
info: '{"input":"radio","dataType":"string","length":100,"inputType":"local","data":["5000011-2-2","5000011-2-1","5000011-2-3","5000011-2-4"],"must":true}',
|
|
117
|
-
info_base64: 0,
|
|
118
|
-
createtime: "2026-01-05 21:29:24",
|
|
119
|
-
attrvalue: "",
|
|
120
|
-
serialnum: 8,
|
|
121
|
-
children: []
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
xh: 9,
|
|
125
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
126
|
-
astype: 0,
|
|
127
|
-
tname: "gg_table",
|
|
128
|
-
attrid: "6A63A6508C0E44D38AB68CB27EC332E8",
|
|
129
|
-
attrname: "狗狗照片",
|
|
130
|
-
attrtype: 0,
|
|
131
|
-
info: '{"input":"image","upload-accept":".png,.jpg,.jpeg","upload-max-count":"5","upload-size":"5","dataType":"string","length":4000}',
|
|
132
|
-
info_base64: 0,
|
|
133
|
-
createtime: "2026-01-05 21:29:46",
|
|
134
|
-
attrvalue: "",
|
|
135
|
-
serialnum: 9,
|
|
136
|
-
children: []
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
xh: 10,
|
|
140
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
141
|
-
astype: 0,
|
|
142
|
-
tname: "gg_table",
|
|
143
|
-
attrid: "6730DFF94989425F9ED90A4A77EE3C5B",
|
|
144
|
-
attrname: "疫苗证明",
|
|
145
|
-
attrtype: 0,
|
|
146
|
-
info: '{"input":"file","upload-accept":".png,jpeg,jpg,.pdf,.doc,.docx,.xls,.xlsx,.txt,.zip,.rar,.7z","upload-max-count":"5","upload-size":"10","dataType":"string","length":4000}',
|
|
147
|
-
info_base64: 0,
|
|
148
|
-
createtime: "2026-01-05 21:30:05",
|
|
149
|
-
attrvalue: "",
|
|
150
|
-
serialnum: 10,
|
|
151
|
-
children: []
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
xh: 11,
|
|
155
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
156
|
-
astype: 0,
|
|
157
|
-
tname: "gg_table",
|
|
158
|
-
attrid: "23A6082D509340BCA10ED419A95F9B7D",
|
|
159
|
-
attrname: "生日",
|
|
160
|
-
attrtype: 0,
|
|
161
|
-
info: '{"input":"date-picker","dataType":"date","instruction":"如不确定出生日期可选择大概日期","instruction-color":"#999999","must":true}',
|
|
162
|
-
info_base64: 0,
|
|
163
|
-
createtime: "2026-01-05 21:30:21",
|
|
164
|
-
attrvalue: "",
|
|
165
|
-
serialnum: 11,
|
|
166
|
-
children: []
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
xh: 12,
|
|
170
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
171
|
-
astype: 0,
|
|
172
|
-
tname: "gg_table",
|
|
173
|
-
attrid: "7A870062F2C94795ABA9923F300BE99A",
|
|
174
|
-
attrname: "备注",
|
|
175
|
-
attrtype: 0,
|
|
176
|
-
info: '{"input":"textarea","dataType":"string","length":500}',
|
|
177
|
-
info_base64: 0,
|
|
178
|
-
createtime: "2026-01-05 21:30:40",
|
|
179
|
-
attrvalue: "",
|
|
180
|
-
serialnum: 12,
|
|
181
|
-
children: []
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
xh: 13,
|
|
185
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
186
|
-
astype: 0,
|
|
187
|
-
tname: "gg_table",
|
|
188
|
-
attrid: "5A1C6C69500B42708F71B1A4CF4009C5",
|
|
189
|
-
attrname: "确认状态",
|
|
190
|
-
attrtype: 0,
|
|
191
|
-
info: '{"input":"select","dataType":"string","length":10,"inputType":"local","data":["未确认","已确认"],"default":"已确认"}',
|
|
192
|
-
info_base64: 0,
|
|
193
|
-
createtime: "2026-01-05 21:30:54",
|
|
194
|
-
attrvalue: "",
|
|
195
|
-
serialnum: 13,
|
|
196
|
-
children: []
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
xh: 14,
|
|
200
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
201
|
-
astype: 0,
|
|
202
|
-
tname: "gg_table",
|
|
203
|
-
attrid: "B5EA8BEBDABE4B508CD72F5921FD1C0F",
|
|
204
|
-
attrname: "关联账号",
|
|
205
|
-
attrtype: 0,
|
|
206
|
-
info: '{"input":"text","dataType":"string","length":100}',
|
|
207
|
-
info_base64: 0,
|
|
208
|
-
createtime: "2026-01-05 21:31:07",
|
|
209
|
-
attrvalue: "",
|
|
210
|
-
serialnum: 14,
|
|
211
|
-
children: []
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
xh: 15,
|
|
215
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
216
|
-
astype: 0,
|
|
217
|
-
tname: "gg_table",
|
|
218
|
-
attrid: "8BC4EEE820374EAA90B42756F6B1E4A5",
|
|
219
|
-
attrname: "主人姓",
|
|
220
|
-
attrtype: 0,
|
|
221
|
-
info: '{"input":"text","dataType":"string","length":100}',
|
|
222
|
-
info_base64: 0,
|
|
223
|
-
createtime: "2026-01-05 21:36:38",
|
|
224
|
-
attrvalue: "",
|
|
225
|
-
serialnum: 15,
|
|
226
|
-
children: []
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
xh: 16,
|
|
230
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
231
|
-
astype: 0,
|
|
232
|
-
tname: "gg_table",
|
|
233
|
-
attrid: "66A7EA71D61A4D0E86C8C44C7F788DD9",
|
|
234
|
-
attrname: "主人名",
|
|
235
|
-
attrtype: 0,
|
|
236
|
-
info: '{"input":"text","dataType":"string","length":100}',
|
|
237
|
-
info_base64: 0,
|
|
238
|
-
createtime: "2026-01-16 15:02:21",
|
|
239
|
-
attrvalue: "",
|
|
240
|
-
serialnum: 15,
|
|
241
|
-
children: []
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
xh: 17,
|
|
245
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
246
|
-
astype: 0,
|
|
247
|
-
tname: "gg_table",
|
|
248
|
-
attrid: "069E5167BD4E4BAF86B57EE19826DF0C",
|
|
249
|
-
attrname: "关联账号对应id",
|
|
250
|
-
attrtype: 0,
|
|
251
|
-
info: '{"input":"text","dataType":"string","length":32}',
|
|
252
|
-
info_base64: 0,
|
|
253
|
-
createtime: "2026-01-06 12:17:44",
|
|
254
|
-
attrvalue: "",
|
|
255
|
-
serialnum: 16,
|
|
256
|
-
children: []
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
xh: 18,
|
|
260
|
-
asid: "2EA2AABF953F4A3483ED854A0034BF92",
|
|
261
|
-
astype: 0,
|
|
262
|
-
tname: "gg_table",
|
|
263
|
-
attrid: "69008E895864440A9972137E5AC1C983",
|
|
264
|
-
attrname: "创建时间",
|
|
265
|
-
attrtype: 0,
|
|
266
|
-
info: '{"input":"date-picker","dataType":"date","auto-generate":true,"auto-generate-type":"currenttime"}',
|
|
267
|
-
info_base64: 0,
|
|
268
|
-
createtime: "2026-01-05 22:08:40",
|
|
269
|
-
attrvalue: "",
|
|
270
|
-
serialnum: 17,
|
|
271
|
-
children: []
|
|
16
|
+
children: [],
|
|
17
|
+
json: {
|
|
18
|
+
input: "range-picker",
|
|
19
|
+
dataType: "date",
|
|
20
|
+
"input-width": 370,
|
|
21
|
+
must: true,
|
|
22
|
+
readonly: true
|
|
23
|
+
}
|
|
272
24
|
}
|
|
273
25
|
];
|
|
274
26
|
const langConfig = [
|
package/es/utils/szxkFunc.d.ts
CHANGED
|
@@ -39,6 +39,9 @@ export declare const handleGetList: (params: {
|
|
|
39
39
|
}) => Promise<any>;
|
|
40
40
|
/**
|
|
41
41
|
* 调用通用支持代码接口
|
|
42
|
+
* @param params 请求参数
|
|
43
|
+
* @param commonRequestWidthParams 通用请求函数
|
|
44
|
+
* @param requestParams 接口参数PageName Controlname
|
|
42
45
|
*/
|
|
43
46
|
export declare const handleCallSupportCode: ({ params, commonRequestWidthParams, requestParams, }: {
|
|
44
47
|
params: Record<string, any>;
|