sun-biz 0.0.4-beta.8 → 0.0.4-pjw.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.
Files changed (28) hide show
  1. package/dist/components/biz-select/biz-unit-select/api.d.ts +34 -0
  2. package/dist/components/biz-select/department-select/api.d.ts +51 -0
  3. package/dist/components/biz-select/index.d.ts +5 -0
  4. package/dist/components/biz-select/tag-select/api.d.ts +6 -0
  5. package/dist/components/biz-select/user-select/api.d.ts +109 -0
  6. package/dist/components/biz-select/ward-select/api.d.ts +43 -0
  7. package/dist/components/index.d.ts +1 -0
  8. package/dist/components/index.js +2717 -706
  9. package/dist/components/patient-access/api.d.ts +10 -1
  10. package/dist/components/pro-avatar/index.d.ts +2 -0
  11. package/dist/components/pro-avatar/utils.d.ts +21 -0
  12. package/dist/components/pro-form/typings/index.d.ts +1 -0
  13. package/dist/components/pro-table/constant.d.ts +1 -0
  14. package/dist/components/pro-table/interface/index.d.ts +5 -0
  15. package/dist/components/static/css/index.css +3 -3
  16. package/dist/hooks/index.d.ts +3 -3
  17. package/dist/hooks/index.js +53 -15
  18. package/dist/hooks/use-app-config/index.d.ts +2 -2
  19. package/dist/hooks/use-column&form-config/index.d.ts +5 -5
  20. package/dist/hooks/use-data-change-detector/index.d.ts +2 -1
  21. package/dist/hooks/use-fetch-data/index.d.ts +3 -0
  22. package/dist/hooks/{use-fetch-dataset/index.d.ts → use-fetch-data/use-fetch-dataset.d.ts} +1 -1
  23. package/dist/hooks/use-fetch-data/use-fetch-params.d.ts +24 -0
  24. package/dist/hooks/{use-fetch-dataset → use-fetch-data}/use-fetch-time.d.ts +1 -1
  25. package/dist/index.d.ts +25 -24
  26. package/dist/index.js +2758 -723
  27. package/dist/static/css/index.css +3 -3
  28. package/package.json +7 -7
@@ -0,0 +1,34 @@
1
+ export type BizUnitQueryParams = {
2
+ keyWord?: string;
3
+ hospitalId: string;
4
+ orgTypeCodes?: string[];
5
+ enabledFlag?: number;
6
+ orgIds?: string[];
7
+ encounterTypeCode?: string;
8
+ deptId?: string;
9
+ };
10
+ export type BizUnitItem = {
11
+ orgId: string;
12
+ orgNo: string;
13
+ orgNameDisplay: string;
14
+ orgTypeCode: string;
15
+ orgTypeDescDisplay: string;
16
+ orgDescDisplay?: string;
17
+ spellNo?: string;
18
+ wbNo?: string;
19
+ parentOrgId?: string;
20
+ enabledFlag: number;
21
+ deptTypeCode?: string;
22
+ deptTypeDesc?: string;
23
+ };
24
+ export type BizUnitSelection = Partial<BizUnitItem> & {
25
+ label?: string;
26
+ value?: string;
27
+ };
28
+ /**
29
+ * [1-10155-1] 根据条件查询业务单元列表
30
+ * 是否分页 Y
31
+ * @param params
32
+ * @returns
33
+ */
34
+ export declare const queryBizUnitList: (params: BizUnitQueryParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<BizUnitItem[]> | undefined]>;
@@ -0,0 +1,51 @@
1
+ export type DepartmentQueryParams = {
2
+ keyWord?: string;
3
+ enabledFlag?: number;
4
+ hospitalId: string;
5
+ deptTypeCodes?: string[];
6
+ encounterTypeCode?: string;
7
+ };
8
+ export type DepartmentItem = {
9
+ orgId: string;
10
+ orgNo: string;
11
+ orgName: string;
12
+ org2ndName?: string;
13
+ orgExtName?: string;
14
+ orgNameDisplay: string;
15
+ orgTypeCode: string;
16
+ orgTypeDescDisplay: string;
17
+ orgDesc?: string;
18
+ org2ndDesc?: string;
19
+ orgExtDesc?: string;
20
+ orgDescDisplay?: string;
21
+ spellNo?: string;
22
+ wbNo?: string;
23
+ parentOrgId?: string;
24
+ enabledFlag: number;
25
+ deptTypeCode?: string;
26
+ deptTypeDesc?: string;
27
+ deptXEncounterTypeList?: {
28
+ deptXEncounterTypeId: string;
29
+ encounterTypeCode: string;
30
+ encounterTypeDesc: string;
31
+ }[];
32
+ orgLocationList?: {
33
+ orgLocationId: string;
34
+ orgLocationNo: string;
35
+ orgLocationName: string;
36
+ orgLocation2ndName?: string;
37
+ orgLocationExtName?: string;
38
+ orgLocationNameDisplay: string;
39
+ }[];
40
+ };
41
+ export type DepartmentSelection = Partial<DepartmentItem> & {
42
+ label?: string;
43
+ value?: string;
44
+ };
45
+ /**
46
+ * [1-10154-1] 根据条件查询科室列表(平铺)
47
+ * 是否分页 N
48
+ * @param params
49
+ * @returns
50
+ */
51
+ export declare const queryDepartmentList: (params: DepartmentQueryParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<DepartmentItem[]> | undefined]>;
@@ -2,3 +2,8 @@ export { default as DictSelect } from './dict-select/index.vue';
2
2
  export { default as FlagSelect } from './flag-select/index.vue';
