|
@@ -190,7 +190,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template v-if="needShow.filter(key => key.includes('dx')).length >= 2">
|
|
<template v-if="needShow.filter(key => key.includes('dx')).length >= 2">
|
|
|
- <el-table-column label="企业用水" header-align="center">
|
|
|
|
|
|
|
+ <el-table-column label="企业用电" header-align="center">
|
|
|
<template v-for="(col, index) in needShow" :key="index">
|
|
<template v-for="(col, index) in needShow" :key="index">
|
|
|
<el-table-column v-if="col.includes('dx')" sortable :prop="col" :label="colMap.get(col)" width="180"/>
|
|
<el-table-column v-if="col.includes('dx')" sortable :prop="col" :label="colMap.get(col)" width="180"/>
|
|
|
</template>
|
|
</template>
|
|
@@ -738,8 +738,18 @@ init();
|
|
|
<style scoped>
|
|
<style scoped>
|
|
|
::v-deep .el-scrollbar__bar.is-horizontal{
|
|
::v-deep .el-scrollbar__bar.is-horizontal{
|
|
|
height: 10px;
|
|
height: 10px;
|
|
|
|
|
+ display: block !important;
|
|
|
|
|
+ position: fixed !important;
|
|
|
|
|
+ bottom: 6.3rem !important;
|
|
|
|
|
+ left: 15rem !important;
|
|
|
|
|
+}
|
|
|
|
|
+::v-deep .el-scrollbar{
|
|
|
|
|
+ position: relative;
|
|
|
}
|
|
}
|
|
|
::v-deep .el-scrollbar__bar.is-vertical{
|
|
::v-deep .el-scrollbar__bar.is-vertical{
|
|
|
width: 10px;
|
|
width: 10px;
|
|
|
}
|
|
}
|
|
|
|
|
+::v-deep .el-table__footer{
|
|
|
|
|
+ z-index: -1;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|