From c4e67a8942e514b65ab41bb19781d50576c15725 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 24 Sep 2021 19:56:52 +0800
Subject: [PATCH] 用户

---
 src/views/securityAnalysis/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/securityAnalysis/index.vue b/src/views/securityAnalysis/index.vue
index 4e3ad01..493788d 100644
--- a/src/views/securityAnalysis/index.vue
+++ b/src/views/securityAnalysis/index.vue
@@ -57,14 +57,14 @@
         top="9vh"
       >
         <situation
-          :card="{ deptid: deptid, jurisdiction: jurisdiction }"
+          :card="{ deptId: deptid, jurisdiction: jurisdiction }"
           v-if="sees == 1"
         >
           <!-- 保安员审查情况统计 -->
         </situation>
 
         <certificate
-          :card="{ deptid: deptid, jurisdiction: jurisdiction }"
+          :card="{ deptId: deptid, jurisdiction: jurisdiction }"
           v-if="sees == 2"
         >
           <!-- 保安员持证情况统计 -->
@@ -254,7 +254,7 @@
         feature: {
           myTool1: {
             show: true,
-            title: title,
+            title: "",
             icon: "image://img/table.png",
             onclick: function () {
               that.dialogVisible = true;
@@ -854,10 +854,10 @@
           // console.log(roleName);
           // console.log(res.data.data);
           // console.log(roleAlias);
-          if (roleName == "超级管理员" || roleName == "公安管理员") {
+          if (roleName != "保安公司管理员") {
             this.deptid = "";
             this.jurisdiction = this.userInfo.jurisdiction;
-          } else if (roleName == "保安公司管理员") {
+          } else {
             this.deptid = this.userInfo.dept_id;
             this.jurisdiction = "";
           }

--
Gitblit v1.9.3