田源
2023-10-24 c8005d3f303be7241f5acdc10ad679e1bf8cd602
横向滚动条固定列bug
已修改5个文件
71 ■■■■■ 文件已修改
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/docking/info.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/docking/loge.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/integration/applicationForm.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -940,7 +940,7 @@
<style lang="scss" scoped>
//固定列高度
/deep/ .el-table__fixed {
  height: 565px!important;
  height: calc(100vh - 370px)!important;
}
// 滚动条样式修改
// 滚动条的宽度
Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
@@ -306,7 +306,7 @@
              v-loading="loading"
              border
              :data="ProData"
              :height="this.editStyleFlag? 800 : 343"
              :height="this.tableHeight"
              style="width: 100%"
              @select="selectHandle"
              @cell-click="handleCellClicks"
@@ -492,6 +492,8 @@
  },
  data() {
    return {
      //表格高度
      dynamicHeight: '',
      // 保存单元格状态
      AddCellFlag: false,
      //全屏编辑高度状态
@@ -1542,6 +1544,13 @@
      });
      return oids.join(",");
    },
    tableHeight() {
      if (this.editStyleFlag) {
        return '800px'
      } else {
        return 'calc(100vh - 595px)'
      }
    }
  },
  mounted() {
  },
@@ -2174,7 +2183,7 @@
<style lang="scss" scoped>
//固定列高度
/deep/ .el-table__fixed {
  height: 325px!important;
  height: calc(100vh - 612px)!important;
}
// 滚动条样式修改
Source/UBCS-WEB/src/views/docking/info.vue
@@ -501,8 +501,24 @@
}
</script>
<style lang="scss">
<style lang="scss" scoped>
.applyRangeTable > .el-card:nth-of-type(2) > .el-card__body > .avue-crud__menu {
  display: none !important;
}
// 滚动条样式修改
// 滚动条的宽度
/deep/ .el-table__body-wrapper::-webkit-scrollbar {
  height: 15px; // 纵向滚动条 必写
  background: white;
  border: white;
  width: 10px;
}
// 滚动条的滑块
/deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
  background-color: #ececec;
  border-radius: 20px;
  border: #ececec;
}
</style>
Source/UBCS-WEB/src/views/docking/loge.vue
@@ -319,6 +319,20 @@
}
</script>
<style scoped>
<style lang="scss" scoped>
// 滚动条样式修改
// 滚动条的宽度
   /deep/ .el-table__body-wrapper::-webkit-scrollbar {
     height: 15px; // 纵向滚动条 必写
   background: white;
     border: white;
     width: 10px;
   }
// 滚动条的滑块
   /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
     background-color: #ececec;
     border-radius: 20px;
     border: #ececec;
   }
</style>
Source/UBCS-WEB/src/views/integration/applicationForm.vue
@@ -174,3 +174,25 @@
    }
}
</script>
<style lang="scss" scoped>
//固定列高度
/deep/ .el-table__fixed {
  height: calc(100vh - 345px)!important;
}
// 滚动条样式修改
// 滚动条的宽度
/deep/ .el-table__body-wrapper::-webkit-scrollbar {
  height: 15px; // 纵向滚动条 必写
  background: white;
  border: white;
  width: 10px;
}
// 滚动条的滑块
/deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
  background-color: #ececec;
  border-radius: 20px;
  border: #ececec;
}
</style>