From f71c3f4f5fa13c0566c10a122ac8503ef2ae008e Mon Sep 17 00:00:00 2001
From: donghaolin <17667510818@163.com>
Date: Fri, 20 Dec 2024 13:49:24 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BF=99=E6=98=AF12.20=E6=97=A5=E7=9A=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
vue/gold-system/src/views/usergold/index.vue | 24 +++++++++++++++++++++++-
vue/gold-system/src/views/workspace/index.vue | 16 ++++++++--------
2 files changed, 31 insertions(+), 9 deletions(-)
diff --git a/vue/gold-system/src/views/usergold/index.vue b/vue/gold-system/src/views/usergold/index.vue
index ca2bbb5..7ceda21 100644
--- a/vue/gold-system/src/views/usergold/index.vue
+++ b/vue/gold-system/src/views/usergold/index.vue
@@ -283,7 +283,29 @@ onMounted(async function () {
}}
-
+
+
+
+
+
+
+ 已通过
+
+
+
+
+
+ 待审核
+
+
+
+
+
+ 已驳回
+
+
+
+
diff --git a/vue/gold-system/src/views/workspace/index.vue b/vue/gold-system/src/views/workspace/index.vue
index 623891c..f5e531f 100644
--- a/vue/gold-system/src/views/workspace/index.vue
+++ b/vue/gold-system/src/views/workspace/index.vue
@@ -22,7 +22,7 @@ const searchTime = ref([]);
// 月份柱状图
const getMiddleBarObj = ref({
- updateType: "充值",
+ updateType: 0,
});
const getMiddleBarData = ref({});
const middleTotalRecharge = ref(0);
@@ -35,7 +35,7 @@ const middleTask = ref([]);
// 地区排名
const getAreaRankObj = ref({
- updateType: "充值",
+ updateType: 0,
});
const getMediumArea = ref([]);
const areaRank = ref([]);
@@ -365,7 +365,7 @@ const get = async function () {
// 获取中间柱状图数据
const getMiddleBar = async function () {
const result = await API.post(
- "http://192.168.8.147:10010/statistics/getCoinTime",
+ "http://192.168.8.93:10010/statistics/getCoinTime",
getMiddleBarObj.value
);
@@ -407,7 +407,7 @@ const getMiddleBar = async function () {
console.log("middleTotalFree", middleTotalFree.value);
console.log("middleTotalTask", middleTotalTask.value);
- if (getMiddleBarObj.value.updateType == "充值") {
+ if (getMiddleBarObj.value.updateType == 0) {
// 基于准备好的dom,初始化echarts实例
var recharge = echarts.init(document.getElementById("recharge"));
const option = {
@@ -617,11 +617,11 @@ const changeGoldType = function () {
// 点击标签页初始化
const handleChange = function () {
if (activeName.value == "recharge") {
- getMiddleBarObj.value.updateType = "充值";
- getAreaRankObj.value.updateType = "充值";
+ getMiddleBarObj.value.updateType = 0;
+ getAreaRankObj.value.updateType = 0;
} else {
- getMiddleBarObj.value.updateType = "消费";
- getAreaRankObj.value.updateType = "消费";
+ getMiddleBarObj.value.updateType = 1;
+ getAreaRankObj.value.updateType = 1;
}
getAreaRankObj.value.type = "";
goldType.value = "全部类型";