ztxkui 3.3.16 → 3.3.17

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.
@@ -191,6 +191,7 @@ var SinaturesDemo = function () {
191
191
  flowId: 1231231,
192
192
  deptId: '1262999321077198849',
193
193
  canEdit: canEdit,
194
+ flowStatus: 1,
194
195
  caseId: 'bf21be574ce741398e8f0769b61ac983',
195
196
  contractId: '2982140578506318463',
196
197
  docAttachMap: {},
@@ -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
  }
@@ -75,4 +75,6 @@ export interface IProps {
75
75
  checkAttachIdList: any[];
76
76
  /** 文档id列表 */
77
77
  documentIdList: string[];
78
+ /** 流程状态 */
79
+ flowStatus: number;
78
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "3.3.16",
3
+ "version": "3.3.17",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",