修改表格高度

This commit is contained in:
guanj
2025-10-21 16:11:00 +08:00
parent 29b5cfa4db
commit 269d941828
9 changed files with 11 additions and 11 deletions

View File

@@ -77,7 +77,7 @@ const tableStore: any = new TableStore({
{ {
field: 'index', field: 'index',
title: '序号', title: '序号',
width: '60', width: '80',
formatter: (row: any) => { formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
} }

View File

@@ -78,7 +78,7 @@ const tableStore: any = new TableStore({
{ {
field: 'index', field: 'index',
title: '序号', title: '序号',
width: '60', width: '80',
formatter: (row: any) => { formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
} }

View File

@@ -41,7 +41,7 @@ const tableStore: any = new TableStore({
{ {
field: 'index', field: 'index',
title: '序号', title: '序号',
width: '60', width: '80',
formatter: (row: any) => { formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
} }

View File

@@ -53,7 +53,7 @@ const tableStore: any = new TableStore({
{ {
field: 'index', field: 'index',
title: '序号', title: '序号',
width: '60', width: '80',
formatter: (row: any) => { formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
} }

View File

@@ -35,7 +35,7 @@ const tableStore: any = new TableStore({
{ {
field: 'index', field: 'index',
title: '序号', title: '序号',
width: '60', width: '80',
formatter: (row: any) => { formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
} }

View File

@@ -78,7 +78,7 @@ const tableStore: any = new TableStore({
{ {
field: 'index', field: 'index',
title: '序号', title: '序号',
width: '60', width: '80',
formatter: (row: any) => { formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
} }

View File

@@ -31,7 +31,7 @@ const tableStore: any = new TableStore({
{ {
field: 'index', field: 'index',
title: '序号', title: '序号',
width: '60', width: '80',
formatter: (row: any) => { formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
} }

View File

@@ -106,7 +106,7 @@ const tableStore: any = new TableStore({
{ {
field: 'index', field: 'index',
title: '序号', title: '序号',
width: '60', width: '80',
formatter: (row: any) => { formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
} }

View File

@@ -20,12 +20,12 @@
></iframe> ></iframe>
</div> </div>
<el-card class="bottom-container " style="flex: 1"> <el-card class="bottom-container " style="flex: 1;min-height: 165px;">
<div class="buttonBox"> <div class="buttonBox">
<el-button type="primary" icon="el-icon-Aim">复位</el-button> <el-button type="primary" icon="el-icon-Aim">复位</el-button>
</div> </div>
<div class="tableBox"> <div class="tableBox">
<Table ref="tableRef" isGroup height="100%"></Table> <Table ref="tableRef" height="100%"></Table>
</div> </div>
</el-card> </el-card>
</div> </div>
@@ -59,7 +59,7 @@ const tableStore: any = new TableStore({
{ {
field: 'index', field: 'index',
title: '序号', title: '序号',
width: '60', width: '80',
formatter: (row: any) => { formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
} }