|
|
@@ -32,8 +32,8 @@
|
|
|
<el-table-column prop="totalVideo" label="视频播放总数" width="110" />
|
|
|
<el-table-column prop="totalIncome" label="用户贡献(当日/总共)" sortable width="200">
|
|
|
<template #default="scope">
|
|
|
- {{ scope.row.todayIncome === 0 ? '0.00' : scope.row.todayIncome ?? '0.00'}} /
|
|
|
- {{ scope.row.totalIncome === 0 ? '0.00' : scope.row.totalIncome ?? '0.00' }}
|
|
|
+ {{ roundPrice(scope.row.todayIncome === 0 ? '0.00' : scope.row.todayIncome ?? '0.00')}} /
|
|
|
+ {{ roundPrice(scope.row.totalIncome === 0 ? '0.00' : scope.row.totalIncome ?? '0.00') }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="communicationOperator" label="通信运营商" width="100" />
|
|
|
@@ -113,7 +113,11 @@
|
|
|
<el-table-column prop="adSourceId" label="广告源ID" width="100" />
|
|
|
<el-table-column prop="beginTime" label="开始时间" />
|
|
|
<el-table-column prop="finishTime" label="完成时间" />
|
|
|
- <el-table-column prop="ecpm" label="ECPM" width="100" />
|
|
|
+ <el-table-column prop="ecpm" label="ECPM" width="100" >
|
|
|
+ <template #default="scope">
|
|
|
+ {{ roundPrice(scope.row.ecpm) || 0.00 }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="adSourceType" label="广告源类型" width="160">
|
|
|
<template #default="scope">
|
|
|
{{ getDictionaryName('ad_source_type',scope.row.adSourceType) }}
|
|
|
@@ -126,7 +130,11 @@
|
|
|
<el-table-column prop="nickName" label="用户昵称" width="100" />
|
|
|
<el-table-column prop="placementId" label="广告位ID" width="100" />
|
|
|
<el-table-column prop="recordId" label="广告记录ID" width="100" />
|
|
|
- <el-table-column prop="revenue" label="收益" width="100" />
|
|
|
+ <el-table-column prop="revenue" label="收益" width="100">
|
|
|
+ <template #default="scope">
|
|
|
+ {{ roundPrice(scope.row.revenue) || 0.00 }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</Table>
|
|
|
<template #bottom>
|
|
|
<div style="position: absolute;bottom: 0px;right: 10px;">
|
|
|
@@ -145,7 +153,7 @@
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
import { getUserList, riskBannedUser, riskLockUser, appUserEcpm } from '@/api/userModule.js'
|
|
|
import { riskChangeUserStatus } from '@/api/riskModule.js'
|
|
|
- import { convertUTCToBeijing } from '@/utils/index.js'
|
|
|
+ import { convertUTCToBeijing, roundPrice } from '@/utils/index.js'
|
|
|
import { useGetDictList } from '@/hooks/useGetDictList.js'
|
|
|
import { useStore } from 'vuex'
|
|
|
|