sun-biz 0.0.4-beta.17 → 0.0.4-beta.19

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.
@@ -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]>;
@@ -3,4 +3,7 @@ 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
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';
6
9
  export type { TagGroupInfo } from './tag-select/api.ts';
@@ -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]>;