| | |
| | | <template> |
| | | <div class="chengzhenXinzengJiuye-wrap"> |
| | | <el-table |
| | | :cell-style="handleCellStyle" |
| | | :max-height="tableHeight" |
| | | border |
| | | :data="tableData" |
| | |
| | | }, |
| | | getHeight() { |
| | | this.tableHeight = window.innerHeight - nowSize(230) |
| | | }, |
| | | handleCellStyle({rowIndex, columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | <template> |
| | | <div class="baoxianForm-wrap" :style="{paddingTop : paddingTop + 'rem'}"> |
| | | <el-table |
| | | :cell-style="handleCellStyle" |
| | | :max-height="tableHeight" |
| | | border |
| | | style="width: 100%" |
| | |
| | | this.tableData = res.list |
| | | } |
| | | }) |
| | | }, |
| | | handleCellStyle({rowIndex, columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | <template> |
| | | <div class="zhigongShebao-wrap"> |
| | | <el-table |
| | | :cell-style="handleCellStyle" |
| | | :height="tableHeight" |
| | | border |
| | | :data="tableData" |
| | |
| | | }, |
| | | getHeight() { |
| | | this.tableHeight = window.innerHeight - nowSize(230) |
| | | } |
| | | }, |
| | | handleCellStyle({rowIndex, columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | }, |
| | | }, |
| | | created() { |
| | | window.addEventListener('resize', this.getHeight) |
| | |
| | | <div class="danwei-box">单位:人</div> |
| | | <div class="shebaoZhengjiShouruForm-table"> |
| | | <el-table |
| | | :cell-style="handleCellStyle" |
| | | :max-height="tableHeight" |
| | | border |
| | | style="width: 100%" |
| | |
| | | methods: { |
| | | getHeight() { |
| | | this.tableHeight = window.innerHeight - nowSize(350) |
| | | } |
| | | }, |
| | | handleCellStyle({rowIndex, columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | }, |
| | | }, |
| | | created() { |
| | | window.addEventListener('resize', this.getHeight) |
| | |
| | | <div class="danwei-box">单位:人</div> |
| | | <div class="shebaoZhengjiShouruForm-table"> |
| | | <el-table |
| | | :cell-style="handleCellStyle" |
| | | :max-height="tableHeight" |
| | | border |
| | | style="width: 100%" |
| | |
| | | methods: { |
| | | getHeight() { |
| | | this.tableHeight = window.innerHeight - nowSize(350) |
| | | } |
| | | }, |
| | | handleCellStyle({rowIndex, columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | }, |
| | | }, |
| | | created() { |
| | | window.addEventListener('resize', this.getHeight) |
| | |
| | | </tbody> |
| | | </table>--> |
| | | <el-table |
| | | :height="tableHeight" |
| | | :max-height="tableHeight" |
| | | :data="tableData" |
| | | :span-method="objectSpanMethod" |
| | | :cell-style="cellClass" |
| | |
| | | } |
| | | } |
| | | } |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | }, |
| | | getData() { |
| | | let res = this.tableData |
| | |
| | | <div class="chuangye-table"> |
| | | <el-table |
| | | :max-height="tableHeight" |
| | | :cell-style="handleCellStyle" |
| | | border |
| | | :data="danbaoTableData" |
| | | style="width: 100%"> |
| | |
| | | <h1>人力资源服务产业园当月情况统计表</h1> |
| | | <div class="danbaotongjibiao-table"> |
| | | <el-table |
| | | :cell-style="handleCellStyle" |
| | | :max-height="tableHeight" |
| | | border |
| | | :data="renliziyuanTableData" |
| | |
| | | }, |
| | | getHeight() { |
| | | this.tableHeight = (window.innerHeight - nowSize(400)) / 2 |
| | | }, |
| | | handleCellStyle({rowIndex, columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return {background:'#51D2FF'} |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | :max-height="tableHeight" |
| | | :data="tableData" |
| | | :header-cell-style="handleheader" |
| | | :cell-style="handleCellStyle" |
| | | stripe |
| | | border |
| | | style="width: 100%"> |
| | |
| | | lineHeight: '0', |
| | | } |
| | | }, |
| | | handleCellStyle({rowIndex,columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | }, |
| | | getHeight() { |
| | | this.tableHeight = window.innerHeight - nowSize(1000) |
| | | }, |
| | |
| | | :data="tableData" |
| | | max-height="tableHeight" |
| | | :header-cell-style="handleheader" |
| | | :cell-style="handleCellStyle" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | fixed="left" |
| | |
| | | |
| | | } |
| | | }, |
| | | handleCellStyle({rowIndex, columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | }, |
| | | zhiyepeixunEcharts() { |
| | | let myEchart = this.$echarts.init(document.getElementById('zhiyepeixunEcharts')) |
| | | let option = { |
| | |
| | | <div class="shebaoChikaRenshu-wrap"> |
| | | <h1>各县(市、区)2021年就业情况统计表</h1> |
| | | <el-table |
| | | :cell-style="handleCellStyle" |
| | | :max-height="tableHeight" |
| | | :data="tableData" |
| | | stripe |
| | |
| | | }, |
| | | getHeight() { |
| | | this.tableHeight = window.innerHeight - nowSize(250) |
| | | }, |
| | | handleCellStyle({rowIndex, columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | <div class="shebaoShouzhiZongbiao-table"> |
| | | <h1>社会保障基金统计表</h1> |
| | | <el-table |
| | | :cell-style="handleCellStyle" |
| | | :data="tableData" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | |
| | | window.addEventListener('resize',function () { |
| | | myEchart.resize() |
| | | }) |
| | | } |
| | | }, |
| | | handleCellStyle({rowIndex, columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | |
| | | :max-height="tableHeight" |
| | | :data="tableData" |
| | | :header-cell-style="handleheader" |
| | | :cell-style="handleCellStyle" |
| | | stripe |
| | | border |
| | | style="width: 100%"> |
| | |
| | | lineHeight: '0', |
| | | } |
| | | }, |
| | | handleCellStyle({rowIndex, columnIndex}) { |
| | | if(columnIndex == 0) { |
| | | return { background:'#51D2FF' } |
| | | } |
| | | }, |
| | | shehuiBaoxianEcharts() { |
| | | let myEchart = this.$echarts.init(document.getElementById('shehuiBaoxianEcharts')) |
| | | let option = { |