From 896fd9fdc23f869d87d898ab1d7fa7fab42c3b83 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 28 Oct 2021 09:21:24 +0800
Subject: [PATCH] +培训考试成绩管理保安证卡片

---
 src/views/trainExam/performance.vue |    9 +++++++--
 src/views/securityGuard/baoanz.vue  |    8 +++++---
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/views/securityGuard/baoanz.vue b/src/views/securityGuard/baoanz.vue
index aa32a08..1e9599e 100644
--- a/src/views/securityGuard/baoanz.vue
+++ b/src/views/securityGuard/baoanz.vue
@@ -22,9 +22,11 @@
       </div>
     </div>
     <span slot="footer" class="dialog-footer no-print PrintBut">
-      <el-button type="primary" @click="Print">打 印</el-button>
+      <el-button type="primary" @click="Print" v-show="closePrint != 1"
+        >打 印</el-button
+      >
       <el-button type="primary" @click="closeME" v-show="close == 1"
-        >取 消</el-button
+        >返 回</el-button
       >
     </span>
   </div>
@@ -43,7 +45,7 @@
 
 import { getER } from "@/api/performance/performance";
 export default {
-  props: ["data", "close"],
+  props: ["data", "close", "closePrint"],
   data() {
     return {
       erweima: "",
diff --git a/src/views/trainExam/performance.vue b/src/views/trainExam/performance.vue
index a2feeef..6655733 100644
--- a/src/views/trainExam/performance.vue
+++ b/src/views/trainExam/performance.vue
@@ -100,7 +100,7 @@
                 :disabled="row.qualified != 0"
                 :size="size"
                 :type="type"
-                >发证</el-button
+                >查看证件</el-button
               >
             </template>
           </avue-crud>
@@ -132,7 +132,12 @@
       :modal-append-to-body="false"
     > -->
     <div class="dialogVisiblezhengjian" v-if="dialogVisiblezhengjian">
-      <baoanz :data="baoanzdata" :close="1" @close="closezhengjian"></baoanz>
+      <baoanz
+        :data="baoanzdata"
+        :close="1"
+        @close="closezhengjian"
+        :closePrint="1"
+      ></baoanz>
     </div>
     <!-- </el-dialog> -->
   </el-row>

--
Gitblit v1.9.3