@szjy/workflow 0.1.20 → 0.1.22
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 +16943 -16829
- package/dist/index.umd.js +201 -201
- package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +16 -1
- package/dist/packages/components/Workflow/biz-logic/leave/types.d.ts +14 -1
- package/dist/packages/components/Workflow/biz-logic/leave/utils/userUtil.d.ts +1 -0
- package/dist/packages/components/Workflow/components/biz/ui/UserSearchInfo.vue.d.ts +4 -0
- package/dist/packages/components/Workflow/components/biz/ui/UserSearchWithRole.vue.d.ts +39 -0
- package/dist/style.css +1 -1
- 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",// 本单位
|
@@ -53,9 +55,21 @@ export declare const DEFAULT_USER_SEARCH_INFO: {
|
|
53
55
|
searchType: SearchType;
|
54
56
|
searchWithCompanyAndTitleinfo: {
|
55
57
|
searchWithCompanyType: SearchWithCompanyType;
|
58
|
+
filterWithDepartment: boolean;
|
59
|
+
departmentName: string;
|
56
60
|
titleList: never[];
|
57
61
|
};
|
58
62
|
};
|
63
|
+
export declare const DEFAULT_USER_SEARCH_WITH_ROLE: {
|
64
|
+
enabled: boolean;
|
65
|
+
searchType: SearchType;
|
66
|
+
searchWithCompanyAndRoleNameInfo: {
|
67
|
+
searchWithCompanyType: SearchWithCompanyType;
|
68
|
+
filterWithDepartment: boolean;
|
69
|
+
departmentName: string;
|
70
|
+
roleNameList: never[];
|
71
|
+
};
|
72
|
+
};
|
59
73
|
export declare const DEFAULT_ORG_SEARCH_INFO: {
|
60
74
|
enabled: boolean;
|
61
75
|
searchType: SearchType;
|
@@ -111,6 +125,7 @@ export declare const CONDITION_VALUE_TYPES: {
|
|
111
125
|
TASK_OUTPUT: string;
|
112
126
|
STRING_LIST: string;
|
113
127
|
CREATOR: string;
|
128
|
+
CREATOR_COMPANY_SECTION_NAME: string;
|
114
129
|
};
|
115
130
|
export type CONDITION_VALUE_KEYS = keyof typeof CONDITION_VALUE_TYPES;
|
116
131
|
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 = {
|
@@ -50,13 +50,26 @@ export type ConditionValueJSON = {
|
|
50
50
|
export type WorkflowStatusType = keyof typeof WORKFLOW_STATUS_TYPES;
|
51
51
|
export type SearchWithCompanyAndTitleInfo = {
|
52
52
|
searchWithCompanyType: SearchWithCompanyType;
|
53
|
+
filterWithDepartment: boolean;
|
54
|
+
departmentName: string;
|
53
55
|
titleList: string[];
|
54
56
|
};
|
57
|
+
export type SearchWithCompanyAndRoleNameInfo = {
|
58
|
+
searchWithCompanyType: SearchWithCompanyType;
|
59
|
+
filterWithDepartment: boolean;
|
60
|
+
departmentName: string;
|
61
|
+
roleNameList: string[];
|
62
|
+
};
|
55
63
|
export type UserSearchInfoType = {
|
56
64
|
enabled: boolean;
|
57
65
|
searchType: SearchType;
|
58
66
|
searchWithCompanyAndTitleinfo: SearchWithCompanyAndTitleInfo;
|
59
67
|
};
|
68
|
+
export type UserSearchWithRoleType = {
|
69
|
+
enabled: boolean;
|
70
|
+
searchType: SearchType;
|
71
|
+
searchWithCompanyAndRoleNameInfo: SearchWithCompanyAndRoleNameInfo;
|
72
|
+
};
|
60
73
|
export type SearchWithTitleInfo = {
|
61
74
|
titleList: string[];
|
62
75
|
};
|
@@ -13,5 +13,6 @@ export declare const DEFAULT_USER_JSON: {
|
|
13
13
|
};
|
14
14
|
export declare const addUserItem: (element: Element, userJson: Partial<UserJSON>) => void;
|
15
15
|
export declare const fixUserRelated: (userJson: Partial<UserJSON>) => void;
|
16
|
+
export declare const reformatUserJson: (userJson: Partial<UserJSON>) => void;
|
16
17
|
export declare const getUserValue: (element: Element) => Partial<UserJSON>;
|
17
18
|
export declare const updateUserValue: (element: Element, userJson: UserJSON) => void;
|
@@ -9,6 +9,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
9
9
|
searchType: SearchType;
|
10
10
|
searchWithCompanyAndTitleinfo: {
|
11
11
|
searchWithCompanyType: SearchWithCompanyType;
|
12
|
+
filterWithDepartment: boolean;
|
13
|
+
departmentName: string;
|
12
14
|
titleList: never[];
|
13
15
|
};
|
14
16
|
};
|
@@ -23,6 +25,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
23
25
|
searchType: SearchType;
|
24
26
|
searchWithCompanyAndTitleinfo: {
|
25
27
|
searchWithCompanyType: SearchWithCompanyType;
|
28
|
+
filterWithDepartment: boolean;
|
29
|
+
departmentName: string;
|
26
30
|
titleList: never[];
|
27
31
|
};
|
28
32
|
};
|
@@ -0,0 +1,39 @@
|
|
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
|
+
filterWithDepartment: boolean;
|
13
|
+
departmentName: string;
|
14
|
+
roleNameList: never[];
|
15
|
+
};
|
16
|
+
};
|
17
|
+
};
|
18
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
19
|
+
"update:searchInfo": (searchInfo: UserSearchWithRoleType) => void;
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
21
|
+
searchInfo: {
|
22
|
+
type: PropType<UserSearchWithRoleType>;
|
23
|
+
default: {
|
24
|
+
enabled: boolean;
|
25
|
+
searchType: import("../../../biz-logic/leave/constant").SearchType;
|
26
|
+
searchWithCompanyAndRoleNameInfo: {
|
27
|
+
searchWithCompanyType: SearchWithCompanyType;
|
28
|
+
filterWithDepartment: boolean;
|
29
|
+
departmentName: string;
|
30
|
+
roleNameList: never[];
|
31
|
+
};
|
32
|
+
};
|
33
|
+
};
|
34
|
+
}>> & {
|
35
|
+
"onUpdate:searchInfo"?: ((searchInfo: UserSearchWithRoleType) => any) | undefined;
|
36
|
+
}, {
|
37
|
+
searchInfo: UserSearchWithRoleType;
|
38
|
+
}, {}>;
|
39
|
+
export default _default;
|