修改河南项目的管理后台ui和删除之前不需要的游戏

This commit is contained in:
2026-09-22 17:14:18 +08:00
parent 1e256b94e8
commit 687a1f0f98
36 changed files with 327 additions and 309 deletions
+3 -3
View File
@@ -53,12 +53,12 @@ export const ACCOUNT_SOURCE_MAP = {
52: '极速糖果奖励',
56: 'Roll房未发放退回主播',
59: '主播Roll房奖池扣款',
60: '玫瑰女郎消费',
61: '玫瑰女郎奖励',
62: '招商周结佣金',
63: '流水抽奖奖励',
65: '管理员调整余额',
66: '管理员调整积分'
66: '管理员调整积分',
68: '麻将胡了消费',
69: '麻将胡了奖励'
};
/**
+11 -6
View File
@@ -145,9 +145,11 @@ export default {
};
},
computed: {
// 隐藏极速糖果、Roll 房、荒野争锋卡片
// 隐藏已下架玩法的 RTP 卡片。按后端返回的 name 精确匹配。
// 2026-09-22:「玫瑰女郎」(= 后端 olympus 玩法)已下架并隐藏;
// 新游戏「麻将胡了」不在隐藏列表里,正常展示。
visibleRtpList() {
const hidden = ["极速糖果", "Roll 房", "Roll房", "荒野争锋"];
const hidden = ["极速糖果", "Roll 房", "Roll房", "荒野争锋", "玫瑰女郎"];
return this.rtpList.filter(item => !hidden.includes(item.name));
},
chartTypeLabel() {
@@ -311,7 +313,7 @@ export default {
getChartDataList() {
return getChartData(this.chartType).then(res => {
const data = res.data;
this.drawLineChart(data.dateList, data.rechargeList, data.boxOpenList, data.fightBoxOpenList, data.luckyUpgradeList, data.westernDuelList, data.wheelList, data.roseladyList);
this.drawLineChart(data.dateList, data.rechargeList, data.boxOpenList, data.fightBoxOpenList, data.luckyUpgradeList, data.westernDuelList, data.wheelList, data.roseladyList, data.mahjongList);
});
},
switchChartType(type) {
@@ -337,7 +339,7 @@ export default {
this.rollRoomReward = 0;
});
},
drawLineChart(dateList, rechargeList, boxOpenList, fightBoxOpenList, luckyUpgradeList, westernDuelList, wheelList, roseladyList) {
drawLineChart(dateList, rechargeList, boxOpenList, fightBoxOpenList, luckyUpgradeList, westernDuelList, wheelList, roseladyList, mahjongList) {
var chartDom = document.getElementById("lineChart");
if (this.lineChartInstance) {
this.lineChartInstance.dispose();
@@ -354,7 +356,10 @@ export default {
{ name: "对战开箱流水", data: fightBoxOpenList, color: "#4a9163" },
{ name: "幸运升级流水", data: luckyUpgradeList, color: "#4a7f8c" },
{ name: "疯狂转盘流水", data: wheelList, color: "#7a6a9c" },
{ name: "玫瑰女郎流水", data: roseladyList, color: "#a35790" }
// 麻将胡了流水:沿用原玫瑰女郎的品红 #a35790(色相与前 5 条继续错开,不撞色)
{ name: "麻将胡了流水", data: mahjongList, color: "#a35790" }
// 玫瑰女郎流水(= 后端 olympus 玩法)已随玩法下架移除,2026-09-22;
// roseladyList 参数仍由 getChartData 传入但不再使用(与 westernDuelList 写法一致,方便将来一行恢复)。
];
var option = {
tooltip: {
@@ -788,7 +793,7 @@ export default {
.rtp-dot { background: #4a9163; }
.rtp-progress-inner { background: linear-gradient(90deg, #8fb8a0, #4a9163); }
}
.rtp-theme-4 { /* 玫瑰女郎 */
.rtp-theme-4 { /* 麻将胡了(idx%5=4) */
.rtp-dot { background: #a35790; }
.rtp-progress-inner { background: linear-gradient(90deg, #c69bb8, #a35790); }
}
+2 -2
View File
@@ -56,8 +56,8 @@
<el-option label="维护" value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item label="玫瑰女郎维护">
<el-select v-model="form.olympusMaintenance" placeholder="请选择活动区域">
<el-form-item label="麻将胡了维护">
<el-select v-model="form.mahjongMaintenance" placeholder="请选择活动区域">
<el-option label="正常" value="0"></el-option>
<el-option label="维护" value="1"></el-option>
</el-select>
@@ -88,8 +88,8 @@ export default {
{ value: 38, label: '疯狂转盘消费' },
{ value: 39, label: '疯狂转盘奖励' },
{ value: 64, label: '疯狂转盘注单退款' },
{ value: 60, label: '玫瑰女郎消费' },
{ value: 61, label: '玫瑰女郎奖励' },
{ value: 68, label: '麻将胡了消费' },
{ value: 69, label: '麻将胡了奖励' },
{ value: 10, label: '背包分解饰品收入' },
{ value: 12, label: '商城兑换消费' },
{ value: 17, label: '兑换CDKEY收入' },
@@ -87,8 +87,8 @@ const AMOUNT_SOURCE_OPTIONS = [
{ value: 38, label: '疯狂转盘消费' },
{ value: 39, label: '疯狂转盘奖励' },
{ value: 64, label: '疯狂转盘注单退款' },
{ value: 60, label: '玫瑰女郎消费' },
{ value: 61, label: '玫瑰女郎奖励' },
{ value: 68, label: '麻将胡了消费' },
{ value: 69, label: '麻将胡了奖励' },
{ value: 10, label: '背包分解饰品收入' },
{ value: 12, label: '商城兑换消费' },
{ value: 17, label: '兑换CDKEY收入' },
@@ -118,8 +118,8 @@ const CREDITS_SOURCE_OPTIONS = [
{ value: 38, label: '疯狂转盘消费' },
{ value: 39, label: '疯狂转盘奖励' },
{ value: 64, label: '疯狂转盘注单退款' },
{ value: 60, label: '玫瑰女郎消费' },
{ value: 61, label: '玫瑰女郎奖励' },
{ value: 68, label: '麻将胡了消费' },
{ value: 69, label: '麻将胡了奖励' },
{ value: 10, label: '背包分解饰品收入' },
{ value: 12, label: '商城兑换消费' },
{ value: 17, label: '兑换CDKEY收入' },
@@ -87,8 +87,8 @@ export default {
{ value: 38, label: '疯狂转盘消费' },
{ value: 39, label: '疯狂转盘奖励' },
{ value: 64, label: '疯狂转盘注单退款' },
{ value: 60, label: '玫瑰女郎消费' },
{ value: 61, label: '玫瑰女郎奖励' },
{ value: 68, label: '麻将胡了消费' },
{ value: 69, label: '麻将胡了奖励' },
{ value: 10, label: '背包分解饰品收入' },
{ value: 12, label: '商城兑换消费' },
{ value: 17, label: '兑换CDKEY收入' },
+2 -2
View File
@@ -47,7 +47,7 @@
<el-option label="roll房" value="3" />
<el-option label="幸运升级" value="4" />
<el-option label="疯狂转盘" value="99" />
<el-option label="玫瑰女郎" value="13" />
<el-option label="麻将胡了" value="15" />
<el-option label="转赠" value="9" />
<el-option label="系统发放" value="5" />
<el-option label="商城兑换" value="6" />
@@ -141,10 +141,10 @@ export default {
3: 'roll房',
4: '幸运升级',
99: '疯狂转盘',
15: '麻将胡了',
5: '系统发放',
6: '商城兑换',
9: '转赠',
13: '玫瑰女郎',
14: '流水抽奖'
},
statusMap: {
@@ -64,12 +64,12 @@
<el-table-column prop="wheelGame" label="疯狂转盘" min-width="100" align="right" sortable="custom">
<template slot-scope="scope">{{ formatMoney(scope.row.wheelGame) }}</template>
</el-table-column>
<el-table-column prop="olympusGame" label="玫瑰女郎" min-width="100" align="right" sortable="custom">
<template slot-scope="scope">{{ formatMoney(scope.row.olympusGame) }}</template>
</el-table-column>
<el-table-column prop="rollRoom" label="roll房" min-width="90" align="right" sortable="custom">
<template slot-scope="scope">{{ formatMoney(scope.row.rollRoom) }}</template>
</el-table-column>
<el-table-column prop="mahjongGame" label="麻将胡了" min-width="100" align="right" sortable="custom">
<template slot-scope="scope">{{ formatMoney(scope.row.mahjongGame) }}</template>
</el-table-column>
</el-table-column>
</el-table>
</div>
@@ -95,7 +95,7 @@ import { getUserTurnover } from '@/api/skins/userTurnover'
const sortLabels = {
totalRecharge: '充值', totalTurnover: '总流水',
classicBox: '经典开箱', fightGame: '对战', luckyUpgrade: '幸运升级',
wheelGame: '疯狂转盘', olympusGame: '玫瑰女郎', rollRoom: 'roll房',
wheelGame: '疯狂转盘', rollRoom: 'roll房', mahjongGame: '麻将胡了',
userId: '用户ID'
}