Browse Source

加滚动条

jly/task002
tianq 2 years ago
parent
commit
696bd75efe
  1. 7
      src/views/modules/census/census-accountList.vue

7
src/views/modules/census/census-accountList.vue

@ -124,11 +124,11 @@
<div
style=" text-align: right;
margin-top: -10px;
margin-bottom: 10px;"
margin-bottom: 10px;"
>
<el-button size="small" v-if="orgType == 'community'" class="diy-button--output" @click="handleExport()">导出</el-button>
</div>
<el-table :data="tableDataView" border v-loading="tableLoading2" :header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" class="table" style="width: 100%">
<el-table :data="tableDataView" border v-loading="tableLoading2" :header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" class="table" style="width: 100%;height: 550px;overflow: auto;">
<template v-if="orgType == 'community'">
<el-table-column label="序号" type="index" align="center" width="50" />
<el-table-column prop="agencyName" align="center" label="社区名称" :show-overflow-tooltip="true"></el-table-column>
@ -776,4 +776,7 @@ export default {
flex: 1;
}
}
/deep/.el-table::before {
z-index: inherit;
}
</style>

Loading…
Cancel
Save