@szjy/workflow 0.1.20 → 0.1.21
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.mjs +11436 -11360
- package/dist/index.umd.js +193 -193
- package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +12 -1
- package/dist/packages/components/Workflow/biz-logic/leave/types.d.ts +10 -1
- package/dist/packages/components/Workflow/components/biz/ui/UserSearchWithRole.vue.d.ts +35 -0
- package/package.json +1 -1
@@ -25,6 +25,7 @@ export declare const GET_USER_TYPES: {
|
|
25
25
|
GET_SINGLE_USER: string;
|
26
26
|
GET_MULTI_USERS: string;
|
27
27
|
CREATOR_RELATED: string;
|
28
|
+
CREATOR_ORG_ROLE_RELATED: string;
|
28
29
|
UNKNOWN: string;
|
29
30
|
};
|
30
31
|
export declare const GET_USER_TYPES_OPTIONS: {
|
@@ -35,7 +36,8 @@ export declare const USER_WITH_CREATOR_RES_TYPES_OPTIONS: any;
|
|
35
36
|
export declare const USER_WITH_ORG_BASED_TYPES_OPTIONS: any;
|
36
37
|
export declare enum SearchType {
|
37
38
|
SEARCH_WITH_COMPANY_AND_TITLE = "SEARCH_WITH_COMPANY_AND_TITLE",
|
38
|
-
SEARCH_WITH_TITLE = "SEARCH_WITH_TITLE"
|
39
|
+
SEARCH_WITH_TITLE = "SEARCH_WITH_TITLE",
|
40
|
+
SEARCH_WITH_COMPANY_AND_ROLE_NAME = "SEARCH_WITH_COMPANY_AND_ROLE_NAME"
|
39
41
|
}
|
40
42
|
export declare enum SearchWithCompanyType {
|
41
43
|
SELF_ORG = "SELF_ORG",// 本单位
|
@@ -56,6 +58,14 @@ export declare const DEFAULT_USER_SEARCH_INFO: {
|
|
56
58
|
titleList: never[];
|
57
59
|
};
|
58
60
|
};
|
61
|
+
export declare const DEFAULT_USER_SEARCH_WITH_ROLE: {
|
62
|
+
enabled: boolean;
|
63
|
+
searchType: SearchType;
|
64
|
+
searchWithCompanyAndRoleNameInfo: {
|
65
|
+
searchWithCompanyType: SearchWithCompanyType;
|
66
|
+
roleNameList: never[];
|
67
|
+
};
|
68
|
+
};
|
59
69
|
export declare const DEFAULT_ORG_SEARCH_INFO: {
|
60
70
|
enabled: boolean;
|
61
71
|
searchType: SearchType;
|
@@ -111,6 +121,7 @@ export declare const CONDITION_VALUE_TYPES: {
|
|
111
121
|
TASK_OUTPUT: string;
|
112
122
|
STRING_LIST: string;
|
113
123
|
CREATOR: string;
|
124
|
+
CREATOR_COMPANY_SECTION_NAME: string;
|
114
125
|
};
|
115
126
|
export type CONDITION_VALUE_KEYS = keyof typeof CONDITION_VALUE_TYPES;
|
116
127
|
export declare const CONDITION_VALUE_TYPES_OPTIONS: {
|
@@ -5,7 +5,7 @@ export type UserJSON = {
|
|
5
5
|
outputTaskDefKey: string;
|
6
6
|
userIdList?: string[];
|
7
7
|
formFieldId?: string;
|
8
|
-
userSearchInfo?: UserSearchInfoType;
|
8
|
+
userSearchInfo?: UserSearchInfoType | UserSearchWithRoleType;
|
9
9
|
orgSearchInfo?: OrgSearchInfoType;
|
10
10
|
};
|
11
11
|
export type JobTitleJSON = {
|
@@ -52,11 +52,20 @@ export type SearchWithCompanyAndTitleInfo = {
|
|
52
52
|
searchWithCompanyType: SearchWithCompanyType;
|
53
53
|
titleList: string[];
|
54
54
|
};
|
55
|
+
export type SearchWithCompanyAndRoleNameInfo = {
|
56
|
+
searchWithCompanyType: SearchWithCompanyType;
|
57
|
+
roleNameList: string[];
|
58
|
+
};
|
55
59
|
export type UserSearchInfoType = {
|
56
60
|
enabled: boolean;
|
57
61
|
searchType: SearchType;
|
58
62
|
searchWithCompanyAndTitleinfo: SearchWithCompanyAndTitleInfo;
|
59
63
|
};
|
64
|
+
export type UserSearchWithRoleType = {
|
65
|
+
enabled: boolean;
|
66
|
+
searchType: SearchType;
|
67
|
+
searchWithCompanyAndRoleNameInfo: SearchWithCompanyAndRoleNameInfo;
|
68
|
+
};
|
60
69
|
export type SearchWithTitleInfo = {
|
61
70
|
titleList: string[];
|
62
71
|
};
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { UserSearchWithRoleType } from '../../../biz-logic/leave/types';
|
3
|
+
import { SearchWithCompanyType } from '../../../biz-logic/leave/constant';
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
5
|
+
searchInfo: {
|
6
|
+
type: PropType<UserSearchWithRoleType>;
|
7
|
+
default: {
|
8
|
+
enabled: boolean;
|
9
|
+
searchType: import("../../../biz-logic/leave/constant").SearchType;
|
10
|
+
searchWithCompanyAndRoleNameInfo: {
|
11
|
+
searchWithCompanyType: SearchWithCompanyType;
|
12
|
+
roleNameList: never[];
|
13
|
+
};
|
14
|
+
};
|
15
|
+
};
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
17
|
+
"update:searchInfo": (searchInfo: UserSearchWithRoleType) => void;
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
19
|
+
searchInfo: {
|
20
|
+
type: PropType<UserSearchWithRoleType>;
|
21
|
+
default: {
|
22
|
+
enabled: boolean;
|
23
|
+
searchType: import("../../../biz-logic/leave/constant").SearchType;
|
24
|
+
searchWithCompanyAndRoleNameInfo: {
|
25
|
+
searchWithCompanyType: SearchWithCompanyType;
|
26
|
+
roleNameList: never[];
|
27
|
+
};
|
28
|
+
};
|
29
|
+
};
|
30
|
+
}>> & {
|
31
|
+
"onUpdate:searchInfo"?: ((searchInfo: UserSearchWithRoleType) => any) | undefined;
|
32
|
+
}, {
|
33
|
+
searchInfo: UserSearchWithRoleType;
|
34
|
+
}, {}>;
|
35
|
+
export default _default;
|