sun-biz 0.0.4-beta.6 → 0.0.4-beta.61

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 (52) hide show
  1. package/dist/components/biz-select/biz-unit-select/api.d.ts +35 -0
  2. package/dist/components/biz-select/department-select/api.d.ts +52 -0
  3. package/dist/components/biz-select/hospital-charge-select/api.d.ts +53 -0
  4. package/dist/components/biz-select/index.d.ts +7 -0
  5. package/dist/components/biz-select/tag-select/api.d.ts +18 -2
  6. package/dist/components/biz-select/tag-select/utils.d.ts +31 -0
  7. package/dist/components/biz-select/user-select/api.d.ts +110 -0
  8. package/dist/components/biz-select/ward-select/api.d.ts +44 -0
  9. package/dist/components/charge-order-dialog/api.d.ts +117 -0
  10. package/dist/components/charge-order-dialog/constants.d.ts +23 -0
  11. package/dist/components/charge-order-dialog/hooks.d.ts +132 -0
  12. package/dist/components/charge-order-dialog/index.d.ts +3 -0
  13. package/dist/components/charge-order-dialog/types.d.ts +155 -0
  14. package/dist/components/charge-order-dialog/useConfigData.d.ts +13 -0
  15. package/dist/components/charge-order-dialog/useGetDataSetList.d.ts +2 -0
  16. package/dist/components/charge-order-dialog/utils.d.ts +92 -0
  17. package/dist/components/index.d.ts +3 -0
  18. package/dist/components/index.js +5950 -1049
  19. package/dist/components/index.js.LICENSE.txt +11 -0
  20. package/dist/components/keyboard-value/index.d.ts +1 -0
  21. package/dist/components/patient-access/api.d.ts +12 -1
  22. package/dist/components/print/hooks/index.d.ts +1 -0
  23. package/dist/components/pro-avatar/index.d.ts +2 -0
  24. package/dist/components/pro-avatar/utils.d.ts +21 -0
  25. package/dist/components/pro-form/typings/index.d.ts +1 -0
  26. package/dist/components/pro-table/composables/dbgrid-component-setting/typings/index.d.ts +1 -0
  27. package/dist/components/pro-table/constant.d.ts +1 -0
  28. package/dist/components/pro-table/interface/index.d.ts +9 -1
  29. package/dist/components/static/css/index.css +77 -3
  30. package/dist/components/table-select/composable/useDirectionKey.d.ts +10 -0
  31. package/dist/components/table-select/index.d.ts +4 -0
  32. package/dist/components/table-select/types/index.d.ts +131 -0
  33. package/dist/directives/index.d.ts +1 -0
  34. package/dist/directives/shortcut.d.ts +13 -0
  35. package/dist/hooks/index.d.ts +3 -3
  36. package/dist/hooks/index.js +68 -22
  37. package/dist/hooks/use-app-config/index.d.ts +2 -2
  38. package/dist/hooks/use-column&form-config/index.d.ts +5 -5
  39. package/dist/hooks/use-data-change-detector/index.d.ts +2 -1
  40. package/dist/hooks/use-direction-select/index.d.ts +2 -2
  41. package/dist/hooks/use-editable-table/index.d.ts +2 -0
  42. package/dist/hooks/use-fetch-data/index.d.ts +3 -0
  43. package/dist/hooks/{use-fetch-dataset/index.d.ts → use-fetch-data/use-fetch-dataset.d.ts} +1 -1
  44. package/dist/hooks/use-fetch-data/use-fetch-params.d.ts +24 -0
  45. package/dist/hooks/use-fetch-data/use-fetch-time.d.ts +6 -0
  46. package/dist/index.d.ts +29 -24
  47. package/dist/index.js +6585 -1236
  48. package/dist/index.js.LICENSE.txt +11 -0
  49. package/dist/static/css/index.css +77 -3
  50. package/dist/types/index.d.ts +28 -0
  51. package/package.json +21 -18
  52. package/dist/hooks/use-fetch-dataset/use-fetch-time.d.ts +0 -4
