From 335a64abda3c3879e7048addd6940a4634628591 Mon Sep 17 00:00:00 2001 From: hongxilin <17663930442@163.com> Date: Mon, 2 Dec 2024 10:14:06 +0800 Subject: [PATCH] =?UTF-8?q?=20=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/gold-system/src/views/audit/rechargeAudit.vue | 538 +++++++++++++++++- vue/gold-system/src/views/audit/refundAudit.vue | 532 +++++++++++++++++- .../src/views/managerecharge/activity.vue | 25 +- vue/gold-system/src/views/managerecharge/rate.vue | 617 ++++++++++----------- .../src/views/recharge/adminRecharge.vue | 25 +- vue/gold-system/src/views/recharge/allRecharge.vue | 19 +- vue/gold-system/src/views/workspace/index.vue | 50 +- 7 files changed, 1434 insertions(+), 372 deletions(-) diff --git a/vue/gold-system/src/views/audit/rechargeAudit.vue b/vue/gold-system/src/views/audit/rechargeAudit.vue index dccaee9..e62a201 100644 --- a/vue/gold-system/src/views/audit/rechargeAudit.vue +++ b/vue/gold-system/src/views/audit/rechargeAudit.vue @@ -1,13 +1,543 @@ - - Recharge Audit - + + + + + + + 活动名称: + + + + + + + + 支付方式: + + + + + + + + + 所属地区: + + + + + + + + + + 充值时间: + + 今 + 昨 + 近7天 + + + + + 重置 + 查询 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 已通过 + + + + + + 待审核 + + + + + + 已驳回 + + + + + + + + {{ moment(scope.row.rechargeTime).format('YYYY-MM-DD HH:mm:ss') }} + + + + + + + + + + 通过 + + + + 取消 + + 确定 + + + + + 驳回 + + + + + + + + + + + + 共{{ total }}条,每页 + + + + 条 + + + 跳至 + + 页 + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vue/gold-system/src/views/audit/refundAudit.vue b/vue/gold-system/src/views/audit/refundAudit.vue index d52d774..590b2ed 100644 --- a/vue/gold-system/src/views/audit/refundAudit.vue +++ b/vue/gold-system/src/views/audit/refundAudit.vue @@ -1,13 +1,537 @@ - - refundAudit - + + + + + + + 活动名称: + + + + + + + + 支付方式: + + + + + + + + + 所属地区: + + + + + + + + + + 充值时间: + + 今 + 昨 + 近7天 + + + + + 重置 + 查询 + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.rechargeCoin+scope.row.freeCoin+scope.row.taskCoin }} + + + + + + + + + + + + + 已通过 + + + + + + 待审核 + + + + + + 已驳回 + + + + + + + + + + + + + 通过 + + + + 取消 + + 确定 + + + + + 驳回 + + + + + + + + + + + + 共{{ total }}条,每页 + + + + 条 + + + 跳至 + + 页 + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vue/gold-system/src/views/managerecharge/activity.vue b/vue/gold-system/src/views/managerecharge/activity.vue index db4b13f..8406c62 100644 --- a/vue/gold-system/src/views/managerecharge/activity.vue +++ b/vue/gold-system/src/views/managerecharge/activity.vue @@ -144,12 +144,13 @@ const add = async function () { }) } - +// 删除========================================================= +// 删除按钮 const del = function (row) { delObj.value.activityId = row.activityId; console.log('delObj', delObj.value); } - +// 删除按钮的气泡弹出框确认按钮 const delConfirm = async function () { try { console.log('delObj', delObj.value); @@ -174,8 +175,8 @@ const checkFreeGoldRadio = function (rule, value, callback) { if (addObj.value.freeGold == 1) { if (value == '0' || value == null || value == '') { callback(new Error('请输入免费金币兑换比')) - } else { - callback(); + }else if(value<0||typeof value!='number') { + callback(new Error('请输入正确的格式')); } } else { callback() @@ -230,9 +231,9 @@ const checkNumber = function () { } else { //提示 ElMessage({ - type: 'error', - message: '请检查输入内容', - }) + type: 'error', + message: '请检查输入内容', + }) } } @@ -306,11 +307,11 @@ onMounted(async function () { - + - {{ moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') }} + {{ moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') }} - + @@ -342,8 +343,8 @@ onMounted(async function () { 条 - + 跳至 页 diff --git a/vue/gold-system/src/views/managerecharge/rate.vue b/vue/gold-system/src/views/managerecharge/rate.vue index 47d7607..24110f7 100644 --- a/vue/gold-system/src/views/managerecharge/rate.vue +++ b/vue/gold-system/src/views/managerecharge/rate.vue @@ -1,152 +1,153 @@ @@ -242,190 +243,135 @@ const rules = reactive({ - - - - 时间: - - - 查询 - 重置 - - - - - - - - - - - - - 新增汇率 - - - - - - - - - - {{ formatDate(scope.row.createTime) }} - - - - - {{ formatDate(scope.row.updateTime) }} - - - - - - 编辑 - 删除 - - - - - - - - - - - - - - - - - - + + + + 时间: + + + 查询 + 重置 + + + + + + + + + + + + + 新增汇率 + + + + + + + + + + {{ formatDate(scope.row.createTime) }} + + + + + {{ formatDate(scope.row.updateTime) }} + + + + + + 编辑 + 删除 + + + + + + + + + + + + + + + + + + - + - :1 + + :1 (提示:当前规则每 5 元人民币可兑换 1 新币) - + - + - + - + - + - - - - - - - - - - - - - - :1 - (提示:当前规则每 5 元人民币可兑换 1 新币) - - - - - - - - - - + + + + + + + + + + + + + + + :1 + (提示:当前规则每 5 元人民币可兑换 1 新币) + + + + + + + + + + \ No newline at end of file diff --git a/vue/gold-system/src/views/recharge/adminRecharge.vue b/vue/gold-system/src/views/recharge/adminRecharge.vue index abcb37e..35ad070 100644 --- a/vue/gold-system/src/views/recharge/adminRecharge.vue +++ b/vue/gold-system/src/views/recharge/adminRecharge.vue @@ -4,6 +4,7 @@ import ElementPlus from "element-plus"; import { ElMessage, ElMessageBox } from 'element-plus' import { AiFillRead } from "vue-icons-plus/ai"; import axios from 'axios'; +import moment from 'moment'; // 变量 // 用户对象假的 const admin = ref({ @@ -250,9 +251,9 @@ const checkNumber = function () { } else { //提示 ElMessage({ - type: 'error', - message: '请检查输入内容', - }) + type: 'error', + message: '请检查输入内容', + }) } } @@ -317,7 +318,7 @@ onMounted(async function () { 重置 - 查询 + 查询 @@ -344,7 +345,11 @@ onMounted(async function () { - + + + + + @@ -369,7 +374,11 @@ onMounted(async function () { - + + + {{ moment(scope.row.rechargeTime).format('YYYY-MM-DD HH:mm:ss') }} + + @@ -402,8 +411,8 @@ onMounted(async function () { 条 - + 跳至 页 diff --git a/vue/gold-system/src/views/recharge/allRecharge.vue b/vue/gold-system/src/views/recharge/allRecharge.vue index 67011d6..01d45c0 100644 --- a/vue/gold-system/src/views/recharge/allRecharge.vue +++ b/vue/gold-system/src/views/recharge/allRecharge.vue @@ -4,6 +4,7 @@ import ElementPlus from "element-plus"; import { ElMessage, ElMessageBox } from 'element-plus' import { AiFillRead } from "vue-icons-plus/ai"; import axios from 'axios'; +import moment from 'moment'; // 变量 // 充值明细表格 const tableData = ref([]); @@ -221,9 +222,9 @@ const checkNumber = function () { } else { //提示 ElMessage({ - type: 'error', - message: '请检查输入内容', - }) + type: 'error', + message: '请检查输入内容', + }) } } @@ -343,7 +344,11 @@ onMounted(async function () { - + + + {{ moment(scope.row.rechargeTime).format('YYYY-MM-DD HH:mm:ss') }} + + @@ -358,8 +363,8 @@ onMounted(async function () { 条 - + 跳至 页 @@ -375,7 +380,7 @@ onMounted(async function () { .pagination { display: flex; } - + .status { display: flex; } diff --git a/vue/gold-system/src/views/workspace/index.vue b/vue/gold-system/src/views/workspace/index.vue index e905a10..e03f26e 100644 --- a/vue/gold-system/src/views/workspace/index.vue +++ b/vue/gold-system/src/views/workspace/index.vue @@ -35,6 +35,45 @@ onMounted(function () { // 使用刚指定的配置项和数据显示图表。 myChart.setOption(option); + + option = { + tooltip: { + trigger: 'item' + }, + legend: { + top: '5%', + left: 'center' + }, + series: [ + { + name: 'Access From', + type: 'pie', + radius: ['40%', '70%'], + avoidLabelOverlap: false, + label: { + show: false, + position: 'center' + }, + emphasis: { + label: { + show: true, + fontSize: 40, + fontWeight: 'bold' + } + }, + labelLine: { + show: false + }, + data: [ + { value: 1048, name: 'Search Engine' }, + { value: 735, name: 'Direct' }, + { value: 580, name: 'Email' }, + { value: 484, name: 'Union Ads' }, + { value: 300, name: 'Video Ads' } + ] + } + ] + }; }) @@ -81,7 +120,7 @@ onMounted(function () { - + 金币消费 @@ -107,8 +146,9 @@ onMounted(function () { 金币消耗类别占比 - - + + @@ -121,11 +161,11 @@ onMounted(function () { \ No newline at end of file
:1
(提示:当前规则每 5 元人民币可兑换 1 新币)