From 4d333b45d85cc550cfbdfa437acf88ed635e8cb8 Mon Sep 17 00:00:00 2001 From: lihuilin Date: Sun, 11 May 2025 20:13:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E8=A1=A8=E5=A4=B4bu?= =?UTF-8?q?g=E4=BF=AE=E5=AE=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gold-system/src/views/audit/rechargeAudit.vue | 419 ++++++++------------- gold-system/src/views/audit/refundAudit.vue | 2 +- gold-system/src/views/consume/addConsume.vue | 25 +- .../src/views/goldBeen/goldenBeenConsum.vue | 2 +- .../src/views/goldBeen/goldenBeenDetail.vue | 20 +- gold-system/src/views/goldBeen/onLineDetail.vue | 30 +- gold-system/src/views/index.vue | 6 +- gold-system/src/views/managerecharge/rate.vue | 181 +++++---- gold-system/src/views/permissions/index.vue | 3 +- gold-system/src/views/recharge/addRecharge.vue | 214 +++++------ gold-system/src/views/recharge/allRecharge.vue | 285 +++++++++++++- gold-system/src/views/usergold/index.vue | 7 +- gold-system/src/views/workspace/index.vue | 5 +- 13 files changed, 692 insertions(+), 507 deletions(-) diff --git a/gold-system/src/views/audit/rechargeAudit.vue b/gold-system/src/views/audit/rechargeAudit.vue index 9365a8e..934f5a5 100644 --- a/gold-system/src/views/audit/rechargeAudit.vue +++ b/gold-system/src/views/audit/rechargeAudit.vue @@ -8,7 +8,29 @@ import request from '@/util/http' import moment from 'moment' import API from '../../api/index.js' // 变量 +// 这是动态表头, +const columnOptions = ref([ + { prop: 'username', label: '姓名', width: 125 }, + { prop: 'jwcode', label: '精网号', width: 125 }, + { prop: 'area', label: '所属地区', width: 125 }, + { prop: 'activityName', label: '活动名称', width: 150 }, + { prop: 'rechargeGold', label: '充值金额', width: 125, sortable: true }, + { prop: 'rechargeWay', label: '充值方式', width: 125 }, + { prop: 'paidGold', label: '永久金币', width: 125, sortable: true }, + { prop: 'freeGold', label: '免费金币', width: 125, sortable: true }, + { prop: 'remark', label: '备注', width: 200, showOverflowTooltip: true }, + { prop: 'payWay', label: '支付方式', width: 125 }, + { prop: 'rechargeVoucher', label: '支付凭证', width: 125 }, + { prop: 'name', label: '提交人', width: 125 }, + { prop: 'status', label: '审核状态', width: 125 }, + { prop: 'reson', label: '驳回理由', width: 200 }, + { prop: 'rechargeTime', label: '交款时间', width: 200, sortable: true }, + { prop: 'createTime', label: '提交时间', width: 200, sortable: true } +]) +// 默认显示 +const defaultColumns = ['username', 'jwcode', 'area', 'status', 'operation'] +const selectedColumns = ref([...defaultColumns]) //这是获取用户信息的接口 const adminData = ref({}) const getAdminData = async function () { @@ -553,7 +575,7 @@ const handleSortChange = (column) => { // 精网号去空格 const trimJwCode = () => { if (rechargeVo.value.jwcode) { - rechargeVo.value.jwcode = rechargeVo.value.jwcode.replace(/\s/g, ''); + rechargeVo.value.jwcode = rechargeVo.value.jwcode.replace(/\s/g, ''); } } @@ -566,76 +588,40 @@ const trimJwCode = () => {
精网号: - +
活动名称: - - + +
支付方式: - - + +
所属地区: - - + +
- -
+ +
+
充值时间: { range-separator="至" start-placeholder="起始时间" end-placeholder="结束时间" + style="width: 400px" /> - - - 近7天 + + + 近7天
- - -
- 重置 - 查询 +
+
+ + + 重置 + 查询 + + + + +
+ 显示列: + + +
@@ -664,12 +659,7 @@ const trimJwCode = () => { - + @@ -677,162 +667,66 @@ const trimJwCode = () => {
总条数:{{ trueCount }}条,总金币数:{{ - formattedTrueGold - }}金币,永久金币:{{ formattedTrueRGold }}金币,免费金币:{{ formattedTrueFGold }}金币 + formattedTrueGold + }}金币,永久金币:{{ formattedTrueRGold }}金币,免费金币:{{ formattedTrueFGold }}金币
- - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + 驳回
@@ -863,44 +751,21 @@ const trimJwCode = () => {
- +