From c38a3bb6a9cb89297356a1c97ffe87f5ed165c89 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 25 十月 2023 09:51:09 +0800
Subject: [PATCH] 编码规则删除码段提示修改,前端按钮缓存结构修改上传

---
 Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue |   32 +++++++++++++++++++++++++++++++-
 1 files changed, 31 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
index a8c81f6..e0702b5 100644
--- a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
+++ b/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() {
   },
@@ -2172,6 +2181,27 @@
 </script>
 
 <style lang="scss" scoped>
+//鍥哄畾鍒楅珮搴�
+/deep/ .el-table__fixed {
+  height: calc(100vh - 612px)!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;
+}
+
 .app {
   /deep/ .el-button {
     //margin: 0 10px 10px 0;

--
Gitblit v1.9.3