1002884655 3 gadus atpakaļ
vecāks
revīzija
c2607e8463
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/pages/index/addedValueService/index.jsx

+ 1
- 1
src/pages/index/addedValueService/index.jsx Parādīt failu

@@ -48,7 +48,7 @@ export default function AddedValueService () {
48 48
     params.map((item) => {
49 49
       payload[item.key] = item.result || item.resultId
50 50
     })
51
-    fetch({ url: API_HELP_FIND_HOUSE_SUBMIT, method: 'post', payload }).then((res) => {
51
+    fetch({ url: API_HELP_FIND_HOUSE_SUBMIT, method: 'post', payload: { ...payload, questionnaire: JSON.stringify(params) } }).then((res) => {
52 52
       setResultList(res.taBuildingList || [])
53 53
       setShowPopup(true)
54 54
     })