-
+
确 定
取 消
@@ -814,10 +960,10 @@ function fetchPageData(formData: IObject = {}, isRestart = false) {
.indexAction(
showPagination
? {
- [request.pageName]: pagination.currentPage,
- [request.limitName]: pagination.pageSize,
- ...formData,
- }
+ [request.pageName]: pagination.currentPage,
+ [request.limitName]: pagination.pageSize,
+ ...formData,
+ }
: formData
)
.then((data) => {
@@ -880,7 +1026,7 @@ function saveXlsx(fileData: BlobPart, fileName: string) {
window.URL.revokeObjectURL(downloadUrl);
}
function test(rows: any[]) {
- console.log(tableRef, 'tioshi222222222222222222222')
+ console.log(tableRef, "tioshi222222222222222222222");
// rows.forEach((row) => {
// tableRef.value!.toggleRowSelection(row, undefined)
// })
@@ -893,4 +1039,15 @@ defineExpose({ fetchPageData, exportPageData, getFilterParams, getselectTable, p
:deep(.el-table .el-table__cell) {
z-index: inherit;
}
+.el-card {
+ overflow: visible;
+}
+:deep(.el-table) {
+ overflow: visible;
+ .el-table__header-wrapper {
+ position: sticky;
+ z-index: calc(var(--el-table-index) + 2);
+ top: 0;
+ }
+}