From b6dbab5e16957d2c75fd99efe1af1e7938bdca36 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 14 十一月 2025 20:24:25 +0800
Subject: [PATCH] fix: bug

---
 src/views/StatisticalReport/RewardStatistics.vue |  125 ++---------------------------------------
 1 files changed, 8 insertions(+), 117 deletions(-)

diff --git a/src/views/StatisticalReport/RewardStatistics.vue b/src/views/StatisticalReport/RewardStatistics.vue
index 16689e1..1aa7b2d 100644
--- a/src/views/StatisticalReport/RewardStatistics.vue
+++ b/src/views/StatisticalReport/RewardStatistics.vue
@@ -54,7 +54,13 @@
           </QueryFilterItem>
         </template>
         <template #btn>
-          <el-button @click="handleExport()" icon="Download" type="primary">瀵煎嚭</el-button>
+          <el-button
+            v-if="checkSubModuleItemShow('pageButton', 'exportBtn')"
+            @click="handleExport()"
+            icon="Download"
+            type="primary"
+            >瀵煎嚭</el-button
+          >
         </template>
       </ProTableQueryFilterBar>
       <ProTableV2 v-bind="proTableProps" :columns="column" :show-operation-column="false">
@@ -140,122 +146,7 @@
   name: 'RewardStatistics',
 });
 
-const column = defineColumns([
-  {
-    id: '1',
-    enCode: 'enterpriseName',
-    name: '浼佷笟鍚嶇О',
-    width: 250,
-  },
-  {
-    id: '2',
-    enCode: 'societyCreditCode',
-    name: '淇$敤浠g爜',
-    width: 200,
-  },
-  {
-    id: '3',
-    enCode: 'industrialParkName',
-    name: '鎵�灞炲洯鍖�',
-    width: 200,
-  },
-  {
-    id: '4',
-    enCode: 'contact',
-    name: '鑱旂郴浜�',
-    width: 150,
-  },
-  {
-    id: '5',
-    enCode: 'contactPhone',
-    name: '鑱旂郴鏂瑰紡',
-    width: 120,
-  },
-  {
-    id: '6',
-    enCode: 'month',
-    name: '鐢虫姤鏈堜唤',
-    width: 120,
-  },
-  {
-    id: '7',
-    enCode: 'batchNo',
-    name: '鐢虫姤鎵规鍙�',
-    width: 150,
-  },
-  {
-    id: '8',
-    enCode: 'sumFinanceAmount',
-    name: '璐㈡斂鎷ㄤ粯閲戦',
-    width: 120,
-  },
-  {
-    id: '9',
-    enCode: 'sumFinanceAmountBtn',
-    name: '璐㈡斂鎷ㄤ粯鏄庣粏',
-    width: 120,
-  },
-  {
-    id: '10',
-    enCode: 'sumTransferAmount',
-    name: '骞冲彴鎷ㄤ粯閲戦',
-    width: 120,
-  },
-  {
-    id: '11',
-    enCode: 'sumTransferAmountBtn',
-    name: '骞冲彴鎷ㄤ粯鏄庣粏',
-    width: 120,
-  },
-  {
-    id: '12',
-    enCode: 'sumRechargeAmount',
-    name: '浼佷笟鍏呭�兼�婚',
-    width: 120,
-  },
-  {
-    id: '13',
-    enCode: 'sumRechargeAmountBtn',
-    name: '浼佷笟鍏呭�兼槑缁�',
-    width: 120,
-  },
-  {
-    id: '14',
-    enCode: 'sumTradeAmount',
-    name: '浼佷笟娑堣垂鎬婚',
-    width: 120,
-  },
-  {
-    id: '15',
-    enCode: 'sumTradeAmountBtn',
-    name: '浼佷笟娑堣垂鏄庣粏',
-    width: 120,
-  },
-  {
-    id: '16',
-    enCode: 'sumDrawWithAmount',
-    name: '浼佷笟鎻愮幇鎬婚',
-    width: 120,
-  },
-  {
-    id: '17',
-    enCode: 'sumDrawWithAmountBtn',
-    name: '浼佷笟鎻愮幇鏄庣粏',
-    width: 120,
-  },
-  {
-    id: '18',
-    enCode: 'amount',
-    name: '璐︽埛浣欓',
-    width: 120,
-  },
-  {
-    id: '19',
-    enCode: 'amountBtn',
-    name: '浣欓鏄庣粏',
-    width: 120,
-  },
-]);
+const { checkSubModuleItemShow, column, operationBtns } = useAccess({});
 
 const BaseState = {
   loading: true,

--
Gitblit v1.9.1