From 3a6ae7ec0c0df9681b08efe4adca05a71afeb2b0 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 23 Nov 2021 15:17:40 +0800
Subject: [PATCH] +

---
 src/views/securityGuard/securityGuard.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index c3d40a4..3342769 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -602,10 +602,10 @@
       loading: true,
       platformLoading: false,
       page: {
-        pageSize: 15,
+        pageSize: 10,
         currentPage: 1,
         total: 0,
-        pageSizes: [15, 30, 50, 100],
+        ...this.$store.state.control.changePageSize,
       },
       roleId: "1412226235153731586",
       deptId: "1413470343230877697",
@@ -614,6 +614,7 @@
         pageSize: 10,
         currentPage: 1,
         total: 0,
+        ...this.$store.state.control.changePageSize,
       },
       init: {
         roleTree: [],
@@ -695,7 +696,7 @@
             icon: "el-icon-user-solid",
             column: [
               {
-                label: "所属保安公司",
+                label: "企业名称",
                 prop: "deptId",
                 type: "tree",
                 // dicUrl:
@@ -2037,6 +2038,7 @@
     },
     openClosegroup(val) {
       let ql = /realName|nation|cardid|registered|sex/;
+      // let ql = /realName|nation|cardid|registered/;
       for (let k in this.option.group) {
         for (let i in this.option.group[k].column) {
           if (ql.test(this.option.group[k].column[i].prop)) {
@@ -2122,7 +2124,8 @@
               that.form.cardid = data.certNumber;
               that.form.nation = data.nation;
               that.form.registered = data.certAddress;
-              that.form.sex = data.certType;
+              that.form.sex =
+                data.certType == 0 ? 2 : data.certType == 1 ? 1 : 3;
               //禁止编辑
               that.openClosegroup(true);
               that.nowCell = "2";

--
Gitblit v1.9.3