From 8feaba218a5ce22e92214e4c9082faf59b25c885 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 20 十一月 2025 09:20:35 +0800
Subject: [PATCH] fix: bug
---
src/views/StatisticalReport/RewardStatistics.vue | 129 +++---------------------------------------
1 files changed, 10 insertions(+), 119 deletions(-)
diff --git a/src/views/StatisticalReport/RewardStatistics.vue b/src/views/StatisticalReport/RewardStatistics.vue
index 16689e1..fad8598 100644
--- a/src/views/StatisticalReport/RewardStatistics.vue
+++ b/src/views/StatisticalReport/RewardStatistics.vue
@@ -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,
--
Gitblit v1.9.1