|
@@ -88,7 +88,6 @@
|
|
|
|
|
|
<el-table :data="tableData" stripe style="width: 100%">
|
|
|
<el-table-column prop="sdate" label="日期" />
|
|
|
- <el-table-column prop="requestCount" label="请求数" />
|
|
|
<el-table-column prop="exposureCount" label="曝光数" />
|
|
|
<el-table-column prop="clickCount" label="点击数" />
|
|
|
<el-table-column prop="uvCount" label="用户数" />
|
|
@@ -199,9 +198,9 @@ const onSubmit = (isExport = false) => {
|
|
|
return
|
|
|
}
|
|
|
// 生成数据
|
|
|
- let strcsv = 'data:text/csv;charset=utf-8,\uFEFF日期,请求数,曝光数,点击数,用户数\r\n'
|
|
|
+ let strcsv = 'data:text/csv;charset=utf-8,\uFEFF日期,曝光数,点击数,用户数\r\n'
|
|
|
;(data.records || []).map((v: IReportItem) => {
|
|
|
- strcsv += `${v.sdate},${v.requestCount},${v.exposureCount},${v.clickCount},${v.uvCount},\r\n`
|
|
|
+ strcsv += `${v.sdate},${v.exposureCount},${v.clickCount},${v.uvCount},\r\n`
|
|
|
})
|
|
|
// 导出
|
|
|
let link: HTMLAnchorElement | undefined = document.createElement('a')
|