浏览代码

wy表格修改

wy 1 年之前
父节点
当前提交
c1296c7991
共有 3 个文件被更改,包括 43 次插入1 次删除
  1. 14 0
      src/views/manage-log/battery-charger.vue
  2. 14 0
      src/views/manage-log/data-export.vue
  3. 15 1
      src/views/manage-log/robot.vue

+ 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;