From 79d9fc857559982b00b68b2d709807bdc4cd286f Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 11 Apr 2022 10:58:17 +0800
Subject: [PATCH] minio 地址修改

---
 src/views/securityGuard/securityGuardOnce.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/views/securityGuard/securityGuardOnce.vue b/src/views/securityGuard/securityGuardOnce.vue
index ba8b143..ac63988 100644
--- a/src/views/securityGuard/securityGuardOnce.vue
+++ b/src/views/securityGuard/securityGuardOnce.vue
@@ -417,6 +417,7 @@
         pageSize: 10,
         currentPage: 1,
         total: 0,
+        ...this.$store.state.control.changePageSize,
       },
       roleId: "1412226235153731586",
       deptId: "1413470343230877697",
@@ -424,6 +425,7 @@
         pageSize: 10,
         currentPage: 1,
         total: 0,
+        ...this.$store.state.control.changePageSize,
       },
       init: {
         roleTree: [],
@@ -493,7 +495,7 @@
             icon: "el-icon-user-solid",
             column: [
               {
-                label: "所属保安公司",
+                label: "企业名称",
                 prop: "deptId",
                 type: "tree",
                 // dicUrl:
@@ -1345,7 +1347,7 @@
             that.isSecurity = false;
             //如果是保安公司管理员
             params["deptId"] = that.userInfo.dept_id;
-          } else if (roleAlias == "公安管理员") {
+          } else if (roleAlias == "公安管理员" || this.userInfo.role_name == "民警") {
             params["jurisdiction"] = that.userInfo.jurisdiction;
             var columnDept = that.findObject(that.option.column, "deptId");
             columnDept.dicUrl =
@@ -1398,6 +1400,9 @@
             for (const key in d) {
               var year = d[key].cardid.slice(6, 10);
               d[key]["age"] = +datayear - +year;
+              if (d[key].userType == -1) {
+                d[key].userType = "";
+              }
               // d[key].securitynumber = "赣洪202100009";
             }
             that.data = data.records;

--
Gitblit v1.9.3