zlisen il y a 3 ans
Parent
révision
eaa03099b6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/pages/mine/addCustomer/index.jsx

+ 1
- 1
src/pages/mine/addCustomer/index.jsx Voir le fichier

59
       if (type === 'consultant') {
59
       if (type === 'consultant') {
60
         params = { name: FormData.name, phone: FormData.phone, sex: SexId }
60
         params = { name: FormData.name, phone: FormData.phone, sex: SexId }
61
       } else {
61
       } else {
62
-        params = { ...FormData, sex: SexId, intention: BuildingId, realtyConsultant: CardId }
62
+        params = { ...FormData, sex: SexId, buildingId: BuildingId, realtyConsultant: CardId }
63
       }
63
       }
64
       if (type === 'estateAgent') {
64
       if (type === 'estateAgent') {
65
         params.channelCustomerId = PersonId
65
         params.channelCustomerId = PersonId