ztxkui 3.4.5 → 3.4.8
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.
|
@@ -250,6 +250,7 @@ var Sinatures = function (_a) {
|
|
|
250
250
|
request({
|
|
251
251
|
url: '/api/zmdms-resource/seal/confirm-seal-info',
|
|
252
252
|
method: 'POST',
|
|
253
|
+
timeout: 90000,
|
|
253
254
|
data: params,
|
|
254
255
|
})
|
|
255
256
|
.then(function (res) {
|
|
@@ -409,8 +410,10 @@ var Sinatures = function (_a) {
|
|
|
409
410
|
dataIndex: 'electronicSeal',
|
|
410
411
|
width: '20%',
|
|
411
412
|
render: function (value, row, index) {
|
|
413
|
+
// 是否有勾选加盖电子印章
|
|
414
|
+
var hasElectronicSeal = records === null || records === void 0 ? void 0 : records.some(function (item) { return !!item.isElectronicSeal; });
|
|
412
415
|
var obj = {
|
|
413
|
-
children: (React.createElement(ElectronicSeal, { value: electronicSeal, onChange: electronicSealChangeHandle, isEdit: isEdit, electronicList: electronicList })),
|
|
416
|
+
children: (React.createElement(ElectronicSeal, { value: electronicSeal, onChange: electronicSealChangeHandle, isEdit: hasElectronicSeal && isEdit, electronicList: electronicList })),
|
|
414
417
|
props: {},
|
|
415
418
|
};
|
|
416
419
|
obj.props['rowSpan'] = index === 0 ? records.length : 0;
|
|
@@ -497,7 +500,8 @@ var Sinatures = function (_a) {
|
|
|
497
500
|
var _a;
|
|
498
501
|
var newRecords = preRecords.slice();
|
|
499
502
|
newRecords.splice(index, 1, __assign(__assign({}, newRecords[index]), (_a = {}, _a[type] = value ? 1 : 0, _a)));
|
|
500
|
-
onSigValuesChange
|
|
503
|
+
onSigValuesChange &&
|
|
504
|
+
onSigValuesChange(sigValuesChange('fileList', newRecords));
|
|
501
505
|
return newRecords;
|
|
502
506
|
});
|
|
503
507
|
}
|
|
@@ -533,13 +537,14 @@ var Sinatures = function (_a) {
|
|
|
533
537
|
function qunjSealChangeHandle(value) {
|
|
534
538
|
qunjSealChange && qunjSealChange(value);
|
|
535
539
|
setQunjSeal(value);
|
|
536
|
-
onSigValuesChange(sigValuesChange('qunjSeal', value));
|
|
540
|
+
onSigValuesChange && onSigValuesChange(sigValuesChange('qunjSeal', value));
|
|
537
541
|
}
|
|
538
542
|
/** 电子印章修改 */
|
|
539
543
|
function electronicSealChangeHandle(value) {
|
|
540
544
|
electronicSealChange && electronicSealChange(value);
|
|
541
545
|
setElectronicSeal(value);
|
|
542
|
-
onSigValuesChange
|
|
546
|
+
onSigValuesChange &&
|
|
547
|
+
onSigValuesChange(sigValuesChange('electronicSealIdList', value));
|
|
543
548
|
isSure && setIsSure(false);
|
|
544
549
|
}
|
|
545
550
|
/**
|
|
@@ -577,7 +582,8 @@ var Sinatures = function (_a) {
|
|
|
577
582
|
validateSealFn: function () {
|
|
578
583
|
var _a, _b;
|
|
579
584
|
// 确认盖章后 勾选的信息有更改
|
|
580
|
-
if (
|
|
585
|
+
if (needQys &&
|
|
586
|
+
((_a = prevParam === null || prevParam === void 0 ? void 0 : prevParam.sealIdList) === null || _a === void 0 ? void 0 : _a.length) !== (innerElectronicSeal === null || innerElectronicSeal === void 0 ? void 0 : innerElectronicSeal.length) &&
|
|
581
587
|
!isSure) {
|
|
582
588
|
Modal.confirm({
|
|
583
589
|
title: '当前所勾选的电子印章信息与上一次盖章时有差异,请确认是否继续?',
|
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,6 @@ export { default as UploadSingle } from './components/UploadSingle';
|
|
|
47
47
|
export { default as CodeQuery } from './components/business/CodeQuery';
|
|
48
48
|
export { default as DgColumns } from './components/business/DgColumns';
|
|
49
49
|
export { default as message } from './components/basic/message';
|
|
50
|
-
export { ConfigProvider, Drawer, Space, Grid, Divider, Dropdown, Badge, List, Result, Spin, Popconfirm, TreeSelect, Tree, Progress, Cascader, Tooltip, Descriptions, Image, Popover, Breadcrumb, Transfer, Row, Col, } from 'antd';
|
|
50
|
+
export { ConfigProvider, Drawer, Space, Grid, Divider, Dropdown, Badge, List, Result, Spin, Popconfirm, TreeSelect, Tree, Progress, Cascader, Tooltip, Descriptions, Image, Popover, Breadcrumb, Transfer, Row, Col, notification, } from 'antd';
|
|
51
51
|
export { default as zhCN } from 'antd/lib/locale/zh_CN';
|
|
52
52
|
export { default as Icon, createFromIconfontCN } from '@ant-design/icons';
|
package/dist/index.js
CHANGED
|
@@ -161,6 +161,6 @@ export { default as UploadSingle } from './components/UploadSingle';
|
|
|
161
161
|
export { default as CodeQuery } from './components/business/CodeQuery';
|
|
162
162
|
export { default as DgColumns } from './components/business/DgColumns';
|
|
163
163
|
export { default as message } from './components/basic/message';
|
|
164
|
-
export { ConfigProvider, Drawer, Space, Grid, Divider, Dropdown, Badge, List, Result, Spin, Popconfirm, TreeSelect, Tree, Progress, Cascader, Tooltip, Descriptions, Image, Popover, Breadcrumb, Transfer, Row, Col, } from 'antd';
|
|
164
|
+
export { ConfigProvider, Drawer, Space, Grid, Divider, Dropdown, Badge, List, Result, Spin, Popconfirm, TreeSelect, Tree, Progress, Cascader, Tooltip, Descriptions, Image, Popover, Breadcrumb, Transfer, Row, Col, notification, } from 'antd';
|
|
165
165
|
export { default as zhCN } from 'antd/lib/locale/zh_CN';
|
|
166
166
|
export { default as Icon, createFromIconfontCN } from '@ant-design/icons';
|