ztxkui 4.2.19 → 4.2.21

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.
@@ -38,7 +38,7 @@ import water from '../assets/img/water.png';
38
38
  import { createDownloadUrl } from 'ztxkutils/dist/fileOperation';
39
39
  import './print.scss';
40
40
  import { token } from '../constants';
41
- import imgSrc from '../assets/img/logo002.jpg';
41
+ import imgSrc from '../assets/img/logo012.jpg';
42
42
  function request(options) {
43
43
  var headers = options.headers, restOptions = __rest(options, ["headers"]);
44
44
  return axios(__assign({ baseURL: options.baseURL ? options.baseURL : 'http://192.168.0.83:8000', url: options.url, headers: __assign({ 'Zmdms-Auth': "bearer " + token }, options.headers), method: options.method, data: options.data, params: options.params }, restOptions));
@@ -89,7 +89,7 @@ var PrintContainerDemo = function () {
89
89
  }, 1000);
90
90
  }, []);
91
91
  // const [base64Img, setBase64Img] = useState<any>('');
92
- var _c = useState(''), base64Img = _c[0], setBase64Img = _c[1];
92
+ var _c = useState(''), setBase64Img = _c[1];
93
93
  useEffect(function () {
94
94
  var image = new Image();
95
95
  image.setAttribute('crossOrigin', 'anonymous');
@@ -220,242 +220,6 @@ var PrintContainerDemo = function () {
220
220
  React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
221
221
  React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
222
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
- React.createElement("div", { className: "print-header" },
226
- React.createElement("img", { src: imgSrc, alt: "" }),
227
- React.createElement("h3", { className: "print-title" },
228
- "\u63D0\u8D27\u5355",
229
- React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
230
- React.createElement("div", { className: "right-info" },
231
- React.createElement("div", { className: "info-item" },
232
- React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
233
- React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
234
- React.createElement("div", { className: "info-item" },
235
- React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
236
- React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
237
- React.createElement("div", { className: "info-item" },
238
- React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
239
- 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" },
339
- React.createElement("div", { className: "print-header set-box" },
340
- React.createElement("img", { src: base64Img, alt: "" }),
341
- React.createElement("h3", { className: "print-title" }, "\u63D0\u8D27\u53552"),
342
- React.createElement("div", { className: "right-info" },
343
- React.createElement("div", { className: "info-item" },
344
- React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
345
- React.createElement("span", null, "8000000399")),
346
- React.createElement("div", { className: "info-item" },
347
- React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
348
- React.createElement("span", null, "2022-08-03")),
349
- React.createElement("div", { className: "info-item" },
350
- React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
351
- React.createElement("span", null, "2022-08-06")))),
352
- React.createElement("div", { className: "purchaseIn-print-box" },
353
- React.createElement("div", { className: "pt10" },
354
- React.createElement("table", null,
355
- React.createElement("tbody", null,
356
- React.createElement("tr", null,
357
- React.createElement("td", null, "\u63D0\u8D27\u5355\u4F4D"),
358
- React.createElement("td", { colSpan: 3 }, "\u4E2D\u94C1\u4E8C\u5341\u4E8C\u5C40\u96C6\u56E2\u6709\u9650\u4E2D\u94C1\u4E8C\u5341\u4E8C\u5C40\u96C6\u56E2\u6709\u9650,\u516C\u53F8"),
359
- React.createElement("td", null, "\u5F00\u6237\u94F6\u884C\u53CA\u8D26\u53F7"),
360
- React.createElement("td", { colSpan: 3 }, "12312312313123123123123"),
361
- React.createElement("td", { width: "100px" }, "\u7269\u6D41\u6307\u4EE4\u5355\u53F7"),
362
- React.createElement("td", { colSpan: 3 }, "123123123123123123123")),
363
- React.createElement("tr", null,
364
- React.createElement("td", null, "\u7A0E\u53F7"),
365
- React.createElement("td", { colSpan: 3 }, "9111000071092227XH"),
366
- React.createElement("td", null, "\u5730\u5740\u53CA\u7535\u8BDD"),
367
- React.createElement("td", { colSpan: 3 }, "\u5317\u4EAC\u5E02\u77F3\u666F\u5C71\u533A\u77F3\u666F\u5C71\u8DEF35\u53F7"),
368
- React.createElement("td", { width: "100px" }, "\u9500\u552E\u5408\u540C\u53F7"),
369
- React.createElement("td", { colSpan: 3 }, "SC2208010002")),
370
- React.createElement("tr", null,
371
- React.createElement("td", null, "\u63D0\u8D27\u4ED3\u5E93"),
372
- React.createElement("td", { colSpan: 2 }, "\u7269\u4EA7\u7269\u6D41\u6B23\u987A\u7F8E\u5E93"),
373
- React.createElement("td", null, "\u4ED3\u5E93\u5730\u5740"),
374
- React.createElement("td", { colSpan: 2 }, "1231\u554A\u5B9E\u6253\u5B9E\u7684\u5927\u82CF\u6253"),
375
- React.createElement("td", null, "\u4ED3\u5E93\u8054\u7CFB\u4EBA"),
376
- React.createElement("td", { colSpan: 2 }, "\u554A\u5B9E\u6253\u5B9E\u7684\u963F\u677E\u5927\u662F\u554A\u5927\u82CF\u6253\u788D\u4E8B"),
377
- React.createElement("td", null, "\u4ED3\u5E93\u7535\u8BDD"),
378
- React.createElement("td", { colSpan: 2 }, "\u554A\u5B9E\u6253\u5B9E\u5927\u82CF\u6253\u5B9E\u6253\u5B9E\u7684\u963F\u677E\u5927")),
379
- React.createElement("tr", null,
380
- React.createElement("td", { rowSpan: 2, colSpan: 4 }, "\u5546\u54C1\u540D\u79F0"),
381
- React.createElement("td", { width: "100px", rowSpan: 2 }, "\u6279\u6B21\u53F7"),
382
- React.createElement("td", { colSpan: 2, width: "150px" }, "\u5F00\u5355\u6570\u91CF"),
383
- React.createElement("td", { colSpan: 2, width: "150px" }, "\u5B9E\u53D1\u6570\u91CF"),
384
- React.createElement("td", { rowSpan: 2 }, "\u5355\u4EF7(\u542B\u7A0E)"),
385
- React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u8FD0\u8F93\u8D39"),
386
- React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u51FA\u5E93\u8D39")),
387
- React.createElement("tr", null,
388
- React.createElement("td", { width: "50px" }, "\u4EF6"),
389
- React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)"),
390
- React.createElement("td", { width: "50px" }, "\u4EF6"),
391
- React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)")),
392
- React.createElement("tr", null,
393
- React.createElement("td", { colSpan: 4 }, "\u91CD\u8F68 50MN \u6CB3\u5317\u6C38\u6D0B"),
394
- React.createElement("td", null, "BN2207210002"),
395
- React.createElement("td", null, "0"),
396
- React.createElement("td", null, "1.000000"),
397
- React.createElement("td", null, "0"),
398
- React.createElement("td", null, "0.000000"),
399
- React.createElement("td", null, "12.00"),
400
- React.createElement("td", null, "\u5426"),
401
- React.createElement("td", null, "\u5426")),
402
- React.createElement("tr", null,
403
- React.createElement("td", { colSpan: 4 }, "\u91CD\u8F68 50MN \u6CB3\u5317\u6C38\u6D0B"),
404
- React.createElement("td", null, "BN2207140002"),
405
- React.createElement("td", null, "0"),
406
- React.createElement("td", null, "10.000000"),
407
- React.createElement("td", null, "0"),
408
- React.createElement("td", null, "0.000000"),
409
- React.createElement("td", null, "12.00"),
410
- React.createElement("td", null, "\u5426"),
411
- React.createElement("td", null, "\u5426")),
412
- React.createElement("tr", null,
413
- React.createElement("td", { colSpan: 4, align: "left", style: { padding: '0px 30px' } }, "\u5408\u8BA1"),
414
- React.createElement("td", null),
415
- React.createElement("td", null, "0"),
416
- React.createElement("td", null, "11.000000"),
417
- React.createElement("td", null, "0"),
418
- React.createElement("td", null, "0.000000"),
419
- React.createElement("td", null),
420
- React.createElement("td", null),
421
- React.createElement("td", null)),
422
- React.createElement("tr", null,
423
- React.createElement("td", null, "\u5907\u6CE8"),
424
- React.createElement("td", { colSpan: 5 }, "\u554A\u5B9E\u6253\u5B9E\u5927\u82CF\u6253\u554A\u5B9E\u6253\u5B9E\u5927\u82CF\u6253\u963F\u677E\u5927\u963F\u677E\u5927\u963F\u677E\u5927\u554A\u5B9E\u6253\u5B9E\u6253\u7B97\u8FBE\u5230\u963F\u677E\u5927\u963F\u677E\u5927\u963F\u677E\u5927\u963F\u677E\u5927\u963F\u677E\u5927"),
425
- React.createElement("td", null, "\u63D0\u5355\u6709\u6548\u671F"),
426
- React.createElement("td", { colSpan: 2 }, "24"),
427
- React.createElement("td", null, "\u51FA\u5E93\u65B9\u5F0F"),
428
- React.createElement("td", { colSpan: 2 }, "\u5BA2\u6237\u81EA\u63D0")),
429
- React.createElement("tr", null,
430
- React.createElement("td", null, "\u63D0\u8D27\u4EBA"),
431
- React.createElement("td", { colSpan: 2 }, "\u554A\u5B9E\u6253\u5B9E\u7684"),
432
- React.createElement("td", null, "\u63D0\u8D27\u8F66\u724C"),
433
- React.createElement("td", { colSpan: 2 }, "\u554A\u5927\u82CF\u6253\u6492\u65E6"),
434
- React.createElement("td", null, "\u6253\u5370\u6B21\u6570"),
435
- React.createElement("td", { colSpan: 2 }, "123123"),
436
- React.createElement("td", null, "\u5B58\u8D27\u5355\u4F4D"),
437
- React.createElement("td", { colSpan: 2 }, "\u91CD\u5E86\u4E2D\u62D3-\u7535\u5546\u90E8")),
438
- React.createElement("tr", null,
439
- React.createElement("td", null, "\u53D1\u8D27\u4EBA"),
440
- React.createElement("td", { colSpan: 2 }, "\u6492\u5927\u82CF\u6253"),
441
- React.createElement("td", null, "\u5236\u5355\u4EBA"),
442
- React.createElement("td", { colSpan: 2 }, "\u9EC4\u667A\u575A"),
443
- React.createElement("td", null, "\u90E8\u95E8"),
444
- React.createElement("td", { colSpan: 2 }, "\u91CD\u5E86\u4E2D\u62D3-\u7535\u5546\u90E8"),
445
- React.createElement("td", null, "\u4E1A\u52A1\u4EE3\u8868"),
446
- React.createElement("td", { colSpan: 2 }, "\u80E1\u4F1F\u534E"))))),
447
- React.createElement("div", { className: "pt_bottom" },
448
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } },
449
- React.createElement("div", { className: "ant-col ant-col-17", style: { paddingLeft: '0px' } },
450
- 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\u554A\u5B9E\u6253\u5B9E\u7684\uFF1B"),
451
- 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\u554A\u554A\u5B9E\u6253\u5B9E\u5927\u5E08\u7684\u6492\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"),
452
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } })),
453
- React.createElement("div", { className: "ant-col ant-col-7", style: { paddingRight: '0px' } },
454
- React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
455
- React.createElement("span", null, "\u6253\u5370\u65F6\u95F4\uFF1A"),
456
- React.createElement("span", null, "2022-08-12 14:45:57")),
457
- React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
458
- React.createElement("span", null, "\u6253\u5370\u4EBA\uFF1A"),
459
- React.createElement("span", null, "chenyx")))))))));
223
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))))))));
460
224
  };
