From c8005d3f303be7241f5acdc10ad679e1bf8cd602 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 24 十月 2023 11:16:29 +0800
Subject: [PATCH] 横向滚动条固定列bug

---
 Source/UBCS-WEB/src/views/docking/info.vue |   28 +++++++++++++++++++++++-----
 1 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/docking/info.vue b/Source/UBCS-WEB/src/views/docking/info.vue
index efed36f..b29f9cf 100644
--- a/Source/UBCS-WEB/src/views/docking/info.vue
+++ b/Source/UBCS-WEB/src/views/docking/info.vue
@@ -93,6 +93,7 @@
       option: {
         height: "auto",
         calcHeight: 20,
+        columnBtn:false,
         tip: false,
         headerAlign: "center",
         border: true,
@@ -109,7 +110,6 @@
         addBtn: false,
         editBtn: false,
         delBtn: false,
-        columnBtn: false,
         column: [ {
           label: '鏄惁鍚敤',
           prop: 'usedFlag',
@@ -174,8 +174,9 @@
         },{
           label: 'soapAction',
           prop: 'soapAction',
+          overHidden:true,
           sortable: true,
-          width: 150
+          width: 200
         },  {
           label: '璋冪敤鏂瑰紡',
           prop: 'cxfaxis',
@@ -191,7 +192,8 @@
           label: '璇锋眰鍦板潃',
           prop: 'requestUrl',
           sortable: true,
-          width: 150
+          overHidden:true,
+          width: 200
         },  {
           label: '鎺ュ彛鍑芥暟',
           prop: 'interfaceFunction',
@@ -400,7 +402,7 @@
     onLoad(page, params = {}) {
       this.loading = true;
       getList(this.page.currentPage, this.page.pageSize, Object.assign(params, this.query)).then(res => {
-        console.log(res)
+        // console.log(res)
         const data = res.data.data;
         this.page.total = data.total;
         this.data = data.records;
@@ -499,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>

--
Gitblit v1.9.3