@qqt-product/ui 11.0.5 → 11.0.7
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 +20840 -20814
- package/dist/index.umd.js +101 -101
- package/dist/lib/components/audit-modal/index.d.ts +2 -0
- package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +2 -0
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +89 -3
- package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +91 -3
- package/dist/lib/components/audit-modal/src/hook/use-audit-config-hook.d.ts +36 -2
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +4 -0
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +35 -1
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +1 -0
- package/dist/lib/utils/event.d.ts +3 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { UploadOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UploadOutlined';
|
|
1
2
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
2
3
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './src/component/field-select-modal-types';
|
|
3
4
|
import type { UserOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UserOutlined';
|
|
@@ -262,6 +263,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
262
263
|
placeholder: string;
|
|
263
264
|
selectModal: ModalType;
|
|
264
265
|
}, {}>;
|
|
266
|
+
readonly UploadOutlined: UploadOutlinedIconType;
|
|
265
267
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "ok" | "cancel")[], "update:visible" | "ok" | "cancel", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
266
268
|
visible: {
|
|
267
269
|
type: BooleanConstructor;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { UploadOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UploadOutlined';
|
|
1
2
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
2
3
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './component/field-select-modal-types';
|
|
3
4
|
import type { UserOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UserOutlined';
|
|
@@ -258,6 +259,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
258
259
|
placeholder: string;
|
|
259
260
|
selectModal: ModalType;
|
|
260
261
|
}, {}>;
|
|
262
|
+
readonly UploadOutlined: UploadOutlinedIconType;
|
|
261
263
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "ok" | "cancel")[], "update:visible" | "ok" | "cancel", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
262
264
|
visible: {
|
|
263
265
|
type: BooleanConstructor;
|
|
@@ -3,7 +3,7 @@ import type { SrmI18n } from '../../../../utils/type';
|
|
|
3
3
|
import type { Form } from '../audit-modal-type';
|
|
4
4
|
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
5
5
|
import qqtApi from '@qqt-product/api';
|
|
6
|
-
import type { VxeColumnSlotTypes, VxeTableDataRow, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines,
|
|
6
|
+
import type { VxeColumnSlotTypes, VxeTableDataRow, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines, SizeType, VxeGridPropTypes } from 'vxe-table';
|
|
7
7
|
declare const _sfc_main: DefineComponent<{
|
|
8
8
|
visible: {
|
|
9
9
|
type: BooleanConstructor;
|
|
@@ -61,7 +61,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
61
61
|
props: any;
|
|
62
62
|
emit: (event: "update:visible" | "ok" | "cancel", ...args: any[]) => void;
|
|
63
63
|
confirmLoading: Ref<boolean>;
|
|
64
|
-
title: Ref<string>;
|
|
65
64
|
visible: Ref<boolean>;
|
|
66
65
|
handleCancel: () => void;
|
|
67
66
|
submit: () => void;
|
|
@@ -334,7 +333,94 @@ declare const _sfc_main: DefineComponent<{
|
|
|
334
333
|
params?: any;
|
|
335
334
|
}[]>;
|
|
336
335
|
Request: qqtApi.Request;
|
|
337
|
-
gridConfig:
|
|
336
|
+
gridConfig: {
|
|
337
|
+
height: number;
|
|
338
|
+
size?: SizeType | undefined;
|
|
339
|
+
id?: string | undefined;
|
|
340
|
+
data?: VxeTablePropTypes.Data<VxeTableDataRow> | undefined;
|
|
341
|
+
maxHeight?: VxeTablePropTypes.MaxHeight | undefined;
|
|
342
|
+
resizable?: boolean | undefined;
|
|
343
|
+
stripe?: boolean | undefined;
|
|
344
|
+
round?: boolean | undefined;
|
|
345
|
+
border?: VxeTablePropTypes.Border | undefined;
|
|
346
|
+
loading?: boolean | undefined;
|
|
347
|
+
align?: VxeTablePropTypes.Align | undefined;
|
|
348
|
+
headerAlign?: VxeTablePropTypes.Align | undefined;
|
|
349
|
+
footerAlign?: VxeTablePropTypes.Align | undefined;
|
|
350
|
+
showHeader?: boolean | undefined;
|
|
351
|
+
highlightCurrentRow?: boolean | undefined;
|
|
352
|
+
highlightHoverRow?: boolean | undefined;
|
|
353
|
+
highlightCurrentColumn?: boolean | undefined;
|
|
354
|
+
highlightHoverColumn?: boolean | undefined;
|
|
355
|
+
highlightCell?: boolean | undefined;
|
|
356
|
+
showFooter?: boolean | undefined;
|
|
357
|
+
footerMethod?: VxeTablePropTypes.FooterMethod<VxeTableDataRow> | undefined;
|
|
358
|
+
rowClassName?: VxeTablePropTypes.RowClassName<VxeTableDataRow> | undefined;
|
|
359
|
+
cellClassName?: VxeTablePropTypes.CellClassName<VxeTableDataRow> | undefined;
|
|
360
|
+
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName<VxeTableDataRow> | undefined;
|
|
361
|
+
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName<VxeTableDataRow> | undefined;
|
|
362
|
+
footerRowClassName?: VxeTablePropTypes.FooterRowClassName<VxeTableDataRow> | undefined;
|
|
363
|
+
footerCellClassName?: VxeTablePropTypes.FooterCellClassName<VxeTableDataRow> | undefined;
|
|
364
|
+
cellStyle?: VxeTablePropTypes.CellStyle<VxeTableDataRow> | undefined;
|
|
365
|
+
rowStyle?: VxeTablePropTypes.RowStyle<VxeTableDataRow> | undefined;
|
|
366
|
+
headerCellStyle?: VxeTablePropTypes.HeaderCellStyle<VxeTableDataRow> | undefined;
|
|
367
|
+
headerRowStyle?: VxeTablePropTypes.HeaderRowStyle<VxeTableDataRow> | undefined;
|
|
368
|
+
footerRowStyle?: VxeTablePropTypes.FooterRowStyle<VxeTableDataRow> | undefined;
|
|
369
|
+
footerCellStyle?: VxeTablePropTypes.FooterCellStyle<VxeTableDataRow> | undefined;
|
|
370
|
+
mergeCells?: VxeTablePropTypes.MergeCells<VxeTableDataRow> | undefined;
|
|
371
|
+
mergeFooterItems?: VxeTablePropTypes.MergeFooterItems<VxeTableDataRow> | undefined;
|
|
372
|
+
spanMethod?: VxeTablePropTypes.SpanMethod<VxeTableDataRow> | undefined;
|
|
373
|
+
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod<VxeTableDataRow> | undefined;
|
|
374
|
+
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
375
|
+
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
376
|
+
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
377
|
+
columnKey?: boolean | undefined;
|
|
378
|
+
rowKey?: boolean | undefined;
|
|
379
|
+
rowId?: string | undefined;
|
|
380
|
+
keepSource?: boolean | undefined;
|
|
381
|
+
autoResize?: boolean | undefined;
|
|
382
|
+
syncResize?: VxeTablePropTypes.SyncResize | undefined;
|
|
383
|
+
columnConfig?: VxeTablePropTypes.ColumnConfig | undefined;
|
|
384
|
+
rowConfig?: VxeTablePropTypes.RowConfig | undefined;
|
|
385
|
+
customConfig?: VxeTablePropTypes.CustomConfig<VxeTableDataRow> | undefined;
|
|
386
|
+
resizeConfig?: VxeTablePropTypes.ResizeConfig | undefined;
|
|
387
|
+
resizableConfig?: VxeTablePropTypes.ResizableConfig<VxeTableDataRow> | undefined;
|
|
388
|
+
seqConfig?: VxeTablePropTypes.SeqConfig<VxeTableDataRow> | undefined;
|
|
389
|
+
sortConfig?: VxeTablePropTypes.SortConfig<VxeTableDataRow> | undefined;
|
|
390
|
+
filterConfig?: VxeTablePropTypes.FilterConfig<VxeTableDataRow> | undefined;
|
|
391
|
+
radioConfig?: VxeTablePropTypes.RadioConfig<VxeTableDataRow> | undefined;
|
|
392
|
+
checkboxConfig?: VxeTablePropTypes.CheckboxConfig<VxeTableDataRow> | undefined;
|
|
393
|
+
tooltipConfig?: VxeTablePropTypes.TooltipConfig<VxeTableDataRow> | undefined;
|
|
394
|
+
exportConfig?: VxeTablePropTypes.ExportConfig | undefined;
|
|
395
|
+
importConfig?: VxeTablePropTypes.ImportConfig | undefined;
|
|
396
|
+
printConfig?: VxeTablePropTypes.PrintConfig | undefined;
|
|
397
|
+
expandConfig?: VxeTablePropTypes.ExpandConfig<VxeTableDataRow> | undefined;
|
|
398
|
+
treeConfig?: VxeTablePropTypes.TreeConfig<VxeTableDataRow> | undefined;
|
|
399
|
+
menuConfig?: VxeTablePropTypes.MenuConfig<VxeTableDataRow> | undefined;
|
|
400
|
+
mouseConfig?: VxeTablePropTypes.MouseConfig | undefined;
|
|
401
|
+
areaConfig?: VxeTablePropTypes.AreaConfig<VxeTableDataRow> | undefined;
|
|
402
|
+
fnrConfig?: VxeTablePropTypes.FNRConfig<VxeTableDataRow> | undefined;
|
|
403
|
+
keyboardConfig?: VxeTablePropTypes.KeyboardConfig<VxeTableDataRow> | undefined;
|
|
404
|
+
clipConfig?: VxeTablePropTypes.ClipConfig<VxeTableDataRow> | undefined;
|
|
405
|
+
editConfig?: VxeTablePropTypes.EditConfig<VxeTableDataRow> | undefined;
|
|
406
|
+
validConfig?: VxeTablePropTypes.ValidConfig | undefined;
|
|
407
|
+
editRules?: VxeTablePropTypes.EditRules<VxeTableDataRow> | undefined;
|
|
408
|
+
emptyText?: string | undefined;
|
|
409
|
+
emptyRender?: VxeTablePropTypes.EmptyRender | undefined;
|
|
410
|
+
loadingConfig?: VxeTablePropTypes.LoadingConfig | undefined;
|
|
411
|
+
fit?: boolean | undefined;
|
|
412
|
+
animat?: boolean | undefined;
|
|
413
|
+
delayHover?: number | undefined;
|
|
414
|
+
scrollX?: VxeTablePropTypes.ScrollX | undefined;
|
|
415
|
+
scrollY?: VxeTablePropTypes.ScrollY | undefined;
|
|
416
|
+
params?: any;
|
|
417
|
+
columns?: VxeGridPropTypes.Columns<VxeTableDataRow> | undefined;
|
|
418
|
+
pagerConfig?: VxeGridPropTypes.PagerConfig | undefined;
|
|
419
|
+
proxyConfig?: VxeGridPropTypes.ProxyConfig<VxeTableDataRow> | undefined;
|
|
420
|
+
toolbarConfig?: VxeGridPropTypes.ToolbarConfig | undefined;
|
|
421
|
+
formConfig?: VxeGridPropTypes.FormConfig | undefined;
|
|
422
|
+
zoomConfig?: VxeGridPropTypes.ZoomConfig | undefined;
|
|
423
|
+
};
|
|
338
424
|
getHistoryTableData: () => void;
|
|
339
425
|
allBack: () => void;
|
|
340
426
|
useHistorySlots: () => {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { ObjectMap } from '../../../list-page-layout';
|
|
2
|
+
import type { SrmI18n } from '../../../../utils/type';
|
|
2
3
|
import type { Form } from '../audit-modal-type';
|
|
3
4
|
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
5
|
import qqtApi from '@qqt-product/api';
|
|
5
|
-
import type { VxeColumnSlotTypes, VxeTableDataRow, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines,
|
|
6
|
+
import type { VxeColumnSlotTypes, VxeTableDataRow, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines, SizeType, VxeGridPropTypes } from 'vxe-table';
|
|
6
7
|
declare const _sfc_main: DefineComponent<{
|
|
7
8
|
visible: {
|
|
8
9
|
type: BooleanConstructor;
|
|
@@ -57,10 +58,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
57
58
|
default: unknown;
|
|
58
59
|
};
|
|
59
60
|
}, {
|
|
61
|
+
srmI18n: SrmI18n;
|
|
60
62
|
props: any;
|
|
61
63
|
emit: (event: "update:visible" | "ok" | "cancel", ...args: any[]) => void;
|
|
62
64
|
confirmLoading: Ref<boolean>;
|
|
63
|
-
title: Ref<string>;
|
|
64
65
|
visible: Ref<boolean>;
|
|
65
66
|
handleCancel: () => void;
|
|
66
67
|
submit: () => void;
|
|
@@ -338,7 +339,94 @@ declare const _sfc_main: DefineComponent<{
|
|
|
338
339
|
}[];
|
|
339
340
|
tableData: Ref<VxeGridPropTypes.Columns<VxeTableDataRow> | undefined>;
|
|
340
341
|
Request: qqtApi.Request;
|
|
341
|
-
gridConfig:
|
|
342
|
+
gridConfig: {
|
|
343
|
+
height: number;
|
|
344
|
+
size?: SizeType | undefined;
|
|
345
|
+
id?: string | undefined;
|
|
346
|
+
data?: VxeTablePropTypes.Data<VxeTableDataRow> | undefined;
|
|
347
|
+
maxHeight?: VxeTablePropTypes.MaxHeight | undefined;
|
|
348
|
+
resizable?: boolean | undefined;
|
|
349
|
+
stripe?: boolean | undefined;
|
|
350
|
+
round?: boolean | undefined;
|
|
351
|
+
border?: VxeTablePropTypes.Border | undefined;
|
|
352
|
+
loading?: boolean | undefined;
|
|
353
|
+
align?: VxeTablePropTypes.Align | undefined;
|
|
354
|
+
headerAlign?: VxeTablePropTypes.Align | undefined;
|
|
355
|
+
footerAlign?: VxeTablePropTypes.Align | undefined;
|
|
356
|
+
showHeader?: boolean | undefined;
|
|
357
|
+
highlightCurrentRow?: boolean | undefined;
|
|
358
|
+
highlightHoverRow?: boolean | undefined;
|
|
359
|
+
highlightCurrentColumn?: boolean | undefined;
|
|
360
|
+
highlightHoverColumn?: boolean | undefined;
|
|
361
|
+
highlightCell?: boolean | undefined;
|
|
362
|
+
showFooter?: boolean | undefined;
|
|
363
|
+
footerMethod?: VxeTablePropTypes.FooterMethod<VxeTableDataRow> | undefined;
|
|
364
|
+
rowClassName?: VxeTablePropTypes.RowClassName<VxeTableDataRow> | undefined;
|
|
365
|
+
cellClassName?: VxeTablePropTypes.CellClassName<VxeTableDataRow> | undefined;
|
|
366
|
+
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName<VxeTableDataRow> | undefined;
|
|
367
|
+
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName<VxeTableDataRow> | undefined;
|
|
368
|
+
footerRowClassName?: VxeTablePropTypes.FooterRowClassName<VxeTableDataRow> | undefined;
|
|
369
|
+
footerCellClassName?: VxeTablePropTypes.FooterCellClassName<VxeTableDataRow> | undefined;
|
|
370
|
+
cellStyle?: VxeTablePropTypes.CellStyle<VxeTableDataRow> | undefined;
|
|
371
|
+
rowStyle?: VxeTablePropTypes.RowStyle<VxeTableDataRow> | undefined;
|
|
372
|
+
headerCellStyle?: VxeTablePropTypes.HeaderCellStyle<VxeTableDataRow> | undefined;
|
|
373
|
+
headerRowStyle?: VxeTablePropTypes.HeaderRowStyle<VxeTableDataRow> | undefined;
|
|
374
|
+
footerRowStyle?: VxeTablePropTypes.FooterRowStyle<VxeTableDataRow> | undefined;
|
|
375
|
+
footerCellStyle?: VxeTablePropTypes.FooterCellStyle<VxeTableDataRow> | undefined;
|
|
376
|
+
mergeCells?: VxeTablePropTypes.MergeCells<VxeTableDataRow> | undefined;
|
|
377
|
+
mergeFooterItems?: VxeTablePropTypes.MergeFooterItems<VxeTableDataRow> | undefined;
|
|
378
|
+
spanMethod?: VxeTablePropTypes.SpanMethod<VxeTableDataRow> | undefined;
|
|
379
|
+
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod<VxeTableDataRow> | undefined;
|
|
380
|
+
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
381
|
+
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
382
|
+
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
383
|
+
columnKey?: boolean | undefined;
|
|
384
|
+
rowKey?: boolean | undefined;
|
|
385
|
+
rowId?: string | undefined;
|
|
386
|
+
keepSource?: boolean | undefined;
|
|
387
|
+
autoResize?: boolean | undefined;
|
|
388
|
+
syncResize?: VxeTablePropTypes.SyncResize | undefined;
|
|
389
|
+
columnConfig?: VxeTablePropTypes.ColumnConfig | undefined;
|
|
390
|
+
rowConfig?: VxeTablePropTypes.RowConfig | undefined;
|
|
391
|
+
customConfig?: VxeTablePropTypes.CustomConfig<VxeTableDataRow> | undefined;
|
|
392
|
+
resizeConfig?: VxeTablePropTypes.ResizeConfig | undefined;
|
|
393
|
+
resizableConfig?: VxeTablePropTypes.ResizableConfig<VxeTableDataRow> | undefined;
|
|
394
|
+
seqConfig?: VxeTablePropTypes.SeqConfig<VxeTableDataRow> | undefined;
|
|
395
|
+
sortConfig?: VxeTablePropTypes.SortConfig<VxeTableDataRow> | undefined;
|
|
396
|
+
filterConfig?: VxeTablePropTypes.FilterConfig<VxeTableDataRow> | undefined;
|
|
397
|
+
radioConfig?: VxeTablePropTypes.RadioConfig<VxeTableDataRow> | undefined;
|
|
398
|
+
checkboxConfig?: VxeTablePropTypes.CheckboxConfig<VxeTableDataRow> | undefined;
|
|
399
|
+
tooltipConfig?: VxeTablePropTypes.TooltipConfig<VxeTableDataRow> | undefined;
|
|
400
|
+
exportConfig?: VxeTablePropTypes.ExportConfig | undefined;
|
|
401
|
+
importConfig?: VxeTablePropTypes.ImportConfig | undefined;
|
|
402
|
+
printConfig?: VxeTablePropTypes.PrintConfig | undefined;
|
|
403
|
+
expandConfig?: VxeTablePropTypes.ExpandConfig<VxeTableDataRow> | undefined;
|
|
404
|
+
treeConfig?: VxeTablePropTypes.TreeConfig<VxeTableDataRow> | undefined;
|
|
405
|
+
menuConfig?: VxeTablePropTypes.MenuConfig<VxeTableDataRow> | undefined;
|
|
406
|
+
mouseConfig?: VxeTablePropTypes.MouseConfig | undefined;
|
|
407
|
+
areaConfig?: VxeTablePropTypes.AreaConfig<VxeTableDataRow> | undefined;
|
|
408
|
+
fnrConfig?: VxeTablePropTypes.FNRConfig<VxeTableDataRow> | undefined;
|
|
409
|
+
keyboardConfig?: VxeTablePropTypes.KeyboardConfig<VxeTableDataRow> | undefined;
|
|
410
|
+
clipConfig?: VxeTablePropTypes.ClipConfig<VxeTableDataRow> | undefined;
|
|
411
|
+
editConfig?: VxeTablePropTypes.EditConfig<VxeTableDataRow> | undefined;
|
|
412
|
+
validConfig?: VxeTablePropTypes.ValidConfig | undefined;
|
|
413
|
+
editRules?: VxeTablePropTypes.EditRules<VxeTableDataRow> | undefined;
|
|
414
|
+
emptyText?: string | undefined;
|
|
415
|
+
emptyRender?: VxeTablePropTypes.EmptyRender | undefined;
|
|
416
|
+
loadingConfig?: VxeTablePropTypes.LoadingConfig | undefined;
|
|
417
|
+
fit?: boolean | undefined;
|
|
418
|
+
animat?: boolean | undefined;
|
|
419
|
+
delayHover?: number | undefined;
|
|
420
|
+
scrollX?: VxeTablePropTypes.ScrollX | undefined;
|
|
421
|
+
scrollY?: VxeTablePropTypes.ScrollY | undefined;
|
|
422
|
+
params?: any;
|
|
423
|
+
columns?: VxeGridPropTypes.Columns<VxeTableDataRow> | undefined;
|
|
424
|
+
pagerConfig?: VxeGridPropTypes.PagerConfig | undefined;
|
|
425
|
+
proxyConfig?: VxeGridPropTypes.ProxyConfig<VxeTableDataRow> | undefined;
|
|
426
|
+
toolbarConfig?: VxeGridPropTypes.ToolbarConfig | undefined;
|
|
427
|
+
formConfig?: VxeGridPropTypes.FormConfig | undefined;
|
|
428
|
+
zoomConfig?: VxeGridPropTypes.ZoomConfig | undefined;
|
|
429
|
+
};
|
|
342
430
|
getHistoryTableData: () => void;
|
|
343
431
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "ok" | "cancel")[], "update:visible" | "ok" | "cancel", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
344
432
|
visible: {
|
|
@@ -1,6 +1,40 @@
|
|
|
1
1
|
import { ObjectMap } from '../../../list-page-layout/src/list-page-layout-types';
|
|
2
|
-
import { CurrentRow } from '../../../edit-page-layout
|
|
3
|
-
import { Ref } from 'vue';
|
|
2
|
+
import type { PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, CurrentRow, PageButton, RecordString } from '../../../edit-page-layout';
|
|
3
|
+
import type { Ref } from 'vue';
|
|
4
4
|
export default function useAuditConfigHook(auditVisble: Ref<boolean>, currentRow: CurrentRow): {
|
|
5
5
|
auditFormModal: ObjectMap;
|
|
6
|
+
cacheParams: Ref<RecordString>;
|
|
7
|
+
cacheAuditButton: Ref<{
|
|
8
|
+
title: string;
|
|
9
|
+
i18nKey?: string | undefined;
|
|
10
|
+
key: string | symbol;
|
|
11
|
+
args: PageButtonArgsFunctionType | {
|
|
12
|
+
[x: string]: unknown;
|
|
13
|
+
url: string;
|
|
14
|
+
};
|
|
15
|
+
authorityCode?: string | undefined;
|
|
16
|
+
attrs?: RecordString | undefined;
|
|
17
|
+
icon?: {
|
|
18
|
+
type: string;
|
|
19
|
+
size: number;
|
|
20
|
+
color?: string | undefined;
|
|
21
|
+
} | undefined;
|
|
22
|
+
emit?: boolean | undefined;
|
|
23
|
+
emitKey?: string | undefined;
|
|
24
|
+
showMessage?: boolean | undefined;
|
|
25
|
+
checkBefore?: boolean | undefined;
|
|
26
|
+
confirm?: {
|
|
27
|
+
title: string;
|
|
28
|
+
content: string;
|
|
29
|
+
} | undefined;
|
|
30
|
+
dropdown?: boolean | undefined;
|
|
31
|
+
isExistFrozenSource?: boolean | undefined;
|
|
32
|
+
isExistFrozenSourceUrl?: string | undefined;
|
|
33
|
+
isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
|
|
34
|
+
disabled?: ((pageData: RecordString) => boolean) | undefined;
|
|
35
|
+
handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
36
|
+
handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
37
|
+
callback?: ((payload: PageButtonPayload) => void) | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
handleSetCacheAuditButton: (btn: PageButton) => void;
|
|
6
40
|
};
|
|
@@ -221,6 +221,10 @@ export interface CellAreaPasteParams extends VxeTableProDefines.CellAreaPastePar
|
|
|
221
221
|
* Vxe 表格事件类型
|
|
222
222
|
* end
|
|
223
223
|
*/
|
|
224
|
+
export interface FlowApprovalCallbackPayload {
|
|
225
|
+
btn: PageButton;
|
|
226
|
+
params: RecordString;
|
|
227
|
+
}
|
|
224
228
|
/**
|
|
225
229
|
* 参数扩展
|
|
226
230
|
* 该方法的返回值用来决定该单元格是否允许编辑
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { ResponseType, UserInfo, CurrentRow, DictCodeItem, Role, GroupType, Pattern, Icon, PageButtonPayload, PageButtonArgs, PageButtonArgsFunctionType, PageButton, PageUploadButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageDownLoadButton, PageButtonDownLoad, ExposeWithPageDeleteFileRows, PageDeleteFileRowButton, PageButtonDeleteFileRow, ValidateStatus, ValidateResult, PageButtonPosition, RecordString, OmitEditConfigVxeGridProps, OmitBeforeEditMethodEditConfig, KeydownEventParams, HeaderCellClickEventParams, HeaderCellDblclickEventParams, HeaderCellMenuEventParams, CellClickEventParams, CellDblclickEventParams, CellMenuEventParams, FooterCellClickEventParams, FooterCellDblclickEventParams, FooterCellMenuEventParams, RadioChangeEventParams, CheckboxChangeEventParams, CheckboxAllEventParams, ScrollEventParams, ZoomEventParams, CustomEventParams, CellAreaCutParams, CellAreaCopyParams, CellAreaPasteParams, BeforeEditMethodParams, MixBeforeEditMethod, MixEditConfig, MixVxeGridProps, GroupExtend, Group, HeadGroupType, ItemGroupType, GroupItem, StringOrNumber, Expose, ExposeWithPageButtons, CustomFormatItem, SetItemRequired, SetItemDisabled, SetItemRequiredOrDisabled, ValuePayload, UsePromiseStepPayload, Payload, VxePayload, UploadExtend, FormFieldsItem, ColumnItem, FormFieldsItemSelectModal, ColumnItemWithSelectModal, FormFieldsItemUpload, ColumnItemWithExtend, FormFieldsItemWithValue, ColumnItemWithValue, ImportPropsType, FlowPropsType, ComputedFormFieldsItem, BindFunctionEvent, VxeBindFunctionEvent, RemoteConfig, LayoutConfig, LocalConfig, DetailApiFunctionType, EditPageLayoutProps, Extend, LadderPriceExtend, FormDataType, } from './edit-page-layout-types';
|
|
1
|
+
export type { ResponseType, UserInfo, CurrentRow, DictCodeItem, Role, GroupType, Pattern, Icon, PageButtonPayload, PageButtonArgs, PageButtonArgsFunctionType, PageButton, PageUploadButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageDownLoadButton, PageButtonDownLoad, ExposeWithPageDeleteFileRows, PageDeleteFileRowButton, PageButtonDeleteFileRow, ValidateStatus, ValidateResult, PageButtonPosition, RecordString, OmitEditConfigVxeGridProps, OmitBeforeEditMethodEditConfig, KeydownEventParams, HeaderCellClickEventParams, HeaderCellDblclickEventParams, HeaderCellMenuEventParams, CellClickEventParams, CellDblclickEventParams, CellMenuEventParams, FooterCellClickEventParams, FooterCellDblclickEventParams, FooterCellMenuEventParams, RadioChangeEventParams, CheckboxChangeEventParams, CheckboxAllEventParams, ScrollEventParams, ZoomEventParams, CustomEventParams, CellAreaCutParams, CellAreaCopyParams, CellAreaPasteParams, FlowApprovalCallbackPayload, BeforeEditMethodParams, MixBeforeEditMethod, MixEditConfig, MixVxeGridProps, GroupExtend, Group, HeadGroupType, ItemGroupType, GroupItem, StringOrNumber, Expose, ExposeWithPageButtons, CustomFormatItem, SetItemRequired, SetItemDisabled, SetItemRequiredOrDisabled, ValuePayload, UsePromiseStepPayload, Payload, VxePayload, UploadExtend, FormFieldsItem, ColumnItem, FormFieldsItemSelectModal, ColumnItemWithSelectModal, FormFieldsItemUpload, ColumnItemWithExtend, FormFieldsItemWithValue, ColumnItemWithValue, ImportPropsType, FlowPropsType, ComputedFormFieldsItem, BindFunctionEvent, VxeBindFunctionEvent, RemoteConfig, LayoutConfig, LocalConfig, DetailApiFunctionType, EditPageLayoutProps, Extend, LadderPriceExtend, FormDataType, } from './edit-page-layout-types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ObjectMap } from '../../../list-page-layout';
|
|
2
2
|
import type { Ref } from 'vue';
|
|
3
|
-
import type { PageButton,
|
|
3
|
+
import type { RecordString, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, PageButton, CurrentRow } from '../../../edit-page-layout';
|
|
4
4
|
interface auditOption {
|
|
5
5
|
currentRow: CurrentRow;
|
|
6
6
|
businessType: string;
|
|
@@ -43,5 +43,39 @@ export default function useAuditButtonHook({ currentRow, businessType, layoutExt
|
|
|
43
43
|
initAuditForm: (btn: PageButton) => void;
|
|
44
44
|
handleAuditInvalid: (btn: PageButton) => void;
|
|
45
45
|
handleAuditRevocation: (btn: PageButton) => void;
|
|
46
|
+
cacheParams: Ref<RecordString>;
|
|
47
|
+
cacheAuditButton: Ref<{
|
|
48
|
+
title: string;
|
|
49
|
+
i18nKey?: string | undefined;
|
|
50
|
+
key: string | symbol;
|
|
51
|
+
args: PageButtonArgsFunctionType | {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
url: string;
|
|
54
|
+
};
|
|
55
|
+
authorityCode?: string | undefined;
|
|
56
|
+
attrs?: RecordString | undefined;
|
|
57
|
+
icon?: {
|
|
58
|
+
type: string;
|
|
59
|
+
size: number;
|
|
60
|
+
color?: string | undefined;
|
|
61
|
+
} | undefined;
|
|
62
|
+
emit?: boolean | undefined;
|
|
63
|
+
emitKey?: string | undefined;
|
|
64
|
+
showMessage?: boolean | undefined;
|
|
65
|
+
checkBefore?: boolean | undefined;
|
|
66
|
+
confirm?: {
|
|
67
|
+
title: string;
|
|
68
|
+
content: string;
|
|
69
|
+
} | undefined;
|
|
70
|
+
dropdown?: boolean | undefined;
|
|
71
|
+
isExistFrozenSource?: boolean | undefined;
|
|
72
|
+
isExistFrozenSourceUrl?: string | undefined;
|
|
73
|
+
isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
|
|
74
|
+
disabled?: ((pageData: RecordString) => boolean) | undefined;
|
|
75
|
+
handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
76
|
+
handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
77
|
+
callback?: ((payload: PageButtonPayload) => void) | undefined;
|
|
78
|
+
}>;
|
|
79
|
+
handleSetCacheAuditButton: (btn: PageButton) => void;
|
|
46
80
|
};
|
|
47
81
|
export {};
|
|
@@ -75,4 +75,5 @@ export declare const SYMBOL_AUDIT_AFTER_SIGN = "AUDIT_AFTER_SIGN";
|
|
|
75
75
|
export declare const SYMBOL_AUDIT_PRINT = "AUDIT_PRINT";
|
|
76
76
|
export declare const SYMBOL_AUDIT_ADD_NODE_HISTORY = "AUDIT_ADD_NODE_HISTORY";
|
|
77
77
|
export declare const SYMBOL_AUDIT_CHAT = "AUDIT_CHAT";
|
|
78
|
+
export declare const SYMBOL_FLOW_APPROVAL_CALLBACK = "FLOW_APPROVAL_CALLBACK";
|
|
78
79
|
/**************************************审批按钮组 end************************************/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Emitter } from '@qqt-product/utils';
|
|
2
2
|
import { VxeTableInstance } from 'vxe-table';
|
|
3
|
-
import { SYMBOL_BINDFUNCTION, SYMBOL_CUSTOM_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTION, SYMBOL_CUSTOM_VXE_BINDFUNCTION, SYMBOL_ADD_ONE_ROW, SYMBOL_DELETE_ROWS, SYMBOL_CUSTOM_CLICK, SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK, SYMBOL_CACHE_BUTTON, SYMBOL_CACHE_PAGEDATA, SYMBOL_CACHE_REFRESH, SYMBOL_CACHE_SHOW_MESSAGE, SYMBOL_VALIDATE, SYMBOL_VALIDATE_RESULT, SYMBOL_LINK_CLICK, SYMBOL_VALIDATE_SUCCESS, SYMBOL_REFRESH, SYMBOL_BACK, SYMBOL_SAVE, SYMBOL_PUBLISH, SYMBOL_SUBMIT, SYMBOL_CONFIRM, SYMBOL_REJECT, SYMBOL_UPLOAD, SYMBOL_UPLOAD_GRID, SYMBOL_CANCEL_AUDIT, SYMBOL_DOWNLOAD_ALL, SYMBOL_REMOVE_ALL, SYMBOL_FILL, SYMBOL_VXE_KEYDOWN, SYMBOL_VXE_HEADER_CELL_CLICK, SYMBOL_VXE_HEADER_CELL_DBLCLICK, SYMBOL_VXE_HEADER_CELL_MENU, SYMBOL_VXE_CELL_CLICK, SYMBOL_VXE_CELL_DBLCLICK, SYMBOL_VXE_CELL_MENU, SYMBOL_VXE_FOOTER_CELL_CLICK, SYMBOL_VXE_FOOTER_CELL_DBLCLICK, SYMBOL_VXE_FOOTER_CELL_MENU, SYMBOL_VXE_CHECKBOX_CHANGE, SYMBOL_VXE_CHECKBOX_ALL, SYMBOL_VXE_SCROLL, SYMBOL_VXE_ZOOM, SYMBOL_VXE_CUSTOM, SYMBOL_IMPORT_ROWS, SYMBOL_FLOW_VIEW, SYMBOL_AUDIT_AGREE, SYMBOL_AUDIT_REFUSE, SYMBOL_AUDIT_INFORMED, SYMBOL_AUDIT_TRANSFER, SYMBOL_AUDIT_BACK, SYMBOL_AUDIT_TRANSACTION, SYMBOL_AUDIT_INVALID, SYMBOL_AUDIT_REVOCATION, SYMBOL_AUDIT_REVOCATION_PRE_SIGN, SYMBOL_AUDIT_FLOW_IMAGE, SYMBOL_AUDIT_APPROVAL_COMMENT, SYMBOL_AUDIT_SIGN_NODE, SYMBOL_AUDIT_PRE_SIGN, SYMBOL_AUDIT_AFTER_SIGN, SYMBOL_AUDIT_PRINT, SYMBOL_AUDIT_ADD_NODE_HISTORY, SYMBOL_AUDIT_CHAT } from '../../lib/components/page-layout';
|
|
4
|
-
import type { RecordString, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, LinkClickCallbackParams, FormFieldsItem, PageButtonDeleteFileRow, KeydownEventParams } from '../../lib/components/edit-page-layout';
|
|
3
|
+
import { SYMBOL_BINDFUNCTION, SYMBOL_CUSTOM_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTION, SYMBOL_CUSTOM_VXE_BINDFUNCTION, SYMBOL_ADD_ONE_ROW, SYMBOL_DELETE_ROWS, SYMBOL_CUSTOM_CLICK, SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK, SYMBOL_CACHE_BUTTON, SYMBOL_CACHE_PAGEDATA, SYMBOL_CACHE_REFRESH, SYMBOL_CACHE_SHOW_MESSAGE, SYMBOL_VALIDATE, SYMBOL_VALIDATE_RESULT, SYMBOL_LINK_CLICK, SYMBOL_VALIDATE_SUCCESS, SYMBOL_REFRESH, SYMBOL_BACK, SYMBOL_SAVE, SYMBOL_PUBLISH, SYMBOL_SUBMIT, SYMBOL_CONFIRM, SYMBOL_REJECT, SYMBOL_UPLOAD, SYMBOL_UPLOAD_GRID, SYMBOL_CANCEL_AUDIT, SYMBOL_DOWNLOAD_ALL, SYMBOL_REMOVE_ALL, SYMBOL_FILL, SYMBOL_VXE_KEYDOWN, SYMBOL_VXE_HEADER_CELL_CLICK, SYMBOL_VXE_HEADER_CELL_DBLCLICK, SYMBOL_VXE_HEADER_CELL_MENU, SYMBOL_VXE_CELL_CLICK, SYMBOL_VXE_CELL_DBLCLICK, SYMBOL_VXE_CELL_MENU, SYMBOL_VXE_FOOTER_CELL_CLICK, SYMBOL_VXE_FOOTER_CELL_DBLCLICK, SYMBOL_VXE_FOOTER_CELL_MENU, SYMBOL_VXE_CHECKBOX_CHANGE, SYMBOL_VXE_CHECKBOX_ALL, SYMBOL_VXE_SCROLL, SYMBOL_VXE_ZOOM, SYMBOL_VXE_CUSTOM, SYMBOL_IMPORT_ROWS, SYMBOL_FLOW_VIEW, SYMBOL_AUDIT_AGREE, SYMBOL_AUDIT_REFUSE, SYMBOL_AUDIT_INFORMED, SYMBOL_AUDIT_TRANSFER, SYMBOL_AUDIT_BACK, SYMBOL_AUDIT_TRANSACTION, SYMBOL_AUDIT_INVALID, SYMBOL_AUDIT_REVOCATION, SYMBOL_AUDIT_REVOCATION_PRE_SIGN, SYMBOL_AUDIT_FLOW_IMAGE, SYMBOL_AUDIT_APPROVAL_COMMENT, SYMBOL_AUDIT_SIGN_NODE, SYMBOL_AUDIT_PRE_SIGN, SYMBOL_AUDIT_AFTER_SIGN, SYMBOL_AUDIT_PRINT, SYMBOL_AUDIT_ADD_NODE_HISTORY, SYMBOL_AUDIT_CHAT, SYMBOL_FLOW_APPROVAL_CALLBACK } from '../../lib/components/page-layout';
|
|
4
|
+
import type { RecordString, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, LinkClickCallbackParams, FormFieldsItem, PageButtonDeleteFileRow, KeydownEventParams, FlowApprovalCallbackPayload } from '../../lib/components/edit-page-layout';
|
|
5
5
|
import type { ButtonItem, ObjectMap, ToolsButtonItem } from '../../lib/components/list-page-layout';
|
|
6
6
|
import type { VxeItemFileUpload } from '../../lib/components/upload-file';
|
|
7
7
|
import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_HANDLE_MERGE_GRID, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
|
|
@@ -81,6 +81,7 @@ export type Events = {
|
|
|
81
81
|
[SYMBOL_AUDIT_PRINT]: PageButton;
|
|
82
82
|
[SYMBOL_AUDIT_ADD_NODE_HISTORY]: PageButton;
|
|
83
83
|
[SYMBOL_AUDIT_CHAT]: PageButton;
|
|
84
|
+
[SYMBOL_FLOW_APPROVAL_CALLBACK]: FlowApprovalCallbackPayload;
|
|
84
85
|
[proName: string | symbol]: any;
|
|
85
86
|
};
|
|
86
87
|
declare const emitter: Emitter<Events>;
|