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 = () => {
- +