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/authority/apiscope.vue |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/views/authority/apiscope.vue b/src/views/authority/apiscope.vue
index 8375b57..f21dc41 100644
--- a/src/views/authority/apiscope.vue
+++ b/src/views/authority/apiscope.vue
@@ -1,6 +1,13 @@
 <template>
-  <basic-container class="apiscope">
+  <basic-container
+    :class="[
+      'apiscope',
+      $store.state.control.screenSize == 1366 ? 'smallSize' : 'normalSize',
+      $store.state.control.windowWidth >= 1024 ? 'tooRowSearch1' : '',
+    ]"
+  >
     <avue-crud
+      class="tablesss"
       :option="option"
       :table-loading="loading"
       :data="data"
@@ -114,6 +121,7 @@
         pageSize: 10,
         currentPage: 1,
         total: 0,
+        ...this.$store.state.control.changePageSize,
       },
       drawerVisible: false,
       direction: "rtl",
@@ -139,6 +147,7 @@
         delBtn: false,
         menuWidth: 150,
         dialogClickModal: false,
+        ...this.$store.state.control.clearOtherBut,
         column: [
           {
             label: "菜单名称",
@@ -421,6 +430,9 @@
       return ids.join(",");
     },
   },
+  mounted() {
+    this.$store.commit("setWindowSizeHeightAdd");
+  },
   methods: {
     // 菜单管理模块
     rowSave(row, done, loading) {
@@ -674,6 +686,7 @@
         this.pageScope.total = data.total;
         this.dataScope = data.records;
         this.selectionListScope = [];
+        this.$store.commit("setWindowSizeHeightAdd");
         this.scopeLoading = false;
       });
     },

--
Gitblit v1.9.3