|
@@ -61,6 +61,13 @@ export default withLayout((props) => {
|
61
|
61
|
} else {
|
62
|
62
|
params = { ...FormData, sex: SexId, intention: BuildingId, realtyConsultant: CardId }
|
63
|
63
|
}
|
|
64
|
+ if(type === 'estateAgent') {
|
|
65
|
+ params.channelCustomerId = PersonId
|
|
66
|
+ params.channelId = user.userInfo.person.channelId
|
|
67
|
+ params.buildingId = BuildingId
|
|
68
|
+ params.orgId = `${user.userInfo.person.orgId}`
|
|
69
|
+ params.personId = PersonId
|
|
70
|
+ }
|
64
|
71
|
fetch({ url, method: 'post', payload: params }).then(() => {
|
65
|
72
|
Taro.showToast({ title: '添加成功', icon: 'none', duration: 2000 })
|
66
|
73
|
setTimeout(() => {
|