ztxkui 4.2.18-21 → 4.2.18-220
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/App.js +315 -291
- package/dist/Demo.js +64 -43
- package/dist/DemoCom/BasicDemo.js +57 -56
- package/dist/DemoCom/CodeQueryDemo.js +3 -2
- package/dist/DemoCom/CollapseDemo.js +28 -27
- package/dist/DemoCom/DragSort.js +11 -10
- package/dist/DemoCom/FormDemo.js +36 -30
- package/dist/DemoCom/PrintContainerDemo.js +151 -150
- package/dist/DemoCom/PrintDemo.js +15 -14
- package/dist/DemoCom/SinaturesDemo.js +9 -8
- package/dist/DemoCom/SyhDemo.js +21 -20
- package/dist/DemoCom/TableAnalyse.js +34 -33
- package/dist/DemoCom/TableDemo.js +73 -69
- package/dist/DemoCom/TableDemo1.js +84 -34
- package/dist/DemoCom/TableDetail.d.ts +9 -0
- package/dist/DemoCom/TableDetail.js +259 -0
- package/dist/DemoCom/TestCom.js +22 -19
- package/dist/DemoCom/data.d.ts +110 -0
- package/dist/DemoCom/data.js +2308 -0
- package/dist/TableDemo/BasicTable.js +225 -25
- package/dist/TableDemo/EditableTable.js +146 -72
- package/dist/TableDemo/ModalTable.js +25 -24
- package/dist/TableDemo/ProEditableTable.js +30 -29
- package/dist/TableDemo/data.d.ts +34 -0
- package/dist/TableDemo/data.js +387 -10
- package/dist/TableDemo/index.js +3 -3
- package/dist/TreeDemo.js +8 -7
- package/dist/TreeSelectDemo.js +12 -8
- package/dist/UI/Form/index.d.ts +3 -0
- package/dist/UI/Form/index.js +347 -0
- package/dist/UI/Input/index.d.ts +17 -0
- package/dist/UI/Input/index.js +74 -0
- package/dist/UI/InputNumber/index.d.ts +3 -0
- package/dist/UI/InputNumber/index.js +45 -0
- package/dist/UI/OldForm/index.d.ts +9 -0
- package/dist/UI/OldForm/index.js +302 -0
- package/dist/UI/Select/EmpForQuitDemo.d.ts +15 -0
- package/dist/UI/Select/EmpForQuitDemo.js +120 -0
- package/dist/UI/Select/index.d.ts +10 -0
- package/dist/UI/Select/index.js +207 -0
- package/dist/UI/Table/BusinessListDemo.d.ts +15 -0
- package/dist/UI/Table/BusinessListDemo.js +227 -0
- package/dist/UI/Table/BusinessMemberDemo.d.ts +18 -0
- package/dist/UI/Table/BusinessMemberDemo.js +181 -0
- package/dist/UI/Table/index.d.ts +10 -0
- package/dist/UI/Table/index.js +850 -0
- package/dist/UI/TreeSelect/index.d.ts +3 -0
- package/dist/UI/TreeSelect/index.js +120 -0
- package/dist/UI/index.d.ts +2 -0
- package/dist/UI/index.js +34 -0
- package/dist/UploadDemo.js +27 -23
- package/dist/components/Button/button.d.ts +6 -0
- package/dist/components/Button/button.js +11 -4
- package/dist/components/Collapse/collapse.js +2 -1
- package/dist/components/DatePicker/data-picker.d.ts +3 -1
- package/dist/components/EnhanceSelect/index.d.ts +11 -1
- package/dist/components/EnhanceSelect/index.js +231 -49
- package/dist/components/EnhanceTree/index.js +4 -3
- package/dist/components/EnhanceTreeSelect/index.d.ts +5 -1
- package/dist/components/EnhanceTreeSelect/index.js +57 -7
- package/dist/components/Export/export.js +5 -4
- package/dist/components/Form/form.d.ts +11 -1
- package/dist/components/Form/form.js +5 -3
- package/dist/components/Input/input.d.ts +5 -3
- package/dist/components/Input/input.js +72 -3
- package/dist/components/InputNumber/input-number.js +3 -2
- package/dist/components/Layout/layout.d.ts +4 -4
- package/dist/components/Menu/menu.d.ts +1 -1
- package/dist/components/NumberCase/index.js +9 -7
- package/dist/components/Print/print.js +4 -3
- package/dist/components/PrintContainer/AttachPreviewModal.js +3 -2
- package/dist/components/PrintContainer/PrintModal.js +4 -3
- package/dist/components/PrintContainer/handle.d.ts +2 -4
- package/dist/components/PrintContainer/handle.js +3 -2
- package/dist/components/PrintContainer/lodop.js +2 -1
- package/dist/components/PrintContainer/print-container.js +74 -73
- package/dist/components/PrintContainer/service.js +5 -4
- package/dist/components/ProForm/hooks.d.ts +23 -0
- package/dist/components/ProForm/hooks.js +209 -0
- package/dist/components/ProForm/index.d.ts +9 -0
- package/dist/components/ProForm/index.js +168 -0
- package/dist/components/ProForm/interface.d.ts +200 -0
- package/dist/components/ProForm/interface.js +1 -0
- package/dist/components/ProForm/item.d.ts +13 -0
- package/dist/components/ProForm/item.js +222 -0
- package/dist/components/ProForm/items.d.ts +5 -0
- package/dist/components/ProForm/items.js +36 -0
- package/dist/components/ProForm/record-common-list.d.ts +18 -0
- package/dist/components/ProForm/record-common-list.js +83 -0
- package/dist/components/ProForm/search-drawer.d.ts +14 -0
- package/dist/components/ProForm/search-drawer.js +237 -0
- package/dist/components/ProForm/setting.d.ts +5 -0
- package/dist/components/ProForm/setting.js +12 -0
- package/dist/components/ProForm/useCommonSearch.d.ts +35 -0
- package/dist/components/ProForm/useCommonSearch.js +352 -0
- package/dist/components/ProFormList/index.d.ts +12 -0
- package/dist/components/ProFormList/index.js +34 -0
- package/dist/components/RangePicker/range-picker.js +5 -2
- package/dist/components/SortableCancel/sortable-cancel.d.ts +1 -0
- package/dist/components/SortableCancel/sortable-cancel.js +2 -2
- package/dist/components/Table/components/FillDown.js +2 -1
- package/dist/components/Table/components/FilterDropdown.d.ts +1 -0
- package/dist/components/Table/components/FilterDropdown.js +36 -12
- package/dist/components/Table/hooks/useColumns.d.ts +5 -0
- package/dist/components/Table/hooks/useColumns.js +396 -22
- package/dist/components/Table/hooks/useDropRef.js +2 -1
- package/dist/components/Table/hooks/useScuRfresh.d.ts +3 -0
- package/dist/components/Table/hooks/useScuRfresh.js +22 -0
- package/dist/components/Table/hooks/useSelectSubtotal.js +5 -1
- package/dist/components/Table/hooks/useVituralScrollBar.d.ts +10 -0
- package/dist/components/Table/hooks/useVituralScrollBar.js +234 -0
- package/dist/components/Table/index.d.ts +4 -0
- package/dist/components/Table/table-adddel-column.js +4 -3
- package/dist/components/Table/table-dynamic.d.ts +1 -0
- package/dist/components/Table/table-dynamic.js +447 -60
- package/dist/components/Table/table-enhance-cell.d.ts +3 -0
- package/dist/components/Table/table-enhance-cell.js +28 -8
- package/dist/components/Table/table-menu.d.ts +7 -0
- package/dist/components/Table/table-menu.js +359 -0
- package/dist/components/Table/table-resizable-title.js +1 -0
- package/dist/components/Table/table-sort.js +4 -3
- package/dist/components/Table/table.d.ts +16 -0
- package/dist/components/Table/table.js +241 -65
- package/dist/components/Table/utils/dom.js +2 -1
- package/dist/components/Table/utils/filterHandle.d.ts +1 -1
- package/dist/components/Table/utils/filterHandle.js +27 -12
- package/dist/components/Table/utils/getSummaryData.d.ts +1 -1
- package/dist/components/Table/utils/getSummaryData.js +279 -24
- package/dist/components/Table/utils/shallowEqual.js +2 -1
- package/dist/components/Table/utils/validate.js +25 -6
- package/dist/components/Tabs/tabs.d.ts +2 -0
- package/dist/components/Tabs/tabs.js +3 -1
- package/dist/components/TranslationButton/DownFile.d.ts +7 -0
- package/dist/components/TranslationButton/DownFile.js +95 -0
- package/dist/components/TranslationButton/PreviewFile.d.ts +5 -0
- package/dist/components/TranslationButton/PreviewFile.js +73 -0
- package/dist/components/TranslationButton/TranslationButton.d.ts +34 -0
- package/dist/components/TranslationButton/TranslationButton.js +245 -0
- package/dist/components/TranslationButton/hooks.d.ts +8 -0
- package/dist/components/TranslationButton/hooks.js +139 -0
- package/dist/components/TranslationButton/index.d.ts +4 -0
- package/dist/components/TranslationButton/index.js +4 -0
- package/dist/components/TreeSelect/index.d.ts +19 -0
- package/dist/components/TreeSelect/index.js +88 -0
- package/dist/components/Upload/upload-table.js +31 -26
- package/dist/components/Upload/upload.d.ts +20 -1
- package/dist/components/Upload/upload.js +172 -27
- package/dist/components/Upload/utils.d.ts +9 -2
- package/dist/components/Upload/utils.js +153 -38
- package/dist/components/UploadCustom/hooks/useDg.d.ts +6 -0
- package/dist/components/UploadCustom/hooks/useDg.js +55 -0
- package/dist/components/UploadSingle/upload-single.js +5 -4
- package/dist/components/Watermark/index.d.ts +2 -0
- package/dist/components/Watermark/index.js +2 -0
- package/dist/components/Watermark/interface.d.ts +20 -0
- package/dist/components/Watermark/interface.js +1 -0
- package/dist/components/Watermark/utils.d.ts +1 -0
- package/dist/components/Watermark/utils.js +70 -0
- package/dist/components/Watermark/water.d.ts +50 -0
- package/dist/components/Watermark/water.js +66 -0
- package/dist/components/Watermark/watermark-div.d.ts +4 -0
- package/dist/components/Watermark/watermark-div.js +41 -0
- package/dist/components/Watermark/watermark-shadow.d.ts +6 -0
- package/dist/components/Watermark/watermark-shadow.js +116 -0
- package/dist/components/Watermark/watermark.d.ts +3 -0
- package/dist/components/Watermark/watermark.js +102 -0
- package/dist/components/WorkflowPrintContainer/component/Gragh/Gragh.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/Gragh/Gragh.js +63 -0
- package/dist/components/WorkflowPrintContainer/component/Header.d.ts +12 -0
- package/dist/components/WorkflowPrintContainer/component/Header.js +109 -0
- package/dist/components/WorkflowPrintContainer/component/ProcessDetail.d.ts +18 -0
- package/dist/components/WorkflowPrintContainer/component/ProcessDetail.js +243 -0
- package/dist/components/WorkflowPrintContainer/component/Upload/index.d.ts +20 -0
- package/dist/components/WorkflowPrintContainer/component/Upload/index.js +59 -0
- package/dist/components/WorkflowPrintContainer/component/association/component/TableList.d.ts +10 -0
- package/dist/components/WorkflowPrintContainer/component/association/component/TableList.js +75 -0
- package/dist/components/WorkflowPrintContainer/component/association/index.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/association/index.js +92 -0
- package/dist/components/WorkflowPrintContainer/component/attention/component/TableList.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/attention/component/TableList.js +38 -0
- package/dist/components/WorkflowPrintContainer/component/attention/index.d.ts +10 -0
- package/dist/components/WorkflowPrintContainer/component/attention/index.js +95 -0
- package/dist/components/WorkflowPrintContainer/component/audit/component/TableList.d.ts +8 -0
- package/dist/components/WorkflowPrintContainer/component/audit/component/TableList.js +53 -0
- package/dist/components/WorkflowPrintContainer/component/audit/index.d.ts +7 -0
- package/dist/components/WorkflowPrintContainer/component/audit/index.js +88 -0
- package/dist/components/WorkflowPrintContainer/component/previewTable/component/TableList.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/previewTable/component/TableList.js +53 -0
- package/dist/components/WorkflowPrintContainer/component/previewTable/index.d.ts +11 -0
- package/dist/components/WorkflowPrintContainer/component/previewTable/index.js +60 -0
- package/dist/components/WorkflowPrintContainer/component/send/component/TableList.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/send/component/TableList.js +50 -0
- package/dist/components/WorkflowPrintContainer/component/send/index.d.ts +9 -0
- package/dist/components/WorkflowPrintContainer/component/send/index.js +92 -0
- package/dist/components/WorkflowPrintContainer/component/trail/component/TableList.d.ts +12 -0
- package/dist/components/WorkflowPrintContainer/component/trail/component/TableList.js +282 -0
- package/dist/components/WorkflowPrintContainer/component/trail/index.d.ts +11 -0
- package/dist/components/WorkflowPrintContainer/component/trail/index.js +56 -0
- package/dist/components/WorkflowPrintContainer/images.d.ts +2 -0
- package/dist/components/WorkflowPrintContainer/images.js +2 -0
- package/dist/components/WorkflowPrintContainer/index.d.ts +2 -0
- package/dist/components/WorkflowPrintContainer/index.js +2 -0
- package/dist/components/WorkflowPrintContainer/service.d.ts +14 -0
- package/dist/components/WorkflowPrintContainer/service.js +101 -0
- package/dist/components/WorkflowPrintContainer/usePagination.d.ts +14 -0
- package/dist/components/WorkflowPrintContainer/usePagination.js +22 -0
- package/dist/components/WorkflowPrintContainer/workflow-print-container.d.ts +100 -0
- package/dist/components/WorkflowPrintContainer/workflow-print-container.js +236 -0
- package/dist/components/ZtIcon/index.js +2 -0
- package/dist/components/business/Analyse/index.js +12 -11
- package/dist/components/business/CodeQuery/component/SearchForm.js +3 -2
- package/dist/components/business/CodeQuery/component/TableList.js +5 -4
- package/dist/components/business/CodeQuery/hooks.js +2 -1
- package/dist/components/business/CodeQuery/index.js +2 -1
- package/dist/components/business/Common/UserForgetPassword/index.js +36 -28
- package/dist/components/business/Common/UserInfo/component/MakingForm.js +11 -10
- package/dist/components/business/Common/UserInfo/index.js +5 -4
- package/dist/components/business/Common/UserPassword/index.js +14 -11
- package/dist/components/business/Common/validatePassword.d.ts +1 -1
- package/dist/components/business/Common/validatePassword.js +17 -7
- package/dist/components/business/DetailCard/index.js +7 -6
- package/dist/components/business/DetailHeader/index.js +7 -6
- package/dist/components/business/DetailList/index.js +5 -4
- package/dist/components/business/DgColumns/index.js +12 -11
- package/dist/components/business/ExportButton/index.js +6 -5
- package/dist/components/business/Footer/index.js +4 -1
- package/dist/components/business/GridList/item.d.ts +1 -1
- package/dist/components/business/List/item.d.ts +1 -1
- package/dist/components/business/NewList/item.d.ts +1 -1
- package/dist/components/business/NewList/item.js +1 -1
- package/dist/components/business/OperationBtnGroup/index.js +17 -16
- package/dist/components/business/SearchContainer/hooks/useDynamic.d.ts +2 -1
- package/dist/components/business/SearchContainer/hooks/useDynamic.js +6 -3
- package/dist/components/business/SearchContainer/hooks/useToggle.d.ts +1 -1
- package/dist/components/business/SearchContainer/hooks/useToggle.js +31 -12
- package/dist/components/business/SearchContainer/record-common-item.d.ts +14 -0
- package/dist/components/business/SearchContainer/record-common-item.js +83 -0
- package/dist/components/business/SearchContainer/record-common-list.d.ts +3 -0
- package/dist/components/business/SearchContainer/record-common-list.js +95 -0
- package/dist/components/business/SearchContainer/search-container.d.ts +22 -0
- package/dist/components/business/SearchContainer/search-container.js +66 -3
- package/dist/components/business/SearchContainer/search-drawer.d.ts +1 -0
- package/dist/components/business/SearchContainer/search-drawer.js +167 -13
- package/dist/components/business/SearchContainer/search-item.js +48 -5
- package/dist/components/business/SearchContainer/search-left.d.ts +8 -0
- package/dist/components/business/SearchContainer/search-left.js +105 -68
- package/dist/components/business/SearchContainer/search-right.d.ts +4 -0
- package/dist/components/business/SearchContainer/search-right.js +62 -5
- package/dist/components/business/SearchContainer/useRecordCommonInit.d.ts +18 -0
- package/dist/components/business/SearchContainer/useRecordCommonInit.js +258 -0
- package/dist/components/business/SearchContainer/useRecordCommonSearch.d.ts +8 -0
- package/dist/components/business/SearchContainer/useRecordCommonSearch.js +145 -0
- package/dist/components/business/SearchContainer/useRecordCommonSearchContext.d.ts +37 -0
- package/dist/components/business/SearchContainer/useRecordCommonSearchContext.js +8 -0
- package/dist/components/business/SearchContainer/useTemplate.d.ts +20 -0
- package/dist/components/business/SearchContainer/useTemplate.js +347 -0
- package/dist/components/business/Signatures/components/AttachOperation.js +7 -6
- package/dist/components/business/Signatures/components/CodeModal.d.ts +3 -0
- package/dist/components/business/Signatures/components/CodeModal.js +157 -0
- package/dist/components/business/Signatures/components/CompareResult.js +7 -6
- package/dist/components/business/Signatures/components/DetailTable.js +37 -34
- package/dist/components/business/Signatures/components/QunjSeal.js +5 -4
- package/dist/components/business/Signatures/components/SealCheckbox.js +3 -2
- package/dist/components/business/Signatures/components/TemplateAttach.js +2 -1
- package/dist/components/business/Signatures/index.js +64 -53
- package/dist/components/business/SortList/sort-drawer.js +5 -4
- package/dist/components/business/Template/index.js +11 -10
- package/dist/components/electron-signatures/content.d.ts +9 -0
- package/dist/components/electron-signatures/content.js +1146 -0
- package/dist/components/electron-signatures/demoComponents/coUseDetail.d.ts +8 -0
- package/dist/components/electron-signatures/demoComponents/coUseDetail.js +255 -0
- package/dist/components/electron-signatures/demoComponents/data.d.ts +58 -0
- package/dist/components/electron-signatures/demoComponents/data.js +1307 -0
- package/dist/components/electron-signatures/demoComponents/detail.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/detail.js +283 -0
- package/dist/components/electron-signatures/demoComponents/index.d.ts +2 -0
- package/dist/components/electron-signatures/demoComponents/index.js +30 -0
- package/dist/components/electron-signatures/demoComponents/jgqrd.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/jgqrd.js +135 -0
- package/dist/components/electron-signatures/demoComponents/making.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/making.js +211 -0
- package/dist/components/electron-signatures/demoComponents/makingData.d.ts +675 -0
- package/dist/components/electron-signatures/demoComponents/makingData.js +1178 -0
- package/dist/components/electron-signatures/demoComponents/newDetail.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/newDetail.js +283 -0
- package/dist/components/electron-signatures/demoComponents/preview.d.ts +3 -0
- package/dist/components/electron-signatures/demoComponents/preview.js +9 -0
- package/dist/components/electron-signatures/demoComponents/singleQjDetail.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/singleQjDetail.js +530 -0
- package/dist/components/electron-signatures/demoComponents/singleQjMaking.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/singleQjMaking.js +219 -0
- package/dist/components/electron-signatures/demoComponents/test.d.ts +6 -0
- package/dist/components/electron-signatures/demoComponents/test.js +119 -0
- package/dist/components/electron-signatures/dgComponents/contract-comparison.d.ts +39 -0
- package/dist/components/electron-signatures/dgComponents/contract-comparison.js +53 -0
- package/dist/components/electron-signatures/dgComponents/file-comparison-btn.d.ts +11 -0
- package/dist/components/electron-signatures/dgComponents/file-comparison-btn.js +180 -0
- package/dist/components/electron-signatures/dgComponents/new-contract-comparison.d.ts +45 -0
- package/dist/components/electron-signatures/dgComponents/new-contract-comparison.js +68 -0
- package/dist/components/electron-signatures/dgComponents/useContractColumns.d.ts +21 -0
- package/dist/components/electron-signatures/dgComponents/useContractColumns.js +171 -0
- package/dist/components/electron-signatures/electron-signatures-fragment.d.ts +8 -0
- package/dist/components/electron-signatures/electron-signatures-fragment.js +392 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-batch-download.d.ts +52 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-batch-download.js +509 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-detail.d.ts +8 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-detail.js +59 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-download.d.ts +16 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-download.js +85 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-firstLevelPerson.d.ts +9 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-firstLevelPerson.js +16 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-item-detail.d.ts +15 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-item-detail.js +16 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-item.d.ts +20 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-item.js +47 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-list.d.ts +11 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-list.js +191 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-personal-sign.d.ts +35 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-personal-sign.js +39 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-setting.d.ts +15 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-setting.js +10 -0
- package/dist/components/electron-signatures/electronComponents/last-qys-modal.d.ts +7 -0
- package/dist/components/electron-signatures/electronComponents/last-qys-modal.js +42 -0
- package/dist/components/electron-signatures/electronComponents/useCheckedSealInfoList.d.ts +3 -0
- package/dist/components/electron-signatures/electronComponents/useCheckedSealInfoList.js +43 -0
- package/dist/components/electron-signatures/electronComponents/useElectronColumns.d.ts +30 -0
- package/dist/components/electron-signatures/electronComponents/useElectronColumns.js +398 -0
- package/dist/components/electron-signatures/electronComponents/useFetchElectronData.d.ts +24 -0
- package/dist/components/electron-signatures/electronComponents/useFetchElectronData.js +254 -0
- package/dist/components/electron-signatures/electronComponents/useGetDeptInfo.d.ts +3 -0
- package/dist/components/electron-signatures/electronComponents/useGetDeptInfo.js +35 -0
- package/dist/components/electron-signatures/fileComponents/file-operation.d.ts +7 -0
- package/dist/components/electron-signatures/fileComponents/file-operation.js +67 -0
- package/dist/components/electron-signatures/fileComponents/file-type-select.d.ts +12 -0
- package/dist/components/electron-signatures/fileComponents/file-type-select.js +10 -0
- package/dist/components/electron-signatures/fileComponents/file-upload.d.ts +11 -0
- package/dist/components/electron-signatures/fileComponents/file-upload.js +146 -0
- package/dist/components/electron-signatures/fileComponents/fileUtils.d.ts +17 -0
- package/dist/components/electron-signatures/fileComponents/fileUtils.js +36 -0
- package/dist/components/electron-signatures/fileComponents/new-file-operation.d.ts +10 -0
- package/dist/components/electron-signatures/fileComponents/new-file-operation.js +73 -0
- package/dist/components/electron-signatures/fileComponents/useFetchFileTypeData.d.ts +13 -0
- package/dist/components/electron-signatures/fileComponents/useFetchFileTypeData.js +43 -0
- package/dist/components/electron-signatures/fileComponents/useFileColumns.d.ts +38 -0
- package/dist/components/electron-signatures/fileComponents/useFileColumns.js +329 -0
- package/dist/components/electron-signatures/fileComponents/useFileTypeColumns.d.ts +19 -0
- package/dist/components/electron-signatures/fileComponents/useFileTypeColumns.js +72 -0
- package/dist/components/electron-signatures/hooks/useGetQjVerifyCode.d.ts +30 -0
- package/dist/components/electron-signatures/hooks/useGetQjVerifyCode.js +132 -0
- package/dist/components/electron-signatures/hooks/useMergeRecords.d.ts +17 -0
- package/dist/components/electron-signatures/hooks/useMergeRecords.js +49 -0
- package/dist/components/electron-signatures/hooks/useParseElectronListData.d.ts +49 -0
- package/dist/components/electron-signatures/hooks/useParseElectronListData.js +111 -0
- package/dist/components/electron-signatures/hooks/useParseElectronSetting.d.ts +111 -0
- package/dist/components/electron-signatures/hooks/useParseElectronSetting.js +436 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedElectronData.d.ts +40 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedElectronData.js +139 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedQunjData.d.ts +36 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedQunjData.js +48 -0
- package/dist/components/electron-signatures/hooks/useParseQunjListData.d.ts +56 -0
- package/dist/components/electron-signatures/hooks/useParseQunjListData.js +204 -0
- package/dist/components/electron-signatures/hooks/useParseQunjSingleData.d.ts +34 -0
- package/dist/components/electron-signatures/hooks/useParseQunjSingleData.js +110 -0
- package/dist/components/electron-signatures/hooks/useParseRecords.d.ts +65 -0
- package/dist/components/electron-signatures/hooks/useParseRecords.js +165 -0
- package/dist/components/electron-signatures/index.d.ts +15 -0
- package/dist/components/electron-signatures/index.js +63 -0
- package/dist/components/electron-signatures/interface.d.ts +865 -0
- package/dist/components/electron-signatures/interface.js +57 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-apply.d.ts +6 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-apply.js +8 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-check.d.ts +21 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-check.js +41 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-detail.d.ts +35 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-detail.js +267 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-list.d.ts +24 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-list.js +355 -0
- package/dist/components/electron-signatures/qunjComponents/useFetchQunjData.d.ts +20 -0
- package/dist/components/electron-signatures/qunjComponents/useFetchQunjData.js +66 -0
- package/dist/components/electron-signatures/qunjComponents/useQunjColumns.d.ts +36 -0
- package/dist/components/electron-signatures/qunjComponents/useQunjColumns.js +321 -0
- package/dist/components/electron-signatures/translateComponents/TranslateButton.d.ts +10 -0
- package/dist/components/electron-signatures/translateComponents/TranslateButton.js +44 -0
- package/dist/components/electron-signatures/translateComponents/useTranslateCom.d.ts +22 -0
- package/dist/components/electron-signatures/translateComponents/useTranslateCom.js +50 -0
- package/dist/components/electron-signatures/utils.d.ts +26 -0
- package/dist/components/electron-signatures/utils.js +67 -0
- package/dist/components/utils/MyStorage.d.ts +36 -0
- package/dist/components/utils/MyStorage.js +120 -0
- package/dist/components/utils/ZtxkContext.d.ts +67 -0
- package/dist/components/utils/ZtxkContext.js +20 -0
- package/dist/components/utils/checkSealCoUse.d.ts +16 -0
- package/dist/components/utils/checkSealCoUse.js +83 -0
- package/dist/components/utils/fetch.d.ts +10 -0
- package/dist/components/utils/fetch.js +119 -0
- package/dist/components/utils/index.d.ts +9 -0
- package/dist/components/utils/index.js +11 -0
- package/dist/components/utils/processNumber.d.ts +12 -0
- package/dist/components/utils/processNumber.js +106 -0
- package/dist/components/utils/upload.js +6 -3
- package/dist/components/utils/useBaseContext.d.ts +23 -0
- package/dist/components/utils/useBaseContext.js +31 -0
- package/dist/components/utils/useMemoizedFn.d.ts +4 -0
- package/dist/components/utils/useMemoizedFn.js +19 -0
- package/dist/components/utils/usePrevious.d.ts +3 -0
- package/dist/components/utils/usePrevious.js +13 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/index.css +2205 -58
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +255 -86
- package/dist/locales/en-US.json +828 -0
- package/dist/locales/zh-CN.json +828 -0
- package/dist/request.js +7 -6
- package/package.json +13 -4
|
@@ -0,0 +1,865 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps } from 'antd';
|
|
3
|
+
/** 附件的字段说明 */
|
|
4
|
+
export interface IFileFieldsName {
|
|
5
|
+
/** 附件id */
|
|
6
|
+
attachId: string;
|
|
7
|
+
/** 附件名 */
|
|
8
|
+
attachName: string;
|
|
9
|
+
/** 上一版附件id */
|
|
10
|
+
oldVersionId: string;
|
|
11
|
+
/** 上一版附件名 */
|
|
12
|
+
oldVersionName: string;
|
|
13
|
+
/** 附件大小 bite */
|
|
14
|
+
attachSize?: string;
|
|
15
|
+
/** 附件类型code */
|
|
16
|
+
attachType?: string;
|
|
17
|
+
/** 附件类型名 */
|
|
18
|
+
attachTypeName?: string;
|
|
19
|
+
/** 是否存入样板 */
|
|
20
|
+
isCustomerReference?: string;
|
|
21
|
+
/** 模板附件id */
|
|
22
|
+
templateAttachId?: string;
|
|
23
|
+
/** 模板附件名 */
|
|
24
|
+
templateAttachName?: string;
|
|
25
|
+
/** 模板附件大小 */
|
|
26
|
+
templateAttachSize?: string;
|
|
27
|
+
/** 比对结果附件id */
|
|
28
|
+
compareAttachId?: string;
|
|
29
|
+
/** 比对结果附件名 */
|
|
30
|
+
compareAttachName?: string;
|
|
31
|
+
/** 比对结果附件大小 */
|
|
32
|
+
compareAttachSize?: string;
|
|
33
|
+
/** 是否添加水印 */
|
|
34
|
+
isWatermark?: string;
|
|
35
|
+
/** 是否加盖电子印章 */
|
|
36
|
+
isElectronicSeal?: string;
|
|
37
|
+
/** 样板号 */
|
|
38
|
+
templateCrNo?: string;
|
|
39
|
+
/** 外部客户产融平台电子印章是否勾选 1表示勾选,0表示未勾选 */
|
|
40
|
+
fmsIsElectronicSeal?: string;
|
|
41
|
+
/** 是否展示外部客户产融平台电子印章勾选框 这个字段需要调用开发自行传入。用来控制是否显示勾选框逻辑 */
|
|
42
|
+
showFmsIsElectronicSeal?: string;
|
|
43
|
+
/** 是否推送银行是否勾选 */
|
|
44
|
+
fmsIsPushBank?: string;
|
|
45
|
+
/** 是否展示推送银行按钮,这个字段也需要开发自行传入 */
|
|
46
|
+
showFmsIsPushBank?: string;
|
|
47
|
+
/** 是否盖户用合同章是否勾选 */
|
|
48
|
+
openingContractSeal?: string;
|
|
49
|
+
/** 是否展示推送银行按钮,这个字段也需要开发自行传入 */
|
|
50
|
+
showOpeningContractSeal?: string;
|
|
51
|
+
/** 双签件 */
|
|
52
|
+
doubleSignedSealInfoDTOList?: string;
|
|
53
|
+
/** 是否添加群杰印章信息 */
|
|
54
|
+
isQunj?: string;
|
|
55
|
+
/** 群杰印章盖章地点 */
|
|
56
|
+
qunjAddress?: string;
|
|
57
|
+
/** 群杰印章信息 */
|
|
58
|
+
qunjSeal?: string;
|
|
59
|
+
/** 是否替换附件 */
|
|
60
|
+
isReplaceFile?: number;
|
|
61
|
+
/** 是否有添加水印的按钮 */
|
|
62
|
+
showAddWater?: boolean;
|
|
63
|
+
/** 是否为重要文件 */
|
|
64
|
+
isImportant?: string;
|
|
65
|
+
}
|
|
66
|
+
declare const FILE_FIELDS_NAME: IFileFieldsName;
|
|
67
|
+
export { FILE_FIELDS_NAME };
|
|
68
|
+
export interface IElectronSignaturesItem {
|
|
69
|
+
/**
|
|
70
|
+
* 相关数据发生改变时的
|
|
71
|
+
* 回调事件
|
|
72
|
+
*/
|
|
73
|
+
onValueChange?: (info: {
|
|
74
|
+
[prop: string]: IChangeValue;
|
|
75
|
+
}) => void;
|
|
76
|
+
/**
|
|
77
|
+
* 附件列表
|
|
78
|
+
*/
|
|
79
|
+
fileList?: IFileItem[];
|
|
80
|
+
/**
|
|
81
|
+
* 附件拆分展示规则
|
|
82
|
+
* 需求:”同一类型“的附件,可能要按业务分开成两行显示
|
|
83
|
+
* 开发需要根据 record 行数据 来判断当前行属于哪个key,哪个name
|
|
84
|
+
*/
|
|
85
|
+
fileSplitRules?: (record: any) => {
|
|
86
|
+
key: string;
|
|
87
|
+
name: string;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* 附件拆分展示规则
|
|
91
|
+
* 如果fileSplitRules 返回了一系列的key,name
|
|
92
|
+
* 这个字段可以传入 ['key1', 'key2', 'key3'] 数据将按这种规则排序展示
|
|
93
|
+
*/
|
|
94
|
+
fileSplitStringRules?: string[];
|
|
95
|
+
/**
|
|
96
|
+
* 当前附件上传时的转换
|
|
97
|
+
*/
|
|
98
|
+
parseCurrentUploadFile?: (record: any) => any;
|
|
99
|
+
/**
|
|
100
|
+
* 附件字段转换规则
|
|
101
|
+
*/
|
|
102
|
+
fileFieldsName?: IFileFieldsName;
|
|
103
|
+
/**
|
|
104
|
+
* 附件类型是否允许修改
|
|
105
|
+
*/
|
|
106
|
+
isAllowedPatchFileType?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* 附件类型字典key值
|
|
109
|
+
*/
|
|
110
|
+
fileTypeKey?: string;
|
|
111
|
+
/**
|
|
112
|
+
* 附件类型 需要排除显示的一些字段
|
|
113
|
+
*/
|
|
114
|
+
fileTypeFilterList?: string[];
|
|
115
|
+
/**
|
|
116
|
+
* 是否使用外部传入的附件类型列表
|
|
117
|
+
*/
|
|
118
|
+
useOutsideFileTypeList?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* 附件类型展示字段 如果传了这个 那么以这个的值优先
|
|
121
|
+
*/
|
|
122
|
+
fileTypeList?: any;
|
|
123
|
+
/**
|
|
124
|
+
* 数据类型(相同类型的数据 会合并起来)
|
|
125
|
+
* 类似指定附件归属的key 一个数据归属是一份数据
|
|
126
|
+
*/
|
|
127
|
+
dataType?: string;
|
|
128
|
+
/**
|
|
129
|
+
* 数据类型的名称 用户指定附件归属的展示名称
|
|
130
|
+
*/
|
|
131
|
+
dataTypeName?: string;
|
|
132
|
+
/**
|
|
133
|
+
* 附件归属是否增加底色
|
|
134
|
+
*/
|
|
135
|
+
isBgColor?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* 是否可以编辑
|
|
138
|
+
* 1 可以编辑
|
|
139
|
+
* 0 不可编辑
|
|
140
|
+
*/
|
|
141
|
+
canEdit?: number;
|
|
142
|
+
/**
|
|
143
|
+
* 是否需要显示达观合同比对功能
|
|
144
|
+
* 1 显示
|
|
145
|
+
* 0 隐藏
|
|
146
|
+
*/
|
|
147
|
+
needDg?: number;
|
|
148
|
+
/**
|
|
149
|
+
* 判断是否显示达观相关组件
|
|
150
|
+
* 业务那边有这种判断 只有附加类型是合同本身时 才显示模板比对功能
|
|
151
|
+
*/
|
|
152
|
+
isShowContractComparsion?: (record: any, records?: any[]) => boolean;
|
|
153
|
+
/**
|
|
154
|
+
* 是否显示群杰印章 盖物理章使用
|
|
155
|
+
* 1 显示
|
|
156
|
+
* 0 隐藏
|
|
157
|
+
*/
|
|
158
|
+
needQj?: number;
|
|
159
|
+
/**
|
|
160
|
+
* 默认是否勾选群杰印章-用印申请
|
|
161
|
+
*/
|
|
162
|
+
isDefaultQunj?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* 群杰印章盖章地点 下拉列表
|
|
165
|
+
*/
|
|
166
|
+
qunjAddressList?: any;
|
|
167
|
+
/**
|
|
168
|
+
* 是否显示群杰印章盖章地点
|
|
169
|
+
*/
|
|
170
|
+
isQunjAddress?: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* 当前选中的群杰印章盖章地址
|
|
173
|
+
*/
|
|
174
|
+
qunjAddress?: any;
|
|
175
|
+
/**
|
|
176
|
+
* 是否显示契约锁电子印章 盖电子章使用
|
|
177
|
+
* 1 显示
|
|
178
|
+
* 0 隐藏
|
|
179
|
+
*/
|
|
180
|
+
needQys?: number;
|
|
181
|
+
/**
|
|
182
|
+
* 已选中的电子印章
|
|
183
|
+
* 回显时使用
|
|
184
|
+
*/
|
|
185
|
+
electronicSealIdList?: string[];
|
|
186
|
+
/** 已选中群杰印章列表 */
|
|
187
|
+
qunjSeal?: IQunjProps;
|
|
188
|
+
/**
|
|
189
|
+
* 已经盖过章的附件id
|
|
190
|
+
* 其实这个应该是可以通过 docAttachMap 这个数据来取到已经盖了章子的附件
|
|
191
|
+
* 用于校验上传的附件是新增还是删除,组件返回这个参数,需要保存,下次调用组件时传入
|
|
192
|
+
*/
|
|
193
|
+
checkAttachIdList?: string[];
|
|
194
|
+
/**
|
|
195
|
+
* 是否默认勾选经济责任人 1为默认勾选 0为不勾选
|
|
196
|
+
*/
|
|
197
|
+
isCheckedEconomic?: number;
|
|
198
|
+
/**
|
|
199
|
+
* 个人签署(手签章)已勾选的用户id列表
|
|
200
|
+
* 回显时使用 组件返回这个参数 需要保存 下次调用组件时传入
|
|
201
|
+
* 最终盖章(final-seal)时也需原样传给后端
|
|
202
|
+
*/
|
|
203
|
+
personalSignUserIds?: Array<number | string>;
|
|
204
|
+
/** 合同id */
|
|
205
|
+
contractId?: string;
|
|
206
|
+
/**
|
|
207
|
+
* 后台用于维护 当前合同id下 附件id(key)与文档id(value)的关系map 后台解绑文档时使用
|
|
208
|
+
*/
|
|
209
|
+
docAttachMap?: any;
|
|
210
|
+
/**
|
|
211
|
+
* 流程ID 这类流程的一个Key值 加上部门id一起 获取当前的电子印章列表
|
|
212
|
+
*/
|
|
213
|
+
flowId?: string;
|
|
214
|
+
/**
|
|
215
|
+
* 流程状态 15 审批中 50 审批完成
|
|
216
|
+
*/
|
|
217
|
+
flowStatus?: any;
|
|
218
|
+
/**
|
|
219
|
+
* 个人签署配置的组织机构类型 1=业务组织机构(默认) 2=行政组织机构 4=人事范围
|
|
220
|
+
* 用于查询个人签署(手签章)配置 不传则后端按默认处理
|
|
221
|
+
*/
|
|
222
|
+
organizationType?: number | string;
|
|
223
|
+
/**
|
|
224
|
+
* 部门ID
|
|
225
|
+
*/
|
|
226
|
+
deptId?: string;
|
|
227
|
+
/**
|
|
228
|
+
* 二级单元ID
|
|
229
|
+
*/
|
|
230
|
+
secondDepId?: string;
|
|
231
|
+
/**
|
|
232
|
+
* 群杰印章查询时替代部门ID参数
|
|
233
|
+
*/
|
|
234
|
+
qunjReplaceDeptId?: string;
|
|
235
|
+
/**
|
|
236
|
+
* 群杰印章列表显示过滤方法
|
|
237
|
+
*/
|
|
238
|
+
qunjListRenderFilter?: (list: any[]) => any[];
|
|
239
|
+
/**
|
|
240
|
+
* 文档id列表
|
|
241
|
+
*/
|
|
242
|
+
documentIdList?: string[];
|
|
243
|
+
/**
|
|
244
|
+
* 点击挑选比对合同 触发事件
|
|
245
|
+
*/
|
|
246
|
+
onCheckedComparison?: (info: any) => void;
|
|
247
|
+
/**
|
|
248
|
+
* 是否显示保存为模板
|
|
249
|
+
*/
|
|
250
|
+
isShowSaveTemplate?: boolean;
|
|
251
|
+
/**
|
|
252
|
+
* 是否显示选择比对模板
|
|
253
|
+
*/
|
|
254
|
+
isShowChioseTemplate?: boolean;
|
|
255
|
+
/** 是否合同本身选择模板做是否必填校验 */
|
|
256
|
+
isChoiseChangeTemplateValid?: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* 公司类型传参,过滤群杰印章列表
|
|
259
|
+
*/
|
|
260
|
+
companyTypes?: string;
|
|
261
|
+
/**
|
|
262
|
+
* 当前数据的流程id。用来获取群杰验证码的。
|
|
263
|
+
*/
|
|
264
|
+
wfProcessInstId?: string;
|
|
265
|
+
/**
|
|
266
|
+
* 能查看当前数据的群杰验证码的用户id列表。
|
|
267
|
+
* 多个用户用逗号隔开
|
|
268
|
+
*/
|
|
269
|
+
verifyUserIds?: string;
|
|
270
|
+
}
|
|
271
|
+
export interface IElectronSignaturesItemPublic {
|
|
272
|
+
/**
|
|
273
|
+
* 前往流程中心用印申请逻辑
|
|
274
|
+
*/
|
|
275
|
+
goWorkflowSeal?: any;
|
|
276
|
+
/**
|
|
277
|
+
* 是否显示用印增加申请
|
|
278
|
+
*/
|
|
279
|
+
isShowSealApply?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* 请求方法
|
|
282
|
+
*/
|
|
283
|
+
request?: any;
|
|
284
|
+
/**
|
|
285
|
+
* 是否给文档添加翻译功能
|
|
286
|
+
*/
|
|
287
|
+
isTranslation?: boolean;
|
|
288
|
+
/**
|
|
289
|
+
* 文档添加翻译功能预览路径
|
|
290
|
+
*/
|
|
291
|
+
previewUrl?: string;
|
|
292
|
+
/**
|
|
293
|
+
* 是否开启非受控模式
|
|
294
|
+
* 一般情况下 非受控模式不传入value即可。如果要显示默认值也可以传入defaultValue
|
|
295
|
+
* 但是这个组件的信息过多,这里可以通过传入一个属性控制是否是非受控
|
|
296
|
+
* 非受控的性能往往更好 我们只需要在合适的时机调用组件提供的方法 获取值即可
|
|
297
|
+
*/
|
|
298
|
+
isUnControlled?: boolean;
|
|
299
|
+
/**
|
|
300
|
+
* 需要显示合同份数的流程id列表
|
|
301
|
+
* 群杰物理章那里 是否需要计算每个印章的用印次数 不能大于合同总份数的 多少倍
|
|
302
|
+
*/
|
|
303
|
+
contractNumFlowIds?: string[];
|
|
304
|
+
/**
|
|
305
|
+
* 上传附件的一些公用配置
|
|
306
|
+
*/
|
|
307
|
+
fileUploadProps?: IFileUploadProps;
|
|
308
|
+
/**
|
|
309
|
+
* 群杰印章是否每个文件都需要选择对应的印章
|
|
310
|
+
*/
|
|
311
|
+
isSingleQj?: boolean;
|
|
312
|
+
/**
|
|
313
|
+
* 默认不显示群杰印章列表,点击 用印时 才弹框显示
|
|
314
|
+
* 默认按这个模式展示
|
|
315
|
+
*/
|
|
316
|
+
isQjUseModal?: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* 当前流程不需要附件水印版,不需要根据部门查公司id
|
|
319
|
+
*/
|
|
320
|
+
isNoWatermarkProcess?: boolean;
|
|
321
|
+
/**
|
|
322
|
+
* 当点击仅需要群杰印章时,是否需要删除所有附件信息?
|
|
323
|
+
* 默认不删除
|
|
324
|
+
*/
|
|
325
|
+
isDeleteAllFileWhenJustUseQj?: boolean;
|
|
326
|
+
/**
|
|
327
|
+
* 当传入了不需要契约锁时,是否显示契约锁列信息
|
|
328
|
+
* 默认也显示
|
|
329
|
+
*/
|
|
330
|
+
isShowQysWhenNeedNotQys?: boolean;
|
|
331
|
+
/**
|
|
332
|
+
* 是否需要契约锁是否由组件内部控制
|
|
333
|
+
* 默认是 true
|
|
334
|
+
* @example 当外部明确知道这个流程不需要契约锁时(切换仅需要群杰、使用契约锁按钮不显示),传递的needQys是0
|
|
335
|
+
* 需要传递这个属性为 false
|
|
336
|
+
* 这个时候。不会显示切换契约锁显示隐藏的按钮
|
|
337
|
+
*/
|
|
338
|
+
isControlNeedQys?: boolean;
|
|
339
|
+
/**
|
|
340
|
+
* 切换契约锁、群杰显示
|
|
341
|
+
* 默认不显示
|
|
342
|
+
*/
|
|
343
|
+
isToggleQys?: boolean;
|
|
344
|
+
/**
|
|
345
|
+
* 默认是否仅显示群杰印章
|
|
346
|
+
* 默认是false
|
|
347
|
+
* @example 如果默认不需要契约锁。但是允许切换显示隐藏
|
|
348
|
+
* 需要传递这个属性 为 true
|
|
349
|
+
* 这个时候,默认不会显示契约锁,但是可以切换显示隐藏显示出来
|
|
350
|
+
* 当然前提是 isControlNeedQys没有配置false
|
|
351
|
+
*/
|
|
352
|
+
defaultJustNeedQj?: boolean;
|
|
353
|
+
/**
|
|
354
|
+
* 是否显示附件归属列
|
|
355
|
+
*/
|
|
356
|
+
isShowFileTypeMerge?: boolean;
|
|
357
|
+
/**
|
|
358
|
+
* 是否显示上传附件按钮
|
|
359
|
+
*/
|
|
360
|
+
isShowFileUpload?: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* 是否显示上传附件按钮-独立性最强 配置了必定显示上传附件按钮
|
|
363
|
+
*/
|
|
364
|
+
isShowFileUploadIndependence?: boolean;
|
|
365
|
+
/**
|
|
366
|
+
* 是否显示批量下载附件原件按钮
|
|
367
|
+
*/
|
|
368
|
+
isShowDownloadBatchBtn?: boolean;
|
|
369
|
+
/**
|
|
370
|
+
* 是否显示批量删除按钮
|
|
371
|
+
*/
|
|
372
|
+
isShowBatchDeleteBtn?: boolean;
|
|
373
|
+
/**
|
|
374
|
+
* 是否显示批量删除按钮-独立性最强 配置了必定显示批量删除按钮
|
|
375
|
+
*/
|
|
376
|
+
isShowBatchDeleteBtnIndependence?: boolean;
|
|
377
|
+
/**
|
|
378
|
+
* 批量删除前的逻辑控制
|
|
379
|
+
*/
|
|
380
|
+
beforeBatchDelete?: (record: any) => boolean;
|
|
381
|
+
/**
|
|
382
|
+
* 是否显示批量预览按钮
|
|
383
|
+
*/
|
|
384
|
+
isShowBatchPreviewBtn?: boolean;
|
|
385
|
+
/**
|
|
386
|
+
* 是否显示文件比对按钮(这个是整体的文件比对)
|
|
387
|
+
*/
|
|
388
|
+
isShowFileComparisonBtn?: boolean;
|
|
389
|
+
/**
|
|
390
|
+
* 是否显示批量使用电子印章(这个组件内部还会判断编辑状态以及该流程是否使用了电子章)
|
|
391
|
+
*/
|
|
392
|
+
isShowBatchUseElectronicSealBtn?: boolean;
|
|
393
|
+
/**
|
|
394
|
+
* 是否显示批量盖户用电子章(这个组件内部还会判断编辑状态以及该流程是否使用了盖户用电子章)
|
|
395
|
+
*/
|
|
396
|
+
isShowBatchUseOpeningContractSealBtn?: boolean;
|
|
397
|
+
/**
|
|
398
|
+
* 批量下载原件的zip包名
|
|
399
|
+
*/
|
|
400
|
+
batchDownloadZipName?: string;
|
|
401
|
+
/**
|
|
402
|
+
* 是否显示批量下载电子签章件按钮
|
|
403
|
+
*/
|
|
404
|
+
isShowElectronBatchBtn?: boolean;
|
|
405
|
+
/**
|
|
406
|
+
* 是否显示批量下载双签件
|
|
407
|
+
*/
|
|
408
|
+
isShowDoubleSignedBatchBtn?: boolean;
|
|
409
|
+
/**
|
|
410
|
+
* 基地址
|
|
411
|
+
*/
|
|
412
|
+
apiBaseUrl?: string;
|
|
413
|
+
/**
|
|
414
|
+
* 附件服务器基地址
|
|
415
|
+
*/
|
|
416
|
+
fileBaseUrl?: string;
|
|
417
|
+
/**
|
|
418
|
+
* 需要盖外部客户电子章吗?如果需要的话 可以更改这个文本内容
|
|
419
|
+
*/
|
|
420
|
+
fmsIsElectronicSealLabel?: string;
|
|
421
|
+
/**
|
|
422
|
+
* 需要推送银行吗?如果需要的话 可以更改这个文本内容
|
|
423
|
+
*/
|
|
424
|
+
fmsIsElectronicSealPushLabel?: string;
|
|
425
|
+
/**
|
|
426
|
+
* 盖户用合同章?如果需要的话,可以更改这个文本内容
|
|
427
|
+
*/
|
|
428
|
+
openingContractSealLabel?: string;
|
|
429
|
+
/** 是否显示附件类型 */
|
|
430
|
+
isShowFileType?: boolean;
|
|
431
|
+
/**
|
|
432
|
+
* 附件类型发生改变时触发的方法
|
|
433
|
+
*/
|
|
434
|
+
onFileTypeChangeGetItem?: (info: any) => any;
|
|
435
|
+
/**
|
|
436
|
+
* 上传时间取值
|
|
437
|
+
*/
|
|
438
|
+
getCreateTimeHand?: (record: any) => any;
|
|
439
|
+
/**
|
|
440
|
+
* 占位符附件数据是否需要删除
|
|
441
|
+
*/
|
|
442
|
+
isDeletePlaceholderFileData?: boolean;
|
|
443
|
+
/**
|
|
444
|
+
* 支持无附件选群杰印章
|
|
445
|
+
*/
|
|
446
|
+
isSupportNoAttachQj?: boolean;
|
|
447
|
+
/**
|
|
448
|
+
* 当前办理事项id????? 外部传入的 暂时没看到从哪里获取到的
|
|
449
|
+
*/
|
|
450
|
+
caseId?: string;
|
|
451
|
+
/**
|
|
452
|
+
* 是否应用 群杰验证码的修改
|
|
453
|
+
*/
|
|
454
|
+
isQjVerifyCode?: boolean;
|
|
455
|
+
/**
|
|
456
|
+
* 是否应用 最新的契约锁组件样式
|
|
457
|
+
*/
|
|
458
|
+
isNewQys?: boolean;
|
|
459
|
+
/**
|
|
460
|
+
* 是否使用新版电子印章展示样式(公司简称分组 + 三段式布局)
|
|
461
|
+
* 未传时取全局 ZtxkContext 中的 isNewElectronSealStyle
|
|
462
|
+
*/
|
|
463
|
+
isNewElectronSealStyle?: boolean;
|
|
464
|
+
/**
|
|
465
|
+
* 是否使用新版群杰印章展示样式(公司分组 + 三段式布局)
|
|
466
|
+
* 未传时取全局 ZtxkContext 中的 isNewQunjSealStyle
|
|
467
|
+
*/
|
|
468
|
+
isNewQunjSealStyle?: boolean;
|
|
469
|
+
/**
|
|
470
|
+
* 是否启用流程印章过滤(调用 legalsealflow/getSeal 过滤电子印章列表)
|
|
471
|
+
* 未传时取全局 ZtxkContext 中的 isFilterLegalSeal,默认 false 不过滤
|
|
472
|
+
*/
|
|
473
|
+
isFilterLegalSeal?: boolean;
|
|
474
|
+
/**
|
|
475
|
+
* 户用合同章显示的逻辑的控制
|
|
476
|
+
*/
|
|
477
|
+
isShowOpeningContractSeal?: (record: any, options: any) => boolean;
|
|
478
|
+
/**
|
|
479
|
+
* 自定义按钮
|
|
480
|
+
*/
|
|
481
|
+
customButtons?: React.ReactNode;
|
|
482
|
+
/**
|
|
483
|
+
* 发起用印申请地点
|
|
484
|
+
*/
|
|
485
|
+
/**
|
|
486
|
+
* 是否添加标为重要复选框
|
|
487
|
+
*/
|
|
488
|
+
isShowImportantCheckbox?: boolean;
|
|
489
|
+
/**
|
|
490
|
+
* 其他列配置
|
|
491
|
+
*/
|
|
492
|
+
otherColumns?: any;
|
|
493
|
+
/**
|
|
494
|
+
* 盖户用电子章与契约锁脱离关系
|
|
495
|
+
*/
|
|
496
|
+
isShowOpeningContractSealNotRelyQys?: boolean;
|
|
497
|
+
}
|
|
498
|
+
export interface IElectronSignaturesProps extends IElectronSignaturesItem, IElectronSignaturesItemPublic {
|
|
499
|
+
/**
|
|
500
|
+
* 多余配置
|
|
501
|
+
*/
|
|
502
|
+
otherOptions?: IElectronSignaturesItem | IElectronSignaturesItem[];
|
|
503
|
+
/**
|
|
504
|
+
* 组件暴露给外部的方法
|
|
505
|
+
*/
|
|
506
|
+
electronHandleRef?: any;
|
|
507
|
+
/**
|
|
508
|
+
* 最终校验通过的回调
|
|
509
|
+
*/
|
|
510
|
+
isValidateSuccess?: any;
|
|
511
|
+
/** 刷新验证码权限 */
|
|
512
|
+
refreshCode?: boolean;
|
|
513
|
+
/**
|
|
514
|
+
* 表格的scroll配置
|
|
515
|
+
*/
|
|
516
|
+
tableScroll?: any;
|
|
517
|
+
/** 电子章下载流程状态 */
|
|
518
|
+
sealDownloadFlowStatus?: any;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* 这个是遍历传入props 后 生成的一些属性、方法
|
|
522
|
+
* 每个数据类型都会对应一系列的属性、方法
|
|
523
|
+
*/
|
|
524
|
+
export interface ITrackItem {
|
|
525
|
+
/** 当前印章列表数据 */
|
|
526
|
+
electronList?: any;
|
|
527
|
+
/** 当前经济责任人(一级责任人)数据 */
|
|
528
|
+
firstLevelPersonName?: any;
|
|
529
|
+
/** 群杰物理章列表数据 */
|
|
530
|
+
qunjList?: any;
|
|
531
|
+
/** 当前选中的群杰数据 */
|
|
532
|
+
currentQunjSeal?: IQunjProps;
|
|
533
|
+
/** 群杰数据发生改变触发的回调 */
|
|
534
|
+
onQunjSealChange?: (info: IQunjProps) => void;
|
|
535
|
+
/** 是否显示合同份数。目前是通过流程id来做判断的(采购合同 销售合同 双边合同 部门间交易合同 需要展示合同份数 其他的不需要) */
|
|
536
|
+
isContranctNum?: boolean;
|
|
537
|
+
/**
|
|
538
|
+
* 群杰印章盖章地点 下拉列表
|
|
539
|
+
*/
|
|
540
|
+
qunjAddressList?: IElectronSignaturesItem['qunjAddressList'];
|
|
541
|
+
/** 当前选中的电子印章数据 */
|
|
542
|
+
currentCheckedElectronicSealIdList?: any;
|
|
543
|
+
/** 电子印章更改时触发 */
|
|
544
|
+
onElectronicSealIdChange?: any;
|
|
545
|
+
/** 当前是否需要经济责任人(一级责任人) */
|
|
546
|
+
currentIsCheckedEconomic?: any;
|
|
547
|
+
/** 经济责任人(一级责任人)是否选中更改时触发 */
|
|
548
|
+
onCheckedEconomicChange?: any;
|
|
549
|
+
/** 当前的附件列表数据 */
|
|
550
|
+
records?: IFileItem[];
|
|
551
|
+
/** 设置当前附件列表数据 */
|
|
552
|
+
setRecords?: any;
|
|
553
|
+
/** 字段对应表 */
|
|
554
|
+
fileFieldsNameRef?: {
|
|
555
|
+
current: IFileFieldsName;
|
|
556
|
+
};
|
|
557
|
+
/** 附件拆分规则 */
|
|
558
|
+
fileSplitRules?: IElectronSignaturesItem['fileSplitRules'];
|
|
559
|
+
/** 附件拆分排序规则 */
|
|
560
|
+
fileSplitStringRules?: IElectronSignaturesItem['fileSplitStringRules'];
|
|
561
|
+
parseCurrentUploadFile?: IElectronSignaturesItem['parseCurrentUploadFile'];
|
|
562
|
+
/** 是否仅选中群杰 */
|
|
563
|
+
isQunjOnlyChecked?: boolean;
|
|
564
|
+
setIsQunjOnlyChecked?: any;
|
|
565
|
+
onClearElectronListData?: any;
|
|
566
|
+
onClearElectronSetting?: any;
|
|
567
|
+
/** 是否能编辑 */
|
|
568
|
+
isEdit?: boolean;
|
|
569
|
+
/** 是否需要契约锁 */
|
|
570
|
+
needQys?: boolean;
|
|
571
|
+
/** 是否需要群杰 */
|
|
572
|
+
needQj?: boolean;
|
|
573
|
+
/** 是否需要达观 */
|
|
574
|
+
needDg?: boolean;
|
|
575
|
+
/** 是否需要达观相关操作,默认附件类型如果是合同本身 需要 */
|
|
576
|
+
isShowContractComparsionHandle?: any;
|
|
577
|
+
/** 是否勾选群杰印章-用印申请 */
|
|
578
|
+
qunjChecked?: boolean;
|
|
579
|
+
/** 切换是否勾选群杰印章-用印申请 */
|
|
580
|
+
setQunjChecked?: (c: boolean) => void;
|
|
581
|
+
/** 当前选中的群杰印章盖章地址 */
|
|
582
|
+
currentQunjAddress?: IElectronSignaturesItem['qunjAddress'];
|
|
583
|
+
/** 群杰印章盖章地址 改变触发 */
|
|
584
|
+
onQunjAddressChange?: any;
|
|
585
|
+
/** 是否显示群杰印章盖章地点 */
|
|
586
|
+
isQunjAddress?: boolean;
|
|
587
|
+
/** 是否盖群杰章 */
|
|
588
|
+
onIsStampQunjChange?: any;
|
|
589
|
+
/** 群杰数据发生改变触发的回调 */
|
|
590
|
+
onQunjAddressSingleChange?: (data: any, index: number, qunjSeal?: any) => void;
|
|
591
|
+
onQunjSealSingleChange?: (info: IQunjProps, index: number) => void;
|
|
592
|
+
/** 是否加盖电子印章 */
|
|
593
|
+
onIsStampElectronChange?: any;
|
|
594
|
+
/** 清空契约锁数据 */
|
|
595
|
+
clearAllElectronDataHandler?: any;
|
|
596
|
+
/** 当前附件列表中是否有数据选择了加盖电子印章 */
|
|
597
|
+
isStampElectron?: boolean;
|
|
598
|
+
/** 当前合同id数据 */
|
|
599
|
+
currentContractId?: any;
|
|
600
|
+
/** 当前合同id下 附件与文档的关联关系 */
|
|
601
|
+
currentDocAttachMap?: any;
|
|
602
|
+
/** 当前文档列表数据 */
|
|
603
|
+
currentDocumentIdList?: any;
|
|
604
|
+
/** 指定签署位置方法 */
|
|
605
|
+
appointSignLocation?: IAppointSignLocationHandle;
|
|
606
|
+
/** 预览盖章效果 */
|
|
607
|
+
viewSignPage?: any;
|
|
608
|
+
/** 查询未确认盖章位置的印章信息列表 */
|
|
609
|
+
checkUnStampedSealList?: any;
|
|
610
|
+
/** 未确认盖章信息的电子印章列表 */
|
|
611
|
+
unElectronicSealList?: any;
|
|
612
|
+
/** 未确认盖章信息的电子印章id列表 */
|
|
613
|
+
unElectronicSealIdList?: any;
|
|
614
|
+
/** 数据类型的名称 用户指定附件归属的展示名称 */
|
|
615
|
+
dataTypeName?: IElectronSignaturesItem['dataTypeName'];
|
|
616
|
+
/**
|
|
617
|
+
* 附件类型列表数据
|
|
618
|
+
*/
|
|
619
|
+
fileTypeFetchList?: any;
|
|
620
|
+
/** 是否允许修改附件类型 */
|
|
621
|
+
isAllowedPatchFileType?: IElectronSignaturesItem['isAllowedPatchFileType'];
|
|
622
|
+
/**
|
|
623
|
+
* 基地址
|
|
624
|
+
*/
|
|
625
|
+
apiBaseUrl?: IElectronSignaturesItemPublic['apiBaseUrl'];
|
|
626
|
+
/**
|
|
627
|
+
* 附件服务器基地址
|
|
628
|
+
*/
|
|
629
|
+
fileBaseUrl?: IElectronSignaturesItemPublic['fileBaseUrl'];
|
|
630
|
+
/**
|
|
631
|
+
* 点击签署位置 实时记录点击时的印章列表
|
|
632
|
+
*/
|
|
633
|
+
clickElectronicSealIdList?: string[];
|
|
634
|
+
/** 附件类型是否显示背景颜色 */
|
|
635
|
+
isBgColor?: boolean;
|
|
636
|
+
/**
|
|
637
|
+
* 是否显示保存为模板
|
|
638
|
+
*/
|
|
639
|
+
isShowSaveTemplate?: IElectronSignaturesItem['isShowSaveTemplate'];
|
|
640
|
+
/**
|
|
641
|
+
* 是否显示选择比对模板
|
|
642
|
+
*/
|
|
643
|
+
isShowChioseTemplate?: IElectronSignaturesItem['isShowChioseTemplate'];
|
|
644
|
+
/**
|
|
645
|
+
* 流程状态
|
|
646
|
+
*/
|
|
647
|
+
flowStatus?: IElectronSignaturesItem['flowStatus'];
|
|
648
|
+
/**
|
|
649
|
+
* 当前数据的流程id。用来获取群杰验证码的。
|
|
650
|
+
*/
|
|
651
|
+
wfProcessInstId?: string;
|
|
652
|
+
/**
|
|
653
|
+
* 能查看当前数据的群杰验证码的用户id列表。
|
|
654
|
+
* 多个用户用逗号隔开
|
|
655
|
+
*/
|
|
656
|
+
verifyUserIds?: string;
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
*/
|
|
660
|
+
[prop: string]: any;
|
|
661
|
+
}
|
|
662
|
+
export interface ITrackAllData {
|
|
663
|
+
[prop: string]: ITrackItem;
|
|
664
|
+
}
|
|
665
|
+
export interface IAppointSignLocationOptions {
|
|
666
|
+
callback?: any;
|
|
667
|
+
otherParams?: {
|
|
668
|
+
needYjzrr?: boolean;
|
|
669
|
+
[prop: string]: any;
|
|
670
|
+
};
|
|
671
|
+
/** 是否检测未盖章的印章 */
|
|
672
|
+
isCheckUnStampedSeal?: boolean;
|
|
673
|
+
/** 指定签署位置文本提示 */
|
|
674
|
+
spinningTip?: string;
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* 指定签署位置方法
|
|
678
|
+
*/
|
|
679
|
+
export interface IAppointSignLocationHandle {
|
|
680
|
+
(option?: IAppointSignLocationOptions): void;
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* 群杰选中数据相关类型
|
|
684
|
+
*/
|
|
685
|
+
export interface IQunjProps {
|
|
686
|
+
/**
|
|
687
|
+
* 群杰验证码
|
|
688
|
+
*/
|
|
689
|
+
code?: string;
|
|
690
|
+
/**
|
|
691
|
+
* 群杰验证码
|
|
692
|
+
*/
|
|
693
|
+
vertifyCode?: number;
|
|
694
|
+
/**
|
|
695
|
+
* 合同份数
|
|
696
|
+
*/
|
|
697
|
+
contranctNum?: number | null;
|
|
698
|
+
/**
|
|
699
|
+
* 用印方式 0 内部用印 1 外部用印
|
|
700
|
+
*/
|
|
701
|
+
isTakeOut?: number;
|
|
702
|
+
/** 已选印章 */
|
|
703
|
+
details?: ICheckQunjItemProps[];
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* 已选中的印章数据类型
|
|
707
|
+
*/
|
|
708
|
+
export interface ICheckQunjItemProps {
|
|
709
|
+
/** 印章名称 */
|
|
710
|
+
sealName?: string;
|
|
711
|
+
/** 印章编码 */
|
|
712
|
+
sealNo: string;
|
|
713
|
+
/** 该印章的用印次数 */
|
|
714
|
+
sealCount?: number;
|
|
715
|
+
/** 暂时不知道什么意思 可能是后台用于区别的类型 */
|
|
716
|
+
areaType?: number;
|
|
717
|
+
[prop: string]: any;
|
|
718
|
+
}
|
|
719
|
+
/** 回调触发的类型 */
|
|
720
|
+
export interface IChangeValue {
|
|
721
|
+
/** 当前选中的电子印章列表 */
|
|
722
|
+
electronicSealIdList?: string[];
|
|
723
|
+
/**
|
|
724
|
+
* 点击指定签署位置后 记录一次当前选中的电子印章数据
|
|
725
|
+
* 后续做校验的时候 需要比对一下 点击时 跟当前选中时的电子印章是否一致
|
|
726
|
+
*/
|
|
727
|
+
clickElectronicSealIdList?: string[];
|
|
728
|
+
/** 经济责任人是否选中 */
|
|
729
|
+
isCheckedEconomic?: boolean;
|
|
730
|
+
/** 合同ID */
|
|
731
|
+
contractId?: IElectronSignaturesItem['contractId'];
|
|
732
|
+
/** 后台用于维护当前合同id下附件id(key)与文档id(value)的关系map 后台解绑文档时使用 */
|
|
733
|
+
docAttachMap?: IElectronSignaturesItem['docAttachMap'];
|
|
734
|
+
/** 文档id 列表 */
|
|
735
|
+
documentIdList?: IElectronSignaturesItem['documentIdList'];
|
|
736
|
+
/** 当前盖过章的附件列表 */
|
|
737
|
+
checkAttachIdList?: IElectronSignaturesItem['checkAttachIdList'];
|
|
738
|
+
fileList?: any;
|
|
739
|
+
/** 当前群杰印章相关数据 */
|
|
740
|
+
qunjSeal?: IElectronSignaturesItem['qunjSeal'];
|
|
741
|
+
/** 当前群杰盖章地点发生改变 */
|
|
742
|
+
qunjAddress?: IElectronSignaturesItem['qunjAddress'];
|
|
743
|
+
/** 合同份数是否合理 */
|
|
744
|
+
qunjCountIsValidate?: boolean;
|
|
745
|
+
}
|
|
746
|
+
export interface IFileItem {
|
|
747
|
+
/** 附件id */
|
|
748
|
+
attachId: string;
|
|
749
|
+
/** 附件名 */
|
|
750
|
+
attachName: string;
|
|
751
|
+
/** 附件大小 bite */
|
|
752
|
+
attachSize?: number;
|
|
753
|
+
/** 附件类型code */
|
|
754
|
+
attachType?: string;
|
|
755
|
+
/** 附件类型名 */
|
|
756
|
+
attachTypeName?: string;
|
|
757
|
+
/** 是否存入样板 */
|
|
758
|
+
isCustomerReference?: number;
|
|
759
|
+
/** 是否显示保存为模板 */
|
|
760
|
+
isHideSaveCustomerReference?: boolean;
|
|
761
|
+
/** 是否显示选择比对模板 */
|
|
762
|
+
isHideChoiseChangeTemplate?: boolean;
|
|
763
|
+
/** 模板附件id */
|
|
764
|
+
templateAttachId?: string;
|
|
765
|
+
/** 模板附件名 */
|
|
766
|
+
templateAttachName?: string;
|
|
767
|
+
/** 模板附件大小 */
|
|
768
|
+
templateAttachSize?: string;
|
|
769
|
+
/** 比对结果附件id */
|
|
770
|
+
compareAttachId?: string;
|
|
771
|
+
/** 比对结果附件名 */
|
|
772
|
+
compareAttachName?: string;
|
|
773
|
+
/** 比对结果附件大小 */
|
|
774
|
+
compareAttachSize?: string;
|
|
775
|
+
/** 是否添加水印 */
|
|
776
|
+
isWatermark?: number;
|
|
777
|
+
/** 是否加盖电子印章 */
|
|
778
|
+
isElectronicSeal?: number;
|
|
779
|
+
/** 样板号 */
|
|
780
|
+
templateCrNo?: string;
|
|
781
|
+
/** 外部客户产融平台电子印章 */
|
|
782
|
+
fmsIsElectronicSeal?: any;
|
|
783
|
+
/** 是否展示外部客户产融平台电子印章勾选框 */
|
|
784
|
+
showFmsIsElectronicSeal?: any;
|
|
785
|
+
/** 双签件 */
|
|
786
|
+
doubleSignedSealInfoDTOList?: any;
|
|
787
|
+
[prop: string]: any;
|
|
788
|
+
}
|
|
789
|
+
export interface IFileUploadProps {
|
|
790
|
+
/** 上传地址 */
|
|
791
|
+
action?: string;
|
|
792
|
+
/** 最大支持上传的文件大小 单位字节 */
|
|
793
|
+
maxSize?: number;
|
|
794
|
+
/** 基地址 */
|
|
795
|
+
apiBaseUrl?: string;
|
|
796
|
+
/** 需要传递的头部参数 */
|
|
797
|
+
headers?: any;
|
|
798
|
+
/** 需要传递的额外参数 */
|
|
799
|
+
data?: any;
|
|
800
|
+
/** 是否上传到外网 */
|
|
801
|
+
isPublic?: boolean;
|
|
802
|
+
/** 附件上传需要支持的附件列表 */
|
|
803
|
+
acceptList?: string[];
|
|
804
|
+
/** 自定义上传前验证 */
|
|
805
|
+
beforeUpload?: any;
|
|
806
|
+
/** 不允许同名附件 */
|
|
807
|
+
disAllowDuplicateFile?: boolean;
|
|
808
|
+
fileList?: any;
|
|
809
|
+
/** 附件发生改变时触发 */
|
|
810
|
+
onFileChange?: any;
|
|
811
|
+
children?: React.ReactNode;
|
|
812
|
+
multiple?: boolean;
|
|
813
|
+
type?: ButtonProps['type'];
|
|
814
|
+
}
|
|
815
|
+
export interface IFileOperationProps {
|
|
816
|
+
/**附件名称 */
|
|
817
|
+
fileName?: string;
|
|
818
|
+
fileId?: string;
|
|
819
|
+
preFileId?: string;
|
|
820
|
+
preFileName?: string;
|
|
821
|
+
records?: any;
|
|
822
|
+
/** 是否有下载的权限 */
|
|
823
|
+
isDownload?: boolean;
|
|
824
|
+
/** 是否有预览的权限 */
|
|
825
|
+
isPreview?: boolean;
|
|
826
|
+
/** 是否有删除的权限 */
|
|
827
|
+
isDelete?: boolean;
|
|
828
|
+
/** 当前编辑状态 */
|
|
829
|
+
isEdit?: boolean;
|
|
830
|
+
/** 是否添加水印 */
|
|
831
|
+
isWater?: boolean;
|
|
832
|
+
/**
|
|
833
|
+
* 基地址
|
|
834
|
+
*/
|
|
835
|
+
apiBaseUrl?: IElectronSignaturesItemPublic['apiBaseUrl'];
|
|
836
|
+
/**
|
|
837
|
+
* 附件服务器基地址
|
|
838
|
+
*/
|
|
839
|
+
fileBaseUrl?: IElectronSignaturesItemPublic['fileBaseUrl'];
|
|
840
|
+
/** 删除附件触发 */
|
|
841
|
+
onDelete?: any;
|
|
842
|
+
/** 切换添加水印触发 */
|
|
843
|
+
onWatermarkChange?: any;
|
|
844
|
+
/** 公司id */
|
|
845
|
+
organizationId?: string;
|
|
846
|
+
/** 是否替换附件 */
|
|
847
|
+
isReplaceFile?: boolean;
|
|
848
|
+
/** 所有附件 */
|
|
849
|
+
fileList?: IFileItem[];
|
|
850
|
+
/** 替换文件回调 */
|
|
851
|
+
onFileReplace?: any;
|
|
852
|
+
/** 是否有添加水印的按钮 */
|
|
853
|
+
showAddWater?: boolean;
|
|
854
|
+
isTranslation?: boolean;
|
|
855
|
+
request?: any;
|
|
856
|
+
previewUrl?: string;
|
|
857
|
+
record?: any;
|
|
858
|
+
realIndex?: number;
|
|
859
|
+
setRecords?: any;
|
|
860
|
+
isNeedDg?: boolean;
|
|
861
|
+
/** 切换是否标记重要 */
|
|
862
|
+
onImportantChange?: any;
|
|
863
|
+
/** 是否重要 */
|
|
864
|
+
isImportant?: boolean;
|
|
865
|
+
}
|