zmdms-webui 2.3.2 → 2.3.4
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/es/alert/alert.d.ts +5 -0
- package/dist/es/alert/index.css +1 -0
- package/dist/es/alert/index.d.ts +5 -0
- package/dist/es/alert/interface.d.ts +14 -0
- package/dist/es/applayout/appLayout.d.ts +11 -0
- package/dist/es/applayout/index.css +1 -0
- package/dist/es/applayout/index.d.ts +5 -0
- package/dist/es/applayoutheader/appLayoutHeader.d.ts +16 -0
- package/dist/es/applayoutheader/index.d.ts +5 -0
- package/dist/es/applayoutsider/appLayoutSider.d.ts +57 -0
- package/dist/es/applayoutsider/index.d.ts +5 -0
- package/dist/es/authloading/authLoading.d.ts +5 -0
- package/dist/es/authloading/index.css +1 -0
- package/dist/es/authloading/index.d.ts +5 -0
- package/dist/es/button/button.d.ts +5 -0
- package/dist/es/button/buttonDownload.d.ts +25 -0
- package/dist/es/button/buttonExport.d.ts +15 -0
- package/dist/es/button/buttonFullScreen.d.ts +9 -0
- package/dist/es/button/buttonPreview.d.ts +26 -0
- package/dist/es/button/index.css +1 -0
- package/dist/es/button/index.d.ts +5 -0
- package/dist/es/button/interface.d.ts +34 -0
- package/dist/es/calendar/index.d.ts +7 -0
- package/dist/es/canvastable/canvasTable.d.ts +6 -0
- package/dist/es/canvastable/canvasTable.js +29 -25
- package/dist/es/canvastable/components/ColumnDynamic.js +3 -1
- package/dist/es/canvastable/hooks/useAutoHeight.js +67 -0
- package/dist/es/canvastable/hooks/useHeaderHeight.js +1 -1
- package/dist/es/canvastable/hooks/useOverlays.js +7 -7
- package/dist/es/canvastable/hooks/usePopovers.js +1 -0
- package/dist/es/canvastable/hooks/useProcessedColumns.js +5 -3
- package/dist/es/canvastable/hooks/useScroll.js +1 -0
- package/dist/es/canvastable/hooks/useSummaryRow.js +32 -19
- package/dist/es/canvastable/hooks/useTableInteraction.js +3 -2
- package/dist/es/canvastable/hooks/useTableRender.js +14 -11
- package/dist/es/canvastable/hooks/useTableState.js +1 -0
- package/dist/es/canvastable/index.css +1 -0
- package/dist/es/canvastable/index.d.ts +5 -0
- package/dist/es/canvastable/interface.d.ts +399 -0
- package/dist/es/canvastable/utils/cellHelpers.js +5 -5
- package/dist/es/canvastable/utils/constants.js +2 -2
- package/dist/es/canvastable/utils/formatHelpers.js +4 -25
- package/dist/es/cascader/index.css +1 -0
- package/dist/es/collapse/collapse.d.ts +7 -0
- package/dist/es/collapse/index.css +1 -0
- package/dist/es/collapse/index.d.ts +5 -0
- package/dist/es/collapse/interface.d.ts +25 -0
- package/dist/es/config/ZtxkContext.d.ts +32 -0
- package/dist/es/container/container.d.ts +51 -0
- package/dist/es/container/index.css +1 -0
- package/dist/es/container/index.d.ts +5 -0
- package/dist/es/datepicker/index.css +1 -0
- package/dist/es/datepicker/index.d.ts +48 -0
- package/dist/es/datepicker/interface.d.ts +56 -0
- package/dist/es/descriptions/descriptions.d.ts +5 -0
- package/dist/es/descriptions/index.css +1 -0
- package/dist/es/descriptions/index.d.ts +5 -0
- package/dist/es/descriptions/interface.d.ts +12 -0
- package/dist/es/detaillist/index.css +1 -0
- package/dist/es/detaillist/index.d.ts +5 -0
- package/dist/es/detaillist/item.d.ts +35 -0
- package/dist/es/detaillist/list.d.ts +17 -0
- package/dist/es/differences/differences.d.ts +5 -0
- package/dist/es/differences/index.css +1 -0
- package/dist/es/differences/index.d.ts +5 -0
- package/dist/es/differences/interface.d.ts +17 -0
- package/dist/es/dynamicsetting/dynamicSetting.d.ts +6 -0
- package/dist/es/dynamicsetting/index.css +1 -0
- package/dist/es/dynamicsetting/index.d.ts +5 -0
- package/dist/es/dynamicsetting/interface.d.ts +43 -0
- package/dist/es/electronsignatures/index.css +1 -0
- package/dist/es/electronsignatures/index.d.ts +6 -0
- package/dist/es/electronsignatures/interface.d.ts +500 -0
- package/dist/es/enhanceselect/enhance-select.d.ts +6 -0
- package/dist/es/enhanceselect/index.d.ts +5 -0
- package/dist/es/enhanceselect/interface.d.ts +71 -0
- package/dist/es/footer/footer.d.ts +6 -0
- package/dist/es/footer/index.css +1 -0
- package/dist/es/footer/index.d.ts +5 -0
- package/dist/es/footer/interface.d.ts +34 -0
- package/dist/es/form/form.d.ts +18 -0
- package/dist/es/form/index.css +1 -0
- package/dist/es/form/index.d.ts +5 -0
- package/dist/es/form/interface.d.ts +91 -0
- package/dist/es/formitem/formItem.d.ts +115 -0
- package/dist/es/formitem/index.css +1 -0
- package/dist/es/formitem/index.d.ts +5 -0
- package/dist/es/icon/icon-oss.d.ts +6 -0
- package/dist/es/icon/index.d.ts +6 -0
- package/dist/es/input/TextArea.d.ts +13 -0
- package/dist/es/input/index.css +1 -0
- package/dist/es/input/index.d.ts +5 -0
- package/dist/es/input/input.d.ts +23 -0
- package/dist/es/inputnumber/index.css +1 -0
- package/dist/es/inputnumber/index.d.ts +5 -0
- package/dist/es/inputnumber/inputNumber.d.ts +28 -0
- package/dist/es/inputnumber/interface.d.ts +4 -0
- package/dist/es/leftcontent/index.css +1 -0
- package/dist/es/leftcontent/index.d.ts +5 -0
- package/dist/es/leftcontent/leftContent.d.ts +31 -0
- package/dist/es/login/index.css +1 -0
- package/dist/es/login/index.d.ts +37 -0
- package/dist/es/message/index.css +1 -0
- package/dist/es/message/index.d.ts +5 -0
- package/dist/es/microloading/index.css +1 -0
- package/dist/es/microloading/index.d.ts +5 -0
- package/dist/es/microloading/micro-loading.d.ts +8 -0
- package/dist/es/modal/index.css +1 -0
- package/dist/es/modal/index.d.ts +5 -0
- package/dist/es/modal/interface.d.ts +91 -0
- package/dist/es/modal/modal.d.ts +5 -0
- package/dist/es/notauthpage/index.css +0 -0
- package/dist/es/notauthpage/index.d.ts +5 -0
- package/dist/es/notauthpage/notAuthPage.d.ts +8 -0
- package/dist/es/notroutepage/index.css +0 -0
- package/dist/es/notroutepage/index.d.ts +5 -0
- package/dist/es/notroutepage/notRoutePage.d.ts +8 -0
- package/dist/es/operationbtn/index.d.ts +5 -0
- package/dist/es/operationbtn/interface.d.ts +34 -0
- package/dist/es/operationbtn/operationBtn.d.ts +6 -0
- package/dist/es/pagination/index.css +1 -0
- package/dist/es/pagination/index.d.ts +5 -0
- package/dist/es/pagination/pagination.d.ts +8 -0
- package/dist/es/placeholder/index.css +1 -0
- package/dist/es/placeholder/index.d.ts +5 -0
- package/dist/es/placeholder/interface.d.ts +12 -0
- package/dist/es/placeholder/placeholder.d.ts +5 -0
- package/dist/es/print/index.css +1 -0
- package/dist/es/print/index.d.ts +5 -0
- package/dist/es/print/interface.d.ts +69 -0
- package/dist/es/print/print-page.d.ts +6 -0
- package/dist/es/print/print.d.ts +5 -0
- package/dist/es/protectedroute/index.d.ts +24 -0
- package/dist/es/select/hooks.d.ts +16 -0
- package/dist/es/select/index.css +1 -0
- package/dist/es/select/index.d.ts +5 -0
- package/dist/es/select/interface.d.ts +82 -0
- package/dist/es/select/select-render.d.ts +31 -0
- package/dist/es/select/select.d.ts +5 -0
- package/dist/es/sortable/index.d.ts +5 -0
- package/dist/es/sortable/sortable-item.d.ts +14 -0
- package/dist/es/sortable/sortable.d.ts +13 -0
- package/dist/es/suspensecomponent/index.d.ts +10 -0
- package/dist/es/table/components/Badge.d.ts +24 -0
- package/dist/es/table/components/TitleDirectionColumn.d.ts +11 -0
- package/dist/es/table/constant.d.ts +3 -0
- package/dist/es/table/index.css +1 -0
- package/dist/es/table/index.d.ts +5 -0
- package/dist/es/table/interface.d.ts +613 -0
- package/dist/es/table/table.d.ts +11 -0
- package/dist/es/tabs/index.css +1 -0
- package/dist/es/tabs/index.d.ts +5 -0
- package/dist/es/tabs/interface.d.ts +52 -0
- package/dist/es/tabs/tabs.d.ts +5 -0
- package/dist/es/tag/index.css +1 -0
- package/dist/es/tag/index.d.ts +5 -0
- package/dist/es/tag/interface.d.ts +9 -0
- package/dist/es/tag/tag.d.ts +5 -0
- package/dist/es/timepicker/index.d.ts +19 -0
- package/dist/es/title/index.css +1 -0
- package/dist/es/title/index.d.ts +5 -0
- package/dist/es/title/interface.d.ts +35 -0
- package/dist/es/title/title.d.ts +5 -0
- package/dist/es/tree/index.css +1 -0
- package/dist/es/tree/index.d.ts +5 -0
- package/dist/es/tree/interface.d.ts +44 -0
- package/dist/es/tree/tree.d.ts +5 -0
- package/dist/es/treeselect/index.css +1 -0
- package/dist/es/treeselect/index.d.ts +5 -0
- package/dist/es/treeselect/interface.d.ts +32 -0
- package/dist/es/treeselect/treeSelect.d.ts +5 -0
- package/dist/es/uploadlist/index.css +1 -0
- package/dist/es/uploadlist/index.d.ts +5 -0
- package/dist/es/uploadlist/interface.d.ts +113 -0
- package/dist/es/uploadlist/uploadList.d.ts +5 -0
- package/dist/es/watermark/index.css +1 -0
- package/dist/es/watermark/index.d.ts +5 -0
- package/dist/es/watermark/interface.d.ts +23 -0
- package/dist/es/watermark/watermark.d.ts +5 -0
- package/dist/es/zttransfer/index.css +1 -0
- package/dist/es/zttransfer/index.d.ts +5 -0
- package/dist/es/zttransfer/interface.d.ts +38 -0
- package/dist/es/zttransfer/zt-transfer.d.ts +6 -0
- package/dist/index.build.d.ts +69 -0
- package/dist/index.dark.css +2 -0
- package/dist/index.default.css +2 -0
- package/dist/index.es.css +1 -1
- package/dist/less/components/Alert/style/index.less +53 -0
- package/dist/less/components/Alert/style/style.less +4 -0
- package/dist/less/components/AppLayout/style/index.less +546 -0
- package/dist/less/components/AppLayout/style/style.less +2 -0
- package/dist/less/components/AppLayout/style.less +5 -0
- package/dist/less/components/AuthLoading/style/index.less +15 -0
- package/dist/less/components/AuthLoading/style/style.less +2 -0
- package/dist/less/components/Button/style/index.less +160 -0
- package/dist/less/components/Button/style/style.less +5 -0
- package/dist/less/components/CanvasTable/style/index.less +104 -0
- package/dist/less/components/CanvasTable/style/style.less +1 -0
- package/dist/less/components/Cascader/style/index.less +9 -0
- package/dist/less/components/Cascader/style/style.less +2 -0
- package/dist/less/components/Collapse/style/index.less +117 -0
- package/dist/less/components/Collapse/style/style.less +2 -0
- package/dist/less/components/Container/style/index.less +64 -0
- package/dist/less/components/Container/style/style.less +2 -0
- package/dist/less/components/DatePicker/style/index.less +7 -0
- package/dist/less/components/DatePicker/style/style.less +4 -0
- package/dist/less/components/Descriptions/style/index.less +32 -0
- package/dist/less/components/Descriptions/style/style.less +5 -0
- package/dist/less/components/DetailList/style/index.less +105 -0
- package/dist/less/components/DetailList/style/style.less +2 -0
- package/dist/less/components/Differences/style/index.less +5 -0
- package/dist/less/components/Differences/style/style.less +2 -0
- package/dist/less/components/DynamicSetting/style/index.less +96 -0
- package/dist/less/components/DynamicSetting/style/style.less +2 -0
- package/dist/less/components/ElectronSignatures/style/index.less +331 -0
- package/dist/less/components/ElectronSignatures/style/style.less +1 -0
- package/dist/less/components/Footer/style/index.less +28 -0
- package/dist/less/components/Footer/style/style.less +2 -0
- package/dist/less/components/Form/style/index.less +150 -0
- package/dist/less/components/Form/style/style.less +5 -0
- package/dist/less/components/FormItem/style/index.less +456 -0
- package/dist/less/components/FormItem/style/style.less +2 -0
- package/dist/less/components/Input/style/index.less +15 -0
- package/dist/less/components/Input/style/style.less +4 -0
- package/dist/less/components/InputNumber/style/index.less +30 -0
- package/dist/less/components/InputNumber/style/style.less +4 -0
- package/dist/less/components/LeftContent/style/index.less +62 -0
- package/dist/less/components/LeftContent/style/style.less +2 -0
- package/dist/less/components/Login/style/index.less +63 -0
- package/dist/less/components/Login/style/style.less +2 -0
- package/dist/less/components/Message/style/index.less +19 -0
- package/dist/less/components/Message/style/style.less +2 -0
- package/dist/less/components/MicroLoading/style/index.less +15 -0
- package/dist/less/components/MicroLoading/style/style.less +2 -0
- package/dist/less/components/Modal/style/index.less +43 -0
- package/dist/less/components/Modal/style/style.less +2 -0
- package/dist/less/components/NotAuthPage/style/index.less +0 -0
- package/dist/less/components/NotAuthPage/style/style.less +2 -0
- package/dist/less/components/NotRoutePage/style/index.less +0 -0
- package/dist/less/components/NotRoutePage/style/style.less +2 -0
- package/dist/less/components/Pagination/style/index.less +107 -0
- package/dist/less/components/Pagination/style/style.less +5 -0
- package/dist/less/components/Placeholder/style/index.less +3 -0
- package/dist/less/components/Placeholder/style/style.less +2 -0
- package/dist/less/components/Print/style/index.less +65 -0
- package/dist/less/components/Print/style/style.less +3 -0
- package/dist/less/components/Select/style/index.less +55 -0
- package/dist/less/components/Select/style/style.less +4 -0
- package/dist/less/components/Table/style/index.less +362 -0
- package/dist/less/components/Table/style/style.less +4 -0
- package/dist/less/components/Tabs/style/index.less +118 -0
- package/dist/less/components/Tabs/style/style.less +4 -0
- package/dist/less/components/Tag/style/index.less +3 -0
- package/dist/less/components/Tag/style/style.less +4 -0
- package/dist/less/components/Title/style/index.less +54 -0
- package/dist/less/components/Title/style/style.less +2 -0
- package/dist/less/components/Tree/style/index.less +58 -0
- package/dist/less/components/Tree/style/style.less +4 -0
- package/dist/less/components/TreeSelect/style/index.less +0 -0
- package/dist/less/components/TreeSelect/style/style.less +4 -0
- package/dist/less/components/UploadList/style/index.less +61 -0
- package/dist/less/components/UploadList/style/style.less +4 -0
- package/dist/less/components/Watermark/style/index.less +7 -0
- package/dist/less/components/Watermark/style/style.less +3 -0
- package/dist/less/components/ZtTransfer/style/index.less +136 -0
- package/dist/less/components/ZtTransfer/style/style.less +2 -0
- package/dist/less/styles/default.less +100 -0
- package/dist/less/styles/index.less +88 -0
- package/dist/less/styles/reset.less +189 -0
- package/package.json +1 -1
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
import { ButtonProps } from 'antd';
|
|
2
|
+
|
|
3
|
+
/** 附件的字段说明 */
|
|
4
|
+
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
|
+
/** 外部客户产融平台电子印章 */
|
|
40
|
+
fmsIsElectronicSeal?: string;
|
|
41
|
+
/** 是否展示外部客户产融平台电子印章勾选框 */
|
|
42
|
+
showFmsIsElectronicSeal?: string;
|
|
43
|
+
showFmsIsPushBank?: string;
|
|
44
|
+
/** 双签件 */
|
|
45
|
+
doubleSignedSealInfoDTOList?: string;
|
|
46
|
+
/** 是否推送银行 */
|
|
47
|
+
fmsIsPushBank?: string;
|
|
48
|
+
/** 是否添加群杰印章信息 */
|
|
49
|
+
isQunj?: string;
|
|
50
|
+
/** 群杰印章盖章地点 */
|
|
51
|
+
qunjAddress?: string;
|
|
52
|
+
/** 群杰印章信息 */
|
|
53
|
+
qunjSeal?: string;
|
|
54
|
+
/** 是否替换附件 */
|
|
55
|
+
isReplaceFile?: number;
|
|
56
|
+
}
|
|
57
|
+
interface IElectronSignaturesItem {
|
|
58
|
+
/**
|
|
59
|
+
* 相关数据发生改变时的
|
|
60
|
+
* 回调事件
|
|
61
|
+
*/
|
|
62
|
+
onValueChange?: (info: {
|
|
63
|
+
[prop: string]: IChangeValue;
|
|
64
|
+
}) => void;
|
|
65
|
+
/**
|
|
66
|
+
* 附件列表
|
|
67
|
+
*/
|
|
68
|
+
fileList?: IFileItem[];
|
|
69
|
+
/**
|
|
70
|
+
* 附件拆分展示规则
|
|
71
|
+
* 需求:”同一类型“的附件,可能要按业务分开成两行显示
|
|
72
|
+
* 开发需要根据 record 行数据 来判断当前行属于哪个key,哪个name
|
|
73
|
+
*/
|
|
74
|
+
fileSplitRules?: (record: any) => {
|
|
75
|
+
key: string;
|
|
76
|
+
name: string;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* 附件拆分展示规则
|
|
80
|
+
* 如果fileSplitRules 返回了一系列的key,name
|
|
81
|
+
* 这个字段可以传入 ['key1', 'key2', 'key3'] 数据将按这种规则排序展示
|
|
82
|
+
*/
|
|
83
|
+
fileSplitStringRules?: string[];
|
|
84
|
+
/**
|
|
85
|
+
* 当前附件上传时的转换
|
|
86
|
+
*/
|
|
87
|
+
parseCurrentUploadFile?: (record: any) => any;
|
|
88
|
+
/**
|
|
89
|
+
* 附件字段转换规则
|
|
90
|
+
*/
|
|
91
|
+
fileFieldsName?: IFileFieldsName;
|
|
92
|
+
/**
|
|
93
|
+
* 附件类型是否允许修改
|
|
94
|
+
*/
|
|
95
|
+
isAllowedPatchFileType?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* 附件类型字典key值
|
|
98
|
+
*/
|
|
99
|
+
fileTypeKey?: string;
|
|
100
|
+
/**
|
|
101
|
+
* 附件类型 需要排除显示的一些字段
|
|
102
|
+
*/
|
|
103
|
+
fileTypeFilterList?: string[];
|
|
104
|
+
/**
|
|
105
|
+
* 是否使用外部传入的附件类型列表
|
|
106
|
+
*/
|
|
107
|
+
useOutsideFileTypeList?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* 附件类型展示字段 如果传了这个 那么以这个的值优先
|
|
110
|
+
*/
|
|
111
|
+
fileTypeList?: any;
|
|
112
|
+
/**
|
|
113
|
+
* 数据类型(相同类型的数据 会合并起来)
|
|
114
|
+
* 类似指定附件归属的key 一个数据归属是一份数据
|
|
115
|
+
*/
|
|
116
|
+
dataType?: string;
|
|
117
|
+
/**
|
|
118
|
+
* 数据类型的名称 用户指定附件归属的展示名称
|
|
119
|
+
*/
|
|
120
|
+
dataTypeName?: string;
|
|
121
|
+
/**
|
|
122
|
+
* 附件归属是否增加底色
|
|
123
|
+
*/
|
|
124
|
+
isBgColor?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* 是否可以编辑
|
|
127
|
+
* 1 可以编辑
|
|
128
|
+
* 0 不可编辑
|
|
129
|
+
*/
|
|
130
|
+
canEdit?: number;
|
|
131
|
+
/**
|
|
132
|
+
* 是否需要显示达观合同比对功能
|
|
133
|
+
* 1 显示
|
|
134
|
+
* 0 隐藏
|
|
135
|
+
*/
|
|
136
|
+
needDg?: number;
|
|
137
|
+
/**
|
|
138
|
+
* 判断是否显示达观相关组件
|
|
139
|
+
* 业务那边有这种判断 只有附加类型是合同本身时 才显示模板比对功能
|
|
140
|
+
*/
|
|
141
|
+
isShowContractComparsion?: (record: any, records?: any[]) => boolean;
|
|
142
|
+
/**
|
|
143
|
+
* 是否显示群杰印章 盖物理章使用
|
|
144
|
+
* 1 显示
|
|
145
|
+
* 0 隐藏
|
|
146
|
+
*/
|
|
147
|
+
needQj?: number;
|
|
148
|
+
/**
|
|
149
|
+
* 默认是否勾选群杰印章-用印申请
|
|
150
|
+
*/
|
|
151
|
+
isDefaultQunj?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* 群杰印章盖章地点 下拉列表
|
|
154
|
+
*/
|
|
155
|
+
qunjAddressList?: any;
|
|
156
|
+
/**
|
|
157
|
+
* 是否显示群杰印章盖章地点
|
|
158
|
+
*/
|
|
159
|
+
isQunjAddress?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* 当前选中的群杰印章盖章地址
|
|
162
|
+
*/
|
|
163
|
+
qunjAddress?: any;
|
|
164
|
+
/**
|
|
165
|
+
* 是否显示契约锁电子印章 盖电子章使用
|
|
166
|
+
* 1 显示
|
|
167
|
+
* 0 隐藏
|
|
168
|
+
*/
|
|
169
|
+
needQys?: number;
|
|
170
|
+
/**
|
|
171
|
+
* 已选中的电子印章
|
|
172
|
+
* 回显时使用
|
|
173
|
+
*/
|
|
174
|
+
electronicSealIdList?: string[];
|
|
175
|
+
/** 已选中群杰印章列表 */
|
|
176
|
+
qunjSeal?: IQunjProps;
|
|
177
|
+
/**
|
|
178
|
+
* 已经盖过章的附件id
|
|
179
|
+
* 其实这个应该是可以通过 docAttachMap 这个数据来取到已经盖了章子的附件
|
|
180
|
+
* 用于校验上传的附件是新增还是删除,组件返回这个参数,需要保存,下次调用组件时传入
|
|
181
|
+
*/
|
|
182
|
+
checkAttachIdList?: string[];
|
|
183
|
+
/**
|
|
184
|
+
* 是否默认勾选经济责任人 1为默认勾选 0为不勾选
|
|
185
|
+
*/
|
|
186
|
+
isCheckedEconomic?: number;
|
|
187
|
+
/** 合同id */
|
|
188
|
+
contractId?: string;
|
|
189
|
+
/**
|
|
190
|
+
* 后台用于维护 当前合同id下 附件id(key)与文档id(value)的关系map 后台解绑文档时使用
|
|
191
|
+
*/
|
|
192
|
+
docAttachMap?: any;
|
|
193
|
+
/**
|
|
194
|
+
* 流程ID 这类流程的一个Key值 加上部门id一起 获取当前的电子印章列表
|
|
195
|
+
*/
|
|
196
|
+
flowId?: string;
|
|
197
|
+
/**
|
|
198
|
+
* 流程状态 15 审批中 50 审批完成
|
|
199
|
+
*/
|
|
200
|
+
flowStatus?: any;
|
|
201
|
+
/**
|
|
202
|
+
* 部门ID
|
|
203
|
+
*/
|
|
204
|
+
deptId?: string;
|
|
205
|
+
/**
|
|
206
|
+
* 文档id列表
|
|
207
|
+
*/
|
|
208
|
+
documentIdList?: string[];
|
|
209
|
+
/**
|
|
210
|
+
* 点击挑选比对合同 触发事件
|
|
211
|
+
*/
|
|
212
|
+
onCheckedComparison?: (info: any) => void;
|
|
213
|
+
/**
|
|
214
|
+
* 是否显示保存为模板
|
|
215
|
+
*/
|
|
216
|
+
isShowSaveTemplate?: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* 是否显示选择比对模板
|
|
219
|
+
*/
|
|
220
|
+
isShowChioseTemplate?: boolean;
|
|
221
|
+
/**
|
|
222
|
+
* 公司类型传参,过滤群杰印章列表
|
|
223
|
+
*/
|
|
224
|
+
companyTypes?: string;
|
|
225
|
+
}
|
|
226
|
+
interface IElectronSignaturesItemPublic {
|
|
227
|
+
/**
|
|
228
|
+
* 请求方法
|
|
229
|
+
*/
|
|
230
|
+
request?: any;
|
|
231
|
+
/**
|
|
232
|
+
* 是否开启非受控模式
|
|
233
|
+
* 一般情况下 非受控模式不传入value即可。如果要显示默认值也可以传入defaultValue
|
|
234
|
+
* 但是这个组件的信息过多,这里可以通过传入一个属性控制是否是非受控
|
|
235
|
+
* 非受控的性能往往更好 我们只需要在合适的时机调用组件提供的方法 获取值即可
|
|
236
|
+
*/
|
|
237
|
+
isUnControlled?: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* 需要显示合同份数的流程id列表
|
|
240
|
+
* 群杰物理章那里 是否需要计算每个印章的用印次数 不能大于合同总份数的 多少倍
|
|
241
|
+
*/
|
|
242
|
+
contractNumFlowIds?: string[];
|
|
243
|
+
/**
|
|
244
|
+
* 上传附件的一些公用配置
|
|
245
|
+
*/
|
|
246
|
+
fileUploadProps?: IFileUploadProps;
|
|
247
|
+
/**
|
|
248
|
+
* 群杰印章是否每个文件都需要选择对应的印章
|
|
249
|
+
*/
|
|
250
|
+
isSingleQj?: boolean;
|
|
251
|
+
/**
|
|
252
|
+
* 默认不显示群杰印章列表,点击 用印时 才弹框显示
|
|
253
|
+
* 默认按这个模式展示
|
|
254
|
+
*/
|
|
255
|
+
isQjUseModal?: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* 当点击仅需要群杰印章时,是否需要删除所有附件信息?
|
|
258
|
+
* 默认不删除
|
|
259
|
+
*/
|
|
260
|
+
isDeleteAllFileWhenJustUseQj?: boolean;
|
|
261
|
+
/**
|
|
262
|
+
* 当传入了不需要契约锁时,是否显示契约锁列信息
|
|
263
|
+
* 默认也显示
|
|
264
|
+
*/
|
|
265
|
+
isShowQysWhenNeedNotQys?: boolean;
|
|
266
|
+
/**
|
|
267
|
+
* 是否需要契约锁是否由组件内部控制
|
|
268
|
+
* 默认是 true
|
|
269
|
+
* @example 当外部明确知道这个流程不需要契约锁时(切换仅需要群杰、使用契约锁按钮不显示),传递的needQys是0
|
|
270
|
+
* 需要传递这个属性为 false
|
|
271
|
+
* 这个时候。不会显示切换契约锁显示隐藏的按钮
|
|
272
|
+
*/
|
|
273
|
+
isControlNeedQys?: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* 默认是否仅显示群杰印章
|
|
276
|
+
* 默认是false
|
|
277
|
+
* @example 如果默认不需要契约锁。但是允许切换显示隐藏
|
|
278
|
+
* 需要传递这个属性 为 true
|
|
279
|
+
* 这个时候,默认不会显示契约锁,但是可以切换显示隐藏显示出来
|
|
280
|
+
* 当然前提是 isControlNeedQys没有配置false
|
|
281
|
+
*/
|
|
282
|
+
defaultJustNeedQj?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* 是否显示附件归属列
|
|
285
|
+
*/
|
|
286
|
+
isShowFileTypeMerge?: boolean;
|
|
287
|
+
/**
|
|
288
|
+
* 是否显示上传附件按钮
|
|
289
|
+
*/
|
|
290
|
+
isShowFileUpload?: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* 是否显示批量下载附件原件按钮
|
|
293
|
+
*/
|
|
294
|
+
isShowDownloadBatchBtn?: boolean;
|
|
295
|
+
/**
|
|
296
|
+
* 是否显示批量删除按钮
|
|
297
|
+
*/
|
|
298
|
+
isShowBatchDeleteBtn?: boolean;
|
|
299
|
+
/**
|
|
300
|
+
* 批量下载原件的zip包名
|
|
301
|
+
*/
|
|
302
|
+
batchDownloadZipName?: string;
|
|
303
|
+
/**
|
|
304
|
+
* 是否显示批量下载电子签章件按钮
|
|
305
|
+
*/
|
|
306
|
+
isShowElectronBatchBtn?: boolean;
|
|
307
|
+
/**
|
|
308
|
+
* 是否显示批量下载双签件
|
|
309
|
+
*/
|
|
310
|
+
isShowDoubleSignedBatchBtn?: boolean;
|
|
311
|
+
/**
|
|
312
|
+
* 基地址
|
|
313
|
+
*/
|
|
314
|
+
apiBaseUrl?: string;
|
|
315
|
+
/**
|
|
316
|
+
* 附件服务器基地址
|
|
317
|
+
*/
|
|
318
|
+
fileBaseUrl?: string;
|
|
319
|
+
/**
|
|
320
|
+
* 需要盖外部客户电子章吗?如果需要的话 可以更改这个文本内容
|
|
321
|
+
*/
|
|
322
|
+
fmsIsElectronicSealLabel?: string;
|
|
323
|
+
/**
|
|
324
|
+
* 需要推送银行妈?如果需要的话 可以更改这个文本内容
|
|
325
|
+
*/
|
|
326
|
+
fmsIsElectronicSealPushLabel?: string;
|
|
327
|
+
/** 是否显示附件类型 */
|
|
328
|
+
isShowFileType?: boolean;
|
|
329
|
+
/**
|
|
330
|
+
* 附件类型发生改变时触发的方法
|
|
331
|
+
*/
|
|
332
|
+
onFileTypeChangeGetItem?: (info: any) => any;
|
|
333
|
+
/**
|
|
334
|
+
* 上传时间取值
|
|
335
|
+
*/
|
|
336
|
+
getCreateTimeHand?: (record: any) => any;
|
|
337
|
+
/**
|
|
338
|
+
* 占位符附件数据是否需要删除
|
|
339
|
+
*/
|
|
340
|
+
isDeletePlaceholderFileData?: boolean;
|
|
341
|
+
/**
|
|
342
|
+
* 当前办理事项id????? 外部传入的 暂时没看到从哪里获取到的
|
|
343
|
+
*/
|
|
344
|
+
caseId?: string;
|
|
345
|
+
}
|
|
346
|
+
interface IElectronSignaturesProps extends IElectronSignaturesItem, IElectronSignaturesItemPublic {
|
|
347
|
+
/**
|
|
348
|
+
* 多余配置
|
|
349
|
+
*/
|
|
350
|
+
otherOptions?: IElectronSignaturesItem | IElectronSignaturesItem[];
|
|
351
|
+
/**
|
|
352
|
+
* 组件暴露给外部的方法
|
|
353
|
+
*/
|
|
354
|
+
electronHandleRef?: any;
|
|
355
|
+
/**
|
|
356
|
+
* 最终校验通过的回调
|
|
357
|
+
*/
|
|
358
|
+
isValidateSuccess?: any;
|
|
359
|
+
/** 刷新验证码权限 */
|
|
360
|
+
refreshCode?: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* 表格的scroll配置
|
|
363
|
+
*/
|
|
364
|
+
tableScroll?: any;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* 群杰选中数据相关类型
|
|
368
|
+
*/
|
|
369
|
+
interface IQunjProps {
|
|
370
|
+
/**
|
|
371
|
+
* 群杰验证码
|
|
372
|
+
*/
|
|
373
|
+
code?: string;
|
|
374
|
+
/**
|
|
375
|
+
* 群杰验证码
|
|
376
|
+
*/
|
|
377
|
+
vertifyCode?: number;
|
|
378
|
+
/**
|
|
379
|
+
* 合同份数
|
|
380
|
+
*/
|
|
381
|
+
contranctNum?: number | null;
|
|
382
|
+
/**
|
|
383
|
+
* 用印方式 0 内部用印 1 外部用印
|
|
384
|
+
*/
|
|
385
|
+
isTakeOut?: number;
|
|
386
|
+
/** 已选印章 */
|
|
387
|
+
details?: ICheckQunjItemProps[];
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* 已选中的印章数据类型
|
|
391
|
+
*/
|
|
392
|
+
interface ICheckQunjItemProps {
|
|
393
|
+
/** 印章名称 */
|
|
394
|
+
sealName?: string;
|
|
395
|
+
/** 印章编码 */
|
|
396
|
+
sealNo: string;
|
|
397
|
+
/** 该印章的用印次数 */
|
|
398
|
+
sealCount?: number;
|
|
399
|
+
/** 暂时不知道什么意思 可能是后台用于区别的类型 */
|
|
400
|
+
areaType?: number;
|
|
401
|
+
[prop: string]: any;
|
|
402
|
+
}
|
|
403
|
+
/** 回调触发的类型 */
|
|
404
|
+
interface IChangeValue {
|
|
405
|
+
/** 当前选中的电子印章列表 */
|
|
406
|
+
electronicSealIdList?: string[];
|
|
407
|
+
/**
|
|
408
|
+
* 点击指定签署位置后 记录一次当前选中的电子印章数据
|
|
409
|
+
* 后续做校验的时候 需要比对一下 点击时 跟当前选中时的电子印章是否一致
|
|
410
|
+
*/
|
|
411
|
+
clickElectronicSealIdList?: string[];
|
|
412
|
+
/** 经济责任人是否选中 */
|
|
413
|
+
isCheckedEconomic?: boolean;
|
|
414
|
+
/** 合同ID */
|
|
415
|
+
contractId?: IElectronSignaturesItem['contractId'];
|
|
416
|
+
/** 后台用于维护当前合同id下附件id(key)与文档id(value)的关系map 后台解绑文档时使用 */
|
|
417
|
+
docAttachMap?: IElectronSignaturesItem['docAttachMap'];
|
|
418
|
+
/** 文档id 列表 */
|
|
419
|
+
documentIdList?: IElectronSignaturesItem['documentIdList'];
|
|
420
|
+
/** 当前盖过章的附件列表 */
|
|
421
|
+
checkAttachIdList?: IElectronSignaturesItem['checkAttachIdList'];
|
|
422
|
+
fileList?: any;
|
|
423
|
+
/** 当前群杰印章相关数据 */
|
|
424
|
+
qunjSeal?: IElectronSignaturesItem['qunjSeal'];
|
|
425
|
+
/** 当前群杰盖章地点发生改变 */
|
|
426
|
+
qunjAddress?: IElectronSignaturesItem['qunjAddress'];
|
|
427
|
+
/** 合同份数是否合理 */
|
|
428
|
+
qunjCountIsValidate?: boolean;
|
|
429
|
+
}
|
|
430
|
+
interface IFileItem {
|
|
431
|
+
/** 附件id */
|
|
432
|
+
attachId: string;
|
|
433
|
+
/** 附件名 */
|
|
434
|
+
attachName: string;
|
|
435
|
+
/** 附件大小 bite */
|
|
436
|
+
attachSize?: number;
|
|
437
|
+
/** 附件类型code */
|
|
438
|
+
attachType?: string;
|
|
439
|
+
/** 附件类型名 */
|
|
440
|
+
attachTypeName?: string;
|
|
441
|
+
/** 是否存入样板 */
|
|
442
|
+
isCustomerReference?: number;
|
|
443
|
+
/** 是否显示保存为模板 */
|
|
444
|
+
isHideSaveCustomerReference?: boolean;
|
|
445
|
+
/** 是否显示选择比对模板 */
|
|
446
|
+
isHideChoiseChangeTemplate?: boolean;
|
|
447
|
+
/** 模板附件id */
|
|
448
|
+
templateAttachId?: string;
|
|
449
|
+
/** 模板附件名 */
|
|
450
|
+
templateAttachName?: string;
|
|
451
|
+
/** 模板附件大小 */
|
|
452
|
+
templateAttachSize?: string;
|
|
453
|
+
/** 比对结果附件id */
|
|
454
|
+
compareAttachId?: string;
|
|
455
|
+
/** 比对结果附件名 */
|
|
456
|
+
compareAttachName?: string;
|
|
457
|
+
/** 比对结果附件大小 */
|
|
458
|
+
compareAttachSize?: string;
|
|
459
|
+
/** 是否添加水印 */
|
|
460
|
+
isWatermark?: number;
|
|
461
|
+
/** 是否加盖电子印章 */
|
|
462
|
+
isElectronicSeal?: number;
|
|
463
|
+
/** 样板号 */
|
|
464
|
+
templateCrNo?: string;
|
|
465
|
+
/** 外部客户产融平台电子印章 */
|
|
466
|
+
fmsIsElectronicSeal?: any;
|
|
467
|
+
/** 是否展示外部客户产融平台电子印章勾选框 */
|
|
468
|
+
showFmsIsElectronicSeal?: any;
|
|
469
|
+
/** 双签件 */
|
|
470
|
+
doubleSignedSealInfoDTOList?: any;
|
|
471
|
+
[prop: string]: any;
|
|
472
|
+
}
|
|
473
|
+
interface IFileUploadProps {
|
|
474
|
+
/** 上传地址 */
|
|
475
|
+
action?: string;
|
|
476
|
+
/** 最大支持上传的文件大小 单位字节 */
|
|
477
|
+
maxSize?: number;
|
|
478
|
+
/** 基地址 */
|
|
479
|
+
apiBaseUrl?: string;
|
|
480
|
+
/** 需要传递的头部参数 */
|
|
481
|
+
headers?: any;
|
|
482
|
+
/** 需要传递的额外参数 */
|
|
483
|
+
data?: any;
|
|
484
|
+
/** 是否上传到外网 */
|
|
485
|
+
isPublic?: boolean;
|
|
486
|
+
/** 附件上传需要支持的附件列表 */
|
|
487
|
+
acceptList?: string[];
|
|
488
|
+
/** 自定义上传前验证 */
|
|
489
|
+
beforeUpload?: any;
|
|
490
|
+
/** 不允许同名附件 */
|
|
491
|
+
disAllowDuplicateFile?: boolean;
|
|
492
|
+
fileList?: any;
|
|
493
|
+
/** 附件发生改变时触发 */
|
|
494
|
+
onFileChange?: any;
|
|
495
|
+
children?: React.ReactNode;
|
|
496
|
+
multiple?: boolean;
|
|
497
|
+
type?: ButtonProps['type'];
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export { IChangeValue, ICheckQunjItemProps, IElectronSignaturesItem, IElectronSignaturesItemPublic, IElectronSignaturesProps, IFileFieldsName, IFileItem, IFileUploadProps, IQunjProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { IEnhanceSelectProps } from './interface.js';
|
|
3
|
+
|
|
4
|
+
declare const MemoEnhanceSelect: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<IEnhanceSelectProps & React__default.RefAttributes<unknown>>>;
|
|
5
|
+
|
|
6
|
+
export { MemoEnhanceSelect as default };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ISelectProps } from '../select/interface.js';
|
|
2
|
+
|
|
3
|
+
interface IEnhanceSelectProps extends ISelectProps {
|
|
4
|
+
/**
|
|
5
|
+
* 发送请求的方法(同axios),通常业务那边会封装一个代理的request方法,可以通过context获取,不是必传
|
|
6
|
+
*/
|
|
7
|
+
request?: any;
|
|
8
|
+
/**
|
|
9
|
+
* 接口请求地址。接口返回的数据,组件支持接口数据返回两种模式
|
|
10
|
+
* 一种是 { ..., data: [] }
|
|
11
|
+
* 另一种是分页的模式 { ..., records: [], total: xx, size: xx, current: xx }
|
|
12
|
+
*/
|
|
13
|
+
url?: string;
|
|
14
|
+
/**
|
|
15
|
+
* 接口请求参数。
|
|
16
|
+
*/
|
|
17
|
+
params?: any;
|
|
18
|
+
/**
|
|
19
|
+
* 请求类型
|
|
20
|
+
*/
|
|
21
|
+
method?: string;
|
|
22
|
+
/**
|
|
23
|
+
* 超时时间 单位毫秒 默认2分钟
|
|
24
|
+
* @default 120000
|
|
25
|
+
*/
|
|
26
|
+
timeout?: number;
|
|
27
|
+
/**
|
|
28
|
+
* 数据是否缓存。对于那些不分页的接口,默认是缓存数据的。
|
|
29
|
+
* 分页的接口,默认是不缓存数据的。
|
|
30
|
+
*/
|
|
31
|
+
isCache?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* 转换数据的方法。
|
|
34
|
+
* 接受接口返回的数据,返回一个数组。可以直接给下拉框使用的数组。
|
|
35
|
+
* 组件有默认实现:分页接口、不分页接口的转换。
|
|
36
|
+
* 如果接口返回的数据,跟默认有冲突,需要自定义转换方法。
|
|
37
|
+
* 如果是不分页接口:返回的数据是一个数组即可
|
|
38
|
+
* 如果是分页接口:返回的格式按照 { current: number, size: number, total: number, records: any[] }; 这种格式
|
|
39
|
+
* 大多数情况下,是按中拓这边的分页接口处理数据的,所以不需要做其他处理。除非特殊情况
|
|
40
|
+
*/
|
|
41
|
+
transformData?: (data: any) => any;
|
|
42
|
+
/**
|
|
43
|
+
* 对于那些分页接口,数据回显的时候会有一个问题。因为组件默认只会加载第一页数据,但是用户选择的时候,可能数据并不是第一页的。
|
|
44
|
+
* 这就会导致回显的时候,数据比对不上,显示一个id。
|
|
45
|
+
* 这里的做法是,通过当前选中的值,再首次加载的时候去根据id去请求数据。
|
|
46
|
+
* 查询的key是什么?默认会去 dataKey,如果你的逐渐查询不是dataKey,可以自定义。
|
|
47
|
+
* 有一个更好的方法,就是分页接口额外加一个参数,这个参数来传入主键的值。
|
|
48
|
+
* 后端查询的时候,把这个参数和状态值一起查询,不额外添加参数。查询到后,直接追加到分页的数据中。
|
|
49
|
+
* 这样做的一个好处就是,即使是第一次,也能查到应有的数据。
|
|
50
|
+
* 但是,这个方法需要后端配合。
|
|
51
|
+
*/
|
|
52
|
+
firstLoadDataKey?: string;
|
|
53
|
+
/**
|
|
54
|
+
* 接口是否分页
|
|
55
|
+
*/
|
|
56
|
+
isPage?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* 每页多少条 默认每页50条
|
|
59
|
+
*/
|
|
60
|
+
pageSize?: number;
|
|
61
|
+
/**
|
|
62
|
+
* 远程搜索的key值。默认会采用titleKey作为搜索的key值。也可以是指定的值
|
|
63
|
+
*/
|
|
64
|
+
remoteSearchKey?: string;
|
|
65
|
+
/**
|
|
66
|
+
* 哪些查询参数有值,才进行查询
|
|
67
|
+
*/
|
|
68
|
+
mustQueryKeys?: string | string[];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export { IEnhanceSelectProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ztxk-footer{background-color:#fff;height:40px;padding-left:10px;z-index:20}.ztxk-footer,.ztxk-footer .ztxk-footer--group{align-items:center;display:flex}.ztxk-footer .ztxk-footer--group .ztxk-pagination,.ztxk-footer .ztxk-footer--group>button{margin-right:10px}.ztxk-footer .ztxk-footer--group>button:last-child{margin-right:0}.ztxk-footer .footer-pagination{color:#000000a6}.ztxk-footer .footer-pagination>span{color:#4285f4;padding:0 2px}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ButtonType } from 'antd/lib/button';
|
|
2
|
+
|
|
3
|
+
interface IPagination {
|
|
4
|
+
total: number;
|
|
5
|
+
pageSize: number;
|
|
6
|
+
current: number;
|
|
7
|
+
onChange: (page: number, pageSize: number | undefined) => void;
|
|
8
|
+
onShowSizeChange?: (current: number, size: number) => void;
|
|
9
|
+
pageSizeOptions?: any;
|
|
10
|
+
}
|
|
11
|
+
interface IBtn {
|
|
12
|
+
type?: ButtonType;
|
|
13
|
+
text: React.ReactNode;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
onClick: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
17
|
+
}
|
|
18
|
+
interface IDropdown {
|
|
19
|
+
text: string;
|
|
20
|
+
overlay: any;
|
|
21
|
+
}
|
|
22
|
+
interface IFooterDom extends Partial<IPagination & IBtn & IDropdown> {
|
|
23
|
+
DOMType?: "button" | "pagination" | "dropdown";
|
|
24
|
+
render?: () => React.ReactElement;
|
|
25
|
+
align?: "left" | "right";
|
|
26
|
+
}
|
|
27
|
+
interface IFooterProps {
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
className?: string;
|
|
30
|
+
align?: "left" | "center" | "right";
|
|
31
|
+
footerDom?: IFooterDom[] | null;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { IFooterDom, IFooterProps };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { Form } from 'antd';
|
|
3
|
+
import { IProFormProps } from './interface.js';
|
|
4
|
+
|
|
5
|
+
interface FormComponent extends React__default.ForwardRefExoticComponent<IProFormProps & React__default.RefAttributes<unknown>> {
|
|
6
|
+
useForm: typeof Form.useForm;
|
|
7
|
+
Item: typeof Form.Item;
|
|
8
|
+
List: typeof Form.List;
|
|
9
|
+
ErrorList: typeof Form.ErrorList;
|
|
10
|
+
Provider: typeof Form.Provider;
|
|
11
|
+
useFormInstance: typeof Form.useFormInstance;
|
|
12
|
+
useWatch: typeof Form.useWatch;
|
|
13
|
+
DefaultDom: any;
|
|
14
|
+
ItemTipDom: any;
|
|
15
|
+
}
|
|
16
|
+
declare const MemoForm: FormComponent;
|
|
17
|
+
|
|
18
|
+
export { MemoForm as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ant-form-item .ant-input-number+.ant-form-text{margin-left:8px}.ant-form-inline{display:flex;flex-wrap:wrap}.ant-form-inline .ant-form-item{flex:none;flex-wrap:nowrap;margin-bottom:0;margin-right:16px}.ant-form-inline .ant-form-item-with-help{margin-bottom:24px}.ant-form-inline .ant-form-item>.ant-form-item-control,.ant-form-inline .ant-form-item>.ant-form-item-label{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-item>.ant-form-item-label{flex:none}.ant-form-inline .ant-form-item .ant-form-item-has-feedback,.ant-form-inline .ant-form-item .ant-form-text{display:inline-block}.ant-form-horizontal .ant-form-item-label{flex-grow:0}.ant-form-horizontal .ant-form-item-control{flex:1 1 0;min-width:0}.ant-form-horizontal .ant-form-item-label[class$="-24"]+.ant-form-item-control,.ant-form-horizontal .ant-form-item-label[class*="-24 "]+.ant-form-item-control{min-width:unset}.ant-form-vertical .ant-form-item-row{flex-direction:column}.ant-form-vertical .ant-form-item-label>label{height:auto}.ant-form-vertical .ant-form-item .ant-form-item-control{width:100%}.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label,.ant-form-vertical .ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-24.ant-form-item-label>label,.ant-col-xl-24.ant-form-item-label>label,.ant-form-vertical .ant-form-item-label>label{margin:0}.ant-col-24.ant-form-item-label>label:after,.ant-col-xl-24.ant-form-item-label>label:after,.ant-form-vertical .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-24.ant-form-item-label,.ant-form-rtl.ant-col-xl-24.ant-form-item-label,.ant-form-rtl.ant-form-vertical .ant-form-item-label{text-align:right}@media (max-width:575px){.ant-form-item .ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-form-item .ant-form-item-label>label{margin:0}.ant-form-item .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-form-item .ant-form-item-label{text-align:right}.ant-form .ant-form-item{flex-wrap:wrap}.ant-form .ant-form-item .ant-form-item-control,.ant-form .ant-form-item .ant-form-item-label{flex:0 0 100%;max-width:100%}.ant-col-xs-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-xs-24.ant-form-item-label>label{margin:0}.ant-col-xs-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xs-24.ant-form-item-label{text-align:right}}@media (max-width:767px){.ant-col-sm-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-sm-24.ant-form-item-label>label{margin:0}.ant-col-sm-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-sm-24.ant-form-item-label{text-align:right}}@media (max-width:991px){.ant-col-md-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-md-24.ant-form-item-label>label{margin:0}.ant-col-md-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-md-24.ant-form-item-label{text-align:right}}@media (max-width:1199px){.ant-col-lg-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-lg-24.ant-form-item-label>label{margin:0}.ant-col-lg-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-lg-24.ant-form-item-label{text-align:right}}@media (max-width:1599px){.ant-col-xl-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-xl-24.ant-form-item-label>label{margin:0}.ant-col-xl-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xl-24.ant-form-item-label{text-align:right}}.ant-form-item-explain-error{color:#ff4d4f}.ant-form-item-explain-warning{color:#faad14}.ant-form-item-has-feedback .ant-switch{margin:2px 0 4px}.ant-form-item-has-warning .ant-form-item-split{color:#faad14}.ant-form-item-has-error .ant-form-item-split{color:#ff4d4f}.ant-form{font-feature-settings:"tnum";box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;padding:0}.ant-form legend{border:0;border-bottom:1px solid #d9d9d9;color:#00000073;display:block;font-size:16px;line-height:inherit;margin-bottom:20px;padding:0;width:100%}.ant-form label{font-size:14px}.ant-form input[type=search]{box-sizing:border-box}.ant-form input[type=checkbox],.ant-form input[type=radio]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=checkbox]:focus,.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{color:#000000a6;display:block;font-size:14px;line-height:1.5715;padding-top:15px}.ant-form .ant-form-text{display:inline-block;padding-right:8px}.ant-form-small .ant-form-item-label>label{height:24px}.ant-form-small .ant-form-item-control-input{min-height:24px}.ant-form-large .ant-form-item-label>label{height:40px}.ant-form-large .ant-form-item-control-input{min-height:40px}.ant-form-item{font-feature-settings:"tnum";box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0 0 24px;padding:0;vertical-align:top}.ant-form-item-with-help{transition:none}.ant-form-item-hidden,.ant-form-item-hidden.ant-row{display:none}.ant-form-item-label{display:inline-block;flex-grow:0;overflow:hidden;text-align:right;vertical-align:middle;white-space:nowrap}.ant-form-item-label-left{text-align:left}.ant-form-item-label-wrap{line-height:1.3215em;overflow:unset;white-space:unset}.ant-form-item-label>label{align-items:center;color:#000000d9;display:inline-flex;font-size:14px;height:32px;max-width:100%;position:relative}.ant-form-item-label>label>.anticon{font-size:14px;vertical-align:top}.ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{color:#ff4d4f;content:"*";display:inline-block;font-family:SimSun,sans-serif;font-size:14px;line-height:1;margin-right:4px}.ant-form-hide-required-mark .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:none}.ant-form-item-label>label .ant-form-item-optional{color:#00000073;display:inline-block;margin-left:4px}.ant-form-hide-required-mark .ant-form-item-label>label .ant-form-item-optional{display:none}.ant-form-item-label>label .ant-form-item-tooltip{color:#00000073;cursor:help;margin-inline-start:4px;writing-mode:horizontal-tb}.ant-form-item-label>label:after{content:":";margin:0 8px 0 2px;position:relative;top:-.5px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item-control{display:flex;flex-direction:column;flex-grow:1}.ant-form-item-control:first-child:not([class^=ant-col-]):not([class*=" ant-col-"]){width:100%}.ant-form-item-control-input{align-items:center;display:flex;min-height:32px;position:relative}.ant-form-item-control-input-content{flex:auto;max-width:100%}.ant-form-item-explain,.ant-form-item-extra{clear:both;color:#00000073;font-size:14px;line-height:1.5715;transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-item-explain-connected{width:100%}.ant-form-item-extra{min-height:24px}.ant-form-item-with-help .ant-form-item-explain{height:auto;opacity:1}.ant-form-item-feedback-icon{animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);font-size:14px;pointer-events:none;text-align:center;visibility:visible}.ant-form-item-feedback-icon-success{color:#52c41a}.ant-form-item-feedback-icon-error{color:#ff4d4f}.ant-form-item-feedback-icon-warning{color:#faad14}.ant-form-item-feedback-icon-validating{color:#5b76f6}.ant-show-help{transition:opacity .3s cubic-bezier(.645,.045,.355,1)}.ant-show-help-appear,.ant-show-help-enter{opacity:0}.ant-show-help-appear-active,.ant-show-help-enter-active,.ant-show-help-leave{opacity:1}.ant-show-help-leave-active{opacity:0}.ant-show-help-item{overflow:hidden;transition:height .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1)!important}.ant-show-help-item-appear,.ant-show-help-item-enter{opacity:0;transform:translateY(-5px)}.ant-show-help-item-appear-active,.ant-show-help-item-enter-active{opacity:1;transform:translateY(0)}.ant-show-help-item-leave{transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1),transform .2s cubic-bezier(.645,.045,.355,1)!important}.ant-show-help-item-leave-active{transform:translateY(-5px)}@keyframes diffZoomIn1{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes diffZoomIn2{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes diffZoomIn3{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.ant-form-rtl{direction:rtl}.ant-form-rtl .ant-form-item-label{text-align:left}.ant-form-rtl .ant-form-item-label>label.ant-form-item-required:before{margin-left:4px;margin-right:0}.ant-form-rtl .ant-form-item-label>label:after{margin:0 2px 0 8px}.ant-form-rtl .ant-form-item-label>label .ant-form-item-optional{margin-left:0;margin-right:4px}.ant-col-rtl .ant-form-item-control:first-child{width:100%}.ant-form-rtl .ant-form-item-has-feedback .ant-input{padding-left:24px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-left:18px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input,.ant-form-rtl .ant-form-item-has-feedback .ant-input-number-affix-wrapper .ant-input-number{padding:0}.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{left:28px;right:auto}.ant-form-rtl .ant-form-item-has-feedback .ant-input-number{padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-clear{left:32px;right:auto}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value{padding-left:42px;padding-right:0}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-left:19px;margin-right:0}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear{left:32px;right:auto}.ant-form-rtl .ant-form-item-has-feedback .ant-picker,.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large{padding-left:29.2px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small{padding-left:25.2px;padding-right:7px}.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{left:0;right:auto}.ant-form-rtl.ant-form-inline .ant-form-item{margin-left:16px;margin-right:0}.ztxk-form{background:#fff;display:flex;justify-content:space-between;padding:0}.ztxk-form .ztxk-form--detault-dom{border:1px solid #d9d9d9;border-left:none;border-radius:0 4px 4px 0}.ztxk-form .ztxk-form--detault-dom,.ztxk-form .ztxk-form--tip-dom{align-items:center;display:flex;min-height:32px;padding:4px 11px;transition:all .3s}.ztxk-form .ztxk-form--tip-dom{border-radius:0 4px 4px 0}.ztxk-form.ztxk-form--bottom-border{border-bottom:1px solid #ebf3fe}.ztxk-form .ztxk-form__left{flex:1;position:relative;transition:max-height .3s ease-out}.ztxk-form .ztxk-form__left.ztxk-form__left--toggle{overflow:hidden}.ztxk-form .ztxk-form__left.ztxk-form__left--flex{display:flex;flex-grow:1;flex-wrap:wrap}.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-checkbox-group,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-label label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-input,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-input-affix-wrapper,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-picker,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-radio-group,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-select-selector,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .city-picker-span,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error.ztxk-form__item--direction-column,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-form-item-label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-form-item-label label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-input,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-input-affix-wrapper,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-picker,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-select-selector,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .city-picker-span,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ztxk-form--detault-dom{border-color:#f88!important}.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-margin-offset{margin-bottom:0!important}.ztxk-form .ztxk-form__left.ztxk-form__left--flex-direction{flex-direction:column}.ztxk-form .ztxk-form__left.ztxk-form__left--flex-direction>div{flex:none}.ztxk-form .ztxk-form--operation{align-items:center;display:flex;flex-direction:column;margin-right:10px}.ztxk-form .ztxk-form--operation .ztxk-dynamic-setting{cursor:pointer;margin-top:6px;position:relative}.ztxk-form .ztxk-form--operation .ztxk-from--toggle{cursor:pointer;margin-top:4px}.ztxk-form .ztxk-form--operation .ztxk-from--toggle>span{transition:transform .4s ease 0s}.ztxk-form .ztxk-form__right{display:flex}.ztxk-form .ztxk-form__right>button.ant-btn{margin-left:10px;margin-right:0}.ztxk-form .ztxk-form__right>button.ant-btn:first-child{margin-left:0}
|