|
@@ -89,7 +89,8 @@
|
|
|
|
|
|
|
|
<a-table row-key="id" :loading="loading" :pagination="pagination"
|
|
<a-table row-key="id" :loading="loading" :pagination="pagination"
|
|
|
:columns="(cloneColumns as TableColumnData[])" :scroll="scroll" :scrollbar="scrollbar"
|
|
:columns="(cloneColumns as TableColumnData[])" :scroll="scroll" :scrollbar="scrollbar"
|
|
|
- :data="renderData" :bordered="false" :size="size" :load-more="loadMore" @page-change="onPageChange">
|
|
|
|
|
|
|
+ :data="renderData" :bordered="{ headerCell: true }" :size="size" :load-more="loadMore"
|
|
|
|
|
+ @page-change="onPageChange">
|
|
|
<template #xAxis="{ record }">
|
|
<template #xAxis="{ record }">
|
|
|
<template v-if="record.accountName !== '' && !record.isLeaf">
|
|
<template v-if="record.accountName !== '' && !record.isLeaf">
|
|
|
{{ record.accountName }}
|
|
{{ record.accountName }}
|
|
@@ -120,6 +121,7 @@ import dayjs from 'dayjs';
|
|
|
import { computed, ref, reactive, watch, nextTick } from 'vue';
|
|
import { computed, ref, reactive, watch, nextTick } from 'vue';
|
|
|
import { useI18n } from 'vue-i18n';
|
|
import { useI18n } from 'vue-i18n';
|
|
|
import useLoading from '@/hooks/loading';
|
|
import useLoading from '@/hooks/loading';
|
|
|
|
|
+import { numberFormat, amountFormat } from '@/utils/util';
|
|
|
import {
|
|
import {
|
|
|
queryTkReport,
|
|
queryTkReport,
|
|
|
queryTkReportDailys,
|
|
queryTkReportDailys,
|
|
@@ -202,101 +204,170 @@ const columns = computed<TableColumnData[]>(() => [
|
|
|
fixed: 'left',
|
|
fixed: 'left',
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '点击人数',
|
|
|
|
|
- dataIndex: 'uclk_uv_56',
|
|
|
|
|
- width: 100,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '点击次数',
|
|
|
|
|
- dataIndex: 'uclk_pv_56',
|
|
|
|
|
- width: 100,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '点击次数(修正)',
|
|
|
|
|
- dataIndex: 'fix_uclk_pv_56',
|
|
|
|
|
- width: 130,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '付款笔数',
|
|
|
|
|
- dataIndex: 'pay_ord_num_56',
|
|
|
|
|
- width: 100,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '付款金额',
|
|
|
|
|
- dataIndex: 'pay_ord_amt_56',
|
|
|
|
|
- width: 120,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '付款预估收入',
|
|
|
|
|
- dataIndex: 'pay_tk_disp_tfee_56',
|
|
|
|
|
- width: 120,
|
|
|
|
|
|
|
+ title: '点击',
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '点击人数',
|
|
|
|
|
+ dataIndex: 'uclk_uv_56',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ align: 'right'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '点击次数',
|
|
|
|
|
+ dataIndex: 'uclk_pv_56',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ align: 'right'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '点击次数(修正)',
|
|
|
|
|
+ dataIndex: 'fix_uclk_pv_56',
|
|
|
|
|
+ width: 130,
|
|
|
|
|
+ align: 'right'
|
|
|
|
|
+ },
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '付款人数',
|
|
|
|
|
- dataIndex: 'pay_ord_uv_56',
|
|
|
|
|
- width: 100,
|
|
|
|
|
|
|
+ title: '付款',
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '付款笔数',
|
|
|
|
|
+ dataIndex: 'pay_ord_num_56',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '付款金额',
|
|
|
|
|
+ dataIndex: 'pay_ord_amt_56',
|
|
|
|
|
+ width: 150,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ render: (e: any) => amountFormat(e.record.sett_tk_disp_tfee_56)
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '付款预估收入',
|
|
|
|
|
+ dataIndex: 'pay_tk_disp_tfee_56',
|
|
|
|
|
+ width: 150,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ render: (e: any) => amountFormat(e.record.sett_tk_disp_tfee_56)
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '付款人数',
|
|
|
|
|
+ dataIndex: 'pay_ord_uv_56',
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ },
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '有效付款笔数',
|
|
|
|
|
- dataIndex: 'eff_ord_num',
|
|
|
|
|
- width: 150,
|
|
|
|
|
|
|
+ title: '有效付款',
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '有效付款笔数',
|
|
|
|
|
+ dataIndex: 'eff_ord_num',
|
|
|
|
|
+ width: 150,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '有效付款金额',
|
|
|
|
|
+ dataIndex: 'eff_ord_amt',
|
|
|
|
|
+ width: 150,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ render: (e: any) => amountFormat(e.record.sett_tk_disp_tfee_56)
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '有效付款预估收入',
|
|
|
|
|
+ dataIndex: 'eff_tk_disp_tfee',
|
|
|
|
|
+ width: 150,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ render: (e: any) => amountFormat(e.record.sett_tk_disp_tfee_56)
|
|
|
|
|
+ },
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '有效付款金额',
|
|
|
|
|
- dataIndex: 'eff_ord_amt',
|
|
|
|
|
- width: 150,
|
|
|
|
|
|
|
+ title: '结算',
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '结算笔数',
|
|
|
|
|
+ dataIndex: 'sett_ord_num_56',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '结算金额',
|
|
|
|
|
+ dataIndex: 'sett_ord_amt_56',
|
|
|
|
|
+ width: 150,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ render: (e: any) => amountFormat(e.record.sett_ord_amt_56)
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '结算预估收入',
|
|
|
|
|
+ dataIndex: 'sett_tk_disp_tfee_56',
|
|
|
|
|
+ width: 150,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ render: (e: any) => amountFormat(e.record.sett_tk_disp_tfee_56)
|
|
|
|
|
+ },
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '有效付款预估收入',
|
|
|
|
|
- dataIndex: 'eff_tk_disp_tfee',
|
|
|
|
|
- width: 150,
|
|
|
|
|
|
|
+ title: '所属订单结算金额',
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '结算金额',
|
|
|
|
|
+ width: 150,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ render: (e: any) => amountFormat(e.record.order_ord_amt)
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '结算收入',
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ align: 'right',
|
|
|
|
|
+ render: (e: any) => amountFormat(e.record.order_ord_tfee)
|
|
|
|
|
+ },
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '结算笔数',
|
|
|
|
|
- dataIndex: 'sett_ord_num_56',
|
|
|
|
|
- width: 100,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '结算金额',
|
|
|
|
|
- dataIndex: 'sett_ord_amt_56',
|
|
|
|
|
- width: 120,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '结算预估收入',
|
|
|
|
|
- dataIndex: 'sett_tk_disp_tfee_56',
|
|
|
|
|
- width: 150,
|
|
|
|
|
|
|
+ title: 'API调用',
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '调用总数',
|
|
|
|
|
+ dataIndex: 'total_count',
|
|
|
|
|
+ slotName: 'total_count',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ align: 'right'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '转链成功',
|
|
|
|
|
+ dataIndex: 'success_count',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ align: 'right'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '转链成功(%)',
|
|
|
|
|
+ dataIndex: 'success_percentage',
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ align: 'right'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '放弃转链',
|
|
|
|
|
+ dataIndex: 'abandon_count',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ align: 'right'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '放弃转链(%)',
|
|
|
|
|
+ dataIndex: 'abandon_percentage',
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ align: 'right'
|
|
|
|
|
+ },
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
title: '最后更新时间',
|
|
title: '最后更新时间',
|
|
|
dataIndex: 'last_time',
|
|
dataIndex: 'last_time',
|
|
|
width: 200,
|
|
width: 200,
|
|
|
|
|
+ align: 'center'
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- title: 'API调用',
|
|
|
|
|
- dataIndex: 'total_count',
|
|
|
|
|
- slotName: 'total_count',
|
|
|
|
|
- width: 100,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '转链成功',
|
|
|
|
|
- dataIndex: 'success_count',
|
|
|
|
|
- width: 100,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '转链成功(%)',
|
|
|
|
|
- dataIndex: 'success_percentage',
|
|
|
|
|
- width: 110,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '放弃转链',
|
|
|
|
|
- dataIndex: 'abandon_count',
|
|
|
|
|
- width: 100,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '放弃转链(%)',
|
|
|
|
|
- dataIndex: 'abandon_percentage',
|
|
|
|
|
- width: 110,
|
|
|
|
|
- },
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
title: '收藏人数',
|
|
title: '收藏人数',
|
|
|
dataIndex: 'uclt_uv_56',
|
|
dataIndex: 'uclt_uv_56',
|