bug
This commit is contained in:
@@ -53,6 +53,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ai-card title="每日收益明细">
|
<ai-card title="每日收益明细">
|
||||||
|
<template #right>
|
||||||
|
<ai-download
|
||||||
|
:instance="instance"
|
||||||
|
url="/api/wxmppublisheradposgeneral/export"
|
||||||
|
:params="params" fileName="便民通讯录"
|
||||||
|
:disabled="tableData.length == 0">
|
||||||
|
<el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button>
|
||||||
|
</ai-download>
|
||||||
|
</template>
|
||||||
<ai-table
|
<ai-table
|
||||||
:tableData="tableData"
|
:tableData="tableData"
|
||||||
:col-configs="colConfigs"
|
:col-configs="colConfigs"
|
||||||
@@ -97,12 +106,22 @@
|
|||||||
{ prop: 'exposureRate', label: '曝光率', align: 'center', format: v => (v * 100).toFixed(2) + '%' },
|
{ prop: 'exposureRate', label: '曝光率', align: 'center', format: v => (v * 100).toFixed(2) + '%' },
|
||||||
{ prop: 'clickCount', label: '点击量', align: 'center' },
|
{ prop: 'clickCount', label: '点击量', align: 'center' },
|
||||||
{ prop: 'clickRate', label: '点击率', align: 'center', format: v => (v * 100).toFixed(2) + '%' },
|
{ prop: 'clickRate', label: '点击率', align: 'center', format: v => (v * 100).toFixed(2) + '%' },
|
||||||
{ prop: 'ecpm', label: 'eCPM(元)', align: 'center', format: v => v.toFixed(2) },
|
{ prop: 'ecpm', label: 'eCPM(元)', align: 'center', format: v => (v / 100).toFixed(2) },
|
||||||
{ prop: 'income', label: '收入(元)', align: 'center', format: v => v.toFixed(2) }
|
{ prop: 'income', label: '收入(元)', align: 'center', format: v => (v / 100).toFixed(2) }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
computed: {
|
||||||
|
params () {
|
||||||
|
return {
|
||||||
|
...this.search,
|
||||||
|
startTime: this.search.type === '3' ? this.date[0] : '',
|
||||||
|
endTime: this.search.type === '3' ? this.date[1] : ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
created () {
|
created () {
|
||||||
this.getInfo()
|
this.getInfo()
|
||||||
this.getWechatList()
|
this.getWechatList()
|
||||||
|
|||||||
Reference in New Issue
Block a user