sun-biz 0.0.3-beta.9 → 0.0.4-beta.10
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/dist/components/biz-select/dict-select/api.d.ts +3 -1
- package/dist/components/biz-select/index.d.ts +2 -0
- package/dist/components/biz-select/tag-select/api.d.ts +28 -0
- package/dist/components/biz-select/user-select/api.d.ts +109 -0
- package/dist/components/dml-button/api/index.d.ts +26 -0
- package/dist/components/dml-button/index.d.ts +1 -0
- package/dist/components/form-design-render/utils.d.ts +11 -7
- package/dist/components/index.d.ts +13 -11
- package/dist/components/index.js +3903 -1154
- package/dist/components/invoice/api/index.d.ts +14 -0
- package/dist/components/invoice/constant.d.ts +7 -0
- package/dist/components/patient-access/api.d.ts +10 -1
- package/dist/components/print/constant.d.ts +13 -0
- package/dist/components/print/index.d.ts +2 -1
- package/dist/components/print/print.d.ts +6 -5
- package/dist/components/print/template.d.ts +1 -0
- package/dist/components/pro-dialog/hooks/useDialog.d.ts +1 -1
- package/dist/components/pro-form/index.d.ts +1 -0
- package/dist/components/pro-table/composables/dbgrid-component-setting/index.d.ts +3 -0
- package/dist/components/pro-table/composables/dbgrid-component-setting/typings/index.d.ts +11 -0
- package/dist/components/pro-table/interface/index.d.ts +10 -2
- package/dist/components/pro-table/utils.d.ts +18 -2
- package/dist/components/pro-table-v2/index.d.ts +3 -0
- package/dist/components/pro-table-v2/interface/index.d.ts +32 -0
- package/dist/components/static/css/index.css +15 -2
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.js +79 -3
- package/dist/hooks/use-app-config/types.d.ts +3 -1
- package/dist/hooks/use-data-change-detector/index.d.ts +13 -0
- package/dist/hooks/use-editable-table/index.d.ts +2 -2
- package/dist/hooks/use-fetch-dataset/index.d.ts +1 -0
- package/dist/hooks/use-fetch-dataset/use-fetch-time.d.ts +6 -0
- package/dist/index.d.ts +7 -3
- package/dist/index.js +4514 -1694
- package/dist/static/css/index.css +15 -2
- package/package.json +13 -9
|
@@ -19,6 +19,8 @@ export declare const queryDictDataListByExample: (params: {
|
|
|
19
19
|
codeSystemNo?: string;
|
|
20
20
|
keyWord?: string;
|
|
21
21
|
hospitalId: string;
|
|
22
|
-
|
|
22
|
+
menuId: string;
|
|
23
|
+
pageNumber: number;
|
|
24
|
+
pageSize: number;
|
|
23
25
|
}) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<ReqDictDataListByExample> | undefined]>;
|
|
24
26
|
export {};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
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
|
+
export { default as TagSelect } from './tag-select/index.vue';
|
|
5
|
+
export { default as UserSelect } from './tag-select/index.vue';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 标签详情
|
|
3
|
+
*/
|
|
4
|
+
interface TagInfo {
|
|
5
|
+
tagId: string;
|
|
6
|
+
tagNameDisplay: string;
|
|
7
|
+
sort: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* 标签分组详情
|
|
11
|
+
*/
|
|
12
|
+
export interface TagGroupInfo {
|
|
13
|
+
tagGroupId: string;
|
|
14
|
+
tagGroupNameDisplay: string;
|
|
15
|
+
enabledFlag: number;
|
|
16
|
+
tagList: TagInfo[];
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* [1-10473-1]根据条件查询标签分组V1(含标签)
|
|
20
|
+
* @param params
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
export declare const queryTagGroupByExampleV1: (params: {
|
|
24
|
+
bizIdTypeCode: string;
|
|
25
|
+
enabledFlag?: number;
|
|
26
|
+
bizId?: string;
|
|
27
|
+
}) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<TagGroupInfo[]> | undefined]>;
|
|
28
|
+
export {};
|
|
@@ -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,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [1-10008-1]根据条件生成DML脚本
|
|
3
|
+
* @param data
|
|
4
|
+
* @returns
|
|
5
|
+
*/
|
|
6
|
+
export declare const exportDmlScriptByExample: (params: {
|
|
7
|
+
bizIdTypeCode: string;
|
|
8
|
+
bisIds: string[];
|
|
9
|
+
dataBaseTypeCode: string;
|
|
10
|
+
}) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<{
|
|
11
|
+
data: string;
|
|
12
|
+
fileName: string;
|
|
13
|
+
}> | undefined]>;
|
|
14
|
+
/**
|
|
15
|
+
* 根据条件生成DML脚本 mdm 专用
|
|
16
|
+
* @param data
|
|
17
|
+
* @returns
|
|
18
|
+
*/
|
|
19
|
+
export declare const exportMdmDmlScriptByExample: (params: {
|
|
20
|
+
bizIdTypeCode: string;
|
|
21
|
+
bisIds: string[];
|
|
22
|
+
dataBaseTypeCode: string;
|
|
23
|
+
}) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<{
|
|
24
|
+
data: string;
|
|
25
|
+
fileName: string;
|
|
26
|
+
}> | undefined]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DmlButton } from './index.vue';
|
|
@@ -40,19 +40,16 @@ export declare function expansionGroup(data: FormDesignDetailInfo[], result?: Fo
|
|
|
40
40
|
*/
|
|
41
41
|
export declare function getComponentType(item: FormDesignDetailInfo): string;
|
|
42
42
|
export declare function getPlaceholder(item: FormDesignDetailInfo): string;
|
|
43
|
-
export declare function getExtraProps(item: FormDesignDetailInfo, dataValueNames?: {
|
|
43
|
+
export declare function getExtraProps(item: FormDesignDetailInfo, parentFormCtlNo: string, afterValueChange: ((key: string, model: unknown, parentFormCtlNo: string) => void) | undefined, dataValueNames?: {
|
|
44
44
|
[key: string]: [];
|
|
45
45
|
}, modelValue?: {
|
|
46
46
|
[key: string]: unknown;
|
|
47
47
|
}): {
|
|
48
|
-
|
|
48
|
+
onBlur: () => void;
|
|
49
49
|
};
|
|
50
|
-
export declare function useGetFromConfigData(result: FormDesignDetailInfo[], layoutTypeCode: number
|
|
50
|
+
export declare function useGetFromConfigData(result: FormDesignDetailInfo[], layoutTypeCode: number): {
|
|
51
51
|
label: string | undefined;
|
|
52
52
|
name: string;
|
|
53
|
-
onModelChange: (value: unknown, model: {
|
|
54
|
-
[key: string]: unknown;
|
|
55
|
-
}) => void;
|
|
56
53
|
component: string;
|
|
57
54
|
placeholder: string;
|
|
58
55
|
defaultValue: {};
|
|
@@ -61,7 +58,7 @@ export declare function useGetFromConfigData(result: FormDesignDetailInfo[], lay
|
|
|
61
58
|
rules: {
|
|
62
59
|
required: boolean;
|
|
63
60
|
message: string;
|
|
64
|
-
trigger: string;
|
|
61
|
+
trigger: string[];
|
|
65
62
|
}[];
|
|
66
63
|
extraProps: {
|
|
67
64
|
[key: string]: unknown;
|
|
@@ -87,3 +84,10 @@ export declare function integrateData(initData: {
|
|
|
87
84
|
export declare function getDefaultValue(data: {
|
|
88
85
|
[key: string]: unknown;
|
|
89
86
|
}, key: string): string;
|
|
87
|
+
/**
|
|
88
|
+
* 患者建档新增时表格不可重复的配置
|
|
89
|
+
*/
|
|
90
|
+
export declare const TABLE_DUPLICATE_CHECK: {
|
|
91
|
+
perCertificateList: string;
|
|
92
|
+
perAddressList: string;
|
|
93
|
+
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
1
|
+
export * from './invoice/index.ts';
|
|
2
|
+
export * from './pro-table/index.ts';
|
|
3
|
+
export * from './pro-table-v2/index.ts';
|
|
4
|
+
export * from './patient-access/index.ts';
|
|
5
|
+
export * from './print/index.ts';
|
|
6
|
+
export { ProForm, FormUnit, convertToWbNo, convertToSpellNo, type FormDescItem, } from './pro-form/index.ts';
|
|
7
|
+
export { Title } from './title/index.ts';
|
|
8
|
+
export { ProDialog } from './pro-dialog/index.ts';
|
|
9
|
+
export { AccessInfo } from './access-info/index.ts';
|
|
10
|
+
export { FormDesignRender } from './form-design-render/index.ts';
|
|
11
|
+
export { CopyTextWithTooltip } from './copy-text-with-tooltip/index.ts';
|
|
12
|
+
export { DictSelect, FlagSelect, HospitalSelect, TagSelect, } from './biz-select/index.ts';
|
|
13
|
+
export { DmlButton } from './dml-button/index.ts';
|