| @@ -1396,6 +1396,7 @@ export default { | |||||
| }) | }) | ||||
| .then(() => { | .then(() => { | ||||
| // on confirm | // on confirm | ||||
| houseInfoList.theGeom ="["+houseInfoList.theGeom+"]" | |||||
| houseAdd(houseInfoList).then((res) => { | houseAdd(houseInfoList).then((res) => { | ||||
| if (res.code == 200) { | if (res.code == 200) { | ||||
| this.landHomesteadEditVisbileFun("hide"); | this.landHomesteadEditVisbileFun("hide"); | ||||
| @@ -1507,6 +1508,7 @@ export default { | |||||
| }) | }) | ||||
| .then(() => { | .then(() => { | ||||
| // on confirm | // on confirm | ||||
| landInfoList.theGeom ="["+landInfoList.theGeom+"]" | |||||
| landAdd(landInfoList).then((res) => { | landAdd(landInfoList).then((res) => { | ||||
| if (res.code == 200) { | if (res.code == 200) { | ||||
| this.landHomesteadEditVisbileFun("hide"); | this.landHomesteadEditVisbileFun("hide"); | ||||
| @@ -3197,6 +3199,7 @@ export default { | |||||
| nfAddimgonRead(file) { | nfAddimgonRead(file) { | ||||
| var formData = new FormData(); //构造一个 FormData,把后台需要发送的参数添加 | var formData = new FormData(); //构造一个 FormData,把后台需要发送的参数添加 | ||||
| formData.append("file", file.file); //接口需要传的参数 | formData.append("file", file.file); //接口需要传的参数 | ||||
| console.log(formData); | |||||
| commonUpload(formData).then((res) => { | commonUpload(formData).then((res) => { | ||||
| this.houseInfoList.frontHouse = res.url; | this.houseInfoList.frontHouse = res.url; | ||||
| }); | }); | ||||