From d56293cd146b119bca92f116e41169952bdc7692 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 21 Nov 2025 19:26:09 +0800
Subject: [PATCH] feat:隐藏事件导出报表

---
 src/views/tickets/ticket.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/tickets/ticket.vue b/src/views/tickets/ticket.vue
index d4cb2cb..e418862 100644
--- a/src/views/tickets/ticket.vue
+++ b/src/views/tickets/ticket.vue
@@ -234,11 +234,11 @@
                 </el-button>
               </template>
      
-              <!-- <template  v-if="row.status === 4 && activeTab === 'completed'">
+              <template  v-if="row.status === 4 && activeTab === 'completed' && !isProd">
                 <el-button type="text" icon="el-icon-download"  @click="exportTheTick(row)"
                   >导出
                 </el-button>
-              </template> -->
+              </template>
               <template v-if="permission.tickets_repeat_review">
                 <el-button
                   v-if="row.status === 4 && row.isReview !== 1"
@@ -1027,7 +1027,7 @@
 import getBaseConfig from '@/buildConfig/config';
 import CreateQRcode from '@/components/CreateQRcode/CreateQRcode.vue';
 import { CircleClose } from '@element-plus/icons-vue';
-
+const isProd = import.meta.env.VITE_APP_ENV === 'production'
 const { envName } = getBaseConfig();
 
 function regExp(label, name) {

--
Gitblit v1.9.3