From 81e1b297b1fabec596c1cb7187ce2d6199026429 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 30 Nov 2023 16:51:10 +0800
Subject: [PATCH] 模拟考试成绩查询
---
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