Commit b7e47374 by 前端

fixed

1 parent 5dc4cd77
......@@ -13,7 +13,7 @@
<template v-if="browseObj.type != 2">
浏览
</template>
<span>{{ browseCount || 0 }}</span>
<span>{{ total || 0 }}</span>
{{ browseObj.desc ? browseObj.desc : browseObj.type == 2 ? '位访客' : '次' }}
</div>
<el-button :size="size" class="default-blue-btn" type="default" @click="handleExport">导出</el-button>
......@@ -61,6 +61,7 @@ export default {
name: 'browseList',
data() {
return {
total: 0,
size: 'small',
url: url,
footerLeft: '0',
......@@ -197,11 +198,13 @@ export default {
},
{
label: '最后浏览时间',
prop: 'lastBrowseDate'
prop: 'lastBrowseDate',
width: '195px'
}
]
break
case 3:
this.tableParams.tableColumns[1].prop = 'customerPhone'
lastTableColumns = [
{
label: '用户名',
......@@ -213,11 +216,13 @@ export default {
},
{
label: '浏览次数',
prop: 'browseCount'
prop: 'browseCount',
width: '100px'
},
{
label: '最后浏览时间',
prop: 'lastBrowseDate'
prop: 'lastBrowseDate',
width: '195px'
}
]
break
......@@ -236,9 +241,6 @@ export default {
if (this.browseObj.timeType) {
this.searchForm.recordDateStr = dayjs(this.statDate).format('YYYY-MM-DD')
}
if (this.browseObj.type == 3) {
this.searchForm.statDimensionDate = dayjs(this.statDate).format('YYYY-MM-DD')
}
this.searchForm.customerWeChatName = this.searchForm.customerName
this.searchForm.customerPhone = this.searchForm.mobile
resolve()
......@@ -263,6 +265,7 @@ export default {
setTableFinishFun() {
//接收到的数据为空
this.$refs.browserRef.data.length ? (this.$refs.browserRef.tableHeightValues = '') : this.$refs.browserRef.setTableHeightFun()
this.total = this.$refs.browserRef.total
},
handleSearch() {
this.$refs.browserRef.refreshTable()
......
......@@ -63,7 +63,7 @@ const dataList = [
{ name: '新增浏览量', type: 1, timeType: 1, key: 'browseCount', tips: '统计时间内,新增页面被浏览的次数(一人多次访问计为多次)', half: 'browseRingRatio' },
{ name: '新增访客数', type: 2, timeType: 1, key: 'fansCount', tips: '统计时间内访问页面的人数(一人多次访问计为一次)', half: 'fansRingRatio' },
{ name: '新增订单数', type: 1, timeType: 1, key: 'orderCount', tips: '统计时间内,新增订单数(只记录已付款的订单)', half: 'orderRingRatio' },
{ name: '意向客户数', type: 3, timeType: 1, desc: '位意向客户', key: 'totalPurposeCustomerCount', tips: '意向客户数(只记录提交意向的客户)' },
{ name: '意向客户数', type: 3, desc: '位意向客户', key: 'totalPurposeCustomerCount', tips: '意向客户数(只记录提交意向的客户)' },
{ name: '累计浏览量', type: 1, key: 'totalBrowseCount', tips: '页面被浏览的总次数(一人多次访问计为多次)' },
{ name: '累计访客数', type: 2, key: 'totalFansCount', tips: '访问页面的总人数(一人多次访问计为一次)' },
{ name: '累计订单数', type: 2, key: 'totalOrderCount', tips: '累计订单总数(只记录已付款的订单)' }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!