From 2cf7c6733dacd8d3c2e5c6e8a8c109fb86eb7c8e Mon Sep 17 00:00:00 2001
From: 钟日健 <5689795+arsn@user.noreply.gitee.com>
Date: Tue, 15 Mar 2022 15:44:59 +0800
Subject: [PATCH] nginx.conf 新增
---
src/views/securityGuard/securityGuardOnce.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/views/securityGuard/securityGuardOnce.vue b/src/views/securityGuard/securityGuardOnce.vue
index f4b1dd6..ac63988 100644
--- a/src/views/securityGuard/securityGuardOnce.vue
+++ b/src/views/securityGuard/securityGuardOnce.vue
@@ -1347,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 =
@@ -1400,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