From dc252ad2bd275f697c266e3c8b10cb7d540fdcaa Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Wed, 16 Feb 2022 17:08:11 +0800
Subject: [PATCH] 44个表格在1366*768下的适配,保安员管理-》保安员查询中操作栏更改,在用户表左侧控制栏同步高

---
 src/views/securityCompany/security.vue |   28 +++++++++++++++++-----------
 1 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/src/views/securityCompany/security.vue b/src/views/securityCompany/security.vue
index ab6e273..39de1ec 100644
--- a/src/views/securityCompany/security.vue
+++ b/src/views/securityCompany/security.vue
@@ -1,13 +1,14 @@
-/*
- * @Author: Morpheus
- * @Date: 2021-07-07 17:30:05
- * @Last Modified by: liu
- * @Last Modified time: 2021-09-18 09:14:42
- * menu-name 保安服务公司查询
- */
+/* * @Author: Morpheus * @Date: 2021-07-07 17:30:05 * @Last Modified by: liu *
+@Last Modified time: 2021-09-18 09:14:42 * menu-name 保安服务公司查询 */
 <template>
-  <basic-container>
+  <basic-container
+    :class="[
+      $store.state.control.screenSize == 1366 ? 'smallSize' : 'normalSize',
+      $store.state.control.windowWidth >= 1024 ? 'tooRowSearch1' : '',
+    ]"
+  >
     <avue-crud
+      class="tablesss"
       :option="option"
       :table-loading="loading"
       :data="data"
@@ -181,6 +182,7 @@
         pageSize: 10,
         currentPage: 1,
         total: 0,
+        ...this.$store.state.control.changePageSize,
       },
       selectionList: [],
       option: {
@@ -197,13 +199,14 @@
         calcHeight: 30,
         tip: false,
         searchShow: true,
-        menuWidth: 160,
+        menuWidth: 175,
         searchMenuSpan: 6,
         index: true,
         viewBtn: true,
         dialogClickModal: false,
 
         column: companyColimn,
+        ...this.$store.state.control.clearOtherBut,
         group: [
           {
             label: "详细信息",
@@ -251,6 +254,9 @@
       });
       return ids.join(",");
     },
+  },
+  mounted() {
+    this.$store.commit("setWindowSizeHeightAdd");
   },
   methods: {
     rowClickSelf(val) {
@@ -410,6 +416,7 @@
         this.data = data.records;
         // console.log(this.data);
         this.loading = false;
+        this.$store.commit("setWindowSizeHeightAdd");
         this.selectionClear();
       });
     },
@@ -429,5 +436,4 @@
 };
 </script>
 
-<style lang="scss">
-</style>
+<style lang="scss"></style>

--
Gitblit v1.9.3