From 37f5ed5990e7d8a43ee98f1a52f38dc874047b3d Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 19 Nov 2021 17:44:20 +0800
Subject: [PATCH] +样式

---
 src/views/home/tables.vue  |   16 +++++++++++++++-
 src/styles/element-ui.scss |    9 ++++++++-
 2 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss
index f47016c..881ebcf 100644
--- a/src/styles/element-ui.scss
+++ b/src/styles/element-ui.scss
@@ -133,8 +133,15 @@
 //   align-items: center;
 //   justify-content: center;
 // }
+.formsss {
+  height: 100% !important;
+}
+.formsss .el-card.basic-container__card.is-always-shadow {
+  height: 100% !important;
+}
 .formsss .el-card__body {
-  height: 724px !important;
+  // height: 724px !important;
+  height: 100% !important;
   display: flex;
   align-items: center;
   justify-content: center;
diff --git a/src/views/home/tables.vue b/src/views/home/tables.vue
index e311704..9b7f2eb 100644
--- a/src/views/home/tables.vue
+++ b/src/views/home/tables.vue
@@ -50,12 +50,13 @@
       query: {},
       data: [],
       form: {},
+      search: {},
       option: {
         // card: true,
         // tip: false,
         // searchSize: "mini",
         searchMenuSpan: 6,
-        height: 590,
+        height: "auto",
         index: true,
         // selectable: (row, index) => {
         //   console.log(row, index);
@@ -98,6 +99,8 @@
             search: true,
             searchSpan: 8,
             searchLabelWidth: 88,
+            // searchRange: true,
+            // searchValue: this.getuserid(),
             width: 140,
           },
         ],
@@ -134,6 +137,7 @@
           },
           "shibie"
         );
+        this.search["cardid"] = this.cardInfor.id;
       }
     },
   },
@@ -150,6 +154,15 @@
     // }
   },
   methods: {
+    // getuserid() {
+    //   console.log(12345);
+    //   console.log(this.haveCardid);
+    //   if (this.haveCardid) {
+    //     return this.cardInfor.id;
+    //   } else {
+    //     return;
+    //   }
+    // },
     rowUps(row, msg) {
       let zhiwenData = this.useZhiWen("outZhiwenData");
       let card = this.cardInfor;
@@ -271,6 +284,7 @@
       // console.log(5454);
       this.query = {};
       this.onLoad(this.page);
+      this.search["cardid"] = "";
     },
     rowUpdate(row, index, done, loading) {
       //   update(row).then(

--
Gitblit v1.9.3