ztxkui 3.3.16 → 3.3.19
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/DemoCom/SinaturesDemo.js +1 -0
- package/dist/components/PrintContainer/print-container.js +1 -0
- package/dist/components/Upload/upload-table.js +5 -3
- package/dist/components/Upload/upload.js +1 -0
- package/dist/components/business/Signatures/index.js +3 -3
- package/dist/components/business/Signatures/props.d.ts +2 -0
- package/dist/components/utils/upload.js +1 -0
- package/package.json +1 -1
|
@@ -300,6 +300,7 @@ var PrintContainer = function (_a) {
|
|
|
300
300
|
var waterBase64 = '';
|
|
301
301
|
var img = new Image();
|
|
302
302
|
img.src = imgWaterBg;
|
|
303
|
+
img.setAttribute('crossOrigin', 'Anonymous');
|
|
303
304
|
img.onload = function () {
|
|
304
305
|
waterBase64 = image2Base64(img);
|
|
305
306
|
htmlToPdfNoCanvas({
|
|
@@ -109,7 +109,7 @@ var UploadTable = function (_a) {
|
|
|
109
109
|
]), otherColumns), [
|
|
110
110
|
{
|
|
111
111
|
title: '上传进度',
|
|
112
|
-
width:
|
|
112
|
+
width: 160,
|
|
113
113
|
render: function (text, record, index) {
|
|
114
114
|
// uploading done error removed
|
|
115
115
|
var status = record.status === 'error' ? 'exception' : undefined;
|
|
@@ -121,7 +121,8 @@ var UploadTable = function (_a) {
|
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
title: '操作',
|
|
124
|
-
width:
|
|
124
|
+
width: 120,
|
|
125
|
+
ellipsis: false,
|
|
125
126
|
fixed: 'right',
|
|
126
127
|
render: function (text, record, index) {
|
|
127
128
|
var operationAuth = record === null || record === void 0 ? void 0 : record.operationAuth;
|
|
@@ -220,7 +221,8 @@ var UploadTable = function (_a) {
|
|
|
220
221
|
]), otherColumns), [
|
|
221
222
|
{
|
|
222
223
|
title: '操作',
|
|
223
|
-
width:
|
|
224
|
+
width: 90,
|
|
225
|
+
ellipsis: false,
|
|
224
226
|
fixed: 'right',
|
|
225
227
|
render: function (text, record, index) {
|
|
226
228
|
return (React.createElement(React.Fragment, null,
|
|
@@ -50,7 +50,7 @@ var FLOW_IDS = [
|
|
|
50
50
|
* 实现受控,接收一个附件列表
|
|
51
51
|
*/
|
|
52
52
|
var Sinatures = function (_a) {
|
|
53
|
-
var needQj = _a.needQj, needDg = _a.needDg, needQys = _a.needQys, isUpload = _a.isUpload, fileList = _a.fileList, qunjSeal = _a.qunjSeal, qunjSealChange = _a.qunjSealChange, electronicSeal = _a.electronicSealIdList, electronicSealChange = _a.electronicSealChange, handleRef = _a.handleRef, ZT_API_BASEURL = _a.ZT_API_BASEURL, ZT_FILE_BASEURL = _a.ZT_FILE_BASEURL, systemCode = _a.systemCode, token = _a.token, openCustomerModalHandle = _a.openCustomerModalHandle, request = _a.request, flowId = _a.flowId, deptId = _a.deptId, canEdit = _a.canEdit, caseId = _a.caseId, contract_id = _a.contractId, docAttachMap = _a.docAttachMap, checkAttachIdList = _a.checkAttachIdList, // 已盖章附件id
|
|
53
|
+
var needQj = _a.needQj, needDg = _a.needDg, needQys = _a.needQys, isUpload = _a.isUpload, fileList = _a.fileList, qunjSeal = _a.qunjSeal, qunjSealChange = _a.qunjSealChange, electronicSeal = _a.electronicSealIdList, electronicSealChange = _a.electronicSealChange, handleRef = _a.handleRef, ZT_API_BASEURL = _a.ZT_API_BASEURL, ZT_FILE_BASEURL = _a.ZT_FILE_BASEURL, systemCode = _a.systemCode, token = _a.token, openCustomerModalHandle = _a.openCustomerModalHandle, request = _a.request, flowId = _a.flowId, deptId = _a.deptId, canEdit = _a.canEdit, flowStatus = _a.flowStatus, caseId = _a.caseId, contract_id = _a.contractId, docAttachMap = _a.docAttachMap, checkAttachIdList = _a.checkAttachIdList, // 已盖章附件id
|
|
54
54
|
documentIdList = _a.documentIdList;
|
|
55
55
|
var authToken = token || '';
|
|
56
56
|
// 是否可编辑 1可编辑 0不可编辑
|
|
@@ -182,7 +182,7 @@ var Sinatures = function (_a) {
|
|
|
182
182
|
if (contractId || contract_id) {
|
|
183
183
|
request({
|
|
184
184
|
url: '/api/zmdms-resource/seal/view-seal-state',
|
|
185
|
-
data: { contractId: contractId || contract_id, canEdit: canEdit },
|
|
185
|
+
data: { contractId: contractId || contract_id, canEdit: canEdit, flowStatus: flowStatus },
|
|
186
186
|
method: 'POST',
|
|
187
187
|
})
|
|
188
188
|
.then(function (res) {
|
|
@@ -442,7 +442,7 @@ var Sinatures = function (_a) {
|
|
|
442
442
|
return false;
|
|
443
443
|
}
|
|
444
444
|
// 没有确认盖章
|
|
445
|
-
if (needQys && hasElectronicSeal && !contractId) {
|
|
445
|
+
if (needQys && hasElectronicSeal && !(contractId || contract_id)) {
|
|
446
446
|
message.warning('请点击确认盖章按钮,确认盖章位置后方可提交!');
|
|
447
447
|
return false;
|
|
448
448
|
}
|