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/qualificationExamination/registrationTrainingQuery.vue |   35 ++++++++++++++++++++++-------------
 1 files changed, 22 insertions(+), 13 deletions(-)

diff --git a/src/views/qualificationExamination/registrationTrainingQuery.vue b/src/views/qualificationExamination/registrationTrainingQuery.vue
index 296cc3b..981f19a 100644
--- a/src/views/qualificationExamination/registrationTrainingQuery.vue
+++ b/src/views/qualificationExamination/registrationTrainingQuery.vue
@@ -1,13 +1,14 @@
-/*
- * @Author: Morpheus
- * @Date: 2021-07-07 17:30:05
- * @Last Modified by: Morpheus
- * @Last Modified time: 2021-07-10 16:06:14
- * menu-name 报名培训查询
- */
+/* * @Author: Morpheus * @Date: 2021-07-07 17:30:05 * @Last Modified by:
+Morpheus * @Last Modified time: 2021-07-10 16:06:14 * 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"
@@ -73,6 +74,7 @@
         pageSize: 10,
         currentPage: 1,
         total: 0,
+        ...this.$store.state.control.changePageSize,
       },
       selectionList: [],
       option: {
@@ -94,6 +96,7 @@
         index: true,
         viewBtn: true,
         dialogClickModal: false,
+        ...this.$store.state.control.clearOtherBut,
 
         column: [
           // {
@@ -121,7 +124,7 @@
           {
             label: "姓名",
             prop: "realName",
-            width: 100,
+            width: 78,
             searchLabelWidth: 50,
             rules: [
               {
@@ -259,7 +262,7 @@
                 trigger: "blur",
               },
             ],
-            width: 160,
+            width: 175,
             // search: true,
             // searchSpan: 4,
             // overHidden: true
@@ -445,6 +448,9 @@
       return ids.join(",");
     },
   },
+  mounted() {
+    this.$store.commit("setWindowSizeHeightAdd");
+  },
   methods: {
     rowSave(row, done, loading) {
       adddata(row).then(
@@ -550,9 +556,13 @@
           var sfz = d[k].idCardNo.substring(6, 10);
           d[k]["age"] = this.getyears() - sfz;
           // console.log(this.getyears());
+          if (d[k]["sex"] == -1) {
+            d[k]["sex"] = "";
+          }
         }
         this.data = d;
-        console.log(this.data, "getLispereregistrationTrainingQuery");
+        // console.log(this.data, "getLispereregistrationTrainingQuery");
+        this.$store.commit("setWindowSizeHeightAdd");
         this.loading = false;
         // this.selectionClear();
       });
@@ -605,5 +615,4 @@
 };
 </script>
 
-<style>
-</style>
+<style></style>

--
Gitblit v1.9.3