From 47eb57d92c46e7786340f7dcff7110e5162dd5e7 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 10 Dec 2021 10:39:38 +0800
Subject: [PATCH] 制证导出新增条件

---
 src/views/accreditationRecords/accreditationRecords.vue      |    4 +++-
 src/views/accreditationRecords/accreditationRecordsPaper.vue |    2 ++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/accreditationRecords/accreditationRecords.vue b/src/views/accreditationRecords/accreditationRecords.vue
index 41d66ab..d756cbb 100644
--- a/src/views/accreditationRecords/accreditationRecords.vue
+++ b/src/views/accreditationRecords/accreditationRecords.vue
@@ -442,7 +442,7 @@
     },
     selectionClear() {
       this.selectionList = [];
-      this.$refs.crud.toggleSelection();
+      // this.$refs.crud.toggleSelection();
     },
     handleDelete() {
       if (this.selectionList.length === 0) {
@@ -484,6 +484,7 @@
       this.onLoad(this.page, this.query);
     },
     onLoad(page, params = {}) {
+      params = this.questionBankSearch;
       this.deptId = JSON.parse(
         window.localStorage.getItem("saber-userInfo")
       ).content.dept_id;
@@ -545,6 +546,7 @@
           securityNumber: this.questionBankSearch.securityNumber,
           startTime: this.questionBankSearch.startTime,
           endTime: this.questionBankSearch.endTime,
+          isAvatar: this.questionBankSearch.isAvatar,
         };
         //导出
         if (this.userInfo.role_name == "保安公司管理员") {
diff --git a/src/views/accreditationRecords/accreditationRecordsPaper.vue b/src/views/accreditationRecords/accreditationRecordsPaper.vue
index 03861c3..8d8babc 100644
--- a/src/views/accreditationRecords/accreditationRecordsPaper.vue
+++ b/src/views/accreditationRecords/accreditationRecordsPaper.vue
@@ -1031,6 +1031,7 @@
           securityNumber: this.questionBankSearch.securityNumber,
           startTime: this.questionBankSearch.startTime,
           endTime: this.questionBankSearch.endTime,
+          isAvatar: this.questionBankSearch.isAvatar,
         };
         // data['Blade-Auth'] = getToken;
         //导出
@@ -1079,6 +1080,7 @@
           securityNumber: this.questionBankSearch.securityNumber,
           startTime: this.questionBankSearch.startTime,
           endTime: this.questionBankSearch.endTime,
+          isAvatar: this.questionBankSearch.isAvatar,
         };
         //导出
         if (this.userInfo.role_name == "保安公司管理员") {

--
Gitblit v1.9.3