@@ -0,0 +1,35 @@
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
+ orgLocationId?: string;
10
+ };
11
+ export type BizUnitItem = {
12
+ orgId: string;
13
+ orgNo: string;
14
+ orgNameDisplay: string;
15
+ orgTypeCode: string;
16
+ orgTypeDescDisplay: string;
17
+ orgDescDisplay?: string;
18
+ spellNo?: string;
19
+ wbNo?: string;
20
+ parentOrgId?: string;
21
+ enabledFlag: number;
22
+ deptTypeCode?: string;
23
+ deptTypeDesc?: string;
24
+ };
25
+ export type BizUnitSelection = Partial<BizUnitItem> & {
26
+ label?: string;
27
+ value?: string;
28
+ };
29
+ /**
30
+ * [1-10155-1] 根据条件查询业务单元列表
31
+ * 是否分页 Y
32
+ * @param params
33
+ * @returns
34
+ */
35
+ export declare const queryBizUnitList: (params: BizUnitQueryParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<BizUnitItem[]> | undefined]>;
@@ -0,0 +1,52 @@
1
+ export type DepartmentQueryParams = {
2
+ keyWord?: string;
3
+ enabledFlag?: number;
4
+ hospitalId: string;
5
+ deptTypeCodes?: string[];
6
+ encounterTypeCode?: string;
7
+ orgLocationId?: string;
8
+ };
9
+ export type DepartmentItem = {
10
+ orgId: string;
11
+ orgNo: string;
12
+ orgName: string;
13
+ org2ndName?: string;
14
+ orgExtName?: string;
15
+ orgNameDisplay: string;
16
+ orgTypeCode: string;
17
+ orgTypeDescDisplay: string;
18
+ orgDesc?: string;
19
+ org2ndDesc?: string;
20
+ orgExtDesc?: string;
21
+ orgDescDisplay?: string;
22
+ spellNo?: string;
23
+ wbNo?: string;
24
+ parentOrgId?: string;
25
+ enabledFlag: number;
26
+ deptTypeCode?: string;
27
+ deptTypeDesc?: string;
28
+ deptXEncounterTypeList?: {
29
+ deptXEncounterTypeId: string;
30
+ encounterTypeCode: string;
31
+ encounterTypeDesc: string;
32
+ }[];
33
+ orgLocationList?: {
34
+ orgLocationId: string;
35
+ orgLocationNo: string;
36
+ orgLocationName: string;
37
+ orgLocation2ndName?: string;
38
+ orgLocationExtName?: string;
39
+ orgLocationNameDisplay: string;
40
+ }[];
41
+ };
42
+ export type DepartmentSelection = Partial<DepartmentItem> & {
43
+ label?: string;
44
+ value?: string;
45
+ };
46
+ /**
47
+ * [1-10154-1] 根据条件查询科室列表(平铺)
48
+ * 是否分页 N
49
+ * @param params
50
+ * @returns
51
+ */
52
+ export declare const queryDepartmentList: (params: DepartmentQueryParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<DepartmentItem[]> | undefined]>;
@@ -0,0 +1,53 @@
1
+ export type HospitalChargeQueryParams = {
2
+ keyWord?: string;
3
+ hospitalId: string;
4
+ encounterTypeCode?: string;
5
+ priceAt: string;
6
+ hospitalCommodityIds?: string[];
7
+ };
8
+ export type HospitalChargeItem = {
9
+ hospitalCommodityId: string;
10
+ commodityCategoryId: string;
11
+ commodityCategoryName: string;
12
+ outCommodityCategoryId?: string;
13
+ outCommodityCategoryName?: string;
14
+ inCommodityCategoryId?: string;
15
+ inCommodityCategoryName?: string;
16
+ accCommodityCategoryId?: string;
17
+ accCommodityCategoryName?: string;
18
+ fncCommodityCategoryId?: string;
19
+ fncCommodityCategoryName?: string;
20
+ mrCommodityCategoryId?: string;
21
+ mrCommodityCategoryName?: string;
22
+ commodityId: string;
23
+ commodityNo?: string;
24
+ commodityName: string;
25
+ commodity2ndName?: string;
26
+ commodityExtName?: string;
27
+ commodityNameDisplay: string;
28
+ commoditySpec?: string;
29
+ unitId?: string;
30
+ unitName: string;
31
+ spellNo: string;
32
+ wbNo?: string;
33
+ memo?: string;
34
+ producedByOrgId?: string;
35
+ producedByOrgName?: string;
36
+ chargeItemConnotation?: string;
37
+ enabledFlag: number;
38
+ commodityPriceId: string;
39
+ price: number;
40
+ startAt: string;
41
+ endAt?: string;
42
+ };
43
+ export type HospitalChargeSelection = Partial<HospitalChargeItem> & {
44
+ label?: string;
45
+ value?: string;
46
+ };
47
+ /**
48
+ * [1-10147-1] 根据条件查询医院的收费项目列表(业务态)
49
+ * 是否分页 Y
50
+ * @param params
51
+ * @returns
52
+ */
53
+ export declare const queryHospitalChargeItemListByExample: (params: HospitalChargeQueryParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<HospitalChargeItem[]> | undefined]>;
@@ -2,3 +2,10 @@ 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 { default as HospitalChargeSelect } from './hospital-charge-select/index.vue';
10
+ export type { TagGroupInfo } from './tag-select/api.ts';
11
+ export type { HospitalChargeItem, HospitalChargeQueryParams, HospitalChargeSelection } from './hospital-charge-select/api.ts';
@@ -1,10 +1,16 @@
1
1
  /**
2
2
  * 标签详情
3
3
  */
