From affe2b63e194ccdf8e6fbb2dffb6f47b8f12896c Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 27 Sep 2021 11:07:02 +0800
Subject: [PATCH] 浮动隐藏菜单栏
---
src/views/securityAnalysis/index.vue | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/views/securityAnalysis/index.vue b/src/views/securityAnalysis/index.vue
index 4e3ad01..32bd747 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"
>
<!-- 保安员持证情况统计 -->
@@ -89,6 +89,7 @@
</assignment>
<socialSecurity
:card="{ deptid: deptid, jurisdiction: jurisdiction }"
+ :reself="dialogVisible"
v-if="sees == 6"
>
<!-- 社保缴纳情况 -->
@@ -254,7 +255,7 @@
feature: {
myTool1: {
show: true,
- title: title,
+ title: "",
icon: "image://img/table.png",
onclick: function () {
that.dialogVisible = true;
@@ -501,7 +502,7 @@
sd = [],
ld = [],
that = this;
- for (var i = 0; i < 100; i++) {
+ for (var i = 0; i <= 100; i++) {
xd.push(i + "分");
}
// console.log(sd);
@@ -854,10 +855,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