szld-libs 0.4.57 → 0.4.58
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 +8 -3
- package/dist/szld-components.umd.js +2 -2
- package/es/components/DynamicForm/index.js +2 -1
- package/es/hooks/useDetailRender.js +14 -10
- package/es/index.js +33 -25
- package/es/mock/index.js +7 -112
- package/lib/components/DynamicForm/index.js +2 -1
- package/lib/hooks/useDetailRender.js +14 -10
- package/lib/index.js +33 -25
- package/lib/mock/index.js +7 -112
- package/package.json +1 -1
|
@@ -213,17 +213,21 @@ function useDetailRender({
|
|
|
213
213
|
return /* @__PURE__ */ jsx(Row, { gutter: [10, 8], children: attrList == null ? void 0 : attrList.map((item) => {
|
|
214
214
|
if ((item == null ? void 0 : item.attrtype) !== 0)
|
|
215
215
|
return /* @__PURE__ */ jsx(Fragment, {}, item == null ? void 0 : item.attrid);
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
216
|
+
try {
|
|
217
|
+
const info = item.info_base64 === 1 ? getJson(base64ToString(item.info)) : getJson(item.info);
|
|
218
|
+
if ((info == null ? void 0 : info.input) === "image") {
|
|
219
|
+
return renderImageAttr(item, span);
|
|
220
|
+
}
|
|
221
|
+
if (["file", "audio", "video"].includes(info == null ? void 0 : info.input)) {
|
|
222
|
+
return renderFileAttr(item, span);
|
|
223
|
+
}
|
|
224
|
+
if ((info == null ? void 0 : info.input) === "radio-card") {
|
|
225
|
+
return renderRadioCardAttr(item, span);
|
|
226
|
+
}
|
|
227
|
+
return renderTextAttr(item, span, beforeExtraValue, langConfig);
|
|
228
|
+
} catch (error) {
|
|
229
|
+
return renderTextAttr(item, span, beforeExtraValue, langConfig);
|
|
225
230
|
}
|
|
226
|
-
return renderTextAttr(item, span, beforeExtraValue, langConfig);
|
|
227
231
|
}) });
|
|
228
232
|
}
|
|
229
233
|
);
|
package/es/index.js
CHANGED
|
@@ -8,10 +8,12 @@ import ReactDOM from "react-dom/client";
|
|
|
8
8
|
import zhCN from "antd/es/locale/zh_CN";
|
|
9
9
|
import { attrList } from "./mock";
|
|
10
10
|
import dayjs from "dayjs";
|
|
11
|
+
import useDetailRender from "./hooks/useDetailRender";
|
|
11
12
|
const index = "";
|
|
12
13
|
const tableDetail = "";
|
|
13
14
|
dayjs.locale("zh-cn");
|
|
14
15
|
const Demo = () => {
|
|
16
|
+
const { renderDetail } = useDetailRender({ layoutType: "flex" });
|
|
15
17
|
const formRef = useRef(null);
|
|
16
18
|
const [form] = Form.useForm();
|
|
17
19
|
const [list, setList] = useState([]);
|
|
@@ -31,31 +33,37 @@ const Demo = () => {
|
|
|
31
33
|
};
|
|
32
34
|
return /* @__PURE__ */ jsxs("div", { style: { height: "100vh", display: "flex", flexDirection: "column", gap: 20 }, children: [
|
|
33
35
|
/* @__PURE__ */ jsx(BackHeader, { title: "页头组件", isBack: true }),
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
36
|
+
/* @__PURE__ */ jsxs("div", { style: { padding: "20px" }, children: [
|
|
37
|
+
renderDetail({
|
|
38
|
+
attrList,
|
|
39
|
+
span: 8
|
|
40
|
+
}),
|
|
41
|
+
/* @__PURE__ */ jsxs(Form, { form, onValuesChange, layout: "vertical", onFinish, children: [
|
|
42
|
+
/* @__PURE__ */ jsx(
|
|
43
|
+
DynamicForm,
|
|
44
|
+
{
|
|
45
|
+
formConfig: list,
|
|
46
|
+
readonly: false,
|
|
47
|
+
form,
|
|
48
|
+
relatedid: "guid",
|
|
49
|
+
colNum: 1,
|
|
50
|
+
commonRequestWidthParams: () => {
|
|
51
|
+
return new Promise((resolve, reject) => {
|
|
52
|
+
});
|
|
53
|
+
},
|
|
54
|
+
uploadAction: () => "",
|
|
55
|
+
commonRequest: () => {
|
|
56
|
+
return new Promise((resolve, reject) => {
|
|
57
|
+
});
|
|
58
|
+
},
|
|
59
|
+
instructionShowMode: "icon",
|
|
60
|
+
ref: formRef,
|
|
61
|
+
langId
|
|
62
|
+
}
|
|
63
|
+
),
|
|
64
|
+
/* @__PURE__ */ jsx(Form.Item, { name: "submit", style: { marginLeft: "auto" }, children: /* @__PURE__ */ jsx(Button, { type: "primary", htmlType: "submit", children: "Submit" }) })
|
|
65
|
+
] })
|
|
66
|
+
] }),
|
|
59
67
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
60
68
|
"2. 测试循环滚动组件",
|
|
61
69
|
/* @__PURE__ */ jsx(
|
package/es/mock/index.js
CHANGED
|
@@ -1,124 +1,19 @@
|
|
|
1
1
|
const baseAttrList = [];
|
|
2
2
|
const attrList = [
|
|
3
3
|
{
|
|
4
|
-
xh:
|
|
5
|
-
asid: "
|
|
4
|
+
xh: 1,
|
|
5
|
+
asid: "6DD67D8C648244378C7DBAEAC368ABCA",
|
|
6
6
|
astype: 0,
|
|
7
|
-
tname: "
|
|
8
|
-
attrid: "
|
|
9
|
-
attrname: "
|
|
7
|
+
tname: "rt_table2",
|
|
8
|
+
attrid: "6C06059DE61C4344BFA2E05674A04AF4",
|
|
9
|
+
attrname: "Dates",
|
|
10
10
|
attrtype: 0,
|
|
11
|
-
info: '{
|
|
11
|
+
info: '{"input":"multiple-date-picker","range-picker-save":"single","dataType":"date","must":true,"max-tag-count":2}',
|
|
12
12
|
info_base64: 0,
|
|
13
|
-
createtime: "2026-
|
|
13
|
+
createtime: "2026-02-11 14:31:06",
|
|
14
14
|
attrvalue: "",
|
|
15
15
|
serialnum: 1,
|
|
16
16
|
children: []
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
xh: 3,
|
|
20
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
21
|
-
astype: 0,
|
|
22
|
-
tname: "zysqwzh_table",
|
|
23
|
-
attrid: "533C58403EF14EB99C05A97AD308E005",
|
|
24
|
-
attrname: "密码",
|
|
25
|
-
attrtype: 0,
|
|
26
|
-
info: '{\r\n "input": "password",\r\n "dataType": "string",\r\n "length": 100,\r\n "regexp": "/^(?=.*\\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*,.\\_])[\\da-zA-Z!@#$%^&*,.\\_]{8,16}$/",\r\n "regexp-message": "请输入8-16位密码,必须包含数字、大写字母、小写字母和特殊符号(!@#$%^&*,._)",\r\n "must": true,\r\n "data-save-type": "encode|SM3|local|szldgg"\r\n}',
|
|
27
|
-
info_base64: 0,
|
|
28
|
-
createtime: "2026-04-27 18:11:30",
|
|
29
|
-
attrvalue: "",
|
|
30
|
-
serialnum: 2,
|
|
31
|
-
children: []
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
xh: 4,
|
|
35
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
36
|
-
astype: 0,
|
|
37
|
-
tname: "zysqwzh_table",
|
|
38
|
-
attrid: "7B008404ADCD4BEF864C363C273906B7",
|
|
39
|
-
attrname: "单位名称",
|
|
40
|
-
attrtype: 0,
|
|
41
|
-
info: '{"input":"text","message":"请输入单位名称","dataType":"string","length":100,"must":true}',
|
|
42
|
-
info_base64: 0,
|
|
43
|
-
createtime: "2026-04-27 18:12:40",
|
|
44
|
-
attrvalue: "",
|
|
45
|
-
serialnum: 3,
|
|
46
|
-
children: []
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
xh: 5,
|
|
50
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
51
|
-
astype: 0,
|
|
52
|
-
tname: "zysqwzh_table",
|
|
53
|
-
attrid: "C47E1F05EEBC45819F29A97ADCF67434",
|
|
54
|
-
attrname: "联系人",
|
|
55
|
-
attrtype: 0,
|
|
56
|
-
info: '{"input":"text","message":"请输入联系人","dataType":"string","length":10,"must":true}',
|
|
57
|
-
info_base64: 0,
|
|
58
|
-
createtime: "2026-04-27 18:13:02",
|
|
59
|
-
attrvalue: "",
|
|
60
|
-
serialnum: 4,
|
|
61
|
-
children: []
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
xh: 6,
|
|
65
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
66
|
-
astype: 0,
|
|
67
|
-
tname: "zysqwzh_table",
|
|
68
|
-
attrid: "FB3B3F384A7F48AE8DAEF48BB71E8A2A",
|
|
69
|
-
attrname: "联系电话",
|
|
70
|
-
attrtype: 0,
|
|
71
|
-
info: '{"input":"text","message":"请输入联系电话","dataType":"string","length":20,"must":true}',
|
|
72
|
-
info_base64: 0,
|
|
73
|
-
createtime: "2026-04-27 18:13:36",
|
|
74
|
-
attrvalue: "",
|
|
75
|
-
serialnum: 5,
|
|
76
|
-
children: []
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
xh: 7,
|
|
80
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
81
|
-
astype: 0,
|
|
82
|
-
tname: "zysqwzh_table",
|
|
83
|
-
attrid: "31476E09F6604BF88394462BDF2E4A79",
|
|
84
|
-
attrname: "备注",
|
|
85
|
-
attrtype: 0,
|
|
86
|
-
info: '{"input":"text","dataType":"string","length":1000,"must":true}',
|
|
87
|
-
info_base64: 0,
|
|
88
|
-
createtime: "2026-04-27 18:14:16",
|
|
89
|
-
attrvalue: "",
|
|
90
|
-
serialnum: 6,
|
|
91
|
-
children: []
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
xh: 9,
|
|
95
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
96
|
-
astype: 0,
|
|
97
|
-
tname: "zysqwzh_table",
|
|
98
|
-
attrid: "CDCD18D269D0414AA211635C694C674C",
|
|
99
|
-
attrname: "账号类型",
|
|
100
|
-
attrtype: 0,
|
|
101
|
-
info: '{"input":"select","dataType":"string","length":100,"inputType":"local","data":["普通","销售A","销售B"],"must":true,"default": "普通"}',
|
|
102
|
-
info_base64: 0,
|
|
103
|
-
createtime: "2026-04-29 18:24:25",
|
|
104
|
-
attrvalue: "",
|
|
105
|
-
serialnum: 8,
|
|
106
|
-
children: []
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
xh: 10,
|
|
110
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
111
|
-
astype: 0,
|
|
112
|
-
tname: "zysqwzh_table",
|
|
113
|
-
attrid: "8194CF02CAF54D34BEA0557AB1F2CFFA",
|
|
114
|
-
attrname: "分润比例",
|
|
115
|
-
attrtype: 0,
|
|
116
|
-
info: '{"input":"select","dataType":"string","length":100,"inputType":"local","data":["0","0.2","0.3"],"must":true,"default": "0"}',
|
|
117
|
-
info_base64: 0,
|
|
118
|
-
createtime: "2026-04-29 18:40:00",
|
|
119
|
-
attrvalue: "",
|
|
120
|
-
serialnum: 9,
|
|
121
|
-
children: []
|
|
122
17
|
}
|
|
123
18
|
];
|
|
124
19
|
const values = {
|
|
@@ -214,17 +214,21 @@ function useDetailRender({
|
|
|
214
214
|
return /* @__PURE__ */ jsxRuntime.jsx(antd.Row, { gutter: [10, 8], children: attrList == null ? void 0 : attrList.map((item) => {
|
|
215
215
|
if ((item == null ? void 0 : item.attrtype) !== 0)
|
|
216
216
|
return /* @__PURE__ */ jsxRuntime.jsx(react.Fragment, {}, item == null ? void 0 : item.attrid);
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
217
|
+
try {
|
|
218
|
+
const info = item.info_base64 === 1 ? method.getJson(method.base64ToString(item.info)) : method.getJson(item.info);
|
|
219
|
+
if ((info == null ? void 0 : info.input) === "image") {
|
|
220
|
+
return renderImageAttr(item, span);
|
|
221
|
+
}
|
|
222
|
+
if (["file", "audio", "video"].includes(info == null ? void 0 : info.input)) {
|
|
223
|
+
return renderFileAttr(item, span);
|
|
224
|
+
}
|
|
225
|
+
if ((info == null ? void 0 : info.input) === "radio-card") {
|
|
226
|
+
return renderRadioCardAttr(item, span);
|
|
227
|
+
}
|
|
228
|
+
return renderTextAttr(item, span, beforeExtraValue, langConfig);
|
|
229
|
+
} catch (error) {
|
|
230
|
+
return renderTextAttr(item, span, beforeExtraValue, langConfig);
|
|
226
231
|
}
|
|
227
|
-
return renderTextAttr(item, span, beforeExtraValue, langConfig);
|
|
228
232
|
}) });
|
|
229
233
|
}
|
|
230
234
|
);
|
package/lib/index.js
CHANGED
|
@@ -9,10 +9,12 @@ const ReactDOM = require("react-dom/client");
|
|
|
9
9
|
const zhCN = require("antd/es/locale/zh_CN");
|
|
10
10
|
const mock = require("./mock");
|
|
11
11
|
const dayjs = require("dayjs");
|
|
12
|
+
const useDetailRender = require("./hooks/useDetailRender");
|
|
12
13
|
const index = "";
|
|
13
14
|
const tableDetail = "";
|
|
14
15
|
dayjs.locale("zh-cn");
|
|
15
16
|
const Demo = () => {
|
|
17
|
+
const { renderDetail } = useDetailRender({ layoutType: "flex" });
|
|
16
18
|
const formRef = react.useRef(null);
|
|
17
19
|
const [form] = antd.Form.useForm();
|
|
18
20
|
const [list, setList] = react.useState([]);
|
|
@@ -32,31 +34,37 @@ const Demo = () => {
|
|
|
32
34
|
};
|
|
33
35
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { height: "100vh", display: "flex", flexDirection: "column", gap: 20 }, children: [
|
|
34
36
|
/* @__PURE__ */ jsxRuntime.jsx(main.BackHeader, { title: "页头组件", isBack: true }),
|
|
35
|
-
/* @__PURE__ */ jsxRuntime.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
37
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { padding: "20px" }, children: [
|
|
38
|
+
renderDetail({
|
|
39
|
+
attrList: mock.attrList,
|
|
40
|
+
span: 8
|
|
41
|
+
}),
|
|
42
|
+
/* @__PURE__ */ jsxRuntime.jsxs(antd.Form, { form, onValuesChange, layout: "vertical", onFinish, children: [
|
|
43
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44
|
+
main.DynamicForm,
|
|
45
|
+
{
|
|
46
|
+
formConfig: list,
|
|
47
|
+
readonly: false,
|
|
48
|
+
form,
|
|
49
|
+
relatedid: "guid",
|
|
50
|
+
colNum: 1,
|
|
51
|
+
commonRequestWidthParams: () => {
|
|
52
|
+
return new Promise((resolve, reject) => {
|
|
53
|
+
});
|
|
54
|
+
},
|
|
55
|
+
uploadAction: () => "",
|
|
56
|
+
commonRequest: () => {
|
|
57
|
+
return new Promise((resolve, reject) => {
|
|
58
|
+
});
|
|
59
|
+
},
|
|
60
|
+
instructionShowMode: "icon",
|
|
61
|
+
ref: formRef,
|
|
62
|
+
langId
|
|
63
|
+
}
|
|
64
|
+
),
|
|
65
|
+
/* @__PURE__ */ jsxRuntime.jsx(antd.Form.Item, { name: "submit", style: { marginLeft: "auto" }, children: /* @__PURE__ */ jsxRuntime.jsx(antd.Button, { type: "primary", htmlType: "submit", children: "Submit" }) })
|
|
66
|
+
] })
|
|
67
|
+
] }),
|
|
60
68
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
61
69
|
"2. 测试循环滚动组件",
|
|
62
70
|
/* @__PURE__ */ jsxRuntime.jsx(
|
package/lib/mock/index.js
CHANGED
|
@@ -3,124 +3,19 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const baseAttrList = [];
|
|
4
4
|
const attrList = [
|
|
5
5
|
{
|
|
6
|
-
xh:
|
|
7
|
-
asid: "
|
|
6
|
+
xh: 1,
|
|
7
|
+
asid: "6DD67D8C648244378C7DBAEAC368ABCA",
|
|
8
8
|
astype: 0,
|
|
9
|
-
tname: "
|
|
10
|
-
attrid: "
|
|
11
|
-
attrname: "
|
|
9
|
+
tname: "rt_table2",
|
|
10
|
+
attrid: "6C06059DE61C4344BFA2E05674A04AF4",
|
|
11
|
+
attrname: "Dates",
|
|
12
12
|
attrtype: 0,
|
|
13
|
-
info: '{
|
|
13
|
+
info: '{"input":"multiple-date-picker","range-picker-save":"single","dataType":"date","must":true,"max-tag-count":2}',
|
|
14
14
|
info_base64: 0,
|
|
15
|
-
createtime: "2026-
|
|
15
|
+
createtime: "2026-02-11 14:31:06",
|
|
16
16
|
attrvalue: "",
|
|
17
17
|
serialnum: 1,
|
|
18
18
|
children: []
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
xh: 3,
|
|
22
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
23
|
-
astype: 0,
|
|
24
|
-
tname: "zysqwzh_table",
|
|
25
|
-
attrid: "533C58403EF14EB99C05A97AD308E005",
|
|
26
|
-
attrname: "密码",
|
|
27
|
-
attrtype: 0,
|
|
28
|
-
info: '{\r\n "input": "password",\r\n "dataType": "string",\r\n "length": 100,\r\n "regexp": "/^(?=.*\\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*,.\\_])[\\da-zA-Z!@#$%^&*,.\\_]{8,16}$/",\r\n "regexp-message": "请输入8-16位密码,必须包含数字、大写字母、小写字母和特殊符号(!@#$%^&*,._)",\r\n "must": true,\r\n "data-save-type": "encode|SM3|local|szldgg"\r\n}',
|
|
29
|
-
info_base64: 0,
|
|
30
|
-
createtime: "2026-04-27 18:11:30",
|
|
31
|
-
attrvalue: "",
|
|
32
|
-
serialnum: 2,
|
|
33
|
-
children: []
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
xh: 4,
|
|
37
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
38
|
-
astype: 0,
|
|
39
|
-
tname: "zysqwzh_table",
|
|
40
|
-
attrid: "7B008404ADCD4BEF864C363C273906B7",
|
|
41
|
-
attrname: "单位名称",
|
|
42
|
-
attrtype: 0,
|
|
43
|
-
info: '{"input":"text","message":"请输入单位名称","dataType":"string","length":100,"must":true}',
|
|
44
|
-
info_base64: 0,
|
|
45
|
-
createtime: "2026-04-27 18:12:40",
|
|
46
|
-
attrvalue: "",
|
|
47
|
-
serialnum: 3,
|
|
48
|
-
children: []
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
xh: 5,
|
|
52
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
53
|
-
astype: 0,
|
|
54
|
-
tname: "zysqwzh_table",
|
|
55
|
-
attrid: "C47E1F05EEBC45819F29A97ADCF67434",
|
|
56
|
-
attrname: "联系人",
|
|
57
|
-
attrtype: 0,
|
|
58
|
-
info: '{"input":"text","message":"请输入联系人","dataType":"string","length":10,"must":true}',
|
|
59
|
-
info_base64: 0,
|
|
60
|
-
createtime: "2026-04-27 18:13:02",
|
|
61
|
-
attrvalue: "",
|
|
62
|
-
serialnum: 4,
|
|
63
|
-
children: []
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
xh: 6,
|
|
67
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
68
|
-
astype: 0,
|
|
69
|
-
tname: "zysqwzh_table",
|
|
70
|
-
attrid: "FB3B3F384A7F48AE8DAEF48BB71E8A2A",
|
|
71
|
-
attrname: "联系电话",
|
|
72
|
-
attrtype: 0,
|
|
73
|
-
info: '{"input":"text","message":"请输入联系电话","dataType":"string","length":20,"must":true}',
|
|
74
|
-
info_base64: 0,
|
|
75
|
-
createtime: "2026-04-27 18:13:36",
|
|
76
|
-
attrvalue: "",
|
|
77
|
-
serialnum: 5,
|
|
78
|
-
children: []
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
xh: 7,
|
|
82
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
83
|
-
astype: 0,
|
|
84
|
-
tname: "zysqwzh_table",
|
|
85
|
-
attrid: "31476E09F6604BF88394462BDF2E4A79",
|
|
86
|
-
attrname: "备注",
|
|
87
|
-
attrtype: 0,
|
|
88
|
-
info: '{"input":"text","dataType":"string","length":1000,"must":true}',
|
|
89
|
-
info_base64: 0,
|
|
90
|
-
createtime: "2026-04-27 18:14:16",
|
|
91
|
-
attrvalue: "",
|
|
92
|
-
serialnum: 6,
|
|
93
|
-
children: []
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
xh: 9,
|
|
97
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
98
|
-
astype: 0,
|
|
99
|
-
tname: "zysqwzh_table",
|
|
100
|
-
attrid: "CDCD18D269D0414AA211635C694C674C",
|
|
101
|
-
attrname: "账号类型",
|
|
102
|
-
attrtype: 0,
|
|
103
|
-
info: '{"input":"select","dataType":"string","length":100,"inputType":"local","data":["普通","销售A","销售B"],"must":true,"default": "普通"}',
|
|
104
|
-
info_base64: 0,
|
|
105
|
-
createtime: "2026-04-29 18:24:25",
|
|
106
|
-
attrvalue: "",
|
|
107
|
-
serialnum: 8,
|
|
108
|
-
children: []
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
xh: 10,
|
|
112
|
-
asid: "3D047E82C28B4D918ED5E02A52206F2A",
|
|
113
|
-
astype: 0,
|
|
114
|
-
tname: "zysqwzh_table",
|
|
115
|
-
attrid: "8194CF02CAF54D34BEA0557AB1F2CFFA",
|
|
116
|
-
attrname: "分润比例",
|
|
117
|
-
attrtype: 0,
|
|
118
|
-
info: '{"input":"select","dataType":"string","length":100,"inputType":"local","data":["0","0.2","0.3"],"must":true,"default": "0"}',
|
|
119
|
-
info_base64: 0,
|
|
120
|
-
createtime: "2026-04-29 18:40:00",
|
|
121
|
-
attrvalue: "",
|
|
122
|
-
serialnum: 9,
|
|
123
|
-
children: []
|
|
124
19
|
}
|
|
125
20
|
];
|
|
126
21
|
const values = {
|