szld-libs 0.4.57 → 0.4.59

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.
@@ -59,17 +59,18 @@ const DynamicForm = forwardRef((props, ref) => {
59
59
  // 新增:组件库固定文字语言匹配数据
60
60
  });
61
61
  useEffect(() => {
62
- if (!formConfig || !langId) {
62
+ if (!langId) {
63
63
  return;
64
64
  }
65
65
  handleGetLangData();
66
- }, [formConfig, langId]);
66
+ }, [langId]);
67
67
  const handleGetLangData = async () => {
68
68
  const langData2 = await getLangData({
69
69
  commonRequestWidthParams,
70
70
  langId,
71
71
  params: {
72
- sysid: "3"
72
+ sysid: "3",
73
+ dicid: langId
73
74
  }
74
75
  });
75
76
  setLangData(langData2);
@@ -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
- const info = item.info_base64 === 1 ? getJson(base64ToString(item.info)) : getJson(item.info);
217
- if ((info == null ? void 0 : info.input) === "image") {
218
- return renderImageAttr(item, span);
219
- }
220
- if (["file", "audio", "video"].includes(info == null ? void 0 : info.input)) {
221
- return renderFileAttr(item, span);
222
- }
223
- if ((info == null ? void 0 : info.input) === "radio-card") {
224
- return renderRadioCardAttr(item, span);
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
+ useDetailRender({ layoutType: "flex" });
15
17
  const formRef = useRef(null);
16
18
  const [form] = Form.useForm();
17
19
  const [list, setList] = useState([]);
package/es/mock/index.js CHANGED
@@ -1,124 +1,133 @@
1
1
  const baseAttrList = [];
2
2
  const attrList = [
3
3
  {
4
- xh: 2,
5
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
4
+ xh: 1,
5
+ asid: "01432D5450294E63A00C7899603DEF31",
6
6
  astype: 0,
7
- tname: "zysqwzh_table",
8
- attrid: "5C4E5041F12447B99A563E569F40DB40",
9
- attrname: "账号",
7
+ tname: "qsewfygl_table",
8
+ attrid: "D5500037A9E84FFD937E4D4C9912F3EC",
9
+ attrname: "唯一编号",
10
10
  attrtype: 0,
11
- info: '{\r\n "input": "text",\r\n "dataType": "string",\r\n "length": 100,\r\n "regexp": "/^[a-zA-Z!@#$%^&*,.\\_]+$/",\r\n "regexp-message": "仅可输入英文+特殊符号(!@#$%^&*,._)",\r\n "data-uniqueness": true,\r\n "must": true\r\n}',
11
+ info: '{"input":"text","dataType":"string","length":100,"auto-generate":true,"auto-generate-type":"guid","hidden":true}',
12
12
  info_base64: 0,
13
- createtime: "2026-04-27 18:10:57",
14
- attrvalue: "",
15
- serialnum: 1,
16
- children: []
13
+ createtime: "2026-04-23 15:30:49",
14
+ attrvalue: "4FE5772592F04921BA10B6FF572332EB",
15
+ serialnum: 0,
16
+ children: [],
17
+ json: {
18
+ input: "text",
19
+ dataType: "string",
20
+ length: 100,
21
+ "auto-generate": true,
22
+ "auto-generate-type": "guid",
23
+ hidden: true
24
+ }
17
25
  },
18
26
  {
19
- xh: 3,
20
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
27
+ xh: 2,
28
+ asid: "01432D5450294E63A00C7899603DEF31",
21
29
  astype: 0,
22
- tname: "zysqwzh_table",
23
- attrid: "533C58403EF14EB99C05A97AD308E005",
24
- attrname: "密码",
30
+ tname: "qsewfygl_table",
31
+ attrid: "171E3BE9BD9642F9A6530948386301E2",
32
+ attrname: "计费顺序",
25
33
  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}',
34
+ info: '{"input":"text","dataType":"int","must":true}',
27
35
  info_base64: 0,
28
- createtime: "2026-04-27 18:11:30",
29
- attrvalue: "",
30
- serialnum: 2,
31
- children: []
36
+ createtime: "2026-04-23 15:32:10",
37
+ attrvalue: 1,
38
+ serialnum: 1,
39
+ children: [],
40
+ json: {
41
+ input: "text",
42
+ dataType: "int",
43
+ must: true
44
+ }
32
45
  },
33
46
  {
34
- xh: 4,
35
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
47
+ xh: 3,
48
+ asid: "01432D5450294E63A00C7899603DEF31",
36
49
  astype: 0,
37
- tname: "zysqwzh_table",
38
- attrid: "7B008404ADCD4BEF864C363C273906B7",
39
- attrname: "单位名称",
50
+ tname: "qsewfygl_table",
51
+ attrid: "CFFFC29035614E9AA3951D76FD26950F",
52
+ attrname: "费用名称",
40
53
  attrtype: 0,
41
- info: '{"input":"text","message":"请输入单位名称","dataType":"string","length":100,"must":true}',
54
+ info: '{"input":"text","dataType":"string","length":100,"must":true}',
42
55
  info_base64: 0,
43
- createtime: "2026-04-27 18:12:40",
44
- attrvalue: "",
45
- serialnum: 3,
46
- children: []
56
+ createtime: "2026-04-23 15:31:20",
57
+ attrvalue: "${text}",
58
+ serialnum: 2,
59
+ children: [],
60
+ json: {
61
+ input: "text",
62
+ dataType: "string",
63
+ length: 100,
64
+ must: true
65
+ }
47
66
  },
48
67
  {
49
- xh: 5,
50
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
68
+ xh: 4,
69
+ asid: "01432D5450294E63A00C7899603DEF31",
51
70
  astype: 0,
52
- tname: "zysqwzh_table",
53
- attrid: "C47E1F05EEBC45819F29A97ADCF67434",
54
- attrname: "联系人",
71
+ tname: "qsewfygl_table",
72
+ attrid: "AE726C30703941EBA951DF6C5893B1FD",
73
+ attrname: "费用金额",
55
74
  attrtype: 0,
56
- info: '{"input":"text","message":"请输入联系人","dataType":"string","length":10,"must":true}',
75
+ info: '{"input":"text","dataType":"string","length":100,"must":true}',
57
76
  info_base64: 0,
58
- createtime: "2026-04-27 18:13:02",
59
- attrvalue: "",
60
- serialnum: 4,
61
- children: []
77
+ createtime: "2026-04-23 15:31:41",
78
+ attrvalue: "${number}",
79
+ serialnum: 2,
80
+ children: [],
81
+ json: {
82
+ input: "text",
83
+ dataType: "string",
84
+ length: 100,
85
+ must: true
86
+ }
62
87
  },
63
88
  {
64
89
  xh: 6,
65
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
90
+ asid: "01432D5450294E63A00C7899603DEF31",
66
91
  astype: 0,
67
- tname: "zysqwzh_table",
68
- attrid: "FB3B3F384A7F48AE8DAEF48BB71E8A2A",
69
- attrname: "联系电话",
92
+ tname: "qsewfygl_table",
93
+ attrid: "08FC37728DB049A1AC83884B956D0AF9",
94
+ attrname: "费用说明",
70
95
  attrtype: 0,
71
- info: '{"input":"text","message":"请输入联系电话","dataType":"string","length":20,"must":true}',
96
+ info: '{"input":"text","dataType":"string","length":500,"must":true}',
72
97
  info_base64: 0,
73
- createtime: "2026-04-27 18:13:36",
74
- attrvalue: "",
98
+ createtime: "2026-04-23 15:32:30",
99
+ attrvalue: "${text}",
75
100
  serialnum: 5,
76
- children: []
101
+ children: [],
102
+ json: {
103
+ input: "text",
104
+ dataType: "string",
105
+ length: 500,
106
+ must: true
107
+ }
77
108
  },
78
109
  {
79
110
  xh: 7,
80
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
111
+ asid: "01432D5450294E63A00C7899603DEF31",
81
112
  astype: 0,
82
- tname: "zysqwzh_table",
83
- attrid: "31476E09F6604BF88394462BDF2E4A79",
84
- attrname: "备注",
113
+ tname: "qsewfygl_table",
114
+ attrid: "09D8C6B943064F02A22E3A86541F63BD",
115
+ attrname: "创建时间",
85
116
  attrtype: 0,
86
- info: '{"input":"text","dataType":"string","length":1000,"must":true}',
117
+ info: '{"input":"date-picker","dataType":"datetime","auto-generate":true,"auto-generate-type":"currenttime","must":true,"hidden":true}',
87
118
  info_base64: 0,
88
- createtime: "2026-04-27 18:14:16",
89
- attrvalue: "",
119
+ createtime: "2026-04-23 15:32:52",
120
+ attrvalue: "2026-05-13 11:19:42",
90
121
  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
+ children: [],
123
+ json: {
124
+ input: "date-picker",
125
+ dataType: "datetime",
126
+ "auto-generate": true,
127
+ "auto-generate-type": "currenttime",
128
+ must: true,
129
+ hidden: true
130
+ }
122
131
  }
123
132
  ];
124
133
  const values = {
@@ -60,17 +60,18 @@ const DynamicForm = react.forwardRef((props, ref) => {
60
60
  // 新增:组件库固定文字语言匹配数据
61
61
  });
62
62
  react.useEffect(() => {
63
- if (!formConfig || !langId) {
63
+ if (!langId) {
64
64
  return;
65
65
  }
66
66
  handleGetLangData();
67
- }, [formConfig, langId]);
67
+ }, [langId]);
68
68
  const handleGetLangData = async () => {
69
69
  const langData2 = await szxkFunc.getLangData({
70
70
  commonRequestWidthParams,
71
71
  langId,
72
72
  params: {
73
- sysid: "3"
73
+ sysid: "3",
74
+ dicid: langId
74
75
  }
75
76
  });
76
77
  setLangData(langData2);
@@ -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
- const info = item.info_base64 === 1 ? method.getJson(method.base64ToString(item.info)) : method.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);
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
+ useDetailRender({ layoutType: "flex" });
16
18
  const formRef = react.useRef(null);
17
19
  const [form] = antd.Form.useForm();
18
20
  const [list, setList] = react.useState([]);
package/lib/mock/index.js CHANGED
@@ -3,124 +3,133 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const baseAttrList = [];
4
4
  const attrList = [
5
5
  {
6
- xh: 2,
7
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
6
+ xh: 1,
7
+ asid: "01432D5450294E63A00C7899603DEF31",
8
8
  astype: 0,
9
- tname: "zysqwzh_table",
10
- attrid: "5C4E5041F12447B99A563E569F40DB40",
11
- attrname: "账号",
9
+ tname: "qsewfygl_table",
10
+ attrid: "D5500037A9E84FFD937E4D4C9912F3EC",
11
+ attrname: "唯一编号",
12
12
  attrtype: 0,
13
- info: '{\r\n "input": "text",\r\n "dataType": "string",\r\n "length": 100,\r\n "regexp": "/^[a-zA-Z!@#$%^&*,.\\_]+$/",\r\n "regexp-message": "仅可输入英文+特殊符号(!@#$%^&*,._)",\r\n "data-uniqueness": true,\r\n "must": true\r\n}',
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-04-27 18:10:57",
16
- attrvalue: "",
17
- serialnum: 1,
18
- children: []
15
+ createtime: "2026-04-23 15:30:49",
16
+ attrvalue: "4FE5772592F04921BA10B6FF572332EB",
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
- xh: 3,
22
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
29
+ xh: 2,
30
+ asid: "01432D5450294E63A00C7899603DEF31",
23
31
  astype: 0,
24
- tname: "zysqwzh_table",
25
- attrid: "533C58403EF14EB99C05A97AD308E005",
26
- attrname: "密码",
32
+ tname: "qsewfygl_table",
33
+ attrid: "171E3BE9BD9642F9A6530948386301E2",
34
+ attrname: "计费顺序",
27
35
  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}',
36
+ info: '{"input":"text","dataType":"int","must":true}',
29
37
  info_base64: 0,
30
- createtime: "2026-04-27 18:11:30",
31
- attrvalue: "",
32
- serialnum: 2,
33
- children: []
38
+ createtime: "2026-04-23 15:32:10",
39
+ attrvalue: 1,
40
+ serialnum: 1,
41
+ children: [],
42
+ json: {
43
+ input: "text",
44
+ dataType: "int",
45
+ must: true
46
+ }
34
47
  },
35
48
  {
36
- xh: 4,
37
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
49
+ xh: 3,
50
+ asid: "01432D5450294E63A00C7899603DEF31",
38
51
  astype: 0,
39
- tname: "zysqwzh_table",
40
- attrid: "7B008404ADCD4BEF864C363C273906B7",
41
- attrname: "单位名称",
52
+ tname: "qsewfygl_table",
53
+ attrid: "CFFFC29035614E9AA3951D76FD26950F",
54
+ attrname: "费用名称",
42
55
  attrtype: 0,
43
- info: '{"input":"text","message":"请输入单位名称","dataType":"string","length":100,"must":true}',
56
+ info: '{"input":"text","dataType":"string","length":100,"must":true}',
44
57
  info_base64: 0,
45
- createtime: "2026-04-27 18:12:40",
46
- attrvalue: "",
47
- serialnum: 3,
48
- children: []
58
+ createtime: "2026-04-23 15:31:20",
59
+ attrvalue: "${text}",
60
+ serialnum: 2,
61
+ children: [],
62
+ json: {
63
+ input: "text",
64
+ dataType: "string",
65
+ length: 100,
66
+ must: true
67
+ }
49
68
  },
50
69
  {
51
- xh: 5,
52
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
70
+ xh: 4,
71
+ asid: "01432D5450294E63A00C7899603DEF31",
53
72
  astype: 0,
54
- tname: "zysqwzh_table",
55
- attrid: "C47E1F05EEBC45819F29A97ADCF67434",
56
- attrname: "联系人",
73
+ tname: "qsewfygl_table",
74
+ attrid: "AE726C30703941EBA951DF6C5893B1FD",
75
+ attrname: "费用金额",
57
76
  attrtype: 0,
58
- info: '{"input":"text","message":"请输入联系人","dataType":"string","length":10,"must":true}',
77
+ info: '{"input":"text","dataType":"string","length":100,"must":true}',
59
78
  info_base64: 0,
60
- createtime: "2026-04-27 18:13:02",
61
- attrvalue: "",
62
- serialnum: 4,
63
- children: []
79
+ createtime: "2026-04-23 15:31:41",
80
+ attrvalue: "${number}",
81
+ serialnum: 2,
82
+ children: [],
83
+ json: {
84
+ input: "text",
85
+ dataType: "string",
86
+ length: 100,
87
+ must: true
88
+ }
64
89
  },
65
90
  {
66
91
  xh: 6,
67
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
92
+ asid: "01432D5450294E63A00C7899603DEF31",
68
93
  astype: 0,
69
- tname: "zysqwzh_table",
70
- attrid: "FB3B3F384A7F48AE8DAEF48BB71E8A2A",
71
- attrname: "联系电话",
94
+ tname: "qsewfygl_table",
95
+ attrid: "08FC37728DB049A1AC83884B956D0AF9",
96
+ attrname: "费用说明",
72
97
  attrtype: 0,
73
- info: '{"input":"text","message":"请输入联系电话","dataType":"string","length":20,"must":true}',
98
+ info: '{"input":"text","dataType":"string","length":500,"must":true}',
74
99
  info_base64: 0,
75
- createtime: "2026-04-27 18:13:36",
76
- attrvalue: "",
100
+ createtime: "2026-04-23 15:32:30",
101
+ attrvalue: "${text}",
77
102
  serialnum: 5,
78
- children: []
103
+ children: [],
104
+ json: {
105
+ input: "text",
106
+ dataType: "string",
107
+ length: 500,
108
+ must: true
109
+ }
79
110
  },
80
111
  {
81
112
  xh: 7,
82
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
113
+ asid: "01432D5450294E63A00C7899603DEF31",
83
114
  astype: 0,
84
- tname: "zysqwzh_table",
85
- attrid: "31476E09F6604BF88394462BDF2E4A79",
86
- attrname: "备注",
115
+ tname: "qsewfygl_table",
116
+ attrid: "09D8C6B943064F02A22E3A86541F63BD",
117
+ attrname: "创建时间",
87
118
  attrtype: 0,
88
- info: '{"input":"text","dataType":"string","length":1000,"must":true}',
119
+ info: '{"input":"date-picker","dataType":"datetime","auto-generate":true,"auto-generate-type":"currenttime","must":true,"hidden":true}',
89
120
  info_base64: 0,
90
- createtime: "2026-04-27 18:14:16",
91
- attrvalue: "",
121
+ createtime: "2026-04-23 15:32:52",
122
+ attrvalue: "2026-05-13 11:19:42",
92
123
  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
+ children: [],
125
+ json: {
126
+ input: "date-picker",
127
+ dataType: "datetime",
128
+ "auto-generate": true,
129
+ "auto-generate-type": "currenttime",
130
+ must: true,
131
+ hidden: true
132
+ }
124
133
  }
125
134
  ];
126
135
  const values = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.4.57",
4
+ "version": "0.4.59",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",