|
@@ -297,6 +297,7 @@ export default class HouseList extends Component {
|
297
|
297
|
const consultantId = personType == ROLE_CODE['CONSULTANT'] ? userId : ""
|
298
|
298
|
const { salesBatchDetail: { shareContents } } = this.state
|
299
|
299
|
const shareData = shareContents && shareContents.length ? shareContents[0] : { shareContentTitle: '房源列表', shareContentImg: null };
|
|
300
|
+ const buildingId = this.$router.params.buildingId || this.state.buildingId || ''
|
300
|
301
|
// 分享埋点
|
301
|
302
|
shareSavePoint({
|
302
|
303
|
event: 'share',
|
|
@@ -305,6 +306,7 @@ export default class HouseList extends Component {
|
305
|
306
|
consultantId: consultantId,
|
306
|
307
|
sharePersonId: personId,
|
307
|
308
|
targetId: id,
|
|
309
|
+ buildingId: buildingId,
|
308
|
310
|
data: '{}'
|
309
|
311
|
}, 'houseApp')
|
310
|
312
|
|
|
@@ -328,11 +330,13 @@ export default class HouseList extends Component {
|
328
|
330
|
showShareMenu: false
|
329
|
331
|
})
|
330
|
332
|
const id = this.$router.params.id || this.state.id
|
|
333
|
+ const buildingId = this.$router.params.buildingId || this.state.buildingId || ''
|
331
|
334
|
shareSavePoint({
|
332
|
335
|
event: 'poster',
|
333
|
336
|
eventType: 'house',
|
334
|
337
|
propertyName: '生成房源列表海报',
|
335
|
338
|
targetId: id,
|
|
339
|
+ buildingId: buildingId,
|
336
|
340
|
data: '{}'
|
337
|
341
|
}, 'housePoster')
|
338
|
342
|
})
|
|
@@ -613,9 +617,10 @@ export default class HouseList extends Component {
|
613
|
617
|
noRecord,
|
614
|
618
|
loading,
|
615
|
619
|
salesBatchDetail,
|
|
620
|
+ buildingId,
|
616
|
621
|
dataType
|
617
|
622
|
} = this.state
|
618
|
|
- const buildingId = this.$router.params.buildingId || this.state.buildingId
|
|
623
|
+ const buildingIdProps = this.$router.params.buildingId || buildingId
|
619
|
624
|
|
620
|
625
|
if (loading) {
|
621
|
626
|
return <View style="margin: 80px auto;"><Loading color="#BB9C79" size={100} /></View>
|
|
@@ -632,7 +637,7 @@ export default class HouseList extends Component {
|
632
|
637
|
<Block>
|
633
|
638
|
{conditionVisible && this.renderCondition()}
|
634
|
639
|
{/* 授权电话与头像 */}
|
635
|
|
- <GrantProfile both person={person} buildingId={buildingId || ''} />
|
|
640
|
+ <GrantProfile both person={person} buildingId={buildingIdProps || ''} />
|
636
|
641
|
{/* 置业顾问悬框 */}
|
637
|
642
|
{
|
638
|
643
|
consultShow && <Consultant style="bottom:150rpx" smallStyle="bottom:178rpx" personId={person.personId} name={person.name || person.nickname} data={consultData}></Consultant>
|