461
225
  export default PrintContainerDemo;
@@ -177,9 +177,10 @@ var SinaturesDemo = function () {
177
177
  /** 是否可编辑 1可编辑 0不可编辑 */
178
178
  var canEdit = 1;
179
179
  /** 是否展示添加附件按钮 0不展示 1展示 */
180
- var showAddBtn = 0;
180
+ var showAddBtn = 1;
181
181
  var params = {
182
182
  // cancelDefaultCheckedQj: 1,
183
+ showDeleteBtn: true,
183
184
  needQj: 1,
184
185
  needDg: 1,
185
186
  needQys: 1,
@@ -525,6 +525,7 @@ var EditableTable = function () {
525
525
  } }, "\u9A8C\u8BC1"),
526
526
  React.createElement(Button, { onClick: function () {
527
527
  console.log(records);
528
+ console.log(tableHandleRef.current.getColumns());
528
529
  } }, "\u83B7\u53D6\u6570\u636E"),
529
530
  React.createElement(Table, { dataSource: records, columns: columns, rowKey: "id",
530
531
  // 表格项可输入
@@ -428,6 +428,18 @@ function Table(props) {
428
428
  }
429
429
  return index;
430
430
  },
431
+ /** 获取自定义列配置当前配置 */
432
+ getColumns: function () {
433
+ var columns = [];
434
+ mergeColumns.forEach(function (column) {
435
+ if (column.dataIndex) {
436
+ columns.push({
437
+ dataIndex: column.dataIndex || column.key,
438
+ });
439
+ }
440
+ });
441
+ return columns;
442
+ },
431
443
  }); });
