|
@@ -68,7 +68,24 @@ export default class Index extends Component {
|
68
|
68
|
onShareAppMessage = () => {
|
69
|
69
|
const { pageInfo } = this.state
|
70
|
70
|
const currentPage = `/${this.currentPageAndParams().join('?')}`
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+ const { userInfo: { person: { personId, personType, userId } } } = this.props
|
|
74
|
+
|
|
75
|
+ const consultantId = personType == ROLE_CODE['CONSULTANT'] ? userId : ""
|
|
76
|
+ const { h5Id } = this.state
|
71
|
77
|
console.log(currentPage)
|
|
78
|
+ savePoint({
|
|
79
|
+ event: 'share',
|
|
80
|
+ eventType: 'h5',
|
|
81
|
+ propertyName: 'h5详情分享',
|
|
82
|
+ consultantId: consultantId,
|
|
83
|
+ sharePersonId: personId,
|
|
84
|
+ targetId: h5Id,
|
|
85
|
+ data: '{}'
|
|
86
|
+ }).then(res => {
|
|
87
|
+ console.info('h5详情分享')
|
|
88
|
+ })
|
72
|
89
|
return {
|
73
|
90
|
title: pageInfo.shareTitle,
|
74
|
91
|
path: currentPage,
|