zmdms-webui 1.6.4 → 1.6.6

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.
@@ -51,6 +51,7 @@ var ElectronSignaturesFragment = function (props) {
51
51
  needQj: needQj,
52
52
  flowId: flowId,
53
53
  companyTypes: companyTypes,
54
+ deptId: deptId,
54
55
  }).qunjList;
55
56
  // 附件类型列表相关数据
56
57
  var fileTypeFetchList = useFetchFileTypeData({
@@ -794,7 +794,7 @@ var ElectronSignatures = function (props) {
794
794
  return (jsxs(Fragment, { children: [allOptions.map(function (options, index) {
795
795
  var mergeOptions = index === 0
796
796
  ? __assign(__assign({}, options), { onValueChange: onValueChange }) : __assign(__assign({ deptId: resetProps.deptId, flowId: resetProps.flowId }, options), { onValueChange: onValueChange });
797
- return (jsx(ElectronSignaturesFragment, __assign({ dataType: "".concat(index), onTrackChange: onTrackChange, request: request, isUnControlled: isUnControlled, setLoading: setLoading, apiBaseUrl: apiBaseUrl, fileBaseUrl: fileBaseUrl, isSingleQj: isSingleQj }, mergeOptions), index));
797
+ return (jsx(ElectronSignaturesFragment, __assign({ dataType: "".concat(index), onTrackChange: onTrackChange, request: request, isUnControlled: isUnControlled, setLoading: setLoading, apiBaseUrl: apiBaseUrl, fileBaseUrl: fileBaseUrl, isSingleQj: isSingleQj }, mergeOptions, { deptId: resetProps.deptId }), index));
798
798
  }), jsxs(ElectronSealBatchDownload, __assign({ request: request, apiBaseUrl: apiBaseUrl, selectRows: selectRows, allData: allData, isShowElectronBatchBtn: isShowElectronBatchBtn, isShowDownloadBatchBtn: isShowDownloadBatchBtn, isShowDoubleSignedBatchBtn: isShowDoubleSignedBatchBtn, batchDownloadZipName: batchDownloadZipName, firstDataType: firstDataType }, { children: [isShowBatchDeleteBtn ? (jsx(Button, __assign({ type: "primary", onClick: onBatchDeleteHandle, style: { marginRight: "10px" } }, { children: "\u6279\u91CF\u5220\u9664" }))) : null, isShowFileUpload && currentIsEditMemo ? (jsx(FileUpload, __assign({ fileList: sameTypeRecords, apiBaseUrl: apiBaseUrl, onFileChange: onFileChange, multiple: true }, fileUploadProps, { children: "\u6DFB\u52A0\u9644\u4EF6" }))) : null] })), jsx(Table, { dataSource: mergeRecords, columns: columns, rowKey: function (record) { return record.id || record.attachId; }, className: "ztxk-table electron-table", bordered: true, pagination: false, loading: loading, rowSelection: myRowSelection, scroll: __assign({ x: "max-content", y: 500 }, tableScroll) }), jsx(LastQysModal, { modalHandleRef: modalHandleRef, appointSignLocation: function (info) {
799
799
  // 未盖章的印章id列表
800
800
  var needReSealList = info.needReSealList;
@@ -5,7 +5,7 @@ import { message } from 'antd';
5
5
  * 获取电子印章远程数据
6
6
  */
7
7
  function useFetchQunjData(options) {
8
- var request = options.request, needQj = options.needQj, flowId = options.flowId, companyTypes = options.companyTypes;
8
+ var request = options.request, needQj = options.needQj, flowId = options.flowId, companyTypes = options.companyTypes, deptId = options.deptId;
9
9
  // 印章列表数据
10
10
  var _a = useState(), qunjList = _a[0], setQunjList = _a[1];
11
11
  // 获取群杰印章数据
@@ -45,10 +45,10 @@ function useFetchQunjData(options) {
45
45
  message.info("请传入流程ID");
46
46
  return;
47
47
  }
48
- getQunjList(flowId, { companyTypes: companyTypes }).then(function (res) {
48
+ getQunjList(flowId, { companyTypes: companyTypes, deptId: deptId }).then(function (res) {
49
49
  setQunjList(res);
50
50
  });
51
- }, [needQj, flowId, getQunjList, companyTypes]);
51
+ }, [needQj, flowId, getQunjList, companyTypes, deptId]);
52
52
  return {
53
53
  /** 当前群杰列表数据 */
54
54
  qunjList: qunjList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "1.6.4",
3
+ "version": "1.6.6",
4
4
  "private": false,
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",