@szjy/workflow 0.1.27 → 0.1.29
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/index.mjs +18021 -17928
- package/dist/index.umd.js +173 -173
- package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +11 -1
- package/dist/packages/components/Workflow/biz-logic/leave/types.d.ts +9 -1
- package/dist/packages/components/Workflow/components/biz/ui/FormOrgWithRole.vue.d.ts +39 -0
- package/package.json +1 -1
@@ -21,12 +21,14 @@ export declare const GET_USER_TYPES: {
|
|
21
21
|
USER_ID: string;
|
22
22
|
USER_ID_LIST: string;
|
23
23
|
FORM_FIELD: string;
|
24
|
+
CREATOR_AND_FORM: string;
|
24
25
|
FORM_ORG_WITH_TITLE: string;
|
25
26
|
GET_SINGLE_USER: string;
|
26
27
|
GET_MULTI_USERS: string;
|
27
28
|
CREATOR_RELATED: string;
|
28
29
|
CREATOR_ORG_ROLE_RELATED: string;
|
29
30
|
COMPANY_TYPE_DEPARTMENT_ROLE: string;
|
31
|
+
FORM_ORG_WITH_ROLE: string;
|
30
32
|
UNKNOWN: string;
|
31
33
|
};
|
32
34
|
export declare const GET_USER_TYPES_OPTIONS: {
|
@@ -38,7 +40,8 @@ export declare const USER_WITH_ORG_BASED_TYPES_OPTIONS: any;
|
|
38
40
|
export declare enum SearchType {
|
39
41
|
SEARCH_WITH_COMPANY_AND_TITLE = "SEARCH_WITH_COMPANY_AND_TITLE",
|
40
42
|
SEARCH_WITH_TITLE = "SEARCH_WITH_TITLE",
|
41
|
-
SEARCH_WITH_COMPANY_AND_ROLE_NAME = "SEARCH_WITH_COMPANY_AND_ROLE_NAME"
|
43
|
+
SEARCH_WITH_COMPANY_AND_ROLE_NAME = "SEARCH_WITH_COMPANY_AND_ROLE_NAME",// 根据公司和角色名搜索
|
44
|
+
SEARCH_WITH_ROLE = "SEARCH_WITH_ROLE"
|
42
45
|
}
|
43
46
|
export declare enum SearchWithCompanyType {
|
44
47
|
SELF_ORG = "SELF_ORG",// 本单位
|
@@ -86,6 +89,13 @@ export declare const DEFAULT_SEARCH_WITH_COMPANY_ROLE: {
|
|
86
89
|
roleNameList: never[];
|
87
90
|
};
|
88
91
|
};
|
92
|
+
export declare const DEFAULT_SEARCH_ORG_WITH_ROLE: {
|
93
|
+
enabled: boolean;
|
94
|
+
searchType: SearchType;
|
95
|
+
searchWithRoleNameInfo: {
|
96
|
+
roleNameList: never[];
|
97
|
+
};
|
98
|
+
};
|
89
99
|
export declare const DEFAULT_ORG_SEARCH_INFO: {
|
90
100
|
enabled: boolean;
|
91
101
|
searchType: SearchType;
|
@@ -5,7 +5,7 @@ export type UserJSON = {
|
|
5
5
|
outputTaskDefKey: string;
|
6
6
|
userIdList?: string[];
|
7
7
|
formFieldId?: string;
|
8
|
-
userSearchInfo?: UserSearchInfoType | UserSearchWithRoleType;
|
8
|
+
userSearchInfo?: UserSearchInfoType | UserSearchWithRoleType | UserFormWithRoleType;
|
9
9
|
orgSearchInfo?: OrgSearchInfoType;
|
10
10
|
};
|
11
11
|
export type JobTitleJSON = {
|
@@ -71,6 +71,14 @@ export type UserSearchWithRoleType = {
|
|
71
71
|
searchType: SearchType;
|
72
72
|
searchWithCompanyAndRoleNameInfo: SearchWithCompanyAndRoleNameInfo;
|
73
73
|
};
|
74
|
+
export type SearchWithRoleNameInfo = {
|
75
|
+
roleNameList: string[];
|
76
|
+
};
|
77
|
+
export type UserFormWithRoleType = {
|
78
|
+
enabled: boolean;
|
79
|
+
searchType: SearchType;
|
80
|
+
searchWithRoleNameInfo: SearchWithRoleNameInfo;
|
81
|
+
};
|
74
82
|
export type SearchWithTitleInfo = {
|
75
83
|
titleList: string[];
|
76
84
|
};
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { UserFormWithRoleType } from '../../../biz-logic/leave/types';
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
4
|
+
searchInfo: {
|
5
|
+
type: PropType<UserFormWithRoleType>;
|
6
|
+
default: {
|
7
|
+
enabled: boolean;
|
8
|
+
searchType: import("../../../biz-logic/leave/constant").SearchType;
|
9
|
+
searchWithRoleNameInfo: {
|
10
|
+
roleNameList: never[];
|
11
|
+
};
|
12
|
+
};
|
13
|
+
};
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
15
|
+
"update:searchInfo": (searchInfo: UserFormWithRoleType) => void;
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
17
|
+
searchInfo: {
|
18
|
+
type: PropType<UserFormWithRoleType>;
|
19
|
+
default: {
|
20
|
+
enabled: boolean;
|
21
|
+
searchType: import("../../../biz-logic/leave/constant").SearchType;
|
22
|
+
searchWithRoleNameInfo: {
|
23
|
+
roleNameList: never[];
|
24
|
+
};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
}>> & {
|
28
|
+
"onUpdate:searchInfo"?: ((searchInfo: UserFormWithRoleType) => any) | undefined;
|
29
|
+
}, {
|
30
|
+
searchInfo: UserFormWithRoleType;
|
31
|
+
}, {}>, {
|
32
|
+
default?(_: {}): any;
|
33
|
+
}>;
|
34
|
+
export default _default;
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
36
|
+
new (): {
|
37
|
+
$slots: S;
|
38
|
+
};
|
39
|
+
};
|