|
|
@ -214,63 +214,29 @@ onMounted(async function () { |
|
|
|
<el-card> |
|
|
|
<div> |
|
|
|
<el-table :data="tableData" :height="tableHeight" style="width: 100%"> |
|
|
|
<el-table-column prop="" label="序号" width="130" /> |
|
|
|
<el-table-column prop="uname" label="姓名" width="130" /> |
|
|
|
<el-table-column prop="jwcode" label="精网号" width="170" /> |
|
|
|
<el-table-column prop="area" label="所属地区" width="170" /> |
|
|
|
<el-table-column prop="platform" label="平台信息" width="170" /> |
|
|
|
<el-table-column prop="gold" label="更新数量" width="160"> |
|
|
|
<template #default="scope"> |
|
|
|
<span>{{ |
|
|
|
Math.abs( |
|
|
|
scope.row.rechargeCoin + |
|
|
|
scope.row.freeCoin + |
|
|
|
scope.row.taskCoin |
|
|
|
) |
|
|
|
}}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="updateType" label="更新类型" width="150"> |
|
|
|
<!-- 模板内容 --> |
|
|
|
<template #default="scope"> |
|
|
|
<span v-if="scope.row.updateType == 1"> |
|
|
|
<span>消费</span> |
|
|
|
</span> |
|
|
|
<span v-if="scope.row.updateType == 0"> |
|
|
|
<span>充值</span> |
|
|
|
</span> |
|
|
|
<span v-if="scope.row.updateType == 2"> |
|
|
|
<span>退款</span> |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="freeCoin" label="免费金币" width="130"> |
|
|
|
<el-table-column prop="platform" label="总金币" width="130" /> |
|
|
|
<el-table-column prop="freeCoin" label="免费金币" width="110"> |
|
|
|
<template #default="scope"> |
|
|
|
<span>{{ Math.abs(scope.row.freeCoin) }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="rechargeCoin" label="充值金币" width="150"> |
|
|
|
<el-table-column prop="rechargeCoin" label="充值金币" width="110"> |
|
|
|
<template #default="scope"> |
|
|
|
<span>{{ Math.abs(scope.row.rechargeCoin) }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="taskCoin" label="任务金币" width="130"> |
|
|
|
<el-table-column prop="taskCoin" label="任务金币" width="110"> |
|
|
|
<template #default="scope"> |
|
|
|
<span>{{ Math.abs(scope.row.taskCoin) }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="name" label="提交人" width="150" /> |
|
|
|
<el-table-column |
|
|
|
prop="createTime" |
|
|
|
label="更新时间" |
|
|
|
width="210" |
|
|
|
show-overflow-tooltip |
|
|
|
> |
|
|
|
<template #default="scope"> |
|
|
|
<span>{{ |
|
|
|
moment(scope.row.createTime).format("YYYY-MM-DD HH:mm:ss") |
|
|
|
}}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="jwcode" label="历史充值" width="150" /> |
|
|
|
<el-table-column prop="jwcode" label="历史消费" width="150" /> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
|
|
|
|