tongshanglei 2 years ago
parent
commit
df079d4fe0
2 changed files with 14 additions and 2 deletions
  1. 6 2
      src/styles/index.scss
  2. 8 0
      src/views/report/hydraulicCount/index.vue

+ 6 - 2
src/styles/index.scss

@@ -240,11 +240,15 @@ aside {
 .el-table--group::after, .el-table--border::after{
   width:0px ;
 }
-.el-table th {
+.el-table thead th{
+  background-color: #203b5c;
+}
+.el-table tbody th {
   color:#FFF;
   background-color: #172434;
 }
-.el-table tr {
+
+.el-table tbody tr {
   background-color: #172434;
 }
 .el-input__inner{

+ 8 - 0
src/views/report/hydraulicCount/index.vue

@@ -181,6 +181,14 @@ export default {
           tooltip: {
             formatter: '设备数量<br/>{b0}:{c0}'
           },
+           toolbox: {
+            show: true,
+            feature: {
+              mark: { show: true },
+              saveAsImage: { show: true }
+            },
+            right:200,
+          },
           legend: {
             show: false
           },