From b0e391f5488aead9e56dc725b69cd81ba36f917d Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123456 <zxx19900626>
Date: 星期三, 13 四月 2022 10:14:48 +0800
Subject: [PATCH] 社保卡征集收入及社保卡持卡人数页面

---
 src/pages/show/businessPolicy/BusinessPolicy.vue |   52 +++-------------------------------------------------
 1 files changed, 3 insertions(+), 49 deletions(-)

diff --git a/src/pages/show/businessPolicy/BusinessPolicy.vue b/src/pages/show/businessPolicy/BusinessPolicy.vue
index d5c76a7..aac690a 100644
--- a/src/pages/show/businessPolicy/BusinessPolicy.vue
+++ b/src/pages/show/businessPolicy/BusinessPolicy.vue
@@ -66,10 +66,9 @@
         <div class="BusinessPolicyTable">
           <el-table
             stripe
+            max-height="1005"
             :data="tableData"
             style="width: 100%"
-            max-height="1005"
-            :header-row-style="tableHeaderRow"
             :row-class-name="tableRowClassName"
             @row-click="tableRowClick"
           >
@@ -112,7 +111,6 @@
             :data="tableData2"
             style="width: 100%"
             max-height="1005"
-            :header-row-style="tableHeaderRow"
             :row-class-name="tableRowClassName"
           >
             <el-table-column
@@ -458,46 +456,7 @@
       tableHeight: window.innerHeight * 0.62
     };
   },
-  // mounted() {
-  //   const that = this;
-  //   window.onresize = () => {
-  //     let height = window.innerHeight * 0.62;
-  //     that.tableHieght = height;
-  //     console.log(height);
-  //   };
-
-  // this.$nextTick(() => {
-  //   this.tableHeight = window.innerHeight * 0.62;
-  //   console.log(this.tableHeight);
-  // });
-  //
-  // window.onresize = () =>
-  //   (() => {
-  //     window.screenWidth = document.body.clientWidth;
-  //     that.screenWidth = window.screenWidth;
-  //   })();
-  // },
-  // watch: {
-  //   tableHeight(val) {
-  //     // 涓轰簡閬垮厤棰戠箒瑙﹀彂resize鍑芥暟瀵艰嚧椤甸潰鍗¢】锛屼娇鐢ㄥ畾鏃跺櫒
-  //     if (!this.timer) {
-  //       // 涓�鏃︾洃鍚埌鐨則ableHeight鍊兼敼鍙橈紝灏卞皢鍏堕噸鏂拌祴缁檇ata閲岀殑tableHeight
-  //       this.tableHeight = val;
-  //       this.timer = true;
-  //       const that = this;
-  //       setTimeout(function() {
-  //         // that.sjcount(that.screenWidth); //绐楀彛澶у皬鍙樺寲鍚庢墽琛岀殑鏂规硶
-  //         that.reload(); //绐楀彛澶у皬鍙樺寲鍚庢墽琛岀殑鏂规硶
-  //         console.log(tableHeight);
-  //         that.timer = false;
-  //       }, 10);
-  //     }
-  //   }
-  // },
   methods: {
-    // tableHeaderRow({ rowIndex }) {
-    //   if (rowIndex === 0) return { height: "0.3125rem" };
-    // },
     tableRowClassName({ rowIndex }) {
       if (rowIndex % 2 === 0) {
         return "warning-row";
@@ -510,18 +469,12 @@
       console.log(row.__ob__.dep.id);
       console.log(row.id);
     }
-    // reload() {
-    //   this.isAlive = false;
-    //   this.$nextTick(function() {
-    //     this.isAlive = true;
-    //   });
-    // }
   }
 };
 </script>
 <style lang="scss">
 @import "../../../assets/css/base";
-
+@import "../../../assets/css/mixin.scss";
 // 琛ㄦ牸
 .BusinessPolicyTable {
   height:3.92578125rem;
@@ -529,6 +482,7 @@
   position: absolute;
   top: 0.2813rem;
   left: 0.1289rem;
+  @include overflow-y();
   .el-table {
     background: transparent;
   }

--
Gitblit v1.9.1