@szjy/workflow 0.1.24 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.mjs +15684 -15589
- package/dist/index.umd.js +187 -187
- package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +17 -2
- package/dist/packages/components/Workflow/biz-logic/leave/types.d.ts +2 -2
- package/dist/packages/components/Workflow/components/biz/ui/CompanySearchWithRole.vue.d.ts +35 -0
- package/package.json +1 -1
@@ -26,6 +26,7 @@ export declare const GET_USER_TYPES: {
|
|
26
26
|
GET_MULTI_USERS: string;
|
27
27
|
CREATOR_RELATED: string;
|
28
28
|
CREATOR_ORG_ROLE_RELATED: string;
|
29
|
+
COMPANY_TYPE_DEPARTMENT_ROLE: string;
|
29
30
|
UNKNOWN: string;
|
30
31
|
};
|
31
32
|
export declare const GET_USER_TYPES_OPTIONS: {
|
@@ -43,13 +44,19 @@ export declare enum SearchWithCompanyType {
|
|
43
44
|
SELF_ORG = "SELF_ORG",// 本单位
|
44
45
|
CONSTRUCTION_ORG = "CONSTRUCTION_ORG",// 施工单位
|
45
46
|
SUPERVISORY_ORG = "SUPERVISORY_ORG",// 监理单位
|
46
|
-
BUILD_ORG = "BUILD_ORG"
|
47
|
+
BUILD_ORG = "BUILD_ORG",// 建设单位,
|
48
|
+
DESIGN_ORG = "DESIGN_ORG",// 设计单位,
|
49
|
+
CONSULTING_ORG = "CONSULTING_ORG"
|
47
50
|
}
|
48
|
-
export declare const getLabelByComponyType: (type: SearchWithCompanyType) => "" | "本单位" | "施工单位" | "监理单位" | "建设单位";
|
51
|
+
export declare const getLabelByComponyType: (type: SearchWithCompanyType) => "" | "本单位" | "施工单位" | "监理单位" | "建设单位" | "设计单位" | "咨询单位";
|
49
52
|
export declare const SEARCH_WITH_COMPANY_TYPE_OPTIONS: {
|
50
53
|
label: string;
|
51
54
|
value: SearchWithCompanyType;
|
52
55
|
}[];
|
56
|
+
export declare const SEARCH_WITH_COMPANY_ROLE_OPTIONS: {
|
57
|
+
label: string;
|
58
|
+
value: SearchWithCompanyType;
|
59
|
+
}[];
|
53
60
|
export declare const DEFAULT_USER_SEARCH_INFO: {
|
54
61
|
enabled: boolean;
|
55
62
|
searchType: SearchType;
|
@@ -70,6 +77,14 @@ export declare const DEFAULT_USER_SEARCH_WITH_ROLE: {
|
|
70
77
|
roleNameList: never[];
|
71
78
|
};
|
72
79
|
};
|
80
|
+
export declare const DEFAULT_SEARCH_WITH_COMPANY_ROLE: {
|
81
|
+
enabled: boolean;
|
82
|
+
searchType: SearchType;
|
83
|
+
searchWithCompanyAndRoleNameInfo: {
|
84
|
+
searchWithCompanyType: SearchWithCompanyType;
|
85
|
+
roleNameList: never[];
|
86
|
+
};
|
87
|
+
};
|
73
88
|
export declare const DEFAULT_ORG_SEARCH_INFO: {
|
74
89
|
enabled: boolean;
|
75
90
|
searchType: SearchType;
|
@@ -57,8 +57,8 @@ export type SearchWithCompanyAndTitleInfo = {
|
|
57
57
|
};
|
58
58
|
export type SearchWithCompanyAndRoleNameInfo = {
|
59
59
|
searchWithCompanyType: SearchWithCompanyType;
|
60
|
-
filterWithDepartment
|
61
|
-
departmentName
|
60
|
+
filterWithDepartment?: boolean;
|
61
|
+
departmentName?: string;
|
62
62
|
roleNameList: string[];
|
63
63
|
};
|
64
64
|
export type UserSearchInfoType = {
|
@@ -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;
|