|
|
@ -113,12 +113,19 @@ const getBetRecord = async (page: number = 1) => { |
|
|
|
//下注区域 |
|
|
|
if (item.area != '') { |
|
|
|
//百人 |
|
|
|
if (item.game_id == 20001 || item.game_id == 20005 || item.game_id == 20008) { |
|
|
|
if (item.game_id == 20008) { |
|
|
|
const formattedArea = item.area.replace(/(\d+):/g, '"$1":') |
|
|
|
item.betArea = JSON.parse(formattedArea) |
|
|
|
} |
|
|
|
|
|
|
|
if (item.game_id == 10001 || item.game_id == 20010 || item.game_id == 20009 || item.game_id == 20006) { |
|
|
|
if ( |
|
|
|
item.game_id == 10001 || |
|
|
|
item.game_id == 20010 || |
|
|
|
item.game_id == 20009 || |
|
|
|
item.game_id == 20006 || |
|
|
|
item.game_id == 20001 || |
|
|
|
item.game_id == 20005 |
|
|
|
) { |
|
|
|
item.betArea = JSON.parse(item.area) |
|
|
|
} |
|
|
|
} |
|
|
@ -250,17 +257,23 @@ const showUserList = (item: string) => { |
|
|
|
<el-table-column align="center" prop="area" label="下注区域" width="500"> |
|
|
|
<template #default="item"> |
|
|
|
<span v-if="item.row.game_id == 20001"> |
|
|
|
<p v-for="(v, index) in item.row.betArea" class="area-font"> |
|
|
|
{{ `${optionsDragonTigerBetArea[index]}: ${v}` }} |
|
|
|
<p v-for="(v, index) in item.row.betArea" class="area-font" :key="index"> |
|
|
|
<span>区域:{{ optionsDragonTigerBetArea[v.area] }}, </span> |
|
|
|
<span>金额:{{ v.betAmount }}, </span> |
|
|
|
<span>赔率:{{ v.areaPro }}, </span> |
|
|
|
<span>结果:{{ v.isWin ? '赢' : '输' }}</span> |
|
|
|
</p> |
|
|
|
</span> |
|
|
|
<span v-if="item.row.game_id == 20005"> |
|
|
|
<p v-for="(v, index) in item.row.betArea" class="area-font"> |
|
|
|
{{ `${optionsABBetArea[index]}: ${v}` }} |
|
|
|
<p v-for="(v, index) in item.row.betArea" class="area-font" :key="index"> |
|
|
|
<span>区域:{{ optionsABBetArea[v.area] }}, </span> |
|
|
|
<span>金额:{{ v.betAmount }}, </span> |
|
|
|
<span>赔率:{{ v.areaPro }}, </span> |
|
|
|
<span>结果:{{ v.isWin ? '赢' : '输' }}</span> |
|
|
|
</p> |
|
|
|
</span> |
|
|
|
<span v-if="item.row.game_id == 20006"> |
|
|
|
<p v-for="(v, index) in item.row.betArea" class="area-font"> |
|
|
|
<p v-for="(v, index) in item.row.betArea" class="area-font" :key="index"> |
|
|
|
<span>区域:{{ options7Up7DownBetArea[v.area] }}, </span> |
|
|
|
<span>金额:{{ v.betAmount }}, </span> |
|
|
|
<span>赔率:{{ v.areaPro }}, </span> |
|
|
|