ztxkui 4.2.23-421 → 4.2.23-422

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.
@@ -102,15 +102,15 @@ export var ElectronSignaturesContext = createContext({
102
102
  */
103
103
  var ElectronSignatures = function (props) {
104
104
  var _a, _b, _c;
105
- var request = props.request, isTranslation = props.isTranslation, previewUrl = props.previewUrl, _d = props.isUnControlled, isUnControlled = _d === void 0 ? true : _d, _e = props.contractNumFlowIds, contractNumFlowIds = _e === void 0 ? FLOW_IDS : _e, fileUploadProps = props.fileUploadProps, isShowFileUpload = props.isShowFileUpload, otherOptions = props.otherOptions, _fileBaseUrl = props.fileBaseUrl, _apiBaseUrl = props.apiBaseUrl, electronHandleRef = props.electronHandleRef, _onValueChange = props.onValueChange, isValidateSuccess = props.isValidateSuccess, refreshCode = props.refreshCode, onCheckedComparison = props.onCheckedComparison, _onFileTypeChangeGetItem = props.onFileTypeChangeGetItem, tableScroll = props.tableScroll, _getCreateTimeHand = props.getCreateTimeHand, isShowElectronBatchBtn = props.isShowElectronBatchBtn, isShowDownloadBatchBtn = props.isShowDownloadBatchBtn, isShowBatchDeleteBtn = props.isShowBatchDeleteBtn, isShowBatchPreviewBtn = props.isShowBatchPreviewBtn, _f = props.isShowFileComparisonBtn, isShowFileComparisonBtn = _f === void 0 ? true : _f, batchDownloadZipName = props.batchDownloadZipName, isShowDoubleSignedBatchBtn = props.isShowDoubleSignedBatchBtn, _g = props.isShowFileType, isShowFileType = _g === void 0 ? true : _g, _h = props.isShowFileTypeMerge, isShowFileTypeMerge = _h === void 0 ? true : _h,
105
+ var request = props.request, isTranslation = props.isTranslation, previewUrl = props.previewUrl, _d = props.isUnControlled, isUnControlled = _d === void 0 ? true : _d, _e = props.contractNumFlowIds, contractNumFlowIds = _e === void 0 ? FLOW_IDS : _e, fileUploadProps = props.fileUploadProps, isShowFileUpload = props.isShowFileUpload, otherOptions = props.otherOptions, _fileBaseUrl = props.fileBaseUrl, _apiBaseUrl = props.apiBaseUrl, electronHandleRef = props.electronHandleRef, _onValueChange = props.onValueChange, isValidateSuccess = props.isValidateSuccess, refreshCode = props.refreshCode, onCheckedComparison = props.onCheckedComparison, _onFileTypeChangeGetItem = props.onFileTypeChangeGetItem, tableScroll = props.tableScroll, _getCreateTimeHand = props.getCreateTimeHand, isShowElectronBatchBtn = props.isShowElectronBatchBtn, isShowDownloadBatchBtn = props.isShowDownloadBatchBtn, isShowBatchDeleteBtn = props.isShowBatchDeleteBtn, isShowBatchPreviewBtn = props.isShowBatchPreviewBtn, isShowFileComparisonBtn = props.isShowFileComparisonBtn, batchDownloadZipName = props.batchDownloadZipName, isShowDoubleSignedBatchBtn = props.isShowDoubleSignedBatchBtn, _f = props.isShowFileType, isShowFileType = _f === void 0 ? true : _f, _g = props.isShowFileTypeMerge, isShowFileTypeMerge = _g === void 0 ? true : _g,
106
106
  // fmsIsElectronicSealLabel = '产业链综合服务平台-客户电子签章',
107
- _j = props.fmsIsElectronicSealLabel,
107
+ _h = props.fmsIsElectronicSealLabel,
108
108
  // fmsIsElectronicSealLabel = '产业链综合服务平台-客户电子签章',
109
- fmsIsElectronicSealLabel = _j === void 0 ? '加盖产融章' : _j,
109
+ fmsIsElectronicSealLabel = _h === void 0 ? '加盖产融章' : _h,
110
110
  // fmsIsElectronicSealPushLabel = '推送银行',
111
- _k = props.fmsIsElectronicSealPushLabel,
111
+ _j = props.fmsIsElectronicSealPushLabel,
112
112
  // fmsIsElectronicSealPushLabel = '推送银行',
113
- fmsIsElectronicSealPushLabel = _k === void 0 ? '加盖银行签章' : _k, _l = props.openingContractSealLabel, openingContractSealLabel = _l === void 0 ? '盖户用合同章' : _l, isSingleQj = props.isSingleQj, _m = props.isQjUseModal, isQjUseModal = _m === void 0 ? true : _m, defaultJustNeedQj = props.defaultJustNeedQj, isDeleteAllFileWhenJustUseQj = props.isDeleteAllFileWhenJustUseQj, _o = props.isShowQysWhenNeedNotQys, isShowQysWhenNeedNotQys = _o === void 0 ? true : _o, _p = props.isControlNeedQys, isControlNeedQys = _p === void 0 ? true : _p, isDeletePlaceholderFileData = props.isDeletePlaceholderFileData, caseId = props.caseId, _q = props.isChoiseChangeTemplateValid, isChoiseChangeTemplateValid = _q === void 0 ? true : _q, _r = props.isToggleQys, isToggleQys = _r === void 0 ? false : _r, _s = props.isQjVerifyCode, isQjVerifyCode = _s === void 0 ? false : _s, _t = props.isNewQys, isNewQys = _t === void 0 ? false : _t, isShowOpeningContractSeal = props.isShowOpeningContractSeal, customButtons = props.customButtons, resetProps = __rest(props, ["request", "isTranslation", "previewUrl", "isUnControlled", "contractNumFlowIds", "fileUploadProps", "isShowFileUpload", "otherOptions", "fileBaseUrl", "apiBaseUrl", "electronHandleRef", "onValueChange", "isValidateSuccess", "refreshCode", "onCheckedComparison", "onFileTypeChangeGetItem", "tableScroll", "getCreateTimeHand", "isShowElectronBatchBtn", "isShowDownloadBatchBtn", "isShowBatchDeleteBtn", "isShowBatchPreviewBtn", "isShowFileComparisonBtn", "batchDownloadZipName", "isShowDoubleSignedBatchBtn", "isShowFileType", "isShowFileTypeMerge", "fmsIsElectronicSealLabel", "fmsIsElectronicSealPushLabel", "openingContractSealLabel", "isSingleQj", "isQjUseModal", "defaultJustNeedQj", "isDeleteAllFileWhenJustUseQj", "isShowQysWhenNeedNotQys", "isControlNeedQys", "isDeletePlaceholderFileData", "caseId", "isChoiseChangeTemplateValid", "isToggleQys", "isQjVerifyCode", "isNewQys", "isShowOpeningContractSeal", "customButtons"]);
113
+ fmsIsElectronicSealPushLabel = _j === void 0 ? '加盖银行签章' : _j, _k = props.openingContractSealLabel, openingContractSealLabel = _k === void 0 ? '盖户用合同章' : _k, isSingleQj = props.isSingleQj, _l = props.isQjUseModal, isQjUseModal = _l === void 0 ? true : _l, defaultJustNeedQj = props.defaultJustNeedQj, isDeleteAllFileWhenJustUseQj = props.isDeleteAllFileWhenJustUseQj, _m = props.isShowQysWhenNeedNotQys, isShowQysWhenNeedNotQys = _m === void 0 ? true : _m, _o = props.isControlNeedQys, isControlNeedQys = _o === void 0 ? true : _o, isDeletePlaceholderFileData = props.isDeletePlaceholderFileData, caseId = props.caseId, _p = props.isChoiseChangeTemplateValid, isChoiseChangeTemplateValid = _p === void 0 ? true : _p, _q = props.isToggleQys, isToggleQys = _q === void 0 ? false : _q, _r = props.isQjVerifyCode, isQjVerifyCode = _r === void 0 ? false : _r, _s = props.isNewQys, isNewQys = _s === void 0 ? false : _s, isShowOpeningContractSeal = props.isShowOpeningContractSeal, customButtons = props.customButtons, resetProps = __rest(props, ["request", "isTranslation", "previewUrl", "isUnControlled", "contractNumFlowIds", "fileUploadProps", "isShowFileUpload", "otherOptions", "fileBaseUrl", "apiBaseUrl", "electronHandleRef", "onValueChange", "isValidateSuccess", "refreshCode", "onCheckedComparison", "onFileTypeChangeGetItem", "tableScroll", "getCreateTimeHand", "isShowElectronBatchBtn", "isShowDownloadBatchBtn", "isShowBatchDeleteBtn", "isShowBatchPreviewBtn", "isShowFileComparisonBtn", "batchDownloadZipName", "isShowDoubleSignedBatchBtn", "isShowFileType", "isShowFileTypeMerge", "fmsIsElectronicSealLabel", "fmsIsElectronicSealPushLabel", "openingContractSealLabel", "isSingleQj", "isQjUseModal", "defaultJustNeedQj", "isDeleteAllFileWhenJustUseQj", "isShowQysWhenNeedNotQys", "isControlNeedQys", "isDeletePlaceholderFileData", "caseId", "isChoiseChangeTemplateValid", "isToggleQys", "isQjVerifyCode", "isNewQys", "isShowOpeningContractSeal", "customButtons"]);
114
114
  var selectRows = useRef(null);
115
115
  var onValueChange = useMemoizedFn(function (info) {
116
116
  _onValueChange && _onValueChange(info);
@@ -133,7 +133,7 @@ var ElectronSignatures = function (props) {
133
133
  // 获得部门信息
134
134
  var getDeptInfo = useGetDeptInfo(request).getDeptInfo;
135
135
  // 达观操作
136
- var _u = useDg(request), compareHandle = _u.compareHandle, lookCompareHandle = _u.lookCompareHandle;
136
+ var _t = useDg(request), compareHandle = _t.compareHandle, lookCompareHandle = _t.lookCompareHandle;
137
137
  // 存储当前点击的选择比对模板的一些参数
138
138
  var dgInfoRef = useRef({});
139
139
  var myCompareHandle = useMemoizedFn(function (templateId) {
@@ -164,7 +164,7 @@ var ElectronSignatures = function (props) {
164
164
  });
165
165
  });
166
166
  // 基础地址
167
- var _v = useBaseContext(), API_BASE_URL = _v.apiBaseUrl, FILE_BASE_URL = _v.fileBaseUrl;
167
+ var _u = useBaseContext(), API_BASE_URL = _u.apiBaseUrl, FILE_BASE_URL = _u.fileBaseUrl;
168
168
  var apiBaseUrl = _apiBaseUrl || API_BASE_URL;
169
169
  var fileBaseUrl = _fileBaseUrl || FILE_BASE_URL;
170
170
  // 将配置分级处理
@@ -186,11 +186,11 @@ var ElectronSignatures = function (props) {
186
186
  allOptions = [resetProps];
187
187
  }
188
188
  // 根据收集到的流程id、权限人id列表,来判断是否请求群杰验证码数据
189
- var _w = useGetQjVerifyCode({
189
+ var _v = useGetQjVerifyCode({
190
190
  allOptions: allOptions,
191
191
  request: request,
192
192
  isNewQys: isNewQys,
193
- }), qjVerifyCodeData = _w.qjVerifyCodeData, getQjVerifyCodeHandle = _w.getQjVerifyCodeHandle;
193
+ }), qjVerifyCodeData = _v.qjVerifyCodeData, getQjVerifyCodeHandle = _v.getQjVerifyCodeHandle;
194
194
  /**
195
195
  * 当前是否是编辑状态
196
196
  */
@@ -198,10 +198,10 @@ var ElectronSignatures = function (props) {
198
198
  return ((resetProps === null || resetProps === void 0 ? void 0 : resetProps.canEdit) + '' === '1' || (resetProps === null || resetProps === void 0 ? void 0 : resetProps.canEdit) === true);
199
199
  }, [resetProps.canEdit]);
200
200
  // 表格是否处于loading中
201
- var _x = useState(), loading = _x[0], setLoading = _x[1];
201
+ var _w = useState(), loading = _w[0], setLoading = _w[1];
202
202
  // 当前是否处于仅需要群杰印章的状态
203
- var _y = useState(defaultJustNeedQj || false), justNeedQj = _y[0], setJustNeedQj = _y[1];
204
- var _z = useState(''), organizationId = _z[0], setOrganizationId = _z[1];
203
+ var _x = useState(defaultJustNeedQj || false), justNeedQj = _x[0], setJustNeedQj = _x[1];
204
+ var _y = useState(''), organizationId = _y[0], setOrganizationId = _y[1];
205
205
  /**
206
206
  * 通过部门Id获得公司id
207
207
  */
@@ -243,7 +243,7 @@ var ElectronSignatures = function (props) {
243
243
  var firstDataType = resetProps.dataType || dataTypeSort[0];
244
244
  // 记录下需要处理的所有数据
245
245
  // TODO: 定义allData 类型
246
- var _0 = useState({}), allData = _0[0], setAllData = _0[1];
246
+ var _z = useState({}), allData = _z[0], setAllData = _z[1];
247
247
  // 收集修改数据
248
248
  var onTrackChange = useMemoizedFn(function (dataType, data) {
249
249
  setAllData(function (preAllData) {
@@ -256,12 +256,12 @@ var ElectronSignatures = function (props) {
256
256
  });
257
257
  });
258
258
  // 合并数据(数据最终还是要在一个表格中显示)
259
- var _1 = useMergeRecords({
259
+ var _0 = useMergeRecords({
260
260
  allData: allData,
261
261
  dataTypeSort: dataTypeSort,
262
262
  isDeleteAllFileWhenJustUseQj: isDeleteAllFileWhenJustUseQj,
263
263
  isDeletePlaceholderFileData: isDeletePlaceholderFileData,
264
- }), mergeRecords = _1.mergeRecords, isHiddenColumns = _1.isHiddenColumns;
264
+ }), mergeRecords = _0.mergeRecords, isHiddenColumns = _0.isHiddenColumns;
265
265
  // 附件归属
266
266
  var fileTypeColumns = useFileTypeColumns({
267
267
  records: mergeRecords,
@@ -806,7 +806,7 @@ var ElectronSignatures = function (props) {
806
806
  });
807
807
  },
808
808
  }); }, []);
809
- var _2 = allData[firstDataType] || {}, sameTypeRecords = _2.records, setSameTypeRecords = _2.setRecords, parseCurrentUploadFile = _2.parseCurrentUploadFile;
809
+ var _1 = allData[firstDataType] || {}, sameTypeRecords = _1.records, setSameTypeRecords = _1.setRecords, parseCurrentUploadFile = _1.parseCurrentUploadFile;
810
810
  function addFile(info, callback) {
811
811
  var _a;
812
812
  var file = info.file;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "4.2.23-421",
3
+ "version": "4.2.23-422",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",