|
@@ -44,7 +44,11 @@ export default function AddedValueService () {
|
44
|
44
|
}
|
45
|
45
|
})
|
46
|
46
|
params.push({question: '创建人小程序人员', result: user?.userInfo?.person?.personId, key: 'personId' })
|
47
|
|
- fetch({ url: API_HELP_FIND_HOUSE_SUBMIT, method: 'post', payload: params }).then((res) => {
|
|
47
|
+ let payload = {}
|
|
48
|
+ params.map((item) => {
|
|
49
|
+ payload[item.key] = item.result || item.resultId
|
|
50
|
+ })
|
|
51
|
+ fetch({ url: API_HELP_FIND_HOUSE_SUBMIT, method: 'post', payload }).then((res) => {
|
48
|
52
|
setResultList(res.taBuildingList || [])
|
49
|
53
|
setShowPopup(true)
|
50
|
54
|
})
|