Commit 4a6b1841 by 李伟康

commit 提交

1 parent e9a04c15
...@@ -83,7 +83,7 @@ Component({ ...@@ -83,7 +83,7 @@ Component({
show: { show: {
type: Number, type: Number,
observer: function (n, o) { observer: function (n, o) {
if(n) this.onPageShow() if (n) this.onPageShow()
else this.onPageHide() else this.onPageHide()
}, },
}, },
...@@ -200,7 +200,7 @@ Component({ ...@@ -200,7 +200,7 @@ Component({
showEmployeeName: false, // 是否展示销售顾问字段 showEmployeeName: false, // 是否展示销售顾问字段
isShowDefeatBtn: true, // 是否展示录单按钮入口 isShowDefeatBtn: true, // 是否展示录单按钮入口
loaded: false, loaded: false,
track_event_code:'staff_reception_list', //埋点动作类型 track_event_code: 'staff_reception_list', //埋点动作类型
}, },
lifetimes: { lifetimes: {
...@@ -432,7 +432,9 @@ Component({ ...@@ -432,7 +432,9 @@ Component({
item item
} = e.currentTarget.dataset } = e.currentTarget.dataset
wx.$router.go('receptionDetail', item) wx.$router.go('receptionDetail', item)
wx.$track.setTrackData(0, 'reception_detail', item) wx.$track.setTrackData(0, 'reception_detail', {
batchId: item.batchId
})
}, },
onLoad() { onLoad() {
this.onPageShow() this.onPageShow()
......
...@@ -297,6 +297,9 @@ Page({ ...@@ -297,6 +297,9 @@ Page({
record record
} = e.currentTarget.dataset } = e.currentTarget.dataset
wx.$router.go('packageEquity.receptionDetail', record) wx.$router.go('packageEquity.receptionDetail', record)
wx.$track.setTrackData(0, 'reception_detail', {
batchId: record.batchId
})
}, },
back() { back() {
wx.$router.back() wx.$router.back()
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</scroll-view> </scroll-view>
</view> </view>
<block wx:for="{{item.receptionStaticInfoDTOList}}" wx:key="subIndex" wx:for-index="subIndex" wx:for-item="record"> <block wx:for="{{item.receptionStaticInfoDTOList}}" wx:key="subIndex" wx:for-index="subIndex" wx:for-item="record">
<view class="record-card" bind:tap="goto" data-record="{{record}}" data-track="{{record}}" data-event-code="reception_detail"> <view class="record-card" bind:tap="goto" data-record="{{record}}">
<view class="record-card-top"> <view class="record-card-top">
<text class="round-dot" style="font-size: {{subIndex + 1 > 99 ? 'var(--fontSize16)' : 'var(--fontSize20)'}};">{{subIndex + 1}}</text> <text class="round-dot" style="font-size: {{subIndex + 1 > 99 ? 'var(--fontSize16)' : 'var(--fontSize20)'}};">{{subIndex + 1}}</text>
<view class="card-line"></view> <view class="card-line"></view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!