432
444
  var tableResizableTitle = useMemo(function () {
433
445
  return {
@@ -9,7 +9,7 @@ interface IProps {
9
9
  isEdit: boolean;
10
10
  value?: any;
11
11
  onChange?: any;
12
- areaTypeName?: string;
12
+ areaType?: any;
13
13
  }
14
14
  declare const SealCheckbox: React.FC<IProps>;
15
15
  interface ISealProps {
@@ -20,7 +20,7 @@ interface ISealProps {
20
20
  sealName: string;
21
21
  sealNo: string;
22
22
  sealCount: number;
23
- areaTypeName: string;
23
+ areaType: any;
24
24
  }[];
25
25
  isEdit: boolean;
26
26
  }
@@ -24,10 +24,10 @@ import React from 'react';
24
24
  import { Checkbox, InputNumber, SearchContainer } from '../../../../index';
25
25
  var Item = SearchContainer.SearchItem;
26
26
  var SealCheckbox = function (_a) {
27
- var name = _a.name, id = _a.id, value = _a.value, onChange = _a.onChange, isEdit = _a.isEdit, areaTypeName = _a.areaTypeName;
27
+ var name = _a.name, id = _a.id, value = _a.value, onChange = _a.onChange, isEdit = _a.isEdit, areaType = _a.areaType;
28
28
  var onCheckboxChange = function (e) {
29
29
  onChange &&
30
- onChange(__assign(__assign({}, (value || {})), { sealName: e.target.checked ? name : null, sealNo: e.target.checked ? id : null, areaTypeName: e.target.checked ? areaTypeName : null }));
30
+ onChange(__assign(__assign({}, (value || {})), { sealName: e.target.checked ? name : null, sealNo: e.target.checked ? id : null, areaType: e.target.checked ? areaType : null }));
31
31
  };
32
32
  var onNumberChange = function (count) {
33
33
  var num = count;
@@ -37,7 +37,7 @@ var SealCheckbox = function (_a) {
37
37
  if (typeof num !== 'number' && value) {
38
38
  Reflect.deleteProperty(value, 'sealCount');
39
39
  }
40
- var info = __assign(__assign({}, (value || {})), (typeof num === 'number' ? { sealCount: num } : {}));
40
+ var info = __assign(__assign({}, (value || {})), (typeof num === 'number' ? { sealCount: num, areaType: areaType } : {}));
41
41
  if (typeof info.sealCount === 'number') {
42
42
  info = __assign(__assign({}, info), { sealName: name, sealNo: id });
43
43
  }
@@ -92,7 +92,7 @@ var SealCheckboxGroup = function (_a) {
92
92
  if (Array.isArray(value)) {
93
93
  itemValue = value.find(function (valueItem) { return valueItem.sealNo === item.sealNo; });
94
94
  }
95
- return (React.createElement(SealCheckbox, { key: item === null || item === void 0 ? void 0 : item.sealNo, name: item === null || item === void 0 ? void 0 : item.sealName, id: item === null || item === void 0 ? void 0 : item.sealNo, areaTypeName: item === null || item === void 0 ? void 0 : item.areaTypeName, value: itemValue, isEdit: isEdit, onChange: function (value, type) {
95
+ return (React.createElement(SealCheckbox, { key: item === null || item === void 0 ? void 0 : item.sealNo, name: item === null || item === void 0 ? void 0 : item.sealName, id: item === null || item === void 0 ? void 0 : item.sealNo, areaType: item === null || item === void 0 ? void 0 : item.areaType, value: itemValue, isEdit: isEdit, onChange: function (value, type) {
96
96
  onChangeHandle(value, index, item.sealNo, type);
97
97
  } }));
98
98
  })));
@@ -1,17 +1,22 @@
1
- import { useState, useEffect } from 'react';
1
+ import { useState, useEffect, useRef } from 'react';
2
2
  /**
3
3
  * 外部数据发生改变,设置内部数据
4
4
  */
5
5
  export function useRecords(fileList) {
6
6
  var _a = useState([]), records = _a[0], setRecords = _a[1];
7
+ var fileRef = useRef();
7
8
  useEffect(function () {
8
- if (Array.isArray(fileList)) {
9
- setRecords(fileList);
9
+ fileRef.current = fileList;
10
+ }, [fileList]);
11
+ var list = fileRef.current;
12
+ useEffect(function () {
13
+ if (Array.isArray(list)) {
14
+ setRecords(list);
10
15
  }
11
16
  else {
12
17
  setRecords([]);
13
18
  }
14
- }, [fileList]);
19
+ }, [list]);
15
20
  return {
16
21
  records: records,
17
22
  setRecords: setRecords,
@@ -310,7 +310,7 @@ var Sinatures = function (_a) {
310
310
  setSealList((_a = res.data.data) === null || _a === void 0 ? void 0 : _a.map(function (item, index) { return ({
311
311
  sealName: item.sealName,
312
312
  sealNo: item.sealNo,
313
- areaTypeName: item.areaTypeName,
313
+ areaType: item.areaType,
314
314
  }); }));
315
315
  }
316
316
  else {
@@ -550,7 +550,7 @@ var Sinatures = function (_a) {
550
550
  },
551
551
  key: 'attachId',
552
552
  dataIndex: 'attachId',
553
- width: isOnlyQj ? 240 : 350,
553
+ width: isOnlyQj ? 300 : 410,
554
554
  render: function (text, record, index) {
555
555
  if (!isOnlyQj) {
556
556
  /** 删除附件 */
@@ -560,45 +560,68 @@ var Sinatures = function (_a) {
560
560
  console.error('没有找到需要删除的文件名!', "serverFileName \u4E3A " + fileName);
561
561
  return;
562
562
  }
563
- setTbLoading(true);
564
- var xhr = new XMLHttpRequest();
565
- xhr.open('post', ZT_API_BASEURL + "/api/zmdms-resource/oss/endpoint/remove-file", true);
566
- xhr.addEventListener('readystatechange', function () {
567
- if (xhr.readyState === 4) {
568
- var response = JSON.parse(xhr.responseText);
569
- if (xhr.status === 200) {
570
- setTbLoading(false);
571
- if ((response === null || response === void 0 ? void 0 : response.success) === true) {
572
- var result_1 = [];
573
- var getNewRecord_1 = function (data) {
574
- var newRecords = data.slice();
575
- newRecords.splice(index, 1);
576
- result_1 = newRecords;
577
- return newRecords;
578
- };
579
- setRecords(function (preRecords) {
580
- return getNewRecord_1(preRecords);
581
- });
582
- setContractId(null);
583
- if (records.length > 0 && onSigValuesChange) {
584
- onSigValuesChange(sigValuesChange('fileList', result_1));
585
- }
586
- message.success('文件删除成功!');
587
- }
588
- else {
589
- setTbLoading(false);
590
- message.warning(response === null || response === void 0 ? void 0 : response.msg);
591
- }
592
- }
593
- else {
594
- setTbLoading(false);
595
- message.warning(response === null || response === void 0 ? void 0 : response.msg);
596
- }
597
- }
563
+ var result = [];
564
+ var getNewRecord = function (data) {
565
+ var newRecords = data.slice();
566
+ newRecords.splice(index, 1);
567
+ result = newRecords;
568
+ return newRecords;
569
+ };
570
+ setRecords(function (preRecords) {
571
+ return getNewRecord(preRecords);
598
572
  });
599
- xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
600
- xhr.setRequestHeader('Zmdms-Auth', authToken);
601
- xhr.send("fileName=" + fileName);
573
+ setContractId(null);
574
+ if (records.length > 0 && onSigValuesChange) {
575
+ onSigValuesChange(sigValuesChange('fileList', result));
576
+ }
577
+ message.success('文件删除成功!');
578
+ // 此删除附件接口需要管理员权限 后端建议此处仅前端删除 20230111
579
+ // setTbLoading(true);
580
+ // const xhr = new XMLHttpRequest();
581
+ // xhr.open(
582
+ // 'post',
583
+ // `${ZT_API_BASEURL}/api/zmdms-resource/oss/endpoint/remove-file`,
584
+ // true
585
+ // );
586
+ // xhr.addEventListener('readystatechange', function () {
587
+ // if (xhr.readyState === 4) {
588
+ // const response = JSON.parse(xhr.responseText);
589
+ // if (xhr.status === 200) {
590
+ // setTbLoading(false);
591
+ // if (response?.success === true) {
592
+ // let result: any = [];
593
+ // const getNewRecord = (data) => {
594
+ // const newRecords = data.slice();
595
+ // newRecords.splice(index, 1);
596
+ // result = newRecords;
597
+ // return newRecords;
598
+ // };
599
+ // setRecords((preRecords) => {
600
+ // return getNewRecord(preRecords);
601
+ // });
602
+ // setContractId(null);
603
+ // if (records.length > 0 && onSigValuesChange) {
604
+ // onSigValuesChange(
605
+ // sigValuesChange('fileList', result)
606
+ // );
607
+ // }
608
+ // message.success('文件删除成功!');
609
+ // } else {
610
+ // setTbLoading(false);
611
+ // message.warning(response?.msg);
612
+ // }
613
+ // } else {
614
+ // setTbLoading(false);
615
+ // message.warning(response?.msg);
616
+ // }
617
+ // }
618
+ // });
619
+ // xhr.setRequestHeader(
620
+ // 'Content-type',
621
+ // 'application/x-www-form-urlencoded'
622
+ // );
623
+ // xhr.setRequestHeader('Zmdms-Auth', authToken);
624
+ // xhr.send(`fileName=${fileName}`);
602
625
  };
603
626
  return (React.createElement(React.Fragment, null,
604
627
  React.createElement(AttachOperation, { ZT_API_BASEURL: ZT_API_BASEURL, ZT_FILE_BASEURL: ZT_FILE_BASEURL, token: authToken, attachId: record === null || record === void 0 ? void 0 : record.attachId, attachName: record === null || record === void 0 ? void 0 : record.attachName, attachSize: record === null || record === void 0 ? void 0 : record.attachSize, showDeleteBtn: showDeleteBtn, onDeleteFile: deleteFile })));
@@ -619,7 +642,7 @@ var Sinatures = function (_a) {
619
642
  title: '合同比对模板',
620
643
  key: 'templateAttachId',
621
644
  dataIndex: 'templateAttachId',
622
- width: 150,
645
+ width: 200,
623
646
  render: function (text, record, index) {
624
647
  return record.attachTypeName === '合同本身' ? (React.createElement(TemplateAttach, { record: record, index: index, openCustomerModalHandle: openCustomerModalHandle, isEdit: isEdit })) : ('');
625
648
  },
@@ -650,7 +673,7 @@ var Sinatures = function (_a) {
650
673
  title: isEdit ? '添加水印' : '水印',
651
674
  key: 'isWatermark',
652
675
  dataIndex: 'isWatermark',
653
- width: 60,
676
+ width: 100,
654
677
  render: function (text, record, index) {
655
678
  return (React.createElement(Switch, { checked: text, disabled: !isEdit, onChange: function (value) {
656
679
  return onSwitchChangeHandle(value, 'isWatermark', index);
@@ -661,7 +684,7 @@ var Sinatures = function (_a) {
661
684
  title: '电子印章',
662
685
  key: 'needQys',
663
686
  dataIndex: 'needQys',
664
- width: 610,
687
+ width: 700,
665
688
  children: [
666
689
  {
667
690
  title: '盖电子印章',
@@ -678,7 +701,7 @@ var Sinatures = function (_a) {
678
701
  title: '选择电子印章',
679
702
  key: 'electronicSeal',
680
703
  dataIndex: 'electronicSeal',
681
- width: 360,
704
+ width: 450,
682
705
  render: function (value, row, index) {
683
706
  // 是否有勾选加盖电子印章
684
707
  var hasElectronicSeal = records === null || records === void 0 ? void 0 : records.some(function (item) { return !!item.isElectronicSeal; });
@@ -688,7 +711,7 @@ var Sinatures = function (_a) {
688
711
  React.createElement("div", { style: __assign({ height: '36px', borderBottom: '1px solid #EBEBEB', marginBottom: '5px', paddingLeft: '8px', lineHeight: '36px' }, (yjzrr ? {} : { display: 'none' })), title: _label },
689
712
  React.createElement(Checkbox, { checked: isEconomic, disabled: !(hasElectronicSeal && isEdit), onChange: function (e) { return needEconomic(e); } },
690
713
  React.createElement("div", { style: {
691
- width: '300px',
714
+ width: '370px',
692
715
  whiteSpace: 'nowrap',
693
716
  textOverflow: 'ellipsis',
694
717
  overflow: 'hidden',
@@ -852,16 +875,16 @@ var Sinatures = function (_a) {
852
875
  });
853
876
  });
854
877
  console.log(successFileList_1);
855
- var getNewRecord_2 = function (data) {
878
+ var getNewRecord_1 = function (data) {
856
879
  if (data === void 0) { data = []; }
857
880
  var newRecords = __spreadArray(__spreadArray([], data), successFileList_1).filter(function (item) { return item.attachId !== '123456789'; });
858
881
  return newRecords;
859
882
  };
860
883
  setRecords(function (preRecords) {
861
- return getNewRecord_2(preRecords);
884
+ return getNewRecord_1(preRecords);
862
885
  });
863
886
  if (typeof fnRef.current === 'function') {
864
- fnRef.current(sigValuesChange('fileList', getNewRecord_2(records)));
887
+ fnRef.current(sigValuesChange('fileList', getNewRecord_1(records)));
865
888
  }
866
889
  }
867
890
  if (filelist.every(function (item) { return item.status === 'error'; })) {
@@ -1 +1 @@
1
- export declare const token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJtZW1iZXJfdHlwZSI6MSwiaGFuZGxlX2hyX3Bob25lIjpudWxsLCJyZXN1bWVfZGF0ZSI6bnVsbCwidXNlcl9uYW1lIjoi6ZmI5Lqa6ZuEdGVzdCIsImVtcF9uYW1lIjoi6ZmI5Lqa6ZuEdGVzdCIsImVtcF9udW1iZXIiOiJZRzIyMDQwNjQiLCJpbXRfaWQiOiIiLCJyZWFsX25hbWUiOiLpmYjkuprpm4R0ZXN0IiwiY2xpZW50X3R5cGUiOiJ3ZWIiLCJkYXRhX3JvbGVfaWQiOiIxMzQ1OTc4NTA1MzAyMDU2OTYyLDE0MTI2MTU5NDI2NTIyNjQ0NDksMTQ0ODEyMTA4NjUwNDMwMDU0NiwxNDY4MDM1MzUxNjI1Mjg1NjM0IiwiY2xpZW50X2lkIjoic3dvcmQiLCJ1c2VyX3R5cGUiOiJ3ZWIiLCJyb2xlX2lkIjoiMTEyMzU5ODgxNjczODY3NTIwMSwxNDA1MDU3MjE4NTMwMjE3OTg2LDE0MzgzMjI1NDMyOTU5MjYyNzQsMTQ0MzQ3NTQ3NTk3MjczNDk3NywxNDY4MDM0NDM3MTU3OTYxNzI5IiwicG9zdF9uYW1lIjpudWxsLCJzY29wZSI6WyJhbGwiXSwiaW50ZXJ2aWV3X2lkIjoiIiwiZ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kui",
3
- "version": "4.2.19",
3
+ "version": "4.2.21",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",