@qqt-product/ui 0.0.14 → 0.0.16
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.es.js +112024 -41701
- package/dist/index.umd.js +254 -15197
- package/dist/lib/components/audit-modal/index.d.ts +324 -0
- package/dist/lib/components/audit-modal/src/audit-modal-type.d.ts +65 -0
- package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +320 -0
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +675 -0
- package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +406 -0
- package/dist/lib/components/audit-modal/src/component/field-select-modal-types.d.ts +93 -0
- package/dist/lib/components/audit-modal/src/component/field-select-modal.vue.d.ts +163 -0
- package/dist/lib/components/audit-modal/src/component/use-field-select-modal.d.ts +6 -0
- package/dist/lib/components/audit-modal/src/hook/list-slot-hook.d.ts +16 -0
- package/dist/lib/components/audit-modal/src/hook/use-audit-config-hook.d.ts +6 -0
- package/dist/lib/components/audit-modal/src/hook/use-field-select-modal-hook.d.ts +9 -0
- package/dist/lib/components/card-list-layout/index.d.ts +8 -18
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +2 -2
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +2 -2
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +8 -18
- package/dist/lib/components/cascader/index.d.ts +10 -8
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +10 -8
- package/dist/lib/components/checkbox/index.d.ts +1 -1
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/dist/lib/components/{codeEditorModel/src/codeEditorModel.vue.d.ts → code-editor-model/src/code-editor-model.vue.d.ts} +40 -9
- package/dist/lib/components/countdown/index.d.ts +122 -0
- package/dist/lib/components/countdown/src/countdown-types.d.ts +87 -0
- package/dist/lib/components/countdown/src/countdown.d.ts +118 -0
- package/dist/lib/components/countdown/src/use-countdown.d.ts +2 -0
- package/dist/lib/components/coutdown/index.d.ts +3 -3
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +3 -3
- package/dist/lib/components/currency/index.d.ts +1 -1
- package/dist/lib/components/currency/src/currency.vue.d.ts +1 -1
- package/dist/lib/components/detail-form/index.d.ts +23 -2
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +23 -3
- package/dist/lib/components/detail-grid/index.d.ts +10 -6
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +9 -6
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +1 -1
- package/dist/lib/components/detail-page-layout/index.d.ts +20 -3
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +19 -3
- package/dist/lib/components/edit-form/index.d.ts +27 -2
- package/dist/lib/components/edit-form/src/edit-form-types.d.ts +4 -0
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +26 -2
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -1
- package/dist/lib/components/edit-grid/index.d.ts +11 -6
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +10 -6
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +3 -3
- package/dist/lib/components/edit-page-layout/index.d.ts +19 -3
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +143 -22
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +19 -3
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/editor/index.d.ts +22 -8
- package/dist/lib/components/editor/src/index.vue.d.ts +22 -8
- package/dist/lib/components/field-select-modal/index.d.ts +24 -8
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +9 -2
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +24 -8
- package/dist/lib/components/flow-view/index.d.ts +121 -0
- package/dist/lib/components/flow-view/src/flow-view-modal-types.d.ts +60 -0
- package/dist/lib/components/flow-view/src/flow-view.d.ts +118 -0
- package/dist/lib/components/flow-view/src/use-flow-view-modal.d.ts +2 -0
- package/dist/lib/components/import-modal/index.d.ts +90 -0
- package/dist/lib/components/import-modal/src/import-modal-types.d.ts +28 -0
- package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +86 -0
- package/dist/lib/components/index.d.ts +11 -2
- package/dist/lib/components/item-wrap/index.d.ts +3 -3
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +3 -3
- package/dist/lib/components/ladder-price/index.d.ts +58 -0
- package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +35 -0
- package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +38 -0
- package/dist/lib/components/ladder-price/src/ladder-not-price-modal-types.d.ts +16 -0
- package/dist/lib/components/ladder-price/src/ladder-price-modal-types.d.ts +15 -0
- package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +35 -0
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +55 -0
- package/dist/lib/components/ladder-price/src/use-ladder-not-price-modal.d.ts +6 -0
- package/dist/lib/components/ladder-price/src/use-ladder-price.d.ts +6 -0
- package/dist/lib/components/layout/src/types.d.ts +1 -0
- package/dist/lib/components/layout-anchor/index.d.ts +2 -1
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +2 -1
- package/dist/lib/components/layout-buttons/index.d.ts +2 -1
- package/dist/lib/components/layout-pattern/index.d.ts +12 -2
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +126 -15
- package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +46 -0
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +12 -2
- package/dist/lib/components/list-page-layout/index.d.ts +77 -15
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -1
- package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +3 -1
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +10 -10
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +0 -2
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +6 -4
- package/dist/lib/components/list-page-layout/src/components/list-header/hooks/use-callback-hook.d.ts +3 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +8 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +1 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +14 -6
- package/dist/lib/components/list-page-layout/src/hooks/auth-button.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +10 -4
- package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +8 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +75 -14
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +59 -7
- package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +6 -21
- package/dist/lib/components/list-page-layout/src/utils/index.d.ts +2 -0
- package/dist/lib/components/page-layout/index.d.ts +2 -1
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +28 -2
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +35 -0
- package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +1 -1
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +19 -9
- package/dist/lib/components/radio/index.d.ts +1 -1
- package/dist/lib/components/radio/src/radio.vue.d.ts +1 -1
- package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +23 -0
- package/dist/lib/components/remote-select/index.d.ts +30 -71
- package/dist/lib/components/remote-select/src/remote-select-types.d.ts +44 -28
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +31 -72
- package/dist/lib/components/sale-template/index.d.ts +99 -0
- package/dist/lib/components/sale-template/src/sale-template-types.d.ts +41 -0
- package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +95 -0
- package/dist/lib/components/sale-template/src/use-sale-template.d.ts +2 -0
- package/dist/lib/components/select/index.d.ts +6 -6
- package/dist/lib/components/select/src/select-types.d.ts +5 -1
- package/dist/lib/components/select/src/select.vue.d.ts +6 -6
- package/dist/lib/components/select-modal/index.d.ts +54 -16
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +24 -4
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +54 -16
- package/dist/lib/components/select-template/index.d.ts +92 -0
- package/dist/lib/components/select-template/src/select-template-type.d.ts +32 -0
- package/dist/lib/components/select-template/src/select-template.vue.d.ts +88 -0
- package/dist/lib/components/tree-select/index.d.ts +8 -7
- package/dist/lib/components/tree-select/src/tree-select-types.d.ts +7 -1
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +8 -7
- package/dist/lib/components/upload-file/index.d.ts +15 -24
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +0 -1
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +14 -10
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +13 -23
- package/dist/lib/components/upload-file-vxe/index.d.ts +78 -0
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +38 -0
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +75 -0
- package/dist/lib/components/upload-image/index.d.ts +3 -3
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +3 -3
- package/dist/lib/components/useChart/index.d.ts +11 -0
- package/dist/lib/components/useChart/lib.d.ts +2 -0
- package/dist/lib/components/useChart/types.d.ts +21 -0
- package/dist/lib/components/vxe-select/index.d.ts +24 -6
- package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +7 -1
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +24 -6
- package/dist/lib/index.d.ts +4 -1
- package/dist/lib/utils/event.d.ts +35 -2
- package/dist/style.css +1 -6
- package/package.json +24 -18
- package/dist/lib/components/codeEditorModel/index.d.ts +0 -93
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +0 -21
package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import type { UseNamespace } from '../../../../../../shared/hooks/use-namespace';
|
|
2
|
-
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
import type { PageData, QueryFormItem, ObjectMap } from '../../../../list-page-layout-types';
|
|
2
|
+
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import type { PageData, QueryFormItem, ObjectMap, QueryFormItemSelect, ISelectArgs } from '../../../../list-page-layout-types';
|
|
4
4
|
declare const _sfc_main: DefineComponent<{}, {
|
|
5
5
|
pageData: PageData;
|
|
6
6
|
form: QueryFormItem[];
|
|
7
7
|
formState: ObjectMap;
|
|
8
|
+
isExpand: Ref<boolean>;
|
|
9
|
+
busAccount: Ref<string>;
|
|
10
|
+
needAdvancedQuery: boolean;
|
|
8
11
|
handleFinish: () => void;
|
|
9
12
|
superQuery: () => void;
|
|
10
13
|
handleFinishFailed: () => void;
|
|
11
14
|
ns: UseNamespace;
|
|
15
|
+
filtersOption: (el: QueryFormItemSelect, input: string, option: any) => any;
|
|
16
|
+
handleQuerySelectChange: ({ value }: ISelectArgs, config: QueryFormItem) => void;
|
|
17
|
+
handleQueryInputChange: (event: ObjectMap, config: QueryFormItem) => void;
|
|
12
18
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "superQuery"[], "superQuery", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
|
|
13
19
|
onSuperQuery?: ((...args: any[]) => any) | undefined;
|
|
14
20
|
}, {}, {}>;
|
|
@@ -3,6 +3,7 @@ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedCo
|
|
|
3
3
|
declare const _sfc_main: DefineComponent<{}, {
|
|
4
4
|
ns: UseNamespace;
|
|
5
5
|
appList: Ref<any>;
|
|
6
|
+
showNumber: Ref<number>;
|
|
6
7
|
setNav: () => void;
|
|
7
8
|
jump: (item: any) => void;
|
|
8
9
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -24,6 +24,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
24
24
|
default: null;
|
|
25
25
|
};
|
|
26
26
|
}, {
|
|
27
|
+
filterOption: (input: string, option: any) => boolean;
|
|
27
28
|
show: (flag: boolean) => void;
|
|
28
29
|
busAccount: Ref<string>;
|
|
29
30
|
formatTitle({ rows, fieldListItem }: {
|
|
@@ -47,13 +48,14 @@ declare const _sfc_main: DefineComponent<{
|
|
|
47
48
|
handleDel(index: number): void;
|
|
48
49
|
handleSelected(option: any, item: QueryParamsItem): void;
|
|
49
50
|
handleReset(): void;
|
|
50
|
-
filterOption(input: string, option: any): boolean;
|
|
51
51
|
handleSave(): void;
|
|
52
52
|
handlePromptOk(): void;
|
|
53
|
-
/** 渲染保存查询条件的 title(加个删除按钮) */
|
|
54
53
|
handleTreeSelect(idx: any, event: any): void;
|
|
55
54
|
handleTreeRightClick(args: any): Promise<void>;
|
|
56
|
-
deleteQueryCondition(id: string | number
|
|
55
|
+
deleteQueryCondition(id: string | number): void;
|
|
56
|
+
handleRemoveSaveTreeItem(args: {
|
|
57
|
+
id: number;
|
|
58
|
+
}): Promise<void>;
|
|
57
59
|
requestQueryHeader(): void;
|
|
58
60
|
requestQueryItem(id: string | number): void;
|
|
59
61
|
saveQueryCondition(queryId: string): void;
|
|
@@ -70,7 +72,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
70
72
|
selectValue: Ref<string>;
|
|
71
73
|
selectedKeys: Ref<any>;
|
|
72
74
|
fieldListIndex: Ref<string | number>;
|
|
73
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin,
|
|
75
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("callback" | "close" | "handleSuperQuery" | "synQueryParams" | "queryParamsModelLength")[], "callback" | "close" | "handleSuperQuery" | "synQueryParams" | "queryParamsModelLength", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
74
76
|
tableCode: {
|
|
75
77
|
type: StringConstructor;
|
|
76
78
|
default: string;
|
|
@@ -93,10 +95,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
93
95
|
type: StringConstructor;
|
|
94
96
|
default: null;
|
|
95
97
|
};
|
|
96
|
-
}
|
|
98
|
+
}>> & {
|
|
99
|
+
onCallback?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
onHandleSuperQuery?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
onSynQueryParams?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
onQueryParamsModelLength?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
callback: string;
|
|
97
106
|
pageData: Record<string, any>;
|
|
98
107
|
tableCode: string;
|
|
99
|
-
callback: string;
|
|
100
108
|
synQueryParamsCallback: string;
|
|
101
109
|
saveCode: string;
|
|
102
110
|
}, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import { ListPageLayoutProps } from '../list-page-layout-types';
|
|
3
|
-
export declare const tableColumns: never[];
|
|
4
3
|
export default function getColumnsHook(props: ListPageLayoutProps): {
|
|
5
4
|
tableColumns: Ref<any>;
|
|
5
|
+
groupColumns: Ref<any>;
|
|
6
6
|
};
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import { GridColumn } from '../list-page-layout-types';
|
|
2
|
-
export default function (
|
|
3
|
-
useColorSlots: () => {
|
|
1
|
+
import { ObjectMap, GridColumn } from '../list-page-layout-types';
|
|
2
|
+
export default function (): {
|
|
3
|
+
useColorSlots: (item: GridColumn) => {
|
|
4
4
|
default: ({ row, column }: {
|
|
5
|
-
row:
|
|
5
|
+
row: ObjectMap;
|
|
6
6
|
column: GridColumn;
|
|
7
7
|
}) => JSX.Element[];
|
|
8
8
|
};
|
|
9
|
+
useGroupColumnsSlots: (remoteColumns: GridColumn[], reslut: GridColumn) => {
|
|
10
|
+
default({ row }: {
|
|
11
|
+
row: ObjectMap;
|
|
12
|
+
column: GridColumn;
|
|
13
|
+
}): JSX.Element[];
|
|
14
|
+
};
|
|
9
15
|
};
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import { ExposeByListButtons, ButtonItem, CurrentRow, OptColumnListItem } from '../list-page-layout-types';
|
|
2
2
|
export default function useButtonFunctionHook({ loading, updateListData, listGridRef, Request }: ExposeByListButtons): {
|
|
3
3
|
getDataByERP: (option: ButtonItem, cb?: ((res: unknown) => void) | undefined) => void;
|
|
4
|
+
custom: ({ row, option }: {
|
|
5
|
+
row: CurrentRow;
|
|
6
|
+
option: OptColumnListItem;
|
|
7
|
+
}) => void;
|
|
4
8
|
invalid: ({ row, option }: {
|
|
5
9
|
row: CurrentRow;
|
|
6
10
|
option: OptColumnListItem;
|
|
7
11
|
}, cb?: ((res: unknown) => void) | undefined) => void;
|
|
12
|
+
removeRow: ({ row, option }: {
|
|
13
|
+
row: CurrentRow;
|
|
14
|
+
option: OptColumnListItem;
|
|
15
|
+
}, cb?: ((res: unknown) => void) | undefined) => void;
|
|
8
16
|
copyData: ({ row, option }: {
|
|
9
17
|
row: CurrentRow;
|
|
10
18
|
option: OptColumnListItem;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefineComponent, PropType, ComputedRef, ShallowRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { PageData, ApiUrls,
|
|
2
|
+
import type { PageData, ApiUrls, GridColumn, QueryFormItem, OptColumnListItem, ListOptionsEventParams, ListMergeDataItem, FetchDataOptions, ButtonItem, ObjectMap } from './list-page-layout-types';
|
|
3
3
|
import type { VxeGridPropTypes, SizeType, VxePagerPropTypes, VxeTableInstance } from 'vxe-table';
|
|
4
4
|
declare const _sfc_main: DefineComponent<{
|
|
5
5
|
loading: {
|
|
@@ -18,6 +18,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
18
18
|
type: PropType<ApiUrls>;
|
|
19
19
|
default: () => {};
|
|
20
20
|
};
|
|
21
|
+
beforeHandleData: {
|
|
22
|
+
type: PropType<(column: GridColumn[]) => void>;
|
|
23
|
+
};
|
|
24
|
+
localColumnGroup: {
|
|
25
|
+
type: PropType<(column: GridColumn[]) => GridColumn[]>;
|
|
26
|
+
};
|
|
21
27
|
}, {
|
|
22
28
|
ns: {
|
|
23
29
|
namespace: ComputedRef<string>;
|
|
@@ -48,29 +54,57 @@ declare const _sfc_main: DefineComponent<{
|
|
|
48
54
|
queryConfig: {
|
|
49
55
|
attrs?: ObjectMap | undefined;
|
|
50
56
|
extend?: ObjectMap | undefined;
|
|
57
|
+
customSearch?: ((args: ObjectMap) => void) | undefined;
|
|
51
58
|
form: {
|
|
52
59
|
type: string;
|
|
53
60
|
label: string;
|
|
54
61
|
fieldName: string;
|
|
55
62
|
placeholder?: string | undefined;
|
|
56
63
|
options?: ObjectMap[] | undefined;
|
|
64
|
+
attrs?: ObjectMap | undefined;
|
|
57
65
|
dictCode?: string | undefined;
|
|
66
|
+
change?: ((args: QueryFormItem) => void) | undefined;
|
|
58
67
|
}[];
|
|
59
|
-
|
|
68
|
+
needAdvancedQuery?: boolean | undefined;
|
|
69
|
+
formState?: ObjectMap | undefined;
|
|
60
70
|
} | undefined;
|
|
61
71
|
statusData: {
|
|
62
72
|
[key: string]: unknown;
|
|
63
73
|
}[];
|
|
64
74
|
listConfig: {
|
|
75
|
+
apiUrls: {
|
|
76
|
+
[x: string]: unknown;
|
|
77
|
+
columnsCode: string;
|
|
78
|
+
list: string;
|
|
79
|
+
countTabsUrl: string;
|
|
80
|
+
quickNav?: string | undefined;
|
|
81
|
+
};
|
|
65
82
|
loading: boolean;
|
|
66
83
|
extraListConfig: ObjectMap;
|
|
67
84
|
pageData: {
|
|
68
85
|
[x: string]: unknown;
|
|
69
86
|
onlyShowNav?: boolean | undefined;
|
|
70
|
-
|
|
87
|
+
isAggregate?: "0" | "1" | undefined;
|
|
88
|
+
isUseLocalColumns?: boolean | undefined;
|
|
89
|
+
localColumns?: {
|
|
90
|
+
[x: string]: any;
|
|
91
|
+
field?: string | undefined;
|
|
92
|
+
property?: string | undefined;
|
|
93
|
+
columnId?: string | undefined;
|
|
94
|
+
sorter?: string | undefined;
|
|
95
|
+
fixType?: string | undefined;
|
|
96
|
+
hidden?: string | undefined;
|
|
97
|
+
link?: string | undefined;
|
|
98
|
+
fieldColors?: string | {
|
|
99
|
+
[x: string]: unknown;
|
|
100
|
+
fieldName?: string | undefined;
|
|
101
|
+
filterColor?: string | undefined;
|
|
102
|
+
}[] | undefined;
|
|
103
|
+
}[] | undefined;
|
|
104
|
+
optionConfig?: {
|
|
71
105
|
attrs?: ObjectMap | undefined;
|
|
72
106
|
extend?: ObjectMap | undefined;
|
|
73
|
-
|
|
107
|
+
options: {
|
|
74
108
|
type?: string | undefined;
|
|
75
109
|
title: string;
|
|
76
110
|
authorityCode?: string | undefined;
|
|
@@ -78,6 +112,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
78
112
|
args?: {
|
|
79
113
|
[x: string]: unknown;
|
|
80
114
|
url?: string | undefined;
|
|
115
|
+
method?: string | undefined;
|
|
116
|
+
params?: ObjectMap | (({ currentOpt, row }: {
|
|
117
|
+
currentOpt: OptColumnListItem;
|
|
118
|
+
row: ObjectMap;
|
|
119
|
+
}) => void | object) | undefined;
|
|
81
120
|
} | undefined;
|
|
82
121
|
click?: ((args: ListOptionsEventParams) => void) | undefined;
|
|
83
122
|
disabled?: boolean | (({ currentOpt, row }: {
|
|
@@ -128,15 +167,19 @@ declare const _sfc_main: DefineComponent<{
|
|
|
128
167
|
queryConfig?: {
|
|
129
168
|
attrs?: ObjectMap | undefined;
|
|
130
169
|
extend?: ObjectMap | undefined;
|
|
170
|
+
customSearch?: ((args: ObjectMap) => void) | undefined;
|
|
131
171
|
form: {
|
|
132
172
|
type: string;
|
|
133
173
|
label: string;
|
|
134
174
|
fieldName: string;
|
|
135
175
|
placeholder?: string | undefined;
|
|
136
176
|
options?: ObjectMap[] | undefined;
|
|
177
|
+
attrs?: ObjectMap | undefined;
|
|
137
178
|
dictCode?: string | undefined;
|
|
179
|
+
change?: ((args: QueryFormItem) => void) | undefined;
|
|
138
180
|
}[];
|
|
139
|
-
|
|
181
|
+
needAdvancedQuery?: boolean | undefined;
|
|
182
|
+
formState?: ObjectMap | undefined;
|
|
140
183
|
} | undefined;
|
|
141
184
|
statusConfig?: {
|
|
142
185
|
show?: boolean | (() => boolean | void) | undefined;
|
|
@@ -157,11 +200,20 @@ declare const _sfc_main: DefineComponent<{
|
|
|
157
200
|
navConfig?: {
|
|
158
201
|
show?: boolean | (() => boolean | void) | undefined;
|
|
159
202
|
} | undefined;
|
|
203
|
+
listMergeConfig?: {
|
|
204
|
+
show?: boolean | (() => boolean | void) | undefined;
|
|
205
|
+
options: {
|
|
206
|
+
title: string;
|
|
207
|
+
key: string | number;
|
|
208
|
+
}[];
|
|
209
|
+
currentValue: string | number;
|
|
210
|
+
change: (event: Event, value?: string | number | undefined, options?: ListMergeDataItem[] | undefined) => void;
|
|
211
|
+
} | undefined;
|
|
160
212
|
pagerConfig?: {
|
|
161
213
|
enabled?: boolean | undefined;
|
|
162
214
|
slots?: any;
|
|
163
215
|
size?: SizeType | undefined;
|
|
164
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
216
|
+
layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
|
|
165
217
|
currentPage?: number | undefined;
|
|
166
218
|
loading?: boolean | undefined;
|
|
167
219
|
pageSize?: number | undefined;
|
|
@@ -185,19 +237,22 @@ declare const _sfc_main: DefineComponent<{
|
|
|
185
237
|
iconJumpMore?: string | undefined;
|
|
186
238
|
} | undefined;
|
|
187
239
|
};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
columnsCode: string;
|
|
191
|
-
list: string;
|
|
192
|
-
countTabsUrl: string;
|
|
193
|
-
quickNav?: string | undefined;
|
|
194
|
-
};
|
|
240
|
+
beforeHandleData?: ((column: GridColumn[]) => void) | undefined;
|
|
241
|
+
localColumnGroup?: ((column: GridColumn[]) => GridColumn[]) | undefined;
|
|
195
242
|
};
|
|
196
243
|
};
|
|
244
|
+
selectTplVisible: Ref<boolean>;
|
|
245
|
+
selectTplOpen: Ref<boolean>;
|
|
246
|
+
selectTemplateProps: {
|
|
247
|
+
url: string;
|
|
248
|
+
businessType: string;
|
|
249
|
+
elsAccount: string;
|
|
250
|
+
};
|
|
197
251
|
fetchListData: (params?: FetchDataOptions) => void;
|
|
198
252
|
addButtonClick: (params: ButtonItem) => void;
|
|
199
253
|
editNavSuccess: () => void;
|
|
200
254
|
columnSettingOK: () => void;
|
|
255
|
+
importSuccess: () => void;
|
|
201
256
|
columnSettingRef: Ref<any>;
|
|
202
257
|
helpTextModalRef: Ref<any>;
|
|
203
258
|
addModalRef: Ref<any>;
|
|
@@ -221,6 +276,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
221
276
|
type: PropType<ApiUrls>;
|
|
222
277
|
default: () => {};
|
|
223
278
|
};
|
|
279
|
+
beforeHandleData: {
|
|
280
|
+
type: PropType<(column: GridColumn[]) => void>;
|
|
281
|
+
};
|
|
282
|
+
localColumnGroup: {
|
|
283
|
+
type: PropType<(column: GridColumn[]) => GridColumn[]>;
|
|
284
|
+
};
|
|
224
285
|
}>> & {
|
|
225
286
|
onTagCheckChange?: ((...args: any[]) => any) | undefined;
|
|
226
287
|
"onAdd-button-click"?: ((...args: any[]) => any) | undefined;
|
|
@@ -230,9 +291,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
230
291
|
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
231
292
|
"onResizable-change"?: ((...args: any[]) => any) | undefined;
|
|
232
293
|
}, {
|
|
294
|
+
apiUrls: ApiUrls;
|
|
233
295
|
loading: boolean;
|
|
234
296
|
extraListConfig: ObjectMap;
|
|
235
297
|
pageData: PageData;
|
|
236
|
-
apiUrls: ApiUrls;
|
|
237
298
|
}, {}>;
|
|
238
299
|
export default _sfc_main;
|
|
@@ -16,7 +16,7 @@ export declare const buttonConfigProps: {
|
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
export type ButtonConfigProps = ExtractPropTypes<typeof buttonConfigProps>;
|
|
19
|
-
export type ObjectMap = Record<string | number,
|
|
19
|
+
export type ObjectMap = Record<string | number, any>;
|
|
20
20
|
export interface OptColumnListItem {
|
|
21
21
|
type?: string;
|
|
22
22
|
title: string;
|
|
@@ -24,6 +24,11 @@ export interface OptColumnListItem {
|
|
|
24
24
|
attrs?: ObjectMap;
|
|
25
25
|
args?: {
|
|
26
26
|
url?: string;
|
|
27
|
+
method?: string;
|
|
28
|
+
params?: ObjectMap | (({ currentOpt, row }: {
|
|
29
|
+
currentOpt: OptColumnListItem;
|
|
30
|
+
row: ObjectMap;
|
|
31
|
+
}) => object | void);
|
|
27
32
|
[key: string]: unknown;
|
|
28
33
|
};
|
|
29
34
|
click?: (args: ListOptionsEventParams) => void;
|
|
@@ -56,14 +61,26 @@ export interface QueryFormItem {
|
|
|
56
61
|
fieldName: string;
|
|
57
62
|
placeholder?: string;
|
|
58
63
|
options?: ObjectMap[];
|
|
64
|
+
attrs?: ObjectMap;
|
|
59
65
|
dictCode?: string;
|
|
66
|
+
change?: (args: QueryFormItem) => void;
|
|
67
|
+
}
|
|
68
|
+
export interface ISelectArgs {
|
|
69
|
+
value: string;
|
|
70
|
+
label: string;
|
|
71
|
+
}
|
|
72
|
+
export interface QueryFormItemSelect extends QueryFormItem {
|
|
73
|
+
filterOption?: (input: string, option: any) => any;
|
|
60
74
|
}
|
|
61
75
|
export interface PageData {
|
|
62
76
|
onlyShowNav?: boolean;
|
|
63
|
-
|
|
77
|
+
isAggregate?: '1' | '0';
|
|
78
|
+
isUseLocalColumns?: boolean;
|
|
79
|
+
localColumns?: GridColumn[];
|
|
80
|
+
optionConfig?: {
|
|
64
81
|
attrs?: ObjectMap;
|
|
65
82
|
extend?: ObjectMap;
|
|
66
|
-
|
|
83
|
+
options: OptColumnListItem[];
|
|
67
84
|
};
|
|
68
85
|
buttonConfig?: {
|
|
69
86
|
attrs?: ObjectMap;
|
|
@@ -78,8 +95,10 @@ export interface PageData {
|
|
|
78
95
|
queryConfig?: {
|
|
79
96
|
attrs?: ObjectMap;
|
|
80
97
|
extend?: ObjectMap;
|
|
98
|
+
customSearch?: (args: ObjectMap) => void;
|
|
81
99
|
form: QueryFormItem[];
|
|
82
|
-
|
|
100
|
+
needAdvancedQuery?: boolean;
|
|
101
|
+
formState?: ObjectMap;
|
|
83
102
|
};
|
|
84
103
|
statusConfig?: {
|
|
85
104
|
show?: (() => boolean | void) | boolean;
|
|
@@ -93,9 +112,19 @@ export interface PageData {
|
|
|
93
112
|
navConfig?: {
|
|
94
113
|
show?: (() => boolean | void) | boolean;
|
|
95
114
|
};
|
|
115
|
+
listMergeConfig?: {
|
|
116
|
+
show?: (() => boolean | void) | boolean;
|
|
117
|
+
options: ListMergeDataItem[];
|
|
118
|
+
currentValue: string | number;
|
|
119
|
+
change: (event: Event, value?: string | number, options?: ListMergeDataItem[]) => void;
|
|
120
|
+
};
|
|
96
121
|
pagerConfig?: VxeGridPropTypes.PagerConfig;
|
|
97
122
|
[key: string]: unknown;
|
|
98
123
|
}
|
|
124
|
+
export interface ListMergeDataItem {
|
|
125
|
+
title: string;
|
|
126
|
+
key: number | string;
|
|
127
|
+
}
|
|
99
128
|
export interface TabsData {
|
|
100
129
|
label?: string;
|
|
101
130
|
tabList?: TabListItem[];
|
|
@@ -129,6 +158,12 @@ export declare const listPageLayout: {
|
|
|
129
158
|
type: PropType<ApiUrls>;
|
|
130
159
|
default: () => {};
|
|
131
160
|
};
|
|
161
|
+
beforeHandleData: {
|
|
162
|
+
type: PropType<(column: GridColumn[]) => void>;
|
|
163
|
+
};
|
|
164
|
+
localColumnGroup: {
|
|
165
|
+
type: PropType<(column: GridColumn[]) => GridColumn[]>;
|
|
166
|
+
};
|
|
132
167
|
};
|
|
133
168
|
export type ListContent = ExtractPropTypes<typeof listContent>;
|
|
134
169
|
export declare const LIST_CONTENT_TOKEN: InjectionKey<ListContent>;
|
|
@@ -234,6 +269,7 @@ export interface FetchDataReturn {
|
|
|
234
269
|
export interface GridDataTypes extends FetchDataReturn {
|
|
235
270
|
updateListData: (params?: FetchDataOptions, customRequest?: qqtApi.Request) => void;
|
|
236
271
|
tableColumns: Ref<VxeGridPropTypes.Columns>;
|
|
272
|
+
groupColumns: Ref<VxeGridPropTypes.Columns>;
|
|
237
273
|
}
|
|
238
274
|
export interface FetchDataOptions {
|
|
239
275
|
propsData?: ListContent | {
|
|
@@ -318,20 +354,22 @@ export interface DictCodeItem {
|
|
|
318
354
|
[key: string]: unknown;
|
|
319
355
|
}
|
|
320
356
|
export interface ExportXlsOptions {
|
|
321
|
-
fileName?: string;
|
|
322
|
-
loading
|
|
357
|
+
fileName?: string | unknown;
|
|
358
|
+
loading?: ShallowRef<boolean>;
|
|
323
359
|
pageData: PageData;
|
|
324
360
|
pagerConfig: VxeGridPropTypes.PagerConfig;
|
|
325
361
|
gridInstance: VxeTableInstance;
|
|
362
|
+
listLayoutRef?: Ref;
|
|
326
363
|
apiUrls: ApiUrls;
|
|
327
364
|
exportType?: string;
|
|
328
365
|
templateId?: string;
|
|
329
366
|
templateNumberVersion?: string;
|
|
330
367
|
otherDatas?: QueryCustomData;
|
|
331
368
|
itemGroupCode?: string;
|
|
332
|
-
jsonParam?: ObjectMap;
|
|
369
|
+
jsonParam?: ObjectMap[];
|
|
333
370
|
defineColumnCode?: string;
|
|
334
371
|
exportXlsUrl?: string;
|
|
372
|
+
extraParams?: ObjectMap | unknown;
|
|
335
373
|
[key: string]: unknown;
|
|
336
374
|
}
|
|
337
375
|
export interface GridColumn {
|
|
@@ -356,3 +394,17 @@ export interface ExposeByListButtons {
|
|
|
356
394
|
listGridRef: Ref<VxeTableInstance>;
|
|
357
395
|
Request: qqtApi.Request;
|
|
358
396
|
}
|
|
397
|
+
export interface CreateGruopChatParams {
|
|
398
|
+
[key: string]: unknown;
|
|
399
|
+
}
|
|
400
|
+
export interface RequestInfo {
|
|
401
|
+
paramName: string;
|
|
402
|
+
method: RequestMethod;
|
|
403
|
+
[key: string]: unknown;
|
|
404
|
+
}
|
|
405
|
+
export interface RequestListInfo {
|
|
406
|
+
url: string;
|
|
407
|
+
method: RequestMethod;
|
|
408
|
+
[key: string]: unknown;
|
|
409
|
+
}
|
|
410
|
+
export type RequestMethod = 'get' | 'post' | 'delete' | 'put';
|
|
@@ -46,29 +46,14 @@ export declare const ListConfig: {
|
|
|
46
46
|
isFNR: boolean;
|
|
47
47
|
enterToTab: boolean;
|
|
48
48
|
};
|
|
49
|
+
printConfig: {
|
|
50
|
+
beforePrintMethod: ({ content }: {
|
|
51
|
+
content: string;
|
|
52
|
+
}) => string;
|
|
53
|
+
};
|
|
49
54
|
menuConfig: {
|
|
50
55
|
body: {
|
|
51
|
-
options:
|
|
52
|
-
code: string;
|
|
53
|
-
name: string;
|
|
54
|
-
prefixIcon: string;
|
|
55
|
-
}[] | {
|
|
56
|
-
name: string;
|
|
57
|
-
prefixIcon: string;
|
|
58
|
-
children: ({
|
|
59
|
-
code: string;
|
|
60
|
-
name: string;
|
|
61
|
-
prefixIcon: string;
|
|
62
|
-
params?: undefined;
|
|
63
|
-
} | {
|
|
64
|
-
code: string;
|
|
65
|
-
name: string;
|
|
66
|
-
prefixIcon: string;
|
|
67
|
-
params: {
|
|
68
|
-
category: string;
|
|
69
|
-
};
|
|
70
|
-
})[];
|
|
71
|
-
}[])[];
|
|
56
|
+
options: never[];
|
|
72
57
|
};
|
|
73
58
|
};
|
|
74
59
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { LayoutConfig } from '../edit-page-layout';
|
|
2
|
+
import type { RecordStringNumber } from '../select-modal';
|
|
2
3
|
import type { DefineComponent, ComponentPropsOptions, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentObjectPropsOptions } from 'vue';
|
|
3
4
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
5
|
import QPageLayout from './src/page-layout.vue';
|
|
@@ -1,10 +1,36 @@
|
|
|
1
|
-
import type { PageButton
|
|
1
|
+
import type { PageButton } from '../../../edit-page-layout';
|
|
2
2
|
export declare const BUTTON_DELETE_ROW: PageButton;
|
|
3
3
|
export declare const BUTTON_ADD_ONE_ROW: PageButton;
|
|
4
4
|
export declare const BUTTON_SAVE: PageButton;
|
|
5
|
+
export declare const BUTTON_CANCELAUDIT: PageButton;
|
|
5
6
|
export declare const BUTTON_PUBLISH: PageButton;
|
|
6
7
|
export declare const BUTTON_SUBMIT: PageButton;
|
|
8
|
+
export declare const BUTTON_UPLOAD: PageButton;
|
|
9
|
+
export declare const BUTTON_DOWNLOAD_ALL: PageButton;
|
|
10
|
+
export declare const BUTTON_REMOVE_ALL: PageButton;
|
|
11
|
+
export declare const BUTTON_IMPORT_ROW: PageButton;
|
|
12
|
+
export declare const BUTTON_FLOW_VIEW: PageButton;
|
|
13
|
+
export declare const BUTTON_CONFIRM: PageButton;
|
|
14
|
+
export declare const BUTTON_REJECT: PageButton;
|
|
7
15
|
export declare const BUTTON_CUSTOM: PageButton;
|
|
8
16
|
export declare const BUTTON_CUSTOM_PRIMARY: PageButton;
|
|
9
17
|
export declare const BUTTON_CUSTOM_DANGER: PageButton;
|
|
10
|
-
|
|
18
|
+
/**************************************审批按钮组 start************************************/
|
|
19
|
+
export declare const BUTTON_AUDIT_AGREE: PageButton;
|
|
20
|
+
export declare const BUTTON_AUDIT_REFUSE: PageButton;
|
|
21
|
+
export declare const BUTTON_AUDIT_INFORMED: PageButton;
|
|
22
|
+
export declare const BUTTON_AUDIT_TRANSFER: PageButton;
|
|
23
|
+
export declare const BUTTON_AUDIT_BACK: PageButton;
|
|
24
|
+
export declare const BUTTON_AUDIT_TRANSACTION: PageButton;
|
|
25
|
+
export declare const BUTTON_AUDIT_INVALID: PageButton;
|
|
26
|
+
export declare const BUTTON_AUDIT_REVOCATION: PageButton;
|
|
27
|
+
export declare const BUTTON_AUDIT_REVOCATION_PRE_SIGN: PageButton;
|
|
28
|
+
export declare const BUTTON_AUDIT_FLOW_IMAGE: PageButton;
|
|
29
|
+
export declare const BUTTON_AUDIT_APPROVAL_COMMENT: PageButton;
|
|
30
|
+
export declare const BUTTON_AUDIT_SIGN_NODE: PageButton;
|
|
31
|
+
export declare const BUTTON_AUDIT_PRE_SIGN: PageButton;
|
|
32
|
+
export declare const BUTTON_AUDIT_AFTER_SIGN: PageButton;
|
|
33
|
+
export declare const BUTTON_AUDIT_PRINT: PageButton;
|
|
34
|
+
export declare const BUTTON_AUDIT_ADD_NODE_HISTORY: PageButton;
|
|
35
|
+
export declare const BUTTON_AUDIT_CHAT: PageButton;
|
|
36
|
+
/**************************************审批按钮组 end************************************/
|
|
@@ -3,13 +3,48 @@ export declare const SYMBOL_DELETE_ROWS: unique symbol;
|
|
|
3
3
|
export declare const SYMBOL_SAVE: unique symbol;
|
|
4
4
|
export declare const SYMBOL_PUBLISH: unique symbol;
|
|
5
5
|
export declare const SYMBOL_SUBMIT: unique symbol;
|
|
6
|
+
export declare const SYMBOL_CONFIRM: unique symbol;
|
|
7
|
+
export declare const SYMBOL_REJECT: unique symbol;
|
|
8
|
+
export declare const SYMBOL_CACHE_BUTTON: unique symbol;
|
|
9
|
+
export declare const SYMBOL_CACHE_PAGEDATA: unique symbol;
|
|
10
|
+
export declare const SYMBOL_CACHE_REFRESH: unique symbol;
|
|
11
|
+
export declare const SYMBOL_CACHE_SHOW_MESSAGE: unique symbol;
|
|
6
12
|
export declare const SYMBOL_VALIDATE: unique symbol;
|
|
7
13
|
export declare const SYMBOL_VALIDATE_RESULT: unique symbol;
|
|
8
14
|
export declare const SYMBOL_VALIDATE_SUCCESS: unique symbol;
|
|
9
15
|
export declare const SYMBOL_REFRESH: unique symbol;
|
|
10
16
|
export declare const SYMBOL_BACK: unique symbol;
|
|
11
17
|
export declare const SYMBOL_BINDFUNCTION: unique symbol;
|
|
18
|
+
export declare const SYMBOL_CUSTOM_BINDFUNCTION: unique symbol;
|
|
12
19
|
export declare const SYMBOL_VXE_BINDFUNCTION: unique symbol;
|
|
20
|
+
export declare const SYMBOL_CUSTOM_VXE_BINDFUNCTION: unique symbol;
|
|
13
21
|
export declare const SYMBOL_CUSTOM_CLICK: unique symbol;
|
|
22
|
+
export declare const SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK: unique symbol;
|
|
14
23
|
export declare const SYMBOL_UPLOAD: unique symbol;
|
|
15
24
|
export declare const SYMBOL_UPLOAD_GRID: unique symbol;
|
|
25
|
+
export declare const SYMBOL_CANCELAUDIT: unique symbol;
|
|
26
|
+
export declare const SYMBOL_DOWNLOAD_ALL: unique symbol;
|
|
27
|
+
export declare const SYMBOL_REMOVE_ALL: unique symbol;
|
|
28
|
+
export declare const SYMBOL_CHECKBOX_CHANGE: unique symbol;
|
|
29
|
+
export declare const SYMBOL_CHECKBOX_ALL: unique symbol;
|
|
30
|
+
export declare const SYMBOL_IMPORT_ROWS: unique symbol;
|
|
31
|
+
export declare const SYMBOL_FLOW_VIEW: unique symbol;
|
|
32
|
+
/**************************************审批按钮组 start************************************/
|
|
33
|
+
export declare const SYMBOL_AUDIT_AGREE: unique symbol;
|
|
34
|
+
export declare const SYMBOL_AUDIT_REFUSE: unique symbol;
|
|
35
|
+
export declare const SYMBOL_AUDIT_INFORMED: unique symbol;
|
|
36
|
+
export declare const SYMBOL_AUDIT_TRANSFER: unique symbol;
|
|
37
|
+
export declare const SYMBOL_AUDIT_BACK: unique symbol;
|
|
38
|
+
export declare const SYMBOL_AUDIT_TRANSACTION: unique symbol;
|
|
39
|
+
export declare const SYMBOL_AUDIT_INVALID: unique symbol;
|
|
40
|
+
export declare const SYMBOL_AUDIT_REVOCATION: unique symbol;
|
|
41
|
+
export declare const SYMBOL_AUDIT_REVOCATION_PRE_SIGN: unique symbol;
|
|
42
|
+
export declare const SYMBOL_AUDIT_FLOW_IMAGE: unique symbol;
|
|
43
|
+
export declare const SYMBOL_AUDIT_APPROVAL_COMMENT: unique symbol;
|
|
44
|
+
export declare const SYMBOL_AUDIT_SIGN_NODE: unique symbol;
|
|
45
|
+
export declare const SYMBOL_AUDIT_PRE_SIGN: unique symbol;
|
|
46
|
+
export declare const SYMBOL_AUDIT_AFTER_SIGN: unique symbol;
|
|
47
|
+
export declare const SYMBOL_AUDIT_PRINT: unique symbol;
|
|
48
|
+
export declare const SYMBOL_AUDIT_ADD_NODE_HISTORY: unique symbol;
|
|
49
|
+
export declare const SYMBOL_AUDIT_CHAT: unique symbol;
|
|
50
|
+
/**************************************审批按钮组 end************************************/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import type { RecordStringNumber, LayoutConfig } from '../../../edit-page-layout';
|
|
3
|
-
export default function
|
|
3
|
+
export default function useMergeDefaultValues(rawPageData: Ref<RecordStringNumber>, defaultValues: Ref<RecordStringNumber>, layoutConfig: Ref<LayoutConfig>): {
|
|
4
4
|
pageData: Ref<RecordStringNumber>;
|
|
5
5
|
isFinishData: Ref<boolean>;
|
|
6
6
|
};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
|
-
import type { ExposeWithPageButtons, PageButton, ValidateResult } from '../../../edit-page-layout';
|
|
3
|
-
export default function usePromiseStep<T extends
|
|
2
|
+
import type { UsePromiseStepPayload, ExposeWithPageButtons, RecordStringNumber, PageButton, ValidateResult } from '../../../edit-page-layout';
|
|
3
|
+
export default function usePromiseStep<T extends UsePromiseStepPayload>(payload: T): {
|
|
4
4
|
customLoading: Ref<boolean>;
|
|
5
5
|
normalizeStepPromiseMethod: <T_1 extends ExposeWithPageButtons>(key: string | symbol) => ((args: T_1) => Promise<ExposeWithPageButtons>)[];
|
|
6
6
|
handleResetValidateStatus: (btn: PageButton) => void;
|
|
7
7
|
handleValidateResult: ({ result, button }: ValidateResult) => void;
|
|
8
8
|
stepSave: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
|
|
9
9
|
stepAdd: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
|
|
10
|
-
|
|
10
|
+
handleSetCacheButton: (btn: PageButton) => void;
|
|
11
|
+
handleSetCachePageData: (data: RecordStringNumber) => void;
|
|
12
|
+
handleSetCacheRefresh: (refresh: boolean) => void;
|
|
13
|
+
handleSetCacheShowMessage: (show: boolean) => void;
|
|
14
|
+
stepTriggerValidate: () => void;
|
|
11
15
|
stepHideMessage: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
|
|
12
16
|
stepShowMessage: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
|
|
13
17
|
stepCheckBeforePublish: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
|
|
@@ -17,10 +21,16 @@ export default function usePromiseStep<T extends ExposeWithPageButtons>(payload:
|
|
|
17
21
|
stepConfirmSubmit: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
|
|
18
22
|
stepPublish: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
|
|
19
23
|
stepSubmit: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
|
|
20
|
-
promiseSaveSteps: (
|
|
21
|
-
composeSave: (
|
|
22
|
-
composePublish: (
|
|
23
|
-
restOfPublish: (
|
|
24
|
-
composeSubmit: (
|
|
25
|
-
restOfSubmit: (
|
|
24
|
+
promiseSaveSteps: () => Promise<ExposeWithPageButtons>;
|
|
25
|
+
composeSave: () => void;
|
|
26
|
+
composePublish: () => void;
|
|
27
|
+
restOfPublish: () => void;
|
|
28
|
+
composeSubmit: () => void;
|
|
29
|
+
restOfSubmit: () => void;
|
|
30
|
+
composeConfirm: (refresh?: boolean) => void;
|
|
31
|
+
restOfConfirm: () => void;
|
|
32
|
+
composeReject: () => void;
|
|
33
|
+
composeCancelAudit: () => void;
|
|
34
|
+
stepCancelAuditModal: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
|
|
35
|
+
stepCancelAudit: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
|
|
26
36
|
};
|