付延余
2022-04-12 1abe7ec44f4ce485ccf465aa6b00e1bc4b097b9c
src/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue
@@ -1,61 +1,56 @@
<template>
  <div class="zhiyePeixun-wrap">
    <el-table
      stripe
      border
      :data="tableData"
      max-height="650"
      max-height="640"
      :header-cell-style="handleheader"
      style="width: 100%">
      <el-table-column
        fixed="left"
        prop="year"
        label="年份"
        align="center"
        width="200">
        align="center">
      </el-table-column>
      <el-table-column label="补贴性培训" align="center">
        <el-table-column
          label="补贴性培训"
          align="center"
          width="800">
          align="center">
          <el-table-column
            prop="shengtingjihua"
            :label="'省厅计划 \n (人次)'"
            align="center"
            width="200">
            align="center">
          </el-table-column>
          <el-table-column
            prop="shijipeixunjihua"
            :label="'实际培训人数 \n (人次)'"
            align="center"
            width="200">
            align="center">
          </el-table-column>
          <el-table-column
            prop="wanchenglv"
            label="完成率"
            align="center"
            width="200">
            align="center">
          </el-table-column>
          <el-table-column
            prop="zhuanzhangzhichu"
            :label="'专账资金支出 \n (万元)'"
            align="center"
            width="200">
            align="center">
          </el-table-column>
        </el-table-column>
        <el-table-column
          prop="name"
          label="其中应届毕业学年高校毕业生"
          align="center"
          width="400">
          align="center">
          <el-table-column
            prop="peixunrenshu"
            :label="'培训人数 \n (人次)'"
            align="center"
            width="200">
            align="center">
          </el-table-column>
          <el-table-column
            prop="butiejine"
            :label="'补贴金额 \n (万元)'"
            align="center"
            width="200">
            align="center">
          </el-table-column>
        </el-table-column>
      </el-table-column>
@@ -117,6 +112,14 @@
                    peixunrenci:'34223'
                }]
            }
        },
        methods: {
            handleheader(data) {
                return {
                    lineHeight: '0',
                }
            }
        }
    }
</script>
@@ -125,14 +128,14 @@
  @import "../../../../assets/css/base";
  .zhiyePeixun-wrap{
    width: 100%;
    height: 100%;
    margin-top: 2rem;
    height: calc(100% - 0.078125rem  /* 20/256 */);
    margin-top: 0.078125rem  /* 20/256 */;
    .el-table th.el-table__cell{
      background-color:$color-blue;
      height: 8rem;
      height: 0.3125rem  /* 80/256 */;
    }
    .el-table tr{
      height: 8rem;
      height: 0.3125rem  /* 80/256 */;
    }
    .el-table tr:nth-child(odd){
      background-color: #CEF2FF;
@@ -157,16 +160,16 @@
      white-space:pre-line;
    }
    .el-table--border th.el-table__cell, .el-table__fixed-right-patch{
      border-bottom:1px solid $color-grey; /*no*/
      border-bottom:1Px solid $color-grey; /*no*/
    }
    .el-table thead.is-group th.el-table__cell{
      background-color: $color-blue;
    }
    .el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf{
      border-bottom:1px solid $color-grey; /*no*/
      border-bottom:1Px solid $color-grey; /*no*/
    }
    .el-table--border .el-table__cell, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{
      border-right:1px solid $color-grey; /*no*/
      border-right:1Px solid $color-grey; /*no*/
    }
  }
</style>
@@ -174,7 +177,7 @@
<style lang="scss" scoped>
  .zhiyepeixun-echarts{
    width: 100%;
    height: calc(100% - 68rem);
    margin-top: 2rem;
    height: calc(100% - 2.65625rem  /* 680/256 */);
    margin-top: 0.078125rem  /* 20/256 */;
  }
</style>