From 8994e585d37575ef6df49f083ed23796a85a4113 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 08 十二月 2025 15:13:06 +0800
Subject: [PATCH] fix: bug

---
 src/views/StatisticalReport/RewardStatistics.vue |  133 ++++----------------------------------------
 1 files changed, 12 insertions(+), 121 deletions(-)

diff --git a/src/views/StatisticalReport/RewardStatistics.vue b/src/views/StatisticalReport/RewardStatistics.vue
index 16689e1..147f72c 100644
--- a/src/views/StatisticalReport/RewardStatistics.vue
+++ b/src/views/StatisticalReport/RewardStatistics.vue
@@ -3,7 +3,7 @@
     <AppContainer>
       <div class="statistics-wrapper">
         <el-text class="mx-1">{{
-          `璐㈡斂鎷ㄤ粯鍚堣锛氾骏${toThousand(objectData?.sumFinanceAmount ?? 0)}`
+          `鎺ㄥ箍琛ヨ创鍙戞斁鍚堣锛氾骏${toThousand(objectData?.sumFinanceAmount ?? 0)}`
         }}</el-text>
         <el-text class="mx-1">{{
           `骞冲彴鎷ㄤ粯鍚堣锛氾骏${toThousand(objectData?.sumTransferAmount ?? 0)}`
@@ -31,12 +31,12 @@
               @change="getList()"
             />
           </QueryFilterItem>
-          <QueryFilterItem tip-content="鐢虫姤鏈堜唤">
+          <QueryFilterItem tip-content="閫夋嫨鏈堜唤">
             <FieldDatePicker
               v-model="extraParamState.months"
               type="months"
               clearable
-              placeholder="璇烽�夋嫨鐢虫姤鏈堜唤"
+              placeholder="璇烽�夋嫨鏈堜唤"
               format="YYYY-MM"
               value-format="YYYY-MM"
               @change="getList()"
@@ -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,
@@ -391,7 +282,7 @@
         getResponse: true,
       });
       if (res) {
-        downloadFile(res.data, `濂栧姳閲戠粺璁, 'xlsx');
+        downloadFile(res.data, `鍙敤璧勯噾缁熻`, 'xlsx');
         Message.successMessage('瀵煎嚭鎴愬姛');
         getList(paginationState.pageIndex);
       }

--
Gitblit v1.9.1