Commit 22e69ddc by zhangquan

Merge branch 'v3.20.1' of http://192.168.3.233:8090/saas/scrm-micro-discover into v3.20.1

2 parents a34eaae1 74d4b9d4
...@@ -92,15 +92,20 @@ ...@@ -92,15 +92,20 @@
slot="isBuy" slot="isBuy"
slot-scope="scope" slot-scope="scope"
> >
<span :class="['table-circle', 'm-r-8', scope.scope.isBuy == 'Y' ? 'back-green' : 'back-grey']"></span> <template v-if="routeInfo.type == 1">
<span> <span :class="['table-circle', 'm-r-8', scope.scope.isBuy == 'Y' ? 'back-green' : 'back-grey']"></span>
{{ <span>
{ {{
Y: '已付款', {
N: '未付款' Y: '已付款',
}[scope.scope.isBuy] || '--' N: '未付款'
}} }[scope.scope.isBuy] || '--'
</span> }}
</span>
</template>
<template v-else>
<span>--</span>
</template>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -189,17 +194,26 @@ export default { ...@@ -189,17 +194,26 @@ export default {
const lastTableColumns = [ const lastTableColumns = [
{ {
label: '浏览时长', label: '浏览时长',
prop: 'browserTime' prop: 'browserTime',
formatter: cell => {
return this.routeInfo.type==1 ? (cell.browserTime || '--' ) : '--'
}
}, },
{ {
label: '进入页面时间', label: '进入页面时间',
prop: 'operationDate', prop: 'operationDate',
width: '180' width: '180',
formatter: cell => {
return this.routeInfo.type==1 ? (cell.operationDate || '--' ) : '--'
}
}, },
{ {
label: '离开页面时间', label: '离开页面时间',
prop: 'leaveDate', prop: 'leaveDate',
width: '180' width: '180',
formatter: cell => {
return this.routeInfo.type==1 ? (cell.leaveDate || '--' ) : '--'
},
}, },
{ {
label: '订单状态', label: '订单状态',
...@@ -255,7 +269,7 @@ export default { ...@@ -255,7 +269,7 @@ export default {
if (query.type == 3) if (query.type == 3)
this.tableParams.tableColumns.push({ this.tableParams.tableColumns.push({
label: '分享时间', label: '分享时间',
prop: 'sharedTime' prop: 'operationDate'
}) })
this.tableParams.tableColumns = [...this.tableParams.tableColumns, ...lastTableColumns] this.tableParams.tableColumns = [...this.tableParams.tableColumns, ...lastTableColumns]
} else } else
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!