| | |
| | | <template> |
| | | <div class="baoxianForm-wrap" :style="{paddingTop : paddingTop + 'rem'}"> |
| | | <el-table |
| | | :cell-style="handleCellStyle" |
| | | :max-height="tableHeight" |
| | | border |
| | | style="width: 100%" |
| | | :data="tableData"> |
| | | <el-table-column |
| | | width="200" |
| | | min-width="140" |
| | | align="center" |
| | | prop="areaName" |
| | | label="县(市、区)"> |
| | |
| | | |
| | | <script> |
| | | import {getInsuranceTable} from '@/api/shehuiBaozhang' |
| | | import nowSize from "../../../libs/nowSize"; |
| | | export default { |
| | | name: "baoxianForm", |
| | | props: { |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | tableData:[] |
| | | tableData:[], |
| | | tableHeight: window.innerHeight - nowSize(230) |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | this.tableData = res.list |
| | | } |
| | | }) |
| | | }, |
| | | handleCellStyle({rowIndex, columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | } |
| | | } |
| | | } |