gzkx-package 0.1.39 → 0.1.40

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.
Files changed (175) hide show
  1. package/dist/App.d.ts +8 -0
  2. package/dist/api/auth.d.ts +43 -0
  3. package/dist/api/business.d.ts +53 -0
  4. package/dist/api/common.d.ts +13 -0
  5. package/dist/api/dicom.d.ts +18 -0
  6. package/dist/api/index.d.ts +4 -0
  7. package/dist/api/log.d.ts +19 -0
  8. package/dist/api/menu.d.ts +64 -0
  9. package/dist/api/organization.d.ts +37 -0
  10. package/dist/api/orgtree.d.ts +10 -0
  11. package/dist/api/pacs.d.ts +13 -0
  12. package/dist/api/platform/data-dashboard/index.d.ts +14 -0
  13. package/dist/api/platform/data-management/business-dictionary/disinfection-supply/index.d.ts +1 -0
  14. package/dist/api/platform/data-management/department-management/index.d.ts +1 -0
  15. package/dist/api/platform/data-management/production-factory/index.d.ts +1 -0
  16. package/dist/api/platform/data-management/public-dictionary/index.d.ts +1 -0
  17. package/dist/api/platform/data-management/supplier-management/index.d.ts +1 -0
  18. package/dist/api/platform/data-management/user-management/index.d.ts +1 -0
  19. package/dist/api/platform/human-resource/employee/index.d.ts +1 -0
  20. package/dist/api/platform/organization/index.d.ts +172 -0
  21. package/dist/api/platform/permission/permission-setting/index.d.ts +1 -0
  22. package/dist/api/platform/permission/role/index.d.ts +1 -0
  23. package/dist/api/print.d.ts +26 -0
  24. package/dist/api/role.d.ts +100 -0
  25. package/dist/api/system.d.ts +28 -0
  26. package/dist/api/table.d.ts +28 -0
  27. package/dist/api/user.d.ts +83 -0
  28. package/dist/assets/table.d.ts +28 -0
  29. package/dist/components/AuthRoute.d.ts +7 -0
  30. package/dist/components/ChangeDepartmentModal.d.ts +16 -0
  31. package/dist/components/ChangePasswordModal.d.ts +8 -0
  32. package/dist/components/ChangeTopmenu.d.ts +4 -0
  33. package/dist/components/ErrorBoundary.d.ts +23 -0
  34. package/dist/components/FullScreen.d.ts +4 -0
  35. package/dist/components/KeepAlive.d.ts +4 -0
  36. package/dist/components/MicroAppContainer.d.ts +4 -0
  37. package/dist/components/MicroAppContainerh.d.ts +7 -0
  38. package/dist/components/TabsView.d.ts +4 -0
  39. package/dist/components/ThemeSwitch.d.ts +4 -0
  40. package/dist/components/UserAvatar.d.ts +4 -0
  41. package/dist/components/businessComponent/CameraComponent/example.d.ts +7 -0
  42. package/dist/components/businessComponent/CameraComponent/index.d.ts +27 -0
  43. package/dist/components/businessComponent/CategoryTree/index.d.ts +24 -0
  44. package/dist/components/businessComponent/CollapseTree/example.d.ts +2 -0
  45. package/dist/components/businessComponent/CollapseTree/index.d.ts +60 -0
  46. package/dist/components/businessComponent/FIileUploadComponent/example.d.ts +4 -0
  47. package/dist/components/businessComponent/FIileUploadComponent/index.d.ts +16 -0
  48. package/dist/components/businessComponent/FileComponent/index.d.ts +15 -0
  49. package/dist/components/businessComponent/UploadComponent/index.d.ts +14 -0
  50. package/dist/components/businessComponent/areaSelector/index.d.ts +11 -0
  51. package/dist/components/businessComponent/corn/index.d.ts +9 -0
  52. package/dist/components/businessComponent/deviceApparatusSelector/index.d.ts +10 -0
  53. package/dist/components/businessComponent/materialApparatusSelector/index.d.ts +8 -0
  54. package/dist/components/businessComponent/nomalRadio/index.d.ts +9 -0
  55. package/dist/components/businessComponent/nomalTree/index.d.ts +22 -0
  56. package/dist/components/businessComponent/orgtree/index.d.ts +20 -0
  57. package/dist/components/businessComponent/orgtree1/index.d.ts +16 -0
  58. package/dist/components/businessComponent/packageApparatusSelector/index.d.ts +9 -0
  59. package/dist/components/businessComponent/packagebaseSelector/index.d.ts +10 -0
  60. package/dist/components/businessComponent/packagedeviceApparatusSelector/index.d.ts +11 -0
  61. package/dist/components/businessComponent/richText/index.d.ts +10 -0
  62. package/dist/components/businessComponent/scanAddpackage/example.d.ts +7 -0
  63. package/dist/components/businessComponent/scanAddpackage/index.d.ts +30 -0
  64. package/dist/components/businessComponent/selectTable/index.d.ts +11 -0
  65. package/dist/components/businessComponent/selectapiTable/index.d.ts +12 -0
  66. package/dist/components/businessComponent/template/index.d.ts +2 -0
  67. package/dist/components/businessComponent/uploadByte/index.d.ts +15 -0
  68. package/dist/components/businessComponent/userProfile/index.d.ts +73 -0
  69. package/dist/components/businessComponent/userselect/index.d.ts +9 -0
  70. package/dist/components/customComponents/CustomAdd.d.ts +57 -0
  71. package/dist/components/customComponents/CustomForm.d.ts +44 -0
  72. package/dist/components/customComponents/CustomTable.d.ts +29 -0
  73. package/dist/components/customComponents/NomalSelect/index.d.ts +67 -0
  74. package/dist/components/customComponents/commonPage/index.d.ts +72 -0
  75. package/dist/config/env.d.ts +15 -0
  76. package/dist/config/menu.d.ts +5 -0
  77. package/dist/env.d.ts +17 -0
  78. package/dist/hooks/useThemeStyle.d.ts +12 -0
  79. package/dist/index.cjs +2 -2
  80. package/dist/index.cjs.map +1 -1
  81. package/dist/index.d.ts +9 -278
  82. package/dist/index.mjs +86 -19
  83. package/dist/index.mjs.map +1 -1
  84. package/dist/layouts/MainLayout.d.ts +4 -0
  85. package/dist/main.d.ts +1 -0
  86. package/dist/pages/Home.d.ts +4 -0
  87. package/dist/pages/Login.d.ts +4 -0
  88. package/dist/pages/LoginOrgSelect/index.d.ts +4 -0
  89. package/dist/pages/NotFound.d.ts +4 -0
  90. package/dist/pages/pacs/check-regist/components/Addmodal.d.ts +14 -0
  91. package/dist/pages/pacs/check-regist/components/AssociatedImage.d.ts +12 -0
  92. package/dist/pages/pacs/check-regist/components/applyList.d.ts +11 -0
  93. package/dist/pages/pacs/check-regist/index.d.ts +13 -0
  94. package/dist/pages/pacs/dashborard/index.d.ts +2 -0
  95. package/dist/pages/pacs/example/index.d.ts +2 -0
  96. package/dist/pages/pacs/imageexample/index.d.ts +2 -0
  97. package/dist/pages/pacs/insp-category/index.d.ts +3 -0
  98. package/dist/pages/pacs/inspectionReportQuery/components/RemoteConfigDrawer.d.ts +10 -0
  99. package/dist/pages/pacs/inspectionReportQuery/components/ReportModal.d.ts +11 -0
  100. package/dist/pages/pacs/inspectionReportQuery/components/ReportRadiologyModal.d.ts +11 -0
  101. package/dist/pages/pacs/inspectionReportQuery/components/addmodal.d.ts +16 -0
  102. package/dist/pages/pacs/inspectionReportQuery/components/index.d.ts +4 -0
  103. package/dist/pages/pacs/inspectionReportQuery/index.d.ts +2 -0
  104. package/dist/pages/pacs/largeScreen/index.d.ts +2 -0
  105. package/dist/pages/pacs/pacs-basic-data/description-template/TemplateModal.d.ts +14 -0
  106. package/dist/pages/pacs/pacs-basic-data/description-template/index.d.ts +2 -0
  107. package/dist/pages/pacs/pacs-basic-data/description-template/nomalTree/index.d.ts +29 -0
  108. package/dist/pages/pacs/pacs-basic-data/examination-device/index.d.ts +2 -0
  109. package/dist/pages/pacs/pacs-basic-data/examination-part/components/addmodal.d.ts +16 -0
  110. package/dist/pages/pacs/pacs-basic-data/examination-part/components/medicalPrescriptionConfig.d.ts +9 -0
  111. package/dist/pages/pacs/pacs-basic-data/examination-part/components/nomalTree/index.d.ts +21 -0
  112. package/dist/pages/pacs/pacs-basic-data/examination-part/index.d.ts +2 -0
  113. package/dist/pages/pacs/pacs-basic-data/examination-room/index.d.ts +2 -0
  114. package/dist/pages/pacs/pacs-basic-data/examination-type/components/RemoteConfigDrawer.d.ts +10 -0
  115. package/dist/pages/pacs/pacs-basic-data/examination-type/components/addmodal.d.ts +16 -0
  116. package/dist/pages/pacs/pacs-basic-data/examination-type/index.d.ts +2 -0
  117. package/dist/pages/pacs/pacs-basic-data/organization/components/OrDrawer.d.ts +19 -0
  118. package/dist/pages/pacs/pacs-basic-data/organization/index.d.ts +14 -0
  119. package/dist/pages/pacs/regional-diagnosis/remoteFileworkstation/components/AuditModal.d.ts +12 -0
  120. package/dist/pages/pacs/regional-diagnosis/remoteFileworkstation/components/ReportModal.d.ts +11 -0
  121. package/dist/pages/pacs/regional-diagnosis/remoteFileworkstation/index.d.ts +2 -0
  122. package/dist/pages/pacs/regional-diagnosis/remoteFileworttotal/components/RemoteConfigDrawer.d.ts +10 -0
  123. package/dist/pages/pacs/regional-diagnosis/remoteFileworttotal/components/addmodal.d.ts +16 -0
  124. package/dist/pages/pacs/regional-diagnosis/remoteFileworttotal/index.d.ts +2 -0
  125. package/dist/pages/pacs/regional-diagnosis/remoteReportinquiry/components/RemoteConfigDrawer.d.ts +10 -0
  126. package/dist/pages/pacs/regional-diagnosis/remoteReportinquiry/components/addmodal.d.ts +16 -0
  127. package/dist/pages/pacs/regional-diagnosis/remoteReportinquiry/index.d.ts +2 -0
  128. package/dist/pages/pacs/report-station/endoscopy-workstation/components/AuditModal.d.ts +13 -0
  129. package/dist/pages/pacs/report-station/endoscopy-workstation/index.d.ts +2 -0
  130. package/dist/pages/pacs/report-station/radiology-workstation/components/AuditModal.d.ts +11 -0
  131. package/dist/pages/pacs/report-station/radiology-workstation/components/ImageModal.d.ts +11 -0
  132. package/dist/pages/pacs/report-station/radiology-workstation/components/RemoteConfigDrawer.d.ts +10 -0
  133. package/dist/pages/pacs/report-station/radiology-workstation/components/ReportModal.d.ts +11 -0
  134. package/dist/pages/pacs/report-station/radiology-workstation/index.d.ts +2 -0
  135. package/dist/pages/pacs/report-station/ultrasound-workstation/components/AuditModal.d.ts +13 -0
  136. package/dist/pages/pacs/report-station/ultrasound-workstation/index.d.ts +1 -0
  137. package/dist/pages/pacs/statistical-report/342/200/214/ImagequalityReport/index.d.ts +2 -0
  138. package/dist/pages/pacs/statistical-report/342/200/214/remotefilmReport/index.d.ts +2 -0
  139. package/dist/pages/pacs/statistical-report/342/200/214/reportqualityReport/index.d.ts +2 -0
  140. package/dist/pages/pacs/statistical-report/342/200/214/worttotalReport/index.d.ts +2 -0
  141. package/dist/pages/pacs/terminal-set/index.d.ts +2 -0
  142. package/dist/pages/pacs/viewer/api/dicom.d.ts +18 -0
  143. package/dist/pages/pacs/viewer/index.d.ts +1 -0
  144. package/dist/pages/pacs/viewer/untils.d.ts +8 -0
  145. package/dist/router/index.d.ts +132 -0
  146. package/dist/services/errorHandler.d.ts +95 -0
  147. package/dist/stores/menuStore.d.ts +27 -0
  148. package/dist/stores/sidebarStore.d.ts +6 -0
  149. package/dist/stores/tabStore.d.ts +25 -0
  150. package/dist/stores/themeStore.d.ts +7 -0
  151. package/dist/stores/useUserStore.d.ts +4 -0
  152. package/dist/types/global.d.ts +28 -0
  153. package/dist/types/router.d.ts +13 -0
  154. package/dist/types/user.d.ts +11 -0
  155. package/dist/utils/auth.d.ts +41 -0
  156. package/dist/utils/getlimit.d.ts +2 -0
  157. package/dist/utils/menu.d.ts +28 -0
  158. package/dist/utils/menuadd.d.ts +45 -0
  159. package/dist/utils/navigate.d.ts +2 -0
  160. package/dist/utils/newmenuadd.d.ts +50 -0
  161. package/dist/utils/pycode.d.ts +2 -0
  162. package/dist/utils/rem-example.d.ts +12 -0
  163. package/dist/utils/rem.d.ts +66 -0
  164. package/dist/utils/request.d.ts +8 -0
  165. package/dist/utils/requestnotoken.d.ts +8 -0
  166. package/dist/utils/requestprint.d.ts +8 -0
  167. package/dist/utils/scanGunListener.d.ts +43 -0
  168. package/dist/utils/tableconfig/datacenter/tableconfig.d.ts +14 -0
  169. package/dist/utils/tableconfig/maindata/tableconfig.d.ts +39 -0
  170. package/dist/utils/tableconfig/pacs/tableconfig.d.ts +42 -0
  171. package/dist/utils/tableconfig/systemmanage/tableconfig.d.ts +20 -0
  172. package/dist/utils/tableconfig.d.ts +20 -0
  173. package/dist/utils/tree.d.ts +9 -0
  174. package/dist/utils/treeDataTransform.d.ts +85 -0
  175. package/package.json +1 -1
