@szjy/workflow 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.mjs +22770 -22449
- package/dist/index.umd.js +199 -199
- package/dist/packages/components/Workflow/biz-logic/leave/common/CounterSignProperty.vue.d.ts +9 -0
- package/dist/packages/components/Workflow/biz-logic/leave/common/UserConfigProperty.vue.d.ts +9 -0
- package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +11 -1
- package/dist/packages/components/Workflow/biz-logic/leave/types.d.ts +12 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/counterSignUtil.d.ts +3 -0
- package/dist/packages/components/Workflow/components/biz/CounterSignSelector.vue.d.ts +9 -0
- package/dist/packages/components/Workflow/components/biz/UserSelector.vue.d.ts +9 -0
- package/dist/packages/components/Workflow/components/biz/ui/CounterSignConditionDesc.vue.d.ts +14 -0
- package/dist/packages/components/Workflow/components/biz/ui/OrgSearchInfo.vue.d.ts +32 -0
- package/dist/packages/components/Workflow/components/biz/ui/UserOrgBasedForm.vue.d.ts +26 -0
- package/dist/packages/components/Workflow/slots.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/packages/components/Workflow/biz-logic/leave/common/CounterSignProperty.vue.d.ts
CHANGED
@@ -4,12 +4,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
type: PropType<string>;
|
5
5
|
default: string;
|
6
6
|
};
|
7
|
+
showOrgBased: {
|
8
|
+
type: PropType<boolean>;
|
9
|
+
default: boolean;
|
10
|
+
};
|
7
11
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
8
12
|
label: {
|
9
13
|
type: PropType<string>;
|
10
14
|
default: string;
|
11
15
|
};
|
16
|
+
showOrgBased: {
|
17
|
+
type: PropType<boolean>;
|
18
|
+
default: boolean;
|
19
|
+
};
|
12
20
|
}>>, {
|
13
21
|
label: string;
|
22
|
+
showOrgBased: boolean;
|
14
23
|
}, {}>;
|
15
24
|
export default _default;
|
package/dist/packages/components/Workflow/biz-logic/leave/common/UserConfigProperty.vue.d.ts
CHANGED
@@ -14,6 +14,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
14
14
|
type: PropType<(element: Element, newUser: UserJSON) => void>;
|
15
15
|
default: (element: Element, userJson: UserJSON) => void;
|
16
16
|
};
|
17
|
+
showOrgBased: {
|
18
|
+
type: PropType<boolean>;
|
19
|
+
default: boolean;
|
20
|
+
};
|
17
21
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
18
22
|
label: {
|
19
23
|
type: PropType<string>;
|
@@ -27,8 +31,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
27
31
|
type: PropType<(element: Element, newUser: UserJSON) => void>;
|
28
32
|
default: (element: Element, userJson: UserJSON) => void;
|
29
33
|
};
|
34
|
+
showOrgBased: {
|
35
|
+
type: PropType<boolean>;
|
36
|
+
default: boolean;
|
37
|
+
};
|
30
38
|
}>>, {
|
31
39
|
label: string;
|
40
|
+
showOrgBased: boolean;
|
32
41
|
getUserValue: (element: Element) => UserJSON;
|
33
42
|
updateUserValue: (element: Element, newUser: UserJSON) => void;
|
34
43
|
}, {}>;
|
@@ -21,6 +21,7 @@ export declare const GET_USER_TYPES: {
|
|
21
21
|
USER_ID: string;
|
22
22
|
USER_ID_LIST: string;
|
23
23
|
FORM_FIELD: string;
|
24
|
+
FORM_ORG_WITH_TITLE: string;
|
24
25
|
GET_SINGLE_USER: string;
|
25
26
|
GET_MULTI_USERS: string;
|
26
27
|
CREATOR_RELATED: string;
|
@@ -31,8 +32,10 @@ export declare const GET_USER_TYPES_OPTIONS: {
|
|
31
32
|
value: string;
|
32
33
|
}[];
|
33
34
|
export declare const USER_WITH_CREATOR_RES_TYPES_OPTIONS: any;
|
35
|
+
export declare const USER_WITH_ORG_BASED_TYPES_OPTIONS: any;
|
34
36
|
export declare enum SearchType {
|
35
|
-
SEARCH_WITH_COMPANY_AND_TITLE = "SEARCH_WITH_COMPANY_AND_TITLE"
|
37
|
+
SEARCH_WITH_COMPANY_AND_TITLE = "SEARCH_WITH_COMPANY_AND_TITLE",
|
38
|
+
SEARCH_WITH_TITLE = "SEARCH_WITH_TITLE"
|
36
39
|
}
|
37
40
|
export declare enum SearchWithCompanyType {
|
38
41
|
SELF_ORG = "SELF_ORG",// 本单位
|
@@ -53,6 +56,13 @@ export declare const DEFAULT_USER_SEARCH_INFO: {
|
|
53
56
|
titleList: never[];
|
54
57
|
};
|
55
58
|
};
|
59
|
+
export declare const DEFAULT_ORG_SEARCH_INFO: {
|
60
|
+
enabled: boolean;
|
61
|
+
searchType: SearchType;
|
62
|
+
searchWithTitleInfo: {
|
63
|
+
titleList: never[];
|
64
|
+
};
|
65
|
+
};
|
56
66
|
export declare const GET_ORG_TYPES: {
|
57
67
|
ORG_ID: string;
|
58
68
|
GET_ORG_TASK_OUTPUT: string;
|
@@ -6,6 +6,7 @@ export type UserJSON = {
|
|
6
6
|
userIdList?: string[];
|
7
7
|
formFieldId?: string;
|
8
8
|
userSearchInfo?: UserSearchInfoType;
|
9
|
+
orgSearchInfo?: OrgSearchInfoType;
|
9
10
|
};
|
10
11
|
export type JobTitleJSON = {
|
11
12
|
titleListType: string;
|
@@ -19,6 +20,9 @@ export type OrgJSON = {
|
|
19
20
|
export type CounterSignConditionJSON = {
|
20
21
|
minApprovedCount: number;
|
21
22
|
maxRejectedCount: number;
|
23
|
+
orgBased: boolean;
|
24
|
+
minApprovedPerOrg: number;
|
25
|
+
maxRejectedPerOrg: number;
|
22
26
|
};
|
23
27
|
export type ConditionJSON = {
|
24
28
|
conditionType: GATEWAY_CONDITION_KEYS;
|
@@ -52,3 +56,11 @@ export type UserSearchInfoType = {
|
|
52
56
|
searchType: SearchType;
|
53
57
|
searchWithCompanyAndTitleinfo: SearchWithCompanyAndTitleInfo;
|
54
58
|
};
|
59
|
+
export type SearchWithTitleInfo = {
|
60
|
+
titleList: string[];
|
61
|
+
};
|
62
|
+
export type OrgSearchInfoType = {
|
63
|
+
enabled: boolean;
|
64
|
+
searchType: SearchType;
|
65
|
+
searchWithTitleInfo: SearchWithTitleInfo;
|
66
|
+
};
|
@@ -5,6 +5,9 @@ export declare const updateTaskListenerItem: (element: Element, event: string, e
|
|
5
5
|
export declare const DEFAULT_COMPLETE_CONDITION: {
|
6
6
|
minApprovedCount: number;
|
7
7
|
maxRejectedCount: number;
|
8
|
+
orgBased: boolean;
|
9
|
+
minApprovedPerOrg: number;
|
10
|
+
maxRejectedPerOrg: number;
|
8
11
|
};
|
9
12
|
export declare const initCounterSignrItems: (element: Element) => void;
|
10
13
|
export declare const initMultiSignReceiptItems: (element: Element) => void;
|
@@ -17,6 +17,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
17
17
|
type: PropType<string>;
|
18
18
|
default: string;
|
19
19
|
};
|
20
|
+
showOrgBased: {
|
21
|
+
type: PropType<boolean>;
|
22
|
+
default: boolean;
|
23
|
+
};
|
20
24
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
21
25
|
"update:user": (newUser: UserJSON) => void;
|
22
26
|
"update:condition": (newCondition: CounterSignConditionJSON) => void;
|
@@ -38,6 +42,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
38
42
|
type: PropType<string>;
|
39
43
|
default: string;
|
40
44
|
};
|
45
|
+
showOrgBased: {
|
46
|
+
type: PropType<boolean>;
|
47
|
+
default: boolean;
|
48
|
+
};
|
41
49
|
}>> & {
|
42
50
|
"onUpdate:user"?: ((newUser: UserJSON) => any) | undefined;
|
43
51
|
"onOn-ok"?: ((newUser: UserJSON, newCondition: CounterSignConditionJSON) => any) | undefined;
|
@@ -45,5 +53,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
45
53
|
}, {
|
46
54
|
label: string;
|
47
55
|
dialogTitle: string;
|
56
|
+
showOrgBased: boolean;
|
48
57
|
}, {}>;
|
49
58
|
export default _default;
|
@@ -13,6 +13,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
13
13
|
type: PropType<string>;
|
14
14
|
default: string;
|
15
15
|
};
|
16
|
+
showOrgBased: {
|
17
|
+
type: PropType<boolean>;
|
18
|
+
default: boolean;
|
19
|
+
};
|
16
20
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
17
21
|
"update:user": (newUser: UserJSON) => void;
|
18
22
|
"on-ok": (newUser: UserJSON) => void;
|
@@ -29,11 +33,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
29
33
|
type: PropType<string>;
|
30
34
|
default: string;
|
31
35
|
};
|
36
|
+
showOrgBased: {
|
37
|
+
type: PropType<boolean>;
|
38
|
+
default: boolean;
|
39
|
+
};
|
32
40
|
}>> & {
|
33
41
|
"onUpdate:user"?: ((newUser: UserJSON) => any) | undefined;
|
34
42
|
"onOn-ok"?: ((newUser: UserJSON) => any) | undefined;
|
35
43
|
}, {
|
36
44
|
label: string;
|
37
45
|
dialogTitle: string;
|
46
|
+
showOrgBased: boolean;
|
38
47
|
}, {}>;
|
39
48
|
export default _default;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { CounterSignConditionJSON } from '../../../biz-logic/leave/types';
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
conditionJson: {
|
5
|
+
type: PropType<CounterSignConditionJSON>;
|
6
|
+
required: true;
|
7
|
+
};
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
9
|
+
conditionJson: {
|
10
|
+
type: PropType<CounterSignConditionJSON>;
|
11
|
+
required: true;
|
12
|
+
};
|
13
|
+
}>>, {}, {}>;
|
14
|
+
export default _default;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { OrgSearchInfoType } from '../../../biz-logic/leave/types';
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
searchInfo: {
|
5
|
+
type: PropType<OrgSearchInfoType>;
|
6
|
+
default: {
|
7
|
+
enabled: boolean;
|
8
|
+
searchType: import("../../../biz-logic/leave/constant").SearchType;
|
9
|
+
searchWithTitleInfo: {
|
10
|
+
titleList: never[];
|
11
|
+
};
|
12
|
+
};
|
13
|
+
};
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
15
|
+
"update:searchInfo": (searchInfo: OrgSearchInfoType) => void;
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
17
|
+
searchInfo: {
|
18
|
+
type: PropType<OrgSearchInfoType>;
|
19
|
+
default: {
|
20
|
+
enabled: boolean;
|
21
|
+
searchType: import("../../../biz-logic/leave/constant").SearchType;
|
22
|
+
searchWithTitleInfo: {
|
23
|
+
titleList: never[];
|
24
|
+
};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
}>> & {
|
28
|
+
"onUpdate:searchInfo"?: ((searchInfo: OrgSearchInfoType) => any) | undefined;
|
29
|
+
}, {
|
30
|
+
searchInfo: OrgSearchInfoType;
|
31
|
+
}, {}>;
|
32
|
+
export default _default;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { UserJSON } from '../../../biz-logic/leave/types';
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
user: {
|
5
|
+
type: PropType<UserJSON>;
|
6
|
+
default: {
|
7
|
+
userIdType: string;
|
8
|
+
userId: string;
|
9
|
+
};
|
10
|
+
};
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
12
|
+
"update:user": (user: UserJSON) => void;
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
14
|
+
user: {
|
15
|
+
type: PropType<UserJSON>;
|
16
|
+
default: {
|
17
|
+
userIdType: string;
|
18
|
+
userId: string;
|
19
|
+
};
|
20
|
+
};
|
21
|
+
}>> & {
|
22
|
+
"onUpdate:user"?: ((user: UserJSON) => any) | undefined;
|
23
|
+
}, {
|
24
|
+
user: UserJSON;
|
25
|
+
}, {}>;
|
26
|
+
export default _default;
|