gzkx-package 0.0.1
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/README.md +263 -0
- package/dist/dicom/1.2.392.200036.9116.2.5.1.144.3427962750.1321850271.351149.dcm +0 -0
- package/dist/dicom/1.2.392.200036.9116.2.5.1.144.3427962750.1321850274.917499.dcm +0 -0
- package/dist/dicom/1.2.392.200036.9116.2.5.1.144.3427962750.1321850277.40207.dcm +0 -0
- package/dist/dicom/1.2.392.200036.9116.2.5.1.144.3427962750.1321850308.974979.dcm +0 -0
- package/dist/dicom/1.2.392.200036.9116.2.5.1.144.3427962750.1321850310.485717.dcm +0 -0
- package/dist/dicom/1.2.392.200036.9116.2.5.1.144.3427962750.1321850313.23182.dcm +0 -0
- package/dist/dicom/1.2.392.200036.9116.2.5.1.144.3427962750.1321850316.129502.dcm +0 -0
- package/dist/dicom/1.2.392.200036.9116.2.5.1.144.3427962750.1321850343.942703.dcm +0 -0
- package/dist/dicom/1.2.392.200036.9116.2.5.1.144.3427962750.1321850345.403408.dcm +0 -0
- package/dist/dicom/1.2.392.200036.9116.2.5.1.144.3427962750.1321850348.880170.dcm +0 -0
- package/dist/dicom/1.dcm +0 -0
- package/dist/dicom/2.dcm +0 -0
- package/dist/font/demo.css +539 -0
- package/dist/font/demo_index.html +2005 -0
- package/dist/font/iconfont.css +331 -0
- package/dist/font/iconfont.js +1 -0
- package/dist/font/iconfont.json +562 -0
- package/dist/font/iconfont.ttf +0 -0
- package/dist/font/iconfont.woff +0 -0
- package/dist/font/iconfont.woff2 +0 -0
- package/dist/gzkx-package.css +7 -0
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +150 -0
- package/dist/index.mjs +14631 -0
- package/dist/index.mjs.map +1 -0
- package/dist/loginBg.jpg +0 -0
- package/dist/logo.png +0 -0
- package/dist/logotrp.png +0 -0
- package/dist/pacs/CT.svg +1 -0
- package/dist/pacs/abnormal.svg +1 -0
- package/dist/pacs/addFolder.svg +1 -0
- package/dist/pacs/addTemplate.svg +1 -0
- package/dist/pacs/deleteFolder.svg +1 -0
- package/dist/pacs/deleteTemplate.svg +1 -0
- package/dist/pacs/folder.svg +1 -0
- package/dist/pacs/normal.svg +1 -0
- package/dist/pacs/port.svg +1 -0
- package/dist/pacs/updateFolder.svg +1 -0
- package/dist/pacs/updateTemplate.svg +1 -0
- package/dist/pacs/xt.svg +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +111 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { ColumnsType } from 'antd/es/table';
|
|
2
|
+
import { default as default_2 } from 'react';
|
|
3
|
+
import { FormInstance } from 'antd/es/form';
|
|
4
|
+
|
|
5
|
+
export declare interface AddItemConfig {
|
|
6
|
+
type: 'input' | 'inputoption' | 'inputnumberoption' | 'select' | 'rangePicker' | 'datePicker' | 'password' | 'InputNumber' | 'Radio' | 'upload' | 'textarea' | 'area' | 'treeSelect' | 'richText' | 'doubleValue' | 'file' | 'deptSelect' | 'orgSelect' | 'InputNumberOption';
|
|
7
|
+
label: string;
|
|
8
|
+
name: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
options?: FormItemOption_2[];
|
|
11
|
+
rules?: any[];
|
|
12
|
+
colSpan?: number;
|
|
13
|
+
optionname?: string;
|
|
14
|
+
labelName?: string;
|
|
15
|
+
firstLabel?: string;
|
|
16
|
+
secondLabel?: string;
|
|
17
|
+
firstPlaceholder?: string;
|
|
18
|
+
secondPlaceholder?: string;
|
|
19
|
+
separator?: string;
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export declare const CommonPage: default_2.NamedExoticComponent<CommonPageProps & default_2.RefAttributes<CommonPageHandle>>;
|
|
24
|
+
|
|
25
|
+
export declare interface CommonPageHandle {
|
|
26
|
+
getList: (parentParams?: any) => Promise<void>;
|
|
27
|
+
setFieldsValue: (values: any) => void;
|
|
28
|
+
getFieldsValue: () => any;
|
|
29
|
+
reload: () => void;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare interface CommonPageProps {
|
|
33
|
+
searchFormConfig: FormItemConfig[] | null;
|
|
34
|
+
addFormConfig: AddItemConfig[];
|
|
35
|
+
topHeight?: number;
|
|
36
|
+
tableColumns: any[];
|
|
37
|
+
URL: any;
|
|
38
|
+
CustomOperations?: default_2.ReactNode | ((record: any) => default_2.ReactNode);
|
|
39
|
+
PropOtherButton?: default_2.ReactNode | ((record: any) => default_2.ReactNode);
|
|
40
|
+
CustomModalFooter?: ((record: any) => default_2.ReactNode);
|
|
41
|
+
classjson?: any;
|
|
42
|
+
isnopage?: boolean;
|
|
43
|
+
actionWidth?: number;
|
|
44
|
+
delText?: string;
|
|
45
|
+
editText?: string;
|
|
46
|
+
viewText?: string;
|
|
47
|
+
OtherButton?: default_2.ReactNode | ((record: any) => default_2.ReactNode);
|
|
48
|
+
OtherButtonProps?: any;
|
|
49
|
+
addisdisabled?: {
|
|
50
|
+
isdisabled: boolean;
|
|
51
|
+
message: string;
|
|
52
|
+
};
|
|
53
|
+
postParams?: {
|
|
54
|
+
addParams?: any;
|
|
55
|
+
delParams?: any;
|
|
56
|
+
editParams?: any;
|
|
57
|
+
searchParams?: any;
|
|
58
|
+
};
|
|
59
|
+
limit?: {
|
|
60
|
+
addLimit?: any;
|
|
61
|
+
delLimit?: any;
|
|
62
|
+
editLimit?: any;
|
|
63
|
+
searchLimit?: any;
|
|
64
|
+
};
|
|
65
|
+
proplist?: any;
|
|
66
|
+
editdclickback?: (record?: any) => void;
|
|
67
|
+
oneditFormChange?: (changedValues: any, allValues: any) => void;
|
|
68
|
+
onRowClick?: (record: any, event: any) => void;
|
|
69
|
+
tableId?: string;
|
|
70
|
+
isaddtab?: boolean;
|
|
71
|
+
tableHeight?: number;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export declare const CustomAdd: default_2.ForwardRefExoticComponent<CustomAddProps & default_2.RefAttributes<unknown>>;
|
|
75
|
+
|
|
76
|
+
declare interface CustomAddProps {
|
|
77
|
+
tab?: boolean;
|
|
78
|
+
visible: boolean;
|
|
79
|
+
mode: 'add' | 'edit' | 'view';
|
|
80
|
+
config: AddItemConfig[];
|
|
81
|
+
initialValues?: any;
|
|
82
|
+
onOk: (values: any) => Promise<void> | void;
|
|
83
|
+
onCancel: () => void;
|
|
84
|
+
title?: string;
|
|
85
|
+
loading?: boolean;
|
|
86
|
+
modalProps?: any;
|
|
87
|
+
oneditFormChange?: (changedValues: any, allValues: any) => void;
|
|
88
|
+
CustomModalFooter?: ((record: any) => default_2.ReactNode);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export declare const CustomForm: React.FC<CustomFormProps>;
|
|
92
|
+
|
|
93
|
+
declare interface CustomFormProps {
|
|
94
|
+
config: FormItemConfig[];
|
|
95
|
+
onFinish?: (values: any) => void;
|
|
96
|
+
onSearch?: (values: any) => void;
|
|
97
|
+
onReset?: (form: FormInstance) => void;
|
|
98
|
+
initialValues?: any;
|
|
99
|
+
layout?: 'horizontal' | 'vertical' | 'inline';
|
|
100
|
+
labelCol?: object;
|
|
101
|
+
colSpan?: number;
|
|
102
|
+
wrapperCol?: object;
|
|
103
|
+
submitButtonText?: string;
|
|
104
|
+
resetButtonText?: string;
|
|
105
|
+
hideResetButton?: boolean;
|
|
106
|
+
OtherButton?: React.ReactNode | ((record: any) => React.ReactNode);
|
|
107
|
+
isReset?: boolean;
|
|
108
|
+
[key: string]: any;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export declare const CustomTable: default_2.FC<CustomTableProps>;
|
|
112
|
+
|
|
113
|
+
declare interface CustomTableProps {
|
|
114
|
+
columns: ColumnsType<any>;
|
|
115
|
+
dataSource: any[];
|
|
116
|
+
loading?: boolean;
|
|
117
|
+
pagination?: object | false;
|
|
118
|
+
handleTableChange?: (pagination: any, filters?: any, sorter?: any) => void;
|
|
119
|
+
size?: 'small' | 'middle' | 'large';
|
|
120
|
+
tableId?: string;
|
|
121
|
+
onRowClick?: (record: any, event?: any) => void;
|
|
122
|
+
page?: any;
|
|
123
|
+
showTableConfig?: boolean;
|
|
124
|
+
[key: string]: any;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export declare interface FormItemConfig {
|
|
128
|
+
type: 'input' | 'select' | 'rangePicker' | 'datePicker' | 'password' | 'treeSelect' | 'radio' | 'deptSelect' | 'orgSelect';
|
|
129
|
+
label: string;
|
|
130
|
+
name: string;
|
|
131
|
+
placeholder?: string;
|
|
132
|
+
options?: FormItemOption[];
|
|
133
|
+
rules?: any[];
|
|
134
|
+
colSpan?: number;
|
|
135
|
+
labelCol?: number;
|
|
136
|
+
wrapperCol?: number;
|
|
137
|
+
[key: string]: any;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
declare interface FormItemOption {
|
|
141
|
+
label: React.ReactNode;
|
|
142
|
+
value: string | number;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
declare interface FormItemOption_2 {
|
|
146
|
+
label: default_2.ReactNode;
|
|
147
|
+
value: string | number;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export { }
|