|
|
|
@ -108,19 +108,6 @@ const scrollTableTop = () => { |
|
|
|
tableRef.value?.setScrollTop?.(0) |
|
|
|
} |
|
|
|
|
|
|
|
// 新增金币总数变量 |
|
|
|
const statisticsData = ref({ |
|
|
|
hkGold: 0, |
|
|
|
sgHcGold: 0, |
|
|
|
myGold: 0, |
|
|
|
sgGold: 0, |
|
|
|
caGold: 0, |
|
|
|
thHsGold: 0, |
|
|
|
thHaGold: 0, |
|
|
|
vnGold: 0, |
|
|
|
bjGold: 0 |
|
|
|
}) |
|
|
|
|
|
|
|
//客户消费记录 |
|
|
|
const userInfo = ref({}) |
|
|
|
|
|
|
|
@ -546,17 +533,6 @@ const format3 = (num) => { |
|
|
|
<!-- </div> --> |
|
|
|
</el-card> |
|
|
|
<el-card class="card2"> |
|
|
|
<div class="goldStatistics"> |
|
|
|
香港:{{ format3(statisticsData.hkGold || 0) }} |
|
|
|
新加坡HC:{{ format3(statisticsData.sgHcGold || 0) }} |
|
|
|
马来西亚:{{ format3(statisticsData.myGold || 0) }} |
|
|
|
新加坡:{{ format3(statisticsData.sgGold || 0) }} |
|
|
|
加拿大:{{ format3(statisticsData.caGold || 0) }} |
|
|
|
泰国HS:{{ format3(statisticsData.thHsGold || 0) }} |
|
|
|
泰国HA:{{ format3(statisticsData.thHaGold || 0) }} |
|
|
|
越南:{{ format3(statisticsData.vnGold || 0) }} |
|
|
|
北京:{{ format3(statisticsData.bjGold || 0) }} |
|
|
|
</div> |
|
|
|
<!-- 设置表格容器的高度和滚动样式 --> |
|
|
|
<div style="flex: 1; overflow-y: auto"> |
|
|
|
<el-table ref="tableRef" :data="tableData" @cellClick="cellClick" |
|
|
|
@ -616,53 +592,6 @@ const format3 = (num) => { |
|
|
|
<span>{{ (scope.row.bjGold || 0) }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<!-- <el-table-column prop="rcoin" label="历史金币总额" width="150"> |
|
|
|
<template #default="scope"> |
|
|
|
<el-popover trigger="hover" placement="left" width="150"> |
|
|
|
<template #default> |
|
|
|
<div> |
|
|
|
<div>永久金币:{{ (scope.row.sumPermanentGold || 0) }}</div> |
|
|
|
<div>免费金币:{{ ((scope.row.sumFreeJune || 0) + (scope.row.sumFreeDecember || 0)) }}</div> |
|
|
|
<div>任务金币:{{ (scope.row.sumTaskGold || 0) }}</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<template #reference> |
|
|
|
<span> |
|
|
|
{{ |
|
|
|
(scope.row.sumPermanentGold || 0) + |
|
|
|
(scope.row.sumFreeJune || 0) + |
|
|
|
(scope.row.sumFreeDecember || 0) + |
|
|
|
(scope.row.sumTaskGold || 0) |
|
|
|
}}</span> |
|
|
|
</template> |
|
|
|
</el-popover> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="sumConsume" label="历史消费" width="150"> |
|
|
|
<template #default="scope"> |
|
|
|
<el-popover trigger="hover" placement="left" width="150"> |
|
|
|
<template #default> |
|
|
|
<div> |
|
|
|
<div>永久金币:{{ (scope.row.sumConsumeGold || 0) }}</div> |
|
|
|
<div>免费金币:{{ |
|
|
|
((scope.row.sumConsumeJune || 0) + (scope.row.sumConsumeDecember || 0)) |
|
|
|
}} |
|
|
|
</div> |
|
|
|
<div>任务金币:{{ (scope.row.sumConsumeJune || 0) }}</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<template #reference> |
|
|
|
<span> |
|
|
|
{{ |
|
|
|
(scope.row.sumConsumeGold || 0) + |
|
|
|
(scope.row.sumConsumeTaskGold || 0) + |
|
|
|
(scope.row.sumConsumeJune || 0) + |
|
|
|
(scope.row.sumConsumeDecember || 0) |
|
|
|
}}</span> |
|
|
|
</template> |
|
|
|
</el-popover> |
|
|
|
</template> |
|
|
|
</el-table-column>--> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<!-- 分页 --> |
|
|
|
@ -794,19 +723,6 @@ const format3 = (num) => { |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 新币总数等等 |
|
|
|
.goldStatistics { |
|
|
|
margin-left: 1vw; |
|
|
|
margin-bottom: 1vh; |
|
|
|
color: #000000; |
|
|
|
font-family: "PingFang SC"; |
|
|
|
font-size: 16px; |
|
|
|
font-style: normal; |
|
|
|
font-weight: 700; |
|
|
|
line-height: 20px; |
|
|
|
} |
|
|
|
|
|
|
|
// 表头背景等 |
|
|
|
:deep(.el-table__header-wrapper), |
|
|
|
:deep(.el-table__body-wrapper), |
|
|
|
|