From 93108de1561810561f351c17c144950a37fdd06d Mon Sep 17 00:00:00 2001
From: 钟日健 <5689795+arsn@user.noreply.gitee.com>
Date: Thu, 24 Feb 2022 20:22:22 +0800
Subject: [PATCH] 新增民警角色权限判断
---
src/views/licenseApproval/securityTraining.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/licenseApproval/securityTraining.vue b/src/views/licenseApproval/securityTraining.vue
index 91d41d9..8e9c0d0 100644
--- a/src/views/licenseApproval/securityTraining.vue
+++ b/src/views/licenseApproval/securityTraining.vue
@@ -299,7 +299,7 @@
return;
}
var gonganj = "";
- if (this.userInfo.role_name == "公安管理员") {
+ if (this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "民警") {
let test = /派出所$/g;
if (test.test(this.userInfo.list.name)) {
gonganj = "2";
--
Gitblit v1.9.3