zhangxiaoxu123456
2022-04-24 31181a5ed1e8cb393ad90fd19f6baea72b3cc423
src/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue
@@ -4,7 +4,7 @@
        <h1>劳动就业统计表</h1>
        <div class="danwei-box">单位:人</div>
        <el-table
          :max-height="640"
          :max-height="tableHeight"
          :data="tableData"
          :header-cell-style="handleheader"
          stripe
@@ -110,6 +110,7 @@
                loseReEmployment:[], //失业人员再就业
                diffReEmployment: [],  //就业困难人员再就业
                xdata:[],
                tableHeight: window.innerHeight - nowSize(1000)
            }
        },
        mounted() {
@@ -198,7 +199,8 @@
                            show: true,
                            textStyle: {
                                color: "#fff",
                                fontSize:nowSize(24)
                                fontSize:nowSize(24),
                                lineHeight: nowSize(56)
                            }
                        },
                        axisLine: {
@@ -260,6 +262,15 @@
                return {
                    lineHeight: '0',
                }
            },
            getHeight() {
                this.tableHeight = window.innerHeight - nowSize(1000)
            },
            created() {
                window.addEventListener('resize', this.getHeight)
            },
            destroy() {
                window.addEventListener('resize', this.getHeight)
            }
        }
    }
@@ -328,7 +339,7 @@
       }
     }
    .laogongJiuyeEcharts{
      height: calc(100% - 640px - 0.33203125rem  /* 85/256 */);
      height: calc(100% - 2.34375rem  /* 600/256 */ - 0.33203125rem  /* 85/256 */);
    }
  }
</style>