Explorar o código

wy表格修改

wy hai 1 ano
pai
achega
c1296c7991

+ 14 - 0
src/views/manage-log/battery-charger.vue

@@ -391,4 +391,18 @@ export default {
 ::v-deep .el-table th.is-leaf {
   font-size: 15px !important;
 }
+::v-deep .el-table {
+    th.gutter, colgroup.gutter {
+        width: 5px !important;
+    }
+}
+ 
+
+::v-deep .el-table__header colgroup col[name="gutter"] {
+    display: table-cell !important;
+}
+ 
+::v-deep .el-table__body{
+  width: 100% !important;
+}
 </style>

+ 14 - 0
src/views/manage-log/data-export.vue

@@ -386,6 +386,20 @@ export default {
     white-space: nowrap;
   }
 }
+::v-deep .el-table {
+    th.gutter, colgroup.gutter {
+        width: 5px !important;
+    }
+}
+ 
+
+::v-deep .el-table__header colgroup col[name="gutter"] {
+    display: table-cell !important;
+}
+ 
+::v-deep .el-table__body{
+  width: 100% !important;
+}
 @media screen and (max-width:1100px) {
   ::v-deep .el-table th.is-leaf {
   div{

+ 15 - 1
src/views/manage-log/robot.vue

@@ -378,7 +378,7 @@ export default {
   },
 };
 </script>
-<style scoped>
+<style scoped lang="scss">
 /* ::v-deep .el-table__fixed {
   height: calc(100%) !important;
 } */
@@ -387,6 +387,20 @@ export default {
   height: 36px !important;
   line-height: 36px !important;
 }
+::v-deep .el-table {
+    th.gutter, colgroup.gutter {
+        width: 5px !important;
+    }
+}
+ 
+
+::v-deep .el-table__header colgroup col[name="gutter"] {
+    display: table-cell !important;
+}
+ 
+::v-deep .el-table__body{
+  width: 100% !important;
+}
 /* .serch{
   min-width: 70px;
   width: 70px;