From 0b8dc9610f3562f956f85cc8b254d3a9c5d2b963 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 08 Dec 2021 17:58:41 +0800
Subject: [PATCH] 保安员报错修改,证书管理修改,成绩 管理修改
---
src/views/accreditationRecords/accreditationRecordsPaper.vue | 2 +-
src/views/securityGuard/securityGuard.vue | 6 ++++--
src/views/trainExam/performance.vue | 2 +-
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/views/accreditationRecords/accreditationRecordsPaper.vue b/src/views/accreditationRecords/accreditationRecordsPaper.vue
index 3970705..03861c3 100644
--- a/src/views/accreditationRecords/accreditationRecordsPaper.vue
+++ b/src/views/accreditationRecords/accreditationRecordsPaper.vue
@@ -381,7 +381,7 @@
border: true,
index: true,
stripe: true,
- viewBtn: true,
+ viewBtn: false,
// selection: true,
excelBtn: false,
addBtnText: "发布",
diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index 8220be0..da43590 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -1370,7 +1370,9 @@
this.search["userType"] = 7;
this.search["hold"] = "1";
}
- this.userInfo.rname.forEach((roleName) => {
+ var roleName = this.userInfo.role_name;
+ // console.log(this.userInfo,52252);
+ // this.userInfo.rname.forEach((roleName) => {
if (
roleName == "保安公司管理员" ||
roleName == "保安" ||
@@ -1396,7 +1398,7 @@
//默认全部展开
column.dicUrl = "/api/blade-system/dept/security_lazy-tree";
}
- });
+ // });
if (
this.userInfo.account == "南昌市保安服务总公司" ||
diff --git a/src/views/trainExam/performance.vue b/src/views/trainExam/performance.vue
index 83b268b..5cf561a 100644
--- a/src/views/trainExam/performance.vue
+++ b/src/views/trainExam/performance.vue
@@ -346,7 +346,7 @@
selection: true,
reserveSelection: true,
selectable: (row) => {
- if (row.qualified != "0" || row.avatar==null || row.avatar=="") {
+ if (row.qualified != "0") {
return false;
} else {
return true;
--
Gitblit v1.9.3