@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
159 lines (158 loc) • 5.48 kB
TypeScript
declare const HRelatedFile: ({
props: {
dialogTitle: {
type: StringConstructor;
default: string;
};
};
emits: string[];
setup(__props: any, { expose: __expose, emit: __emit }: {
expose: any;
emit: any;
}): {
openDialog: (data: any) => void;
props: any;
emit: any;
dialogVisible: import("vue").Ref<boolean, boolean>;
tablePrimaryRef: import("vue").Ref<any, any>;
tableSecondaryRef: import("vue").Ref<any, any>;
addFileRef: import("vue").Ref<any, any>;
addFileType: import("vue").Ref<any, any>;
tableData: import("vue").Ref<{
fileId: number;
fileTitle: string;
fileFrom: string;
fileSort: number;
isPrimary: boolean;
}[], {
fileId: number;
fileTitle: string;
fileFrom: string;
fileSort: number;
isPrimary: boolean;
}[] | {
fileId: number;
fileTitle: string;
fileFrom: string;
fileSort: number;
isPrimary: boolean;
}[]>;
setPrimary: (row: any) => void;
canclePrimary: (row: any) => void;
tablePrimaryData: import("vue").ComputedRef<{
fileId: number;
fileTitle: string;
fileFrom: string;
fileSort: number;
isPrimary: boolean;
}[]>;
tableSecondaryData: import("vue").ComputedRef<{
fileId: number;
fileTitle: string;
fileFrom: string;
fileSort: number;
isPrimary: boolean;
}[]>;
primaryCheckedData: import("vue").Ref<never[], never[]>;
secondaryCheckedData: import("vue").Ref<never[], never[]>;
checkedData: import("vue").ComputedRef<never[]>;
handlePrimarySelectionChange: (value: any) => void;
handleSecondarySelectionChange: (value: any) => void;
handleCancel: () => void;
handleConfirm: () => void;
addHistoryFile: () => void;
addFiles: () => void;
handleCheckedFilesEvent: (val: any) => void;
deleteFile: () => void;
onReset: () => void;
computed: typeof import("@vue/reactivity").computed;
ref: typeof import("vue").ref;
AddFile: {
props: {
type: {
type: StringConstructor;
default: string;
};
};
emits: string[];
setup(__props: any, { expose: __expose, emit: __emit }: {
expose: any;
emit: any;
}): {
openDialog: () => void;
props: any;
emit: any;
tableRef: import("vue").Ref<any, any>;
dialogVisible: import("vue").Ref<boolean, boolean>;
queryFormRef: import("vue").Ref<null, null>;
fileList: import("vue").Ref<{
fileId: number;
title: string;
fileName: string;
fileStatus: boolean;
}[], {
fileId: number;
title: string;
fileName: string;
fileStatus: boolean;
}[] | {
fileId: number;
title: string;
fileName: string;
fileStatus: boolean;
}[]>;
queryData: import("vue").Ref<{
appName: string;
title: string;
fileSort: string;
date: string;
}, {
appName: string;
title: string;
fileSort: string;
date: string;
} | {
appName: string;
title: string;
fileSort: string;
date: string;
}>;
appNameTypes: import("vue").Ref<{
label: string;
value: string;
}[], {
label: string;
value: string;
}[] | {
label: string;
value: string;
}[]>;
pageParams: import("vue").Ref<{
currentPage: number;
totalCount: number;
}, {
currentPage: number;
totalCount: number;
} | {
currentPage: number;
totalCount: number;
}>;
checkedDatas: import("vue").Ref<never[], never[]>;
onQuery: () => void;
onReset: () => void;
handleCurrentChange: (val: any) => void;
getData: () => void;
handleSelectionChange: (value: any) => void;
handleCancel: () => void;
handleConfirm: () => void;
ref: typeof import("vue").ref;
onMounted: (hook: any, target?: import("vue").ComponentInternalInstance | null | undefined) => void;
};
};
};
} & import("vue").Plugin<any[]> & {
label?: string | undefined;
}) & {
label: string;
};
export default HRelatedFile;