页面调整
This commit is contained in:
parent
3418e34766
commit
f5e9bf6cc7
@ -5,7 +5,7 @@
|
||||
:selected-count="selectedRows.length" @batch-approve="handleBatchApprove" @batch-reject="handleBatchReject" />
|
||||
<!-- 主表格 -->
|
||||
<BasicTable ref="tableRef" :columns="columns" :list-url="queryPageList" :search-params="computedSearchParams"
|
||||
:scroll-y="500" :enable-row-selection="true" @selection-change="handleSelectionChange">
|
||||
:scroll-y="650" :enable-row-selection="true" @selection-change="handleSelectionChange">
|
||||
<!-- 使用 bodyCell 插槽自定义单元格渲染 -->
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'action' || column.dataIndex === 'action'">
|
||||
@ -209,7 +209,7 @@ let columns = ref([
|
||||
width: 120,
|
||||
fixed: "left",
|
||||
},
|
||||
{ dataIndex: "ennm", key: "ennm", title: "电站名称", width: 120, fixed: "left",
|
||||
{ dataIndex: "ennm", key: "ennm", title: "电站名称", width: 200, fixed: "left",
|
||||
customRender: ({ text }: any) => {
|
||||
if (!text) return "-";
|
||||
|
||||
@ -306,7 +306,7 @@ let columns = ref([
|
||||
{
|
||||
title: '操作',
|
||||
key: 'action',
|
||||
width: 160,
|
||||
width: 120,
|
||||
fixed: 'right',
|
||||
}
|
||||
]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user