From 47a0f58d4334939b08a55b9356f94de23c8b1367 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 15 Jun 2022 14:56:26 +0800
Subject: [PATCH] 新增保安员导入

---
 src/views/trainExam/singleperformance.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/trainExam/singleperformance.vue b/src/views/trainExam/singleperformance.vue
index 28b2525..433d66b 100644
--- a/src/views/trainExam/singleperformance.vue
+++ b/src/views/trainExam/singleperformance.vue
@@ -245,7 +245,7 @@
           },
           {
             label: "身份证号",
-            prop: "account",
+            prop: "cardNo",
             search: true,
             searchSpan: 4,
             slot: true,
@@ -624,6 +624,10 @@
             //如果是培训公司管理员
             params["trainUnitId"] = that.userInfo.dept_id;
           }
+          if (roleAlias == "公安管理员" || roleAlias == "民警") {
+            //如果公安
+            params["jurisdiction"] = that.userInfo.jurisdiction;
+          }
           that.questionBankLoading = false;
           params["examType"] = 2;
           if (this.sort) {

--
Gitblit v1.9.3