ztxkui 4.2.10 → 4.2.11
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/Demo.js +12 -7
- package/dist/DemoCom/PrintContainerDemo.js +120 -297
- package/dist/components/EnhanceSelect/index.js +14 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +3 -2
package/dist/Demo.js
CHANGED
|
@@ -32,13 +32,18 @@ function Demo() {
|
|
|
32
32
|
useEffect(function () {
|
|
33
33
|
var timeoutId = setTimeout(function () {
|
|
34
34
|
console.log('获取数据');
|
|
35
|
-
setList(new Array(50).fill(1).map(function (item, index) {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
setList(new Array(50).fill(1).map(function (item, index) {
|
|
36
|
+
if (index === 3) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
id: index,
|
|
41
|
+
name: '你好' + index,
|
|
42
|
+
test1: 'test1' + index,
|
|
43
|
+
test2: 'test2' + index,
|
|
44
|
+
test3: 'test3' + index,
|
|
45
|
+
};
|
|
46
|
+
}));
|
|
42
47
|
setDefaultList([
|
|
43
48
|
{
|
|
44
49
|
id: '1409674614746271746',
|
|
@@ -123,105 +123,6 @@ var PrintContainerDemo = function () {
|
|
|
123
123
|
React.createElement("div", { className: "info-item" },
|
|
124
124
|
React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
|
|
125
125
|
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
|
|
126
|
-
React.createElement("div", { className: "purchaseIn-print-box" },
|
|
127
|
-
React.createElement("div", { className: "pt10" },
|
|
128
|
-
React.createElement("table", null,
|
|
129
|
-
React.createElement("tbody", null,
|
|
130
|
-
React.createElement("tr", null,
|
|
131
|
-
React.createElement("td", null, "\u63D0\u8D27\u5355\u4F4D"),
|
|
132
|
-
React.createElement("td", { colSpan: 3 }),
|
|
133
|
-
React.createElement("td", null, "\u5F00\u6237\u94F6\u884C\u53CA\u8D26\u53F7"),
|
|
134
|
-
React.createElement("td", { colSpan: 3 }),
|
|
135
|
-
React.createElement("td", { width: "100px" }, "\u7269\u6D41\u6307\u4EE4\u5355\u53F7"),
|
|
136
|
-
React.createElement("td", { colSpan: 3 })),
|
|
137
|
-
React.createElement("tr", null,
|
|
138
|
-
React.createElement("td", null, "\u7A0E\u53F7"),
|
|
139
|
-
React.createElement("td", { colSpan: 3 }),
|
|
140
|
-
React.createElement("td", null, "\u5730\u5740\u53CA\u7535\u8BDD"),
|
|
141
|
-
React.createElement("td", { colSpan: 3 }),
|
|
142
|
-
React.createElement("td", { width: "100px" }, "\u9500\u552E\u5408\u540C\u53F7"),
|
|
143
|
-
React.createElement("td", { colSpan: 3 })),
|
|
144
|
-
React.createElement("tr", null,
|
|
145
|
-
React.createElement("td", null, "\u63D0\u8D27\u4ED3\u5E93"),
|
|
146
|
-
React.createElement("td", { colSpan: 2 }),
|
|
147
|
-
React.createElement("td", null, "\u4ED3\u5E93\u5730\u5740"),
|
|
148
|
-
React.createElement("td", { colSpan: 2 }),
|
|
149
|
-
React.createElement("td", null, "\u4ED3\u5E93\u8054\u7CFB\u4EBA"),
|
|
150
|
-
React.createElement("td", { colSpan: 2 }),
|
|
151
|
-
React.createElement("td", null, "\u4ED3\u5E93\u7535\u8BDD"),
|
|
152
|
-
React.createElement("td", { colSpan: 2 })),
|
|
153
|
-
React.createElement("tr", null,
|
|
154
|
-
React.createElement("td", { rowSpan: 2, colSpan: 4 }, "\u5546\u54C1\u540D\u79F0"),
|
|
155
|
-
React.createElement("td", { width: "100px", rowSpan: 2 }, "\u6279\u6B21\u53F7"),
|
|
156
|
-
React.createElement("td", { colSpan: 2, width: "150px" }, "\u5F00\u5355\u6570\u91CF"),
|
|
157
|
-
React.createElement("td", { colSpan: 2, width: "150px" }, "\u5B9E\u53D1\u6570\u91CF"),
|
|
158
|
-
React.createElement("td", { rowSpan: 2 }, "\u5355\u4EF7(\u542B\u7A0E)"),
|
|
159
|
-
React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u8FD0\u8F93\u8D39"),
|
|
160
|
-
React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u51FA\u5E93\u8D39")),
|
|
161
|
-
React.createElement("tr", null,
|
|
162
|
-
React.createElement("td", { width: "50px" }, "\u4EF6"),
|
|
163
|
-
React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)"),
|
|
164
|
-
React.createElement("td", { width: "50px" }, "\u4EF6"),
|
|
165
|
-
React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)")),
|
|
166
|
-
React.createElement("tr", null,
|
|
167
|
-
React.createElement("td", { colSpan: 4, style: { height: '23px' } }),
|
|
168
|
-
React.createElement("td", null),
|
|
169
|
-
React.createElement("td", null),
|
|
170
|
-
React.createElement("td", null),
|
|
171
|
-
React.createElement("td", null),
|
|
172
|
-
React.createElement("td", null),
|
|
173
|
-
React.createElement("td", null),
|
|
174
|
-
React.createElement("td", null),
|
|
175
|
-
React.createElement("td", null)),
|
|
176
|
-
React.createElement("tr", null,
|
|
177
|
-
React.createElement("td", { colSpan: 4, align: "left", style: { padding: '0px 30px' } }, "\u5408\u8BA1"),
|
|
178
|
-
React.createElement("td", null),
|
|
179
|
-
React.createElement("td", null),
|
|
180
|
-
React.createElement("td", null),
|
|
181
|
-
React.createElement("td", null),
|
|
182
|
-
React.createElement("td", null),
|
|
183
|
-
React.createElement("td", null),
|
|
184
|
-
React.createElement("td", null),
|
|
185
|
-
React.createElement("td", null)),
|
|
186
|
-
React.createElement("tr", null,
|
|
187
|
-
React.createElement("td", null, "\u5907\u6CE8"),
|
|
188
|
-
React.createElement("td", { colSpan: 5 }),
|
|
189
|
-
React.createElement("td", null, "\u63D0\u5355\u6709\u6548\u671F"),
|
|
190
|
-
React.createElement("td", { colSpan: 2 }),
|
|
191
|
-
React.createElement("td", null, "\u51FA\u5E93\u65B9\u5F0F"),
|
|
192
|
-
React.createElement("td", { colSpan: 2 })),
|
|
193
|
-
React.createElement("tr", null,
|
|
194
|
-
React.createElement("td", null, "\u63D0\u8D27\u4EBA"),
|
|
195
|
-
React.createElement("td", { colSpan: 2 }),
|
|
196
|
-
React.createElement("td", null, "\u63D0\u8D27\u8F66\u724C"),
|
|
197
|
-
React.createElement("td", { colSpan: 2 }),
|
|
198
|
-
React.createElement("td", null, "\u6253\u5370\u6B21\u6570"),
|
|
199
|
-
React.createElement("td", { colSpan: 2 }),
|
|
200
|
-
React.createElement("td", null, "\u5B58\u8D27\u5355\u4F4D"),
|
|
201
|
-
React.createElement("td", { colSpan: 2 })),
|
|
202
|
-
React.createElement("tr", null,
|
|
203
|
-
React.createElement("td", null, "\u53D1\u8D27\u4EBA"),
|
|
204
|
-
React.createElement("td", { colSpan: 2 }),
|
|
205
|
-
React.createElement("td", null, "\u5236\u5355\u4EBA"),
|
|
206
|
-
React.createElement("td", { colSpan: 2 }),
|
|
207
|
-
React.createElement("td", null, "\u90E8\u95E8"),
|
|
208
|
-
React.createElement("td", { colSpan: 2 }),
|
|
209
|
-
React.createElement("td", null, "\u4E1A\u52A1\u4EE3\u8868"),
|
|
210
|
-
React.createElement("td", { colSpan: 2 }))))),
|
|
211
|
-
React.createElement("div", { className: "pt_bottom" },
|
|
212
|
-
React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } },
|
|
213
|
-
React.createElement("div", { className: "ant-col ant-col-17", style: { paddingLeft: 0 } },
|
|
214
|
-
React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } }, "1\u3001\u672C\u63D0\u5355\u5728\u4E0A\u8FF0\u6709\u6548\u671F\u5185\u6709\u6548\uFF0C\u8FC7\u671F\u4F5C\u5E9F\uFF1B"),
|
|
215
|
-
React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } }, "2\u3001\u672C\u63D0\u8D27\u5355\u4F4D\u7ECF\u8D22\u52A1\u6536\u6B3E\u76D6\u7AE0\u540E\u63D0\u8D27\uFF1B\u6B64\u63D0\u8D27\u5355\u9057\u5931\uFF0C\u63D0\u8D27\u5355\u4F4D\u8D23\u4EFB\u81EA\u8D1F\uFF1B\u51ED\u6B64\u63D0\u8D27\u5355\u4EA4\u4ED8\u8D27\u7269\u540E\uFF0C\u8D27\u7269\u6240\u6709\u98CE\u9669\u8F6C\u79FB\u5230\u63D0\u8D27\u5355\u4F4D\u3002"),
|
|
216
|
-
React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } })),
|
|
217
|
-
React.createElement("div", { className: "ant-col ant-col-7", style: { paddingRight: 0 } },
|
|
218
|
-
React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
|
|
219
|
-
React.createElement("span", null, "\u6253\u5370\u65F6\u95F4\uFF1A"),
|
|
220
|
-
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
221
|
-
React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
|
|
222
|
-
React.createElement("span", null, "\u6253\u5370\u4EBA\uFF1A"),
|
|
223
|
-
React.createElement("span", { style: { display: 'inline-block', width: '100px' } }))))))),
|
|
224
|
-
React.createElement("div", { className: "html2canvas-container-page simple-print", style: { paddingTop: 0, paddingLeft: 0 } },
|
|
225
126
|
React.createElement("div", { className: "print-header" },
|
|
226
127
|
React.createElement("img", { src: imgSrc, alt: "" }),
|
|
227
128
|
React.createElement("h3", { className: "print-title" },
|
|
@@ -237,105 +138,6 @@ var PrintContainerDemo = function () {
|
|
|
237
138
|
React.createElement("div", { className: "info-item" },
|
|
238
139
|
React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
|
|
239
140
|
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
|
|
240
|
-
React.createElement("div", { className: "purchaseIn-print-box" },
|
|
241
|
-
React.createElement("div", { className: "pt10" },
|
|
242
|
-
React.createElement("table", null,
|
|
243
|
-
React.createElement("tbody", null,
|
|
244
|
-
React.createElement("tr", null,
|
|
245
|
-
React.createElement("td", null, "\u63D0\u8D27\u5355\u4F4D"),
|
|
246
|
-
React.createElement("td", { colSpan: 3 }),
|
|
247
|
-
React.createElement("td", null, "\u5F00\u6237\u94F6\u884C\u53CA\u8D26\u53F7"),
|
|
248
|
-
React.createElement("td", { colSpan: 3 }),
|
|
249
|
-
React.createElement("td", { width: "100px" }, "\u7269\u6D41\u6307\u4EE4\u5355\u53F7"),
|
|
250
|
-
React.createElement("td", { colSpan: 3 })),
|
|
251
|
-
React.createElement("tr", null,
|
|
252
|
-
React.createElement("td", null, "\u7A0E\u53F7"),
|
|
253
|
-
React.createElement("td", { colSpan: 3 }),
|
|
254
|
-
React.createElement("td", null, "\u5730\u5740\u53CA\u7535\u8BDD"),
|
|
255
|
-
React.createElement("td", { colSpan: 3 }),
|
|
256
|
-
React.createElement("td", { width: "100px" }, "\u9500\u552E\u5408\u540C\u53F7"),
|
|
257
|
-
React.createElement("td", { colSpan: 3 })),
|
|
258
|
-
React.createElement("tr", null,
|
|
259
|
-
React.createElement("td", null, "\u63D0\u8D27\u4ED3\u5E93"),
|
|
260
|
-
React.createElement("td", { colSpan: 2 }),
|
|
261
|
-
React.createElement("td", null, "\u4ED3\u5E93\u5730\u5740"),
|
|
262
|
-
React.createElement("td", { colSpan: 2 }),
|
|
263
|
-
React.createElement("td", null, "\u4ED3\u5E93\u8054\u7CFB\u4EBA"),
|
|
264
|
-
React.createElement("td", { colSpan: 2 }),
|
|
265
|
-
React.createElement("td", null, "\u4ED3\u5E93\u7535\u8BDD"),
|
|
266
|
-
React.createElement("td", { colSpan: 2 })),
|
|
267
|
-
React.createElement("tr", null,
|
|
268
|
-
React.createElement("td", { rowSpan: 2, colSpan: 4 }, "\u5546\u54C1\u540D\u79F0"),
|
|
269
|
-
React.createElement("td", { width: "100px", rowSpan: 2 }, "\u6279\u6B21\u53F7"),
|
|
270
|
-
React.createElement("td", { colSpan: 2, width: "150px" }, "\u5F00\u5355\u6570\u91CF"),
|
|
271
|
-
React.createElement("td", { colSpan: 2, width: "150px" }, "\u5B9E\u53D1\u6570\u91CF"),
|
|
272
|
-
React.createElement("td", { rowSpan: 2 }, "\u5355\u4EF7(\u542B\u7A0E)"),
|
|
273
|
-
React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u8FD0\u8F93\u8D39"),
|
|
274
|
-
React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u51FA\u5E93\u8D39")),
|
|
275
|
-
React.createElement("tr", null,
|
|
276
|
-
React.createElement("td", { width: "50px" }, "\u4EF6"),
|
|
277
|
-
React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)"),
|
|
278
|
-
React.createElement("td", { width: "50px" }, "\u4EF6"),
|
|
279
|
-
React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)")),
|
|
280
|
-
React.createElement("tr", null,
|
|
281
|
-
React.createElement("td", { colSpan: 4, style: { height: '23px' } }),
|
|
282
|
-
React.createElement("td", null),
|
|
283
|
-
React.createElement("td", null),
|
|
284
|
-
React.createElement("td", null),
|
|
285
|
-
React.createElement("td", null),
|
|
286
|
-
React.createElement("td", null),
|
|
287
|
-
React.createElement("td", null),
|
|
288
|
-
React.createElement("td", null),
|
|
289
|
-
React.createElement("td", null)),
|
|
290
|
-
React.createElement("tr", null,
|
|
291
|
-
React.createElement("td", { colSpan: 4, align: "left", style: { padding: '0px 30px' } }, "\u5408\u8BA1"),
|
|
292
|
-
React.createElement("td", null),
|
|
293
|
-
React.createElement("td", null),
|
|
294
|
-
React.createElement("td", null),
|
|
295
|
-
React.createElement("td", null),
|
|
296
|
-
React.createElement("td", null),
|
|
297
|
-
React.createElement("td", null),
|
|
298
|
-
React.createElement("td", null),
|
|
299
|
-
React.createElement("td", null)),
|
|
300
|
-
React.createElement("tr", null,
|
|
301
|
-
React.createElement("td", null, "\u5907\u6CE8"),
|
|
302
|
-
React.createElement("td", { colSpan: 5 }),
|
|
303
|
-
React.createElement("td", null, "\u63D0\u5355\u6709\u6548\u671F"),
|
|
304
|
-
React.createElement("td", { colSpan: 2 }),
|
|
305
|
-
React.createElement("td", null, "\u51FA\u5E93\u65B9\u5F0F"),
|
|
306
|
-
React.createElement("td", { colSpan: 2 })),
|
|
307
|
-
React.createElement("tr", null,
|
|
308
|
-
React.createElement("td", null, "\u63D0\u8D27\u4EBA"),
|
|
309
|
-
React.createElement("td", { colSpan: 2 }),
|
|
310
|
-
React.createElement("td", null, "\u63D0\u8D27\u8F66\u724C"),
|
|
311
|
-
React.createElement("td", { colSpan: 2 }),
|
|
312
|
-
React.createElement("td", null, "\u6253\u5370\u6B21\u6570"),
|
|
313
|
-
React.createElement("td", { colSpan: 2 }),
|
|
314
|
-
React.createElement("td", null, "\u5B58\u8D27\u5355\u4F4D"),
|
|
315
|
-
React.createElement("td", { colSpan: 2 })),
|
|
316
|
-
React.createElement("tr", null,
|
|
317
|
-
React.createElement("td", null, "\u53D1\u8D27\u4EBA"),
|
|
318
|
-
React.createElement("td", { colSpan: 2 }),
|
|
319
|
-
React.createElement("td", null, "\u5236\u5355\u4EBA"),
|
|
320
|
-
React.createElement("td", { colSpan: 2 }),
|
|
321
|
-
React.createElement("td", null, "\u90E8\u95E8"),
|
|
322
|
-
React.createElement("td", { colSpan: 2 }),
|
|
323
|
-
React.createElement("td", null, "\u4E1A\u52A1\u4EE3\u8868"),
|
|
324
|
-
React.createElement("td", { colSpan: 2 }))))),
|
|
325
|
-
React.createElement("div", { className: "pt_bottom" },
|
|
326
|
-
React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } },
|
|
327
|
-
React.createElement("div", { className: "ant-col ant-col-17", style: { paddingLeft: 0 } },
|
|
328
|
-
React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } }, "1\u3001\u672C\u63D0\u5355\u5728\u4E0A\u8FF0\u6709\u6548\u671F\u5185\u6709\u6548\uFF0C\u8FC7\u671F\u4F5C\u5E9F\uFF1B"),
|
|
329
|
-
React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } }, "2\u3001\u672C\u63D0\u8D27\u5355\u4F4D\u7ECF\u8D22\u52A1\u6536\u6B3E\u76D6\u7AE0\u540E\u63D0\u8D27\uFF1B\u6B64\u63D0\u8D27\u5355\u9057\u5931\uFF0C\u63D0\u8D27\u5355\u4F4D\u8D23\u4EFB\u81EA\u8D1F\uFF1B\u51ED\u6B64\u63D0\u8D27\u5355\u4EA4\u4ED8\u8D27\u7269\u540E\uFF0C\u8D27\u7269\u6240\u6709\u98CE\u9669\u8F6C\u79FB\u5230\u63D0\u8D27\u5355\u4F4D\u3002"),
|
|
330
|
-
React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } })),
|
|
331
|
-
React.createElement("div", { className: "ant-col ant-col-7", style: { paddingRight: 0 } },
|
|
332
|
-
React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
|
|
333
|
-
React.createElement("span", null, "\u6253\u5370\u65F6\u95F4\uFF1A"),
|
|
334
|
-
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
335
|
-
React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
|
|
336
|
-
React.createElement("span", null, "\u6253\u5370\u4EBA\uFF1A"),
|
|
337
|
-
React.createElement("span", { style: { display: 'inline-block', width: '100px' } }))))))),
|
|
338
|
-
React.createElement("div", { className: "html2canvas-container-page simple-print", style: { paddingTop: 0, paddingLeft: 0 } },
|
|
339
141
|
React.createElement("div", { className: "print-header" },
|
|
340
142
|
React.createElement("img", { src: imgSrc, alt: "" }),
|
|
341
143
|
React.createElement("h3", { className: "print-title" },
|
|
@@ -351,105 +153,126 @@ var PrintContainerDemo = function () {
|
|
|
351
153
|
React.createElement("div", { className: "info-item" },
|
|
352
154
|
React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
|
|
353
155
|
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
|
|
354
|
-
React.createElement("div", { className: "
|
|
355
|
-
React.createElement("
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
156
|
+
React.createElement("div", { className: "print-header" },
|
|
157
|
+
React.createElement("img", { src: imgSrc, alt: "" }),
|
|
158
|
+
React.createElement("h3", { className: "print-title" },
|
|
159
|
+
"\u63D0\u8D27\u5355",
|
|
160
|
+
React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
|
|
161
|
+
React.createElement("div", { className: "right-info" },
|
|
162
|
+
React.createElement("div", { className: "info-item" },
|
|
163
|
+
React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
|
|
164
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
165
|
+
React.createElement("div", { className: "info-item" },
|
|
166
|
+
React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
|
|
167
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
168
|
+
React.createElement("div", { className: "info-item" },
|
|
169
|
+
React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
|
|
170
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
|
|
171
|
+
React.createElement("div", { className: "print-header" },
|
|
172
|
+
React.createElement("img", { src: imgSrc, alt: "" }),
|
|
173
|
+
React.createElement("h3", { className: "print-title" },
|
|
174
|
+
"\u63D0\u8D27\u5355",
|
|
175
|
+
React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
|
|
176
|
+
React.createElement("div", { className: "right-info" },
|
|
177
|
+
React.createElement("div", { className: "info-item" },
|
|
178
|
+
React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
|
|
179
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
180
|
+
React.createElement("div", { className: "info-item" },
|
|
181
|
+
React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
|
|
182
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
183
|
+
React.createElement("div", { className: "info-item" },
|
|
184
|
+
React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
|
|
185
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
|
|
186
|
+
React.createElement("div", { className: "print-header" },
|
|
187
|
+
React.createElement("img", { src: imgSrc, alt: "" }),
|
|
188
|
+
React.createElement("h3", { className: "print-title" },
|
|
189
|
+
"\u63D0\u8D27\u5355",
|
|
190
|
+
React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
|
|
191
|
+
React.createElement("div", { className: "right-info" },
|
|
192
|
+
React.createElement("div", { className: "info-item" },
|
|
193
|
+
React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
|
|
194
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
195
|
+
React.createElement("div", { className: "info-item" },
|
|
196
|
+
React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
|
|
197
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
198
|
+
React.createElement("div", { className: "info-item" },
|
|
199
|
+
React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
|
|
200
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
|
|
201
|
+
React.createElement("div", { className: "print-header" },
|
|
202
|
+
React.createElement("img", { src: imgSrc, alt: "" }),
|
|
203
|
+
React.createElement("h3", { className: "print-title" },
|
|
204
|
+
"\u63D0\u8D27\u5355",
|
|
205
|
+
React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
|
|
206
|
+
React.createElement("div", { className: "right-info" },
|
|
207
|
+
React.createElement("div", { className: "info-item" },
|
|
208
|
+
React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
|
|
209
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
210
|
+
React.createElement("div", { className: "info-item" },
|
|
211
|
+
React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
|
|
212
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
213
|
+
React.createElement("div", { className: "info-item" },
|
|
214
|
+
React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
|
|
215
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
|
|
216
|
+
React.createElement("div", { className: "print-header" },
|
|
217
|
+
React.createElement("img", { src: imgSrc, alt: "" }),
|
|
218
|
+
React.createElement("h3", { className: "print-title" },
|
|
219
|
+
"\u63D0\u8D27\u5355",
|
|
220
|
+
React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
|
|
221
|
+
React.createElement("div", { className: "right-info" },
|
|
222
|
+
React.createElement("div", { className: "info-item" },
|
|
223
|
+
React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
|
|
224
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
225
|
+
React.createElement("div", { className: "info-item" },
|
|
226
|
+
React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
|
|
227
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
228
|
+
React.createElement("div", { className: "info-item" },
|
|
229
|
+
React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
|
|
230
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
|
|
231
|
+
React.createElement("div", { className: "print-header" },
|
|
232
|
+
React.createElement("img", { src: imgSrc, alt: "" }),
|
|
233
|
+
React.createElement("h3", { className: "print-title" },
|
|
234
|
+
"\u63D0\u8D27\u5355",
|
|
235
|
+
React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
|
|
236
|
+
React.createElement("div", { className: "right-info" },
|
|
237
|
+
React.createElement("div", { className: "info-item" },
|
|
238
|
+
React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
|
|
239
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
240
|
+
React.createElement("div", { className: "info-item" },
|
|
241
|
+
React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
|
|
242
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
243
|
+
React.createElement("div", { className: "info-item" },
|
|
244
|
+
React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
|
|
245
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
|
|
246
|
+
React.createElement("div", { className: "print-header" },
|
|
247
|
+
React.createElement("img", { src: imgSrc, alt: "" }),
|
|
248
|
+
React.createElement("h3", { className: "print-title" },
|
|
249
|
+
"\u63D0\u8D27\u5355",
|
|
250
|
+
React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
|
|
251
|
+
React.createElement("div", { className: "right-info" },
|
|
252
|
+
React.createElement("div", { className: "info-item" },
|
|
253
|
+
React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
|
|
254
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
255
|
+
React.createElement("div", { className: "info-item" },
|
|
256
|
+
React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
|
|
257
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
258
|
+
React.createElement("div", { className: "info-item" },
|
|
259
|
+
React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
|
|
260
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
|
|
261
|
+
React.createElement("div", { className: "print-header" },
|
|
262
|
+
React.createElement("img", { src: imgSrc, alt: "" }),
|
|
263
|
+
React.createElement("h3", { className: "print-title" },
|
|
264
|
+
"\u63D0\u8D27\u5355",
|
|
265
|
+
React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
|
|
266
|
+
React.createElement("div", { className: "right-info" },
|
|
267
|
+
React.createElement("div", { className: "info-item" },
|
|
268
|
+
React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
|
|
269
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
270
|
+
React.createElement("div", { className: "info-item" },
|
|
271
|
+
React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
|
|
272
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
|
|
273
|
+
React.createElement("div", { className: "info-item" },
|
|
274
|
+
React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
|
|
275
|
+
React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
|
|
453
276
|
React.createElement("div", { className: "print-header" },
|
|
454
277
|
React.createElement("img", { src: imgSrc, alt: "" }),
|
|
455
278
|
React.createElement("h3", { className: "print-title" },
|
|
@@ -725,6 +725,10 @@ function EnhanceSelect(_a) {
|
|
|
725
725
|
var resultData = originalData.slice() || [];
|
|
726
726
|
if (Array.isArray(newData)) {
|
|
727
727
|
newData.forEach(function (item) {
|
|
728
|
+
if (!item) {
|
|
729
|
+
console.error("\u9047\u5230\u4E86\u6570\u7EC4\u4E2D\u5B58\u5728\u7A7A\u503C\u5F97\u60C5\u51B5\uFF0C\u8BF7\u68C0\u67E5\u6570\u636E\u51C6\u786E\u6027!\u5B58\u5728\u95EE\u9898\u5F97\u6570\u636E \u53EF\u80FD\u5728defaultList\u4E2D " + url + "==" + dataKey + "==" + titleKey);
|
|
730
|
+
return;
|
|
731
|
+
}
|
|
728
732
|
// 如果item是手动输入的 不做任何处理
|
|
729
733
|
if (item.__is_hand_add) {
|
|
730
734
|
resultData.push(item);
|
|
@@ -768,6 +772,10 @@ function EnhanceSelect(_a) {
|
|
|
768
772
|
Array.isArray(selectList) &&
|
|
769
773
|
concatData(concatData(concatData(selectList, _defaultList), multipleList), handleAddItems).map(function (item, index) {
|
|
770
774
|
var _a;
|
|
775
|
+
if (!item) {
|
|
776
|
+
console.error("\u9047\u5230\u4E86\u6570\u7EC4\u4E2D\u5B58\u5728\u7A7A\u503C\u5F97\u60C5\u51B5\uFF0C\u8BF7\u68C0\u67E5\u6570\u636E\u51C6\u786E\u6027!\u5B58\u5728\u95EE\u9898\u5F97\u6570\u636E \u63A5\u53E3\u4E2D " + url + "==" + dataKey + "==" + titleKey);
|
|
777
|
+
return null;
|
|
778
|
+
}
|
|
771
779
|
var key = item.__hand_add_key
|
|
772
780
|
? item.__hand_add_key
|
|
773
781
|
: componentKey
|
|
@@ -846,6 +854,9 @@ function EnhanceSelect(_a) {
|
|
|
846
854
|
currentData = value.map(function (valueItem) {
|
|
847
855
|
return currentList.find(function (item) {
|
|
848
856
|
var _a, _b;
|
|
857
|
+
if (!item) {
|
|
858
|
+
return false;
|
|
859
|
+
}
|
|
849
860
|
if (item[key_1] == null) {
|
|
850
861
|
return false;
|
|
851
862
|
}
|
|
@@ -862,6 +873,9 @@ function EnhanceSelect(_a) {
|
|
|
862
873
|
else {
|
|
863
874
|
currentData = currentList.find(function (item) {
|
|
864
875
|
var _a, _b;
|
|
876
|
+
if (!item) {
|
|
877
|
+
return false;
|
|
878
|
+
}
|
|
865
879
|
if (item[key_1] == null) {
|
|
866
880
|
return false;
|
|
867
881
|
}
|
package/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RtaW4iLCJyZXN1bWVfdGVtcGxhdGUiOm51bGwsImxpY2Vuc2UiOiJwb3dlcmVkIGJ5IHptZG1zIiwicG9zdF9pZCI6IiIsInVzZXJfaWQiOiIxNTE4NTA2NjA0NzQzODUyMDMzIiwib3JnX2lkIjoiMTQ1NzUyNzc2NTkxODUxNTIwMSIsIm5pY2tfbmFtZSI6IumZiOS6mumbhHRlc3QiLCJjb21wYW55X25hbWUiOiLmtZnllYbkuK3mi5Ppm4blm6LnianmtYHnp5HmioDmnInpmZDlhazlj7giLCJkZXB0X2lkIjoiMTM5NzA4MTkzMDMyODQyNDQ0OSIsImhhbmRsZV9ocl9uYW1lIjpudWxsLCJhY2NvdW50Ijoi6ZmI5Lqa6ZuEdGVzdCIsInJlc3VtZV9pZCI6IiJ9.fExys_SCfn1ktfeTGrq-TtumcYPRtJcOnlWavCRcHis';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ztxkui",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "React components library",
|
|
6
6
|
"author": "zt-front-end",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"react-dnd-html5-backend": "^14.0.0",
|
|
24
24
|
"react-infinite-scroll-component": "^6.1.0",
|
|
25
25
|
"react-resizable": "^3.0.4",
|
|
26
|
-
"react-to-print": "^2.14.7"
|
|
26
|
+
"react-to-print": "^2.14.7",
|
|
27
|
+
"ztxkutils": "^2.10.17"
|
|
27
28
|
},
|
|
28
29
|
"scripts": {
|
|
29
30
|
"analyze": "source-map-explorer 'dist/static/js/*.js'",
|