4
- interface TagInfo {
4
+ export 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
  * 标签分组详情
@@ -25,4 +31,14 @@ export declare const queryTagGroupByExampleV1: (params: {
25
31
  enabledFlag?: number;
26
32
  bizId?: string;
27
33
  }) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<TagGroupInfo[]> | undefined]>;
28
- export {};
34
+ /**
35
+ * ]根据条件查询标签列表
36
+ * @param params
37
+ * @returns
38
+ */
39
+ export declare const queryTagListByExample: (params: {
40
+ tagGroupIds?: string[];
41
+ tagIds?: string[];
42
+ enabledFlag?: boolean;
43
+ keyWord?: string;
44
+ }) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<TagInfo[]> | undefined]>;
@@ -0,0 +1,31 @@
1
+ import { TagInfo, TagGroupInfo } from './api.ts';
2
+ export declare const addTagToMap: (map: Map<string, {
3
+ tagNameDisplay: string;
4
+ background: string;
5
+ color: string;
6
+ }>, tag: {
7
+ tagId: string;
8
+ tagNameDisplay: string;
9
+ tagCssList?: Array<{
10
+ cssTypeCode: string;
11
+ cssValue: string;
12
+ }>;
13
+ }) => void;
14
+ export declare const getModelValueArray: (value: string | string[] | undefined) => string[];
15
+ export declare const createTagsMap: (tableData: TagGroupInfo[], extraTagIds: TagInfo[]) => Map<string, {
16
+ tagNameDisplay: string;
17
+ background: string;
18
+ color: string;
19
+ }>;
20
+ export declare const getOptionStyle: (tagId: string, selectList: string[], allTagsMap: Map<string, {
21
+ tagNameDisplay: string;
22
+ background: string;
23
+ color: string;
24
+ }>) => {
25
+ background?: undefined;
26
+ color?: undefined;
27
+ } | {
28
+ background: string | undefined;
29
+ color: string | undefined;
30
+ };
31
+ export declare const isOptionDisabled: (tagId: string, selectList: string[]) => boolean;
@@ -0,0 +1,110 @@
1
+ /**
2
+ * 入参
3
+ */
4
+ export type UserQueryParams = {
5
+ personId?: string;
6
+ enabledFlag?: number;
7
+ keyWord?: string;
8
+ userNo?: string;
9
+ hospitalId?: string;
10
+ orgLocationId?: string;
11
+ userJobCodes?: string[];
12
+ bizUnitId?: string;
13
+ userId?: string;
14
+ userTypeCode?: string;
15
+ appReleaseVersionCode?: string;
16
+ pageNumber: number;
17
+ pageSize: number;
18
+ };
19
+ /**
20
+ * 出参
21
+ */
22
+ export type UserItem = {
23
+ userId: string;
24
+ userNo: string;
25
+ userName: string;
26
+ user2ndName?: string;
27
+ userExtName?: string;
28
+ userNameDisPlay: string;
29
+ loginFlag: number;
30
+ adminFlag: number;
31
+ lockedFlag: number;
32
+ userTypeCode: string;
33
+ userTypeDesc: string;
34
+ enabledFlag: number;
35
+ spellNo?: string;
36
+ wbNo?: string;
37
+ paySumTypeCode: string;
38
+ paySumTypeDesc: string;
39
+ paySumBelongUserId: string;
40
+ paySumBelongUserName: string;
41
+ invoiceAgentUserId: string;
42
+ invoiceAgentUserName: string;
43
+ lastLoginAt?: string;
44
+ loginIp?: string;
45
+ loginMac?: string;
46
+ loginTypeCode?: string;
47
+ loginTypeDesc?: string;
48
+ personId?: string;
49
+ titleCode?: string;
50
+ titleDesc?: string;
51
+ personSimpleDesc?: string;
52
+ person2ndSimpleDesc?: string;
53
+ personExtSimpleDesc?: string;
54
+ simpleDescDisplay?: string;
55
+ userJobCode: string;
56
+ userJobDesc: string;
57
+ genderCode?: string;
58
+ genderDesc?: string;
59
+ appReleaseVersionCode?: string;
60
+ appReleaseVersionDesc?: string;
61
+ perCertificateList: {
62
+ perCertificateId: string;
63
+ certificateTypeCode: string;
64
+ certificateTypeDesc: string;
65
+ certificateNo: string;
66
+ }[];
67
+ perContactList?: {
68
+ perContactId: string;
69
+ contactTypeCode: string;
70
+ contactTypeDesc: string;
71
+ contactNo: string;
72
+ }[];
73
+ loginOrgLocationList?: {
74
+ userXOrgLocationId: string;
75
+ orgLocationId: string;
76
+ orgLocationName: string;
77
+ sort: number;
78
+ orgId: string;
79
+ orgName: string;
80
+ orgTypeCode: string;
81
+ orgTypeDesc: string;
82
+ }[];
83
+ userRoleList?: {
84
+ userRoleId: string;
85
+ hospitalId: string;
86
+ hospitalName: string;
87
+ roleId: string;
88
+ roleName: string;
89
+ tenantId: string;
90
+ tenantName: string;
91
+ }[];
92
+ bizUnitList?: {
93
+ bizUnitId: string;
94
+ bizUnitName: string;
95
+ orgTypeCode: string;
96
+ orgTypeDesc: string;
97
+ hospitalId: string;
98
+ hospitalName: string;
99
+ }[];
100
+ };
101
+ export type UserSelection = Partial<UserItem> & {
102
+ label?: string;
103
+ value?: string;
104
+ };
105
+ /**
106
+ * [1-10661-1] 根据条件查询用户列表
107
+ * @param params
108
+ * @returns
109
+ */
110
+ export declare const queryUserList: (params: UserQueryParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiPageData<UserItem> | undefined]>;
@@ -0,0 +1,44 @@
1
+ export type WardQueryParams = {
2
+ keyWord?: string;
3
+ enabledFlag?: number;
4
+ deptId?: string;
5
+ hospitalId: string;
6
+ orgLocationId?: string;
7
+ };
8
+ export type WardItem = {
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
+ orgLocationList?: {
26
+ orgLocationId: string;
27
+ orgLocationNo: string;
28
+ orgLocationName: string;
29
+ orgLocation2ndName?: string;
30
+ orgLocationExtName?: string;
31
+ orgLocationNameDisplay: string;
32
+ }[];
33
+ };
34
+ export type WardSelection = Partial<WardItem> & {
35
+ label?: string;
36
+ value?: string;
37
+ };
38
+ /**
39
+ * [1-10155-1] 根据条件查询病区列表
40
+ * 是否分页 N
41
+ * @param params
42
+ * @returns
43
+ */
44
+ export declare const queryWardList: (params: WardQueryParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<WardItem[]> | undefined]>;
@@ -0,0 +1,117 @@
1
+ import type { hospitalChargeResItem, ChargeItemListReqParams, DatasetItem } from './types.ts';
2
+ import type { UserItem, UserQueryParams } from './types.ts';
3
+ export interface ChargeReqFeeDtItem {
4
+ chargeReqFeeDtId: string;
5
+ commodityTypeCode: string;
6
+ commodityTypeDesc: string;
7
+ hospitalCommodityId: string;
8
+ commodityId: string;
9
+ commodityNameDisplay: string;
10
+ commoditySpec: string;
11
+ commodityPriceId: string;
12
+ originalPrice: string;
13
+ chargePrice: number;
14
+ chargeUnitId: string;
15
+ chargeUnitName: string;
16
+ chargeReqQty: number;
17
+ chargeQty: number;
18
+ confirmQty: string;
19
+ allowChargeQty: number;
20
+ confirmUserId: string;
21
+ confirmUserName: string;
22
+ confirmAt: string;
23
+ originalAmt: string;
24
+ discountAmt: string;
25
+ payAmt: number;
26
+ needUploadFlag: string;
27
+ needMedApproveFlag: number;
28
+ medApproveStatusCode: string;
29
+ medApproveStatusDesc: string;
30
+ herbPerQty: number;
31
+ chargeUnitFactor: string;
32
+ chargeReqItemFactor: number;
33
+ commodityCategoryId: string;
34
+ commodityCategoryName: string;
35
+ }
36
+ export interface ChargeReqItemDtItem {
37
+ chargeReqItemDtId: string;
38
+ reqItemTypeCode: string;
39
+ reqItemTypeDesc: string;
40
+ medicineFlag: number;
41
+ reqItemId: string;
42
+ reqItemName: string;
43
+ reqItemNameDisplay: string;
44
+ presQty: number;
45
+ presUnitId: string;
46
+ presUnitName: string;
47
+ chargeReqQty: number;
48
+ chargeUnitId: string;
49
+ chargeUnitName: string;
50
+ originalPrice: string;
51
+ chargePrice: number;
52
+ chargeQty: number;
53
+ originalAmt: string;
54
+ discountAmt: string;
55
+ payAmt: number;
56
+ chargeReqFeeDtList: ChargeReqFeeDtItem[];
57
+ }
58
+ export interface CreateChargeReqFeeDtItem {
59
+ commodityTypeCode: string;
60
+ commodityId: string;
61
+ commodityPriceId: string;
62
+ chargePrice: number;
63
+ chargeUnitId: string;
64
+ chargeReqQty: number;
65
+ needUploadFlag: number;
66
+ needMedApproveFlag: number;
67
+ medApproveStatusCode: string;
68
+ herbPerQty: number;
69
+ chargeUnitFactor: number;
70
+ chargeReqItemFactor: number;
71
+ chargeReqFeeDtExtId?: string;
72
+ }
73
+ export interface CreateChargeReqItemDtItem {
74
+ reqItemTypeCode: string;
75
+ medicineFlag: number;
76
+ reqItemId: string;
77
+ presQty: number;
78
+ presUnitId: string;
79
+ chargeReqQty: number;
80
+ chargeUnitId: string;
81
+ chargeReqItemDtExtId?: string;
82
+ chargeReqFeeDtList: CreateChargeReqFeeDtItem[];
83
+ }
84
+ export interface CreateChargeReqItem {
85
+ orderFormTypeId: string;
86
+ presBizUnitCategCode: string;
87
+ presBizUnitId: string;
88
+ presUserId: string;
89
+ presAt: string;
90
+ execBizUnitCategCode?: string;
91
+ execBizUnitId?: string;
92
+ expiredAt: string;
93
+ chargeReqExtId?: string;
94
+ herbNum?: number;
95
+ chargeReqItemDtList: CreateChargeReqItemDtItem[];
96
+ }
97
+ export interface CreateChargeReqParams {
98
+ chargeReqTypeCode: string;
99
+ patientId: string;
100
+ regId?: string;
101
+ hospitalId: string;
102
+ chargeReqList: CreateChargeReqItem[];
103
+ }
104
+ /** 2-10022-1 新增门诊收费申请 */
105
+ export declare const createChargeRequisition: (params: CreateChargeReqParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<unknown> | undefined]>;
106
+ /** 1-10013-1 根据条件查询用户列表 */
107
+ export declare const queryUserListByExample: (params: UserQueryParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiPageData<UserItem> | undefined]>;
108
+ /** 1-10147-1 根据条件查询医院的收费项目列表(业务态) */
109
+ export declare const queryChargeItemList: (params: ChargeItemListReqParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<hospitalChargeResItem[]> | undefined]>;
110
+ /**
111
+ * [1-10012-1]获取值域列表
112
+ * @param data
113
+ * @returns
114
+ */
115
+ export declare const queryDataSetByCodeSystemCodes: <T extends readonly string[]>(params: {
116
+ codeSystemCodes: readonly string[];
117
+ }) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<{ [P in T[number]]: DatasetItem[]; }> | undefined]>;
@@ -0,0 +1,23 @@
1
+ import { ORG_TYPE_CODE, FLAG, ENCOUNTER_TYPE_CODE } from '@sun-toolkit/enums';
2
+ export { ORG_TYPE_CODE, FLAG, ENCOUNTER_TYPE_CODE };
3
+ /** 未挂号 */
4
+ export declare const NO_REGISTER = "NO_REGISTER";
5
+ /** 医嘱单据类型标识 */
6
+ export declare const CLI_ORDER_TYPE_ID = "1707651943885021184";
7
+ /** 申请项类型代码 */
8
+ export declare enum REQ_ITEM_TYPE_CODE {
9
+ /** 商品 */
10
+ COMMODITY = "2"
11
+ }
12
+ /** 医保审批状态代码 */
13
+ export declare enum MED_APPROVE_STATUS_CODE {
14
+ /** 未审批 */
15
+ NOT_APPROVE = "1"
16
+ }
17
+ /** 商品类型代码 */
18
+ export declare enum COMMODITY_TYPE_CODE {
19
+ /** 收费项目 */
20
+ CHARGE_ITEM = "1",
21
+ /** 药品 */
22
+ MEDICINE = "2"
23
+ }
@@ -0,0 +1,132 @@
1
+ import type { ChargeItemListReqParams, hospitalChargeResItem, UserItem, UserQueryParams } from './types.ts';
2
+ /** 获取收费项目 */
3
+ export declare function useFetchChargeItemList(): {
4
+ loading: import("vue").Ref<boolean, boolean>;
5
+ chargeItemList: import("vue").Ref<hospitalChargeResItem[] | undefined, hospitalChargeResItem[] | undefined>;
6
+ getChargeItemList: (params: ChargeItemListReqParams) => Promise<void>;
7
+ };
8
+ export declare function useFetchUserList(): {
9
+ loading: import("vue").Ref<boolean, boolean>;
10
+ userList: import("vue").Ref<{
11
+ userId: string;
12
+ userNo: string;
13
+ userName: string;
14
+ user2ndName?: string | undefined;
15
+ userExtName?: string | undefined;
16
+ userNameDisplay: string;
17
+ loginFlag: number;
18
+ adminFlag: number;
19
+ lockedFlag: number;
20
+ userTypeCode: string;
21
+ userTypeDesc: string;
22
+ enabledFlag: number;
23
+ spellNo?: string | undefined;
24
+ wbNo?: string | undefined;
25
+ paySumTypeCode: string;
26
+ paySumTypeDesc: string;
27
+ paySumBelongUserId: string;
28
+ paySumBelongUserName: string;
29
+ invoiceAgentUserId: string;
30
+ invoiceAgentUserName: string;
31
+ lastLoginAt?: string | undefined;
32
+ loginIp?: string | undefined;
33
+ loginMac?: string | undefined;
34
+ loginTypeCode?: string | undefined;
35
+ loginTypeDesc?: string | undefined;
36
+ personId?: string | undefined;
37
+ titleCode?: string | undefined;
38
+ titleDesc?: string | undefined;
39
+ personSimpleDesc?: string | undefined;
40
+ person2ndSimpleDesc?: string | undefined;
41
+ personExtSimpleDesc?: string | undefined;
42
+ simpleDescDisplay?: string | undefined;
43
+ userJobCode: string;
44
+ userJobDesc: string;
45
+ perCertificateList: {
46
+ perCertificateId: string;
47
+ certificateTypeCode: string;
48
+ certificateTypeDesc: string;
49
+ certificateNo: string;
50
+ }[];
51
+ loginOrgLocationList?: {
52
+ userXOrgLocationId: string;
53
+ orgLocationId: string;
54
+ orgLocationName: string;
55
+ sort: number;
56
+ orgId: string;
57
+ orgName: string;
58
+ orgTypeCode: string;
59
+ orgTypeDesc: string;
60
+ }[] | undefined;
61
+ userRoleList?: {
62
+ userRoleId: string;
63
+ hospitalId: string;
64
+ hospitalName: string;
65
+ roleId: string;
66
+ roleName: string;
67
+ tenantId: string;
68
+ tenantName: string;
69
+ }[] | undefined;
70
+ }[], UserItem[] | {
71
+ userId: string;
72
+ userNo: string;
73
+ userName: string;
74
+ user2ndName?: string | undefined;
75
+ userExtName?: string | undefined;
76
+ userNameDisplay: string;
77
+ loginFlag: number;
78
+ adminFlag: number;
79
+ lockedFlag: number;
80
+ userTypeCode: string;
81
+ userTypeDesc: string;
82
+ enabledFlag: number;
83
+ spellNo?: string | undefined;
84
+ wbNo?: string | undefined;
85
+ paySumTypeCode: string;
86
+ paySumTypeDesc: string;
87
+ paySumBelongUserId: string;
88
+ paySumBelongUserName: string;
89
+ invoiceAgentUserId: string;
90
+ invoiceAgentUserName: string;
91
+ lastLoginAt?: string | undefined;
92
+ loginIp?: string | undefined;
93
+ loginMac?: string | undefined;
94
+ loginTypeCode?: string | undefined;
95
+ loginTypeDesc?: string | undefined;
96
+ personId?: string | undefined;
97
+ titleCode?: string | undefined;
98
+ titleDesc?: string | undefined;
99
+ personSimpleDesc?: string | undefined;
100
+ person2ndSimpleDesc?: string | undefined;
101
+ personExtSimpleDesc?: string | undefined;
102
+ simpleDescDisplay?: string | undefined;
103
+ userJobCode: string;
104
+ userJobDesc: string;
105
+ perCertificateList: {
106
+ perCertificateId: string;
107
+ certificateTypeCode: string;
108
+ certificateTypeDesc: string;
109
+ certificateNo: string;
110
+ }[];
111
+ loginOrgLocationList?: {
112
+ userXOrgLocationId: string;
113
+ orgLocationId: string;
114
+ orgLocationName: string;
115
+ sort: number;
116
+ orgId: string;
117
+ orgName: string;
118
+ orgTypeCode: string;
119
+ orgTypeDesc: string;
120
+ }[] | undefined;
121
+ userRoleList?: {
122
+ userRoleId: string;
123
+ hospitalId: string;
124
+ hospitalName: string;
125
+ roleId: string;
126
+ roleName: string;
127
+ tenantId: string;
128
+ tenantName: string;
129
+ }[] | undefined;
130
+ }[]>;
131
+ getUserList: (params: Partial<UserQueryParams>) => Promise<void>;
132
+ };
@@ -0,0 +1,3 @@
1
+ import ChargeOrderDialog from './index.vue';
2
+ export { ChargeOrderDialog };
3
+ export default ChargeOrderDialog;