package/dist/App.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+
3
+ export declare const LoadingContext: React.Context<{
4
+ loading: boolean;
5
+ setLoading: React.Dispatch<React.SetStateAction<boolean>>;
6
+ }>;
7
+ declare const App: React.FC;
8
+ export default App;
@@ -0,0 +1,43 @@
1
+ export interface CaptchaResponse {
2
+ data: any;
3
+ captchaKey: string;
4
+ captchaImg: string;
5
+ }
6
+ export interface LoginParams {
7
+ code: string;
8
+ password: string;
9
+ }
10
+ export interface MenuAuthItem {
11
+ menuId: string;
12
+ menuName: string;
13
+ menuUrl: string | null;
14
+ element: string | null;
15
+ icon: string | null;
16
+ businessId: string;
17
+ businessName: string;
18
+ parentId: string | null;
19
+ children: MenuAuthItem[];
20
+ }
21
+ export interface LoginData {
22
+ organizationId: string;
23
+ telephone: string;
24
+ code: string;
25
+ userId: string;
26
+ email: string;
27
+ accessToken: string;
28
+ refreshToken: string;
29
+ menuAuth: MenuAuthItem[];
30
+ orgList: any;
31
+ sysManager: number;
32
+ }
33
+ export interface LoginResponse {
34
+ msg: string;
35
+ code: number;
36
+ data: LoginData;
37
+ }
38
+ export declare function login(params: LoginParams): Promise<LoginResponse>;
39
+ export declare function getUserInfo(): Promise<Omit<any, "code" | "accessToken" | "msg">>;
40
+ export declare function logout(): Promise<any>;
41
+ export declare function refreshToken(): Promise<any>;
42
+ export declare function getMenuList(params: any): Promise<any>;
43
+ export declare function changeTokenOrg(params: any): Promise<any>;
@@ -0,0 +1,53 @@
1
+ export interface BusinessSystem {
2
+ systemId: string;
3
+ systemName: string;
4
+ businessFunction: string;
5
+ founder: string;
6
+ createdTime: string;
7
+ updatedTime: string;
8
+ businessFlag: number;
9
+ deleteFlag: number;
10
+ }
11
+ export interface AddBusinessParams {
12
+ systemName: string;
13
+ businessFunction: string;
14
+ businessFlag: number;
15
+ }
16
+ export interface UpdateBusinessParams extends AddBusinessParams {
17
+ systemId: string;
18
+ }
19
+ export interface QueryBusinessParams {
20
+ pageNum: number;
21
+ pageSize: number;
22
+ keyword?: string;
23
+ businessFlag?: string | number;
24
+ }
25
+ export interface ApiResponse<T> {
26
+ code: number;
27
+ msg: string;
28
+ data: T;
29
+ }
30
+ export interface PaginationData<T> {
31
+ total: number;
32
+ list: T[];
33
+ pageNum: number;
34
+ pageSize: number;
35
+ size: number;
36
+ startRow: number;
37
+ endRow: number;
38
+ pages: number;
39
+ prePage: number;
40
+ nextPage: number;
41
+ isFirstPage: boolean;
42
+ isLastPage: boolean;
43
+ hasPreviousPage: boolean;
44
+ hasNextPage: boolean;
45
+ navigatePages: number;
46
+ navigatepageNums: number[];
47
+ navigateFirstPage: number;
48
+ navigateLastPage: number;
49
+ }
50
+ export declare function queryBusiness(params: QueryBusinessParams): Promise<ApiResponse<PaginationData<BusinessSystem>>>;
51
+ export declare function addBusiness(data: AddBusinessParams): Promise<ApiResponse<any>>;
52
+ export declare function updateBusiness(data: UpdateBusinessParams): Promise<ApiResponse<any>>;
53
+ export declare function deleteBusiness(systemIds: any): Promise<ApiResponse<any>>;
@@ -0,0 +1,13 @@
1
+ export interface ApiResponse<T> {
2
+ code: number;
3
+ msg: string;
4
+ data: any;
5
+ }
6
+ export declare function commonPost(params: any, url: string): Promise<ApiResponse<any>>;
7
+ export declare function commonGet(params: any, url: string): Promise<ApiResponse<any>>;
8
+ export declare function notokencommonPost(params: any, url: string): Promise<ApiResponse<any>>;
9
+ export declare function notokencommonGet(params: any, url: string): Promise<ApiResponse<any>>;
10
+ export declare function getCommonType(params: any): Promise<ApiResponse<any>>;
11
+ export declare function getCommonDataSource(params: any): Promise<ApiResponse<any>>;
12
+ export declare function uploadFile(params: any, config?: any): Promise<ApiResponse<any>>;
13
+ export declare function getMenuPermission(orgId: any, userId: any, menuId: any): Promise<ApiResponse<any>>;
@@ -0,0 +1,18 @@
1
+ export interface DicomFileInfo {
2
+ fileName: string;
3
+ filePath: string;
4
+ fileSize: number;
5
+ studyInstanceUID?: string;
6
+ seriesInstanceUID?: string;
7
+ sopInstanceUID?: string;
8
+ patientName?: string;
9
+ patientID?: string;
10
+ studyDate?: string;
11
+ modality?: string;
12
+ institutionName?: string;
13
+ imageId: string;
14
+ }
15
+ export declare const getLocalDicomFiles: () => Promise<DicomFileInfo[]>;
16
+ export declare const getDicomFileByName: (fileName: string) => Promise<DicomFileInfo | null>;
17
+ export declare const getDicomSeriesImageIds: (seriesInstanceUID?: string) => Promise<string[]>;
18
+ export declare const generateDicomThumbnail: (fileName: string, index: number) => string;
@@ -0,0 +1,4 @@
1
+ export * from './user';
2
+ export * from './auth';
3
+ export { getMenuList, } from './system';
4
+ export { getRoleList, updateRole, deleteRole, } from './role';
@@ -0,0 +1,19 @@
1
+ export interface ReportErrorData {
2
+ msg: string;
3
+ systemId: string;
4
+ fileName: string;
5
+ logLevel: string;
6
+ stackMessage: string;
7
+ userAgent?: string;
8
+ url?: string;
9
+ }
10
+ /**
11
+ * 上报前端错误信息
12
+ * @param errorData 错误数据
13
+ * @returns 操作结果
14
+ */
15
+ export declare function reportFrontEndError(errorData: ReportErrorData): Promise<{
16
+ code: number;
17
+ msg: string;
18
+ data: any;
19
+ }>;
@@ -0,0 +1,64 @@
1
+ import { ApiResponse } from './role';
2
+
3
+ export interface BusinessItem {
4
+ list: any;
5
+ systemId: string;
6
+ systemName: string;
7
+ businessFunction: string;
8
+ founder: string;
9
+ createdTime: string;
10
+ updatedTime: string;
11
+ businessFlag: number;
12
+ deleteFlag: number;
13
+ }
14
+ export interface QueryBusinessParams {
15
+ keyword?: string;
16
+ businessFlag?: string;
17
+ pageNum?: number;
18
+ pageSize?: number;
19
+ }
20
+ export declare function queryBusiness(params: QueryBusinessParams): Promise<ApiResponse<any>>;
21
+ export interface AddBusinessParams {
22
+ systemName: string;
23
+ businessFunction: string;
24
+ businessFlag: number;
25
+ }
26
+ export declare function addBusiness(params: AddBusinessParams): Promise<ApiResponse<any>>;
27
+ export interface UpdateBusinessParams {
28
+ systemId: string;
29
+ systemName: string;
30
+ businessFunction: string;
31
+ businessFlag: number;
32
+ }
33
+ export declare function updateBusiness(params: UpdateBusinessParams): Promise<ApiResponse<any>>;
34
+ export declare function deleteBusiness(systemIds: string[]): Promise<ApiResponse<any>>;
35
+ export declare function queryMenuListByBusinessId(businessId: string): Promise<ApiResponse<any>>;
36
+ export interface MenuItem {
37
+ menuId: string;
38
+ menuName: string;
39
+ parentId: string | null;
40
+ businessId: string;
41
+ businessName: string;
42
+ isEnabled: string;
43
+ createdTime: string;
44
+ updatedTime: string;
45
+ notes: string;
46
+ deleteFlag: number;
47
+ children?: MenuItem[];
48
+ }
49
+ export declare function deleteMenu(menuId: any): Promise<ApiResponse<any>>;
50
+ export interface AddMenuParams {
51
+ menuName: string;
52
+ parentId?: string;
53
+ businessId: string;
54
+ businessName?: string;
55
+ isEnabled: string;
56
+ notes?: string;
57
+ menuUrl: string;
58
+ element: string;
59
+ icon: string;
60
+ }
61
+ export declare function addMenu(params: AddMenuParams): Promise<ApiResponse<any>>;
62
+ export declare function updateMenu(params: AddMenuParams & {
63
+ menuId: string;
64
+ }): Promise<ApiResponse<any>>;
@@ -0,0 +1,37 @@
1
+ import { ApiResponse } from './role';
2
+
3
+ export interface Department {
4
+ organizationId: string;
5
+ organizationName: string;
6
+ parentId: string;
7
+ level: number;
8
+ status: number;
9
+ createdTime: string;
10
+ children?: Department[];
11
+ }
12
+ export interface DepartmentResponse {
13
+ code: number;
14
+ msg: string;
15
+ data: Department[];
16
+ }
17
+ export interface OrgItem {
18
+ organizationName: string;
19
+ status: number;
20
+ parentId: string;
21
+ }
22
+ export interface OrgParams {
23
+ organizationName: string;
24
+ status: number;
25
+ parentId: string;
26
+ }
27
+ export declare function addOrg(params: OrgParams): Promise<ApiResponse<any>>;
28
+ export declare function updateOrg(params: OrgParams & {
29
+ organizationId: string;
30
+ }): Promise<ApiResponse<any>>;
31
+ export interface QueryParams {
32
+ pageNum: number;
33
+ pageSize: number;
34
+ organizationName?: string;
35
+ }
36
+ export declare function queryOrgList(params: QueryParams): Promise<ApiResponse<any>>;
37
+ export declare function deleteOrg(organizationId: string): Promise<ApiResponse<any>>;
@@ -0,0 +1,10 @@
1
+ export interface ApiResponse<T> {
2
+ code: number;
3
+ msg: string;
4
+ data: T;
5
+ }
6
+ export interface GetOrgTreeParams {
7
+ level: string;
8
+ orgId?: string;
9
+ }
10
+ export declare function getOrgTree(params: GetOrgTreeParams): Promise<ApiResponse<any>>;
@@ -0,0 +1,13 @@
1
+ import { ApiResponse } from './common';
2
+
3
+ export declare function netgetDeviceGUID(): Promise<ApiResponse<any>>;
4
+ export declare function localgetDeviceGUID(): Promise<ApiResponse<any>>;
5
+ export declare const getDeviceGUID: typeof localgetDeviceGUID;
6
+ export declare const getPacsAuditSetting: (code: string) => Promise<ApiResponse<any>>;
7
+ export declare const getMenuPermissionBycode: (code: string) => Promise<{
8
+ data: {
9
+ permission: number;
10
+ };
11
+ code: number;
12
+ msg: string;
13
+ }>;
@@ -0,0 +1,14 @@
1
+ export interface DashboardResponse {
2
+ code: number;
3
+ msg: string;
4
+ data: any;
5
+ }
6
+ export declare function getCheck7ReportCount(orgId: string): Promise<DashboardResponse>;
7
+ export declare function getCheck7PositiveReportCount(orgId: string): Promise<DashboardResponse>;
8
+ export declare function getCheck7PartCount(orgId: string): Promise<DashboardResponse>;
9
+ export declare function getCheckYearTrend(orgId: string): Promise<DashboardResponse>;
10
+ export declare function getTotalImageCount(orgId: string): Promise<DashboardResponse>;
11
+ export declare function getTotalCheckCategoryCount(orgId: string): Promise<DashboardResponse>;
12
+ export declare function getTotalImageStorageCount(orgId: string): Promise<DashboardResponse>;
13
+ export declare function getTotalOrgReportCount(orgId: string): Promise<DashboardResponse>;
14
+ export declare function getTotalOrgRemoteReportCount(orgId: string): Promise<DashboardResponse>;
@@ -0,0 +1,172 @@
1
+ /**
2
+ * @description 医供体组织列表查询参数
3
+ */
4
+ interface MedicalOrganListParams {
5
+ /** 组织层级 */
6
+ level: string;
7
+ /** 父节点ID */
8
+ parentId?: string;
9
+ }
10
+ /**
11
+ * @description 查询医供体组织列表 (通常用于树形结构)
12
+ */
13
+ export declare const queryMedicalOrganList: (data: MedicalOrganListParams) => Promise<any>;
14
+ /**
15
+ * @description 新增医供体组织参数
16
+ */
17
+ interface AddMedicalOrganParams {
18
+ /** 编码 */
19
+ code: string;
20
+ /** 名称 */
21
+ name: string;
22
+ /** 助记码 */
23
+ pyCode: string;
24
+ /** 排序号 */
25
+ orderNumber: number;
26
+ /** 备注 */
27
+ remark?: string;
28
+ /** 创建用户ID */
29
+ createUserId: string;
30
+ /** 父级ID (如果不是顶级) */
31
+ constructionId?: string;
32
+ /** 层级 */
33
+ level?: string;
34
+ }
35
+ /**
36
+ * @description 新增医供体组织
37
+ */
38
+ export declare const addMedicalOrgan: (data: AddMedicalOrganParams) => Promise<any>;
39
+ /**
40
+ * @description 更新医供体组织参数
41
+ */
42
+ interface UpdateMedicalOrganParams {
43
+ /** 组织ID */
44
+ id: string;
45
+ /** 编码 */
46
+ code: string;
47
+ /** 名称 */
48
+ name: string;
49
+ /** 助记码 */
50
+ pyCode: string;
51
+ /** 排序号 */
52
+ orderNumber: number;
53
+ /** 备注 */
54
+ remark?: string;
55
+ /** 更新用户ID */
56
+ updateUserId: string;
57
+ /** 层级 */
58
+ level?: string;
59
+ }
60
+ /**
61
+ * @description 更新医供体组织
62
+ */
63
+ export declare const updateMedicalOrgan: (data: UpdateMedicalOrganParams) => Promise<any>;
64
+ /**
65
+ * @description 删除医供体组织
66
+ */
67
+ export declare const deleteMedicalOrgan: (data: any) => Promise<any>;
68
+ /**
69
+ * @description 查询医疗机构分页列表参数
70
+ */
71
+ interface QueryMedicalInstitutionPageParams {
72
+ /** 当前页码 */
73
+ pageNum: string;
74
+ /** 每页条数 */
75
+ pageSize: string;
76
+ /** (可选) 医供体组织ID,用于筛选 */
77
+ groupId?: string;
78
+ }
79
+ /**
80
+ * @description 查询医疗机构分页列表
81
+ */
82
+ export declare const queryMedicalInstitutionPage: (data: QueryMedicalInstitutionPageParams) => Promise<any>;
83
+ /**
84
+ * @description 获取医疗机构的应用列表参数 (通常指某个机构已被授权或可选择的应用)
85
+ */
86
+ interface QueryMedicalApplicationListParams {
87
+ /** 被授权机构ID (powerToId 指的是哪个机构拥有这些应用或权限) */
88
+ powerToId: string;
89
+ }
90
+ /**
91
+ * @description 获取医疗机构的应用列表
92
+ */
93
+ export declare const queryMedicalApplicationList: (data: QueryMedicalApplicationListParams) => Promise<any>;
94
+ /**
95
+ * @description 查询应用数据的授权列表参数
96
+ */
97
+ interface QueryMedicalAppAuthListParams {
98
+ /** 拥有权限的主体ID (通常是当前操作的机构,即被管理的机构) */
99
+ powerById: string;
100
+ /** 应用ID */
101
+ appId: string;
102
+ }
103
+ /**
104
+ * @description 应用数据的授权列表查询
105
+ */
106
+ export declare const queryMedicalAppAuthList: (data: QueryMedicalAppAuthListParams) => Promise<any>;
107
+ /**
108
+ * @description 授权应用数据参数
109
+ */
110
+ interface AddMedicalAppAuthParams {
111
+ /** 拥有权限的主体ID (通常是当前操作的机构) */
112
+ powerById: string;
113
+ /** 应用ID */
114
+ appId: string;
115
+ /** 被授权的机构ID (即将权限授予哪个机构) */
116
+ powerToId: string;
117
+ }
118
+ /**
119
+ * @description 授权应用数据
120
+ */
121
+ export declare const addMedicalAppAuth: (data: AddMedicalAppAuthParams) => Promise<any>;
122
+ /**
123
+ * @description 删除应用数据授权
124
+ */
125
+ interface DeleteMedicalAppAuthParams {
126
+ id: string;
127
+ }
128
+ /**
129
+ * @description 删除应用数据授权
130
+ */
131
+ export declare const deleteMedicalAppAuth: (data: DeleteMedicalAppAuthParams) => Promise<any>;
132
+ /**
133
+ * @description 组织机构层级列表动态查询参数
134
+ */
135
+ interface QueryInstitutionByLevelParams {
136
+ /** 层级 */
137
+ level: string;
138
+ /** 父节点ID (查询该父节点下的指定层级机构) */
139
+ parentId?: string;
140
+ /** 机构ID */
141
+ orgId?: string;
142
+ }
143
+ /**
144
+ * @description 组织机构层级列表动态查询
145
+ */
146
+ export declare const queryInstitutionByLevel: (data: QueryInstitutionByLevelParams) => Promise<any>;
147
+ /**
148
+ * @description 机构所属下级机构查询参数
149
+ */
150
+ interface QueryBelowInstitutionParams {
151
+ /** 父机构ID */
152
+ parentHosid: string;
153
+ }
154
+ /**
155
+ * @description 机构所属下级机构查询
156
+ */
157
+ export declare const queryBelowInstitution: (data: QueryBelowInstitutionParams) => Promise<any>;
158
+ /**
159
+ * @description 查询机构人员参数
160
+ */
161
+ interface QueryBelowUserParams {
162
+ /** 机构ID */
163
+ orgId: string;
164
+ /** (可选) 人员名称,用于筛选 */
165
+ name?: string;
166
+ keyWord?: string;
167
+ }
168
+ /**
169
+ * @description 查询机构人员列表
170
+ */
171
+ export declare const queryBelowUser: (data: QueryBelowUserParams) => Promise<any>;
172
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,26 @@
1
+ export interface ApiResponse<T> {
2
+ code: number;
3
+ msg: string;
4
+ data: T;
5
+ }
6
+ export interface interfacePrintParams {
7
+ templateContent: any;
8
+ printData: any;
9
+ }
10
+ export declare function getPrintTemplate(id: any): Promise<ApiResponse<any>>;
11
+ export declare function getPrintTemplateByCode(code: any): Promise<ApiResponse<any>>;
12
+ export declare function printCount(params: any): Promise<ApiResponse<any>>;
13
+ export declare function printReview(params: any): Promise<ApiResponse<any>>;
14
+ export declare function PrintWithAxios(params: interfacePrintParams): Promise<import('axios').AxiosResponse<ApiResponse<any>, any>>;
15
+ export declare function PrintWithErrorHandling(params: interfacePrintParams): Promise<any>;
16
+ export interface PrintPreviewParams {
17
+ data: any;
18
+ templateId: number;
19
+ }
20
+ /**
21
+ * 统一的打印预览函数
22
+ * @param params 打印预览参数
23
+ * @param printDelay 打印延迟时间(毫秒,默认1000)
24
+ * @returns Promise<boolean> 是否成功打开打印预览
25
+ */
26
+ export declare function openPrintPreview(params: PrintPreviewParams, printDelay?: number): Promise<boolean>;
@@ -0,0 +1,100 @@
1
+ export interface RoleItem {
2
+ roleId: string;
3
+ roleName: string;
4
+ description: string;
5
+ roleAuthStr: string;
6
+ createdTime: string;
7
+ updatedTime: string;
8
+ notes: string;
9
+ deleteFlag: number;
10
+ createdBy: string;
11
+ accountNumber: string | null;
12
+ pageNum: number | null;
13
+ pageSize: number | null;
14
+ userId: string | null;
15
+ menuId: string | null;
16
+ }
17
+ export interface ApiResponse<T> {
18
+ code: number;
19
+ msg: string;
20
+ data: T;
21
+ }
22
+ export interface PaginationData<T> {
23
+ total: number;
24
+ list: T[];
25
+ pageNum: number;
26
+ pageSize: number;
27
+ size: number;
28
+ startRow: number;
29
+ endRow: number;
30
+ pages: number;
31
+ prePage: number;
32
+ nextPage: number;
33
+ isFirstPage: boolean;
34
+ isLastPage: boolean;
35
+ hasPreviousPage: boolean;
36
+ hasNextPage: boolean;
37
+ navigatePages: number;
38
+ navigatepageNums: number[];
39
+ navigateFirstPage: number;
40
+ navigateLastPage: number;
41
+ }
42
+ export interface GetRoleListParams {
43
+ pageNum: number;
44
+ pageSize: number;
45
+ roleName?: string;
46
+ createdBy?: string;
47
+ accountNumber?: string;
48
+ }
49
+ export interface AddRoleParams {
50
+ roleName: string;
51
+ description?: string;
52
+ roleAuthStr?: string;
53
+ notes?: string;
54
+ }
55
+ export interface UpdateRoleParams extends AddRoleParams {
56
+ roleId: string;
57
+ }
58
+ export interface SetPermissionsParams {
59
+ menuId: string[];
60
+ roleId: string;
61
+ }
62
+ export interface MenuItem {
63
+ menuId: string | null;
64
+ menuName: string | null;
65
+ parentId: string | null;
66
+ businessId: string;
67
+ businessName: string;
68
+ isEnabled: string;
69
+ createdTime: string | null;
70
+ updatedTime: string | null;
71
+ notes: string | null;
72
+ deleteFlag: number;
73
+ children?: MenuItem[];
74
+ title?: string;
75
+ key?: string;
76
+ }
77
+ interface RoleMenuInfo {
78
+ menuId: string;
79
+ menuName: string | null;
80
+ parentId: string | null;
81
+ businessId: string | null;
82
+ businessName: string | null;
83
+ isEnabled: string;
84
+ createdTime: string | null;
85
+ updatedTime: string | null;
86
+ notes: string | null;
87
+ deleteFlag: number;
88
+ }
89
+ export declare function getRoleList(params: GetRoleListParams): Promise<ApiResponse<PaginationData<RoleItem>>>;
90
+ export declare function getRoleDetail(id: string): Promise<RoleItem>;
91
+ export declare function addRole(params: AddRoleParams): Promise<ApiResponse<any>>;
92
+ export declare function updateRole(params: UpdateRoleParams): Promise<ApiResponse<any>>;
93
+ export declare function deleteRole(roleIdList: string[]): Promise<ApiResponse<any>>;
94
+ export declare function setRolePermissions(params: SetPermissionsParams): Promise<ApiResponse<any>>;
95
+ export declare function exportRoleTemplate(): Promise<any>;
96
+ export declare function importRoles(file: File): Promise<any>;
97
+ export declare function getMenuList(): Promise<ApiResponse<MenuItem[]>>;
98
+ export declare function getApiAuth(): Promise<ApiResponse<string[]>>;
99
+ export declare function getRoleMenus(roleId: string): Promise<ApiResponse<RoleMenuInfo[]>>;
100
+ export {};
@@ -0,0 +1,28 @@
1
+ export interface Menu {
2
+ id: string;
3
+ name: string;
4
+ path: string;
5
+ icon: string;
6
+ type: string;
7
+ parentId: string;
8
+ sort: number;
9
+ permission: string;
10
+ }
11
+ export interface Organization {
12
+ id: string;
13
+ name: string;
14
+ code: string;
15
+ parentId: string;
16
+ leader: string;
17
+ phone: string;
18
+ email: string;
19
+ status: string;
20
+ }
21
+ export declare function getMenuList(): Promise<Menu[]>;
22
+ export declare function createMenu(data: Omit<Menu, 'id'>): Promise<Menu>;
23
+ export declare function updateMenu(id: string, data: Partial<Menu>): Promise<Menu>;
24
+ export declare function deleteMenu(id: string): Promise<any>;
25
+ export declare function getOrgList(): Promise<Organization[]>;
26
+ export declare function createOrg(data: Omit<Organization, 'id'>): Promise<Organization>;
27
+ export declare function updateOrg(id: string, data: Partial<Organization>): Promise<Organization>;
28
+ export declare function deleteOrg(id: string): Promise<any>;