From 3da442cd47a206d0edffb4606d07c305f9d54cd9 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Tue, 16 Nov 2021 10:11:34 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/accreditationRecords/accreditationRecords.vue |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/views/accreditationRecords/accreditationRecords.vue b/src/views/accreditationRecords/accreditationRecords.vue
index adc53c8..869160b 100644
--- a/src/views/accreditationRecords/accreditationRecords.vue
+++ b/src/views/accreditationRecords/accreditationRecords.vue
@@ -38,7 +38,7 @@
           size="small"
           plain
           icon="el-icon-download"
-          v-if="permission.accreditationRecords_export"
+          v-if="permission.accreditationRecords_export || check"
           @click="handleExport"
           >保安员证信息导出
         </el-button>
@@ -91,6 +91,7 @@
 export default {
   data() {
     return {
+      check:false,
       form: {},
       query: {},
       questionBankSearch: {},
@@ -317,6 +318,18 @@
   mounted() {
     this.getDeptInfo(this.userInfo.dept_id);
   },
+  created(){
+      if (this.userInfo.role_name == "公安管理员") {
+      //判断是否为市局管理员
+      if(this.userInfo.jurisdiction=="1372091709474910209"){
+          this.check = true;
+          // this.vaildData(this.permission.accreditationRecords_paper_delete, false);
+      }else{
+        this.check = false;
+        // this.vaildData(null, false);
+      }
+    }
+  },
   methods: {
     //获取当前用户部门信息
     getDeptInfo(deptId) {

--
Gitblit v1.9.3