|
|
@ -655,8 +655,8 @@ const format3 = (num) => { |
|
|
</el-card> |
|
|
</el-card> |
|
|
<el-card class="card2"> |
|
|
<el-card class="card2"> |
|
|
<!-- 设置表格容器的高度和滚动样式 --> |
|
|
<!-- 设置表格容器的高度和滚动样式 --> |
|
|
<div style="height: 85vh; overflow-y: auto"> |
|
|
|
|
|
<el-table ref="tableRef" :data="tableData" @cellClick="cellClick" style="width: 100%; height: 85vh" |
|
|
|
|
|
|
|
|
<div style="flex: 1; overflow: hidden; display: flex; flex-direction: column;"> |
|
|
|
|
|
<el-table ref="tableRef" :data="tableData" @cellClick="cellClick" style="width: 100%; flex: 1" |
|
|
@sort-change="handleSortChange" :row-style="{ height: '50px' }"> |
|
|
@sort-change="handleSortChange" :row-style="{ height: '50px' }"> |
|
|
<el-table-column type="index" :label="$t('common_list.id')" width="100px" fixed="left"> |
|
|
<el-table-column type="index" :label="$t('common_list.id')" width="100px" fixed="left"> |
|
|
<template #default="scope"> |
|
|
<template #default="scope"> |
|
|
|