3
3
  export { default as HospitalSelect } from './hospital-select/index.vue';
4
4
  export { default as TagSelect } from './tag-select/index.vue';
5
+ export { default as UserSelect } from './user-select/index.vue';
6
+ export { default as BizUnitSelect } from './biz-unit-select/index.vue';
7
+ export { default as DepartmentSelect } from './department-select/index.vue';
8
+ export { default as WardSelect } from './ward-select/index.vue';
9
+ export type { TagGroupInfo } from './tag-select/api.ts';
@@ -5,6 +5,12 @@ interface TagInfo {
5
5
  tagId: string;
6
6
  tagNameDisplay: string;
7
7
  sort: number;
8
+ tagCssList?: {
9
+ tagCssId: string;
10
+ cssTypeCode: string;
11
+ cssTypeDesc: string;
12
+ cssValue: string;
13
+ }[];
8
14
  }
9
15
  /**
10
16
  * 标签分组详情
@@ -0,0 +1,109 @@
1
+ /**
2
+ * 入参
3
+ */
4
+ export type UserQueryParams = {
5
+ personId?: string;
6
+ enabledFlag?: number;
7
+ keyWord?: string;
8
+ userNo?: string;
9
+ hospitalId?: string;
10
+ userJobCodes?: string[];
11
+ bizUnitId?: string;
12
+ userId?: string;
13
+ userTypeCode?: string;
14
+ appReleaseVersionCode?: string;
15
+ pageNumber: number;
16
+ pageSize: number;
17
+ };
18
+ /**
19
+ * 出参
20
+ */
21
+ export type UserItem = {
22
+ userId: string;
23
+ userNo: string;
24
+ userName: string;
25
+ user2ndName?: string;
26
+ userExtName?: string;
27
+ userNameDisPlay: string;
28
+ loginFlag: number;
29
+ adminFlag: number;
30
+ lockedFlag: number;
31
+ userTypeCode: string;
32
+ userTypeDesc: string;
33
+ enabledFlag: number;
34
+ spellNo?: string;
35
+ wbNo?: string;
36
+ paySumTypeCode: string;
37
+ paySumTypeDesc: string;
38
+ paySumBelongUserId: string;
39
+ paySumBelongUserName: string;
40
+ invoiceAgentUserId: string;
41
+ invoiceAgentUserName: string;
42
+ lastLoginAt?: string;
43
+ loginIp?: string;
44
+ loginMac?: string;
45
+ loginTypeCode?: string;
46
+ loginTypeDesc?: string;
47
+ personId?: string;
48
+ titleCode?: string;
49
+ titleDesc?: string;
50
+ personSimpleDesc?: string;
51
+ person2ndSimpleDesc?: string;
52
+ personExtSimpleDesc?: string;
53
+ simpleDescDisplay?: string;
54
+ userJobCode: string;
55
+ userJobDesc: string;
56
+ genderCode?: string;
57
+ genderDesc?: string;
58
+ appReleaseVersionCode?: string;
59
+ appReleaseVersionDesc?: string;
60
+ perCertificateList: {
61
+ perCertificateId: string;
62
+ certificateTypeCode: string;
63
+ certificateTypeDesc: string;
64
+ certificateNo: string;
65
+ }[];
66
+ perContactList?: {
67
+ perContactId: string;
68
+ contactTypeCode: string;
69
+ contactTypeDesc: string;
70
+ contactNo: string;
71
+ }[];
72
+ loginOrgLocationList?: {
73
+ userXOrgLocationId: string;
74
+ orgLocationId: string;
75
+ orgLocationName: string;
76
+ sort: number;
77
+ orgId: string;
78
+ orgName: string;
79
+ orgTypeCode: string;
80
+ orgTypeDesc: string;
81
+ }[];
82
+ userRoleList?: {
83
+ userRoleId: string;
84
+ hospitalId: string;
85
+ hospitalName: string;
86
+ roleId: string;
87
+ roleName: string;
88
+ tenantId: string;
89
+ tenantName: string;
90
+ }[];
91
+ bizUnitList?: {
92
+ bizUnitId: string;
93
+ bizUnitName: string;
94
+ orgTypeCode: string;
95
+ orgTypeDesc: string;
96
+ hospitalId: string;
97
+ hospitalName: string;
98
+ }[];
99
+ };
100
+ export type UserSelection = Partial<UserItem> & {
101
+ label?: string;
102
+ value?: string;
103
+ };
104
+ /**
105
+ * [1-10013-1]根据条件查询用户列表
106
+ * @param params
107
+ * @returns
108
+ */
109
+ export declare const queryUserList: (params: UserQueryParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiPageData<UserItem> | undefined]>;
@@ -0,0 +1,43 @@
1
+ export type WardQueryParams = {
2
+ keyWord?: string;
3
+ enabledFlag?: number;
4
+ deptId?: string;
5
+ hospitalId: string;
6
+ };
7
+ export type WardItem = {
8
+ orgId: string;
9
+ orgNo: string;
10
+ orgName: string;
11
+ org2ndName?: string;
12
+ orgExtName?: string;
13
+ orgNameDisplay: string;
14
+ orgTypeCode: string;
15
+ orgTypeDescDisplay: string;
16
+ orgDesc?: string;
17
+ org2ndDesc?: string;
18
+ orgExtDesc?: string;
19
+ orgDescDisplay?: string;
20
+ spellNo?: string;
21
+ wbNo?: string;
22
+ parentOrgId?: string;
23
+ enabledFlag: number;
24
+ orgLocationList?: {
25
+ orgLocationId: string;
26
+ orgLocationNo: string;
27
+ orgLocationName: string;
28
+ orgLocation2ndName?: string;
29
+ orgLocationExtName?: string;
30
+ orgLocationNameDisplay: string;
31
+ }[];
32
+ };
33
+ export type WardSelection = Partial<WardItem> & {
34
+ label?: string;
35
+ value?: string;
36
+ };
37
+ /**
38
+ * [1-10155-1] 根据条件查询病区列表
39
+ * 是否分页 N
40
+ * @param params
41
+ * @returns
42
+ */
43
+ export declare const queryWardList: (params: WardQueryParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<WardItem[]> | undefined]>;
@@ -11,3 +11,4 @@ export { FormDesignRender } from './form-design-render/index.ts';
11
11
  export { CopyTextWithTooltip } from './copy-text-with-tooltip/index.ts';
12
12
  export { DictSelect, FlagSelect, HospitalSelect, TagSelect, } from './biz-select/index.ts';
13
13
  export { DmlButton } from './dml-button/index.ts';
14
+ export { ProAvatar } from './pro-avatar/index.ts';