|
|
|
|
426
|
return
|
426
|
return
|
427
|
}
|
427
|
}
|
428
|
|
428
|
|
|
|
429
|
+ this.setState({ grantPhoneVisible: false })
|
429
|
this.initPageData()
|
430
|
this.initPageData()
|
430
|
}
|
431
|
}
|
431
|
|
432
|
|
|
|
|
|
440
|
const isSelf = personId === id
|
441
|
const isSelf = personId === id
|
441
|
|
442
|
|
442
|
const isConsultant = personType === ROLE_CODE['CONSULTANT']
|
443
|
const isConsultant = personType === ROLE_CODE['CONSULTANT']
|
443
|
- const hadPhone = (phone || tel) ? true : false
|
|
|
|
|
444
|
+ const hadPhone = (phone || tel) ? true : false // nb
|
444
|
const visibleChatBtn = !isConsultant && !isSelf
|
445
|
const visibleChatBtn = !isConsultant && !isSelf
|
445
|
// const visibleConfirmModal = modalStatus && !isReport && !isSelf && (personType === ROLE_CODE['DRIFT'] || personType === ROLE_CODE['CUSTOMER'])
|
446
|
// const visibleConfirmModal = modalStatus && !isReport && !isSelf && (personType === ROLE_CODE['DRIFT'] || personType === ROLE_CODE['CUSTOMER'])
|
446
|
const visibleConfirmModal = modalStatus && !isReport && !isSelf
|
447
|
const visibleConfirmModal = modalStatus && !isReport && !isSelf
|
|
|
448
|
+
|
447
|
return (
|
449
|
return (
|
448
|
<Block>
|
450
|
<Block>
|
449
|
{/* 生成海报 */}
|
451
|
{/* 生成海报 */}
|
|
|
|
|
453
|
<AchievePhone user={userInfo.person} onSuccess={this.handleAuthPhoneSuccess}></AchievePhone>
|
455
|
<AchievePhone user={userInfo.person} onSuccess={this.handleAuthPhoneSuccess}></AchievePhone>
|
454
|
}
|
456
|
}
|
455
|
{
|
457
|
{
|
456
|
- visibleConfirmModal && (
|
|
|
|
|
458
|
+ !grantPhoneVisible && visibleConfirmModal && (
|
457
|
<View className="modal">
|
459
|
<View className="modal">
|
458
|
<View className="modal-mask" onClick={this.hideModal}></View>
|
460
|
<View className="modal-mask" onClick={this.hideModal}></View>
|
459
|
<View className="modal-body">
|
461
|
<View className="modal-body">
|