|
|
@@ -126,27 +126,55 @@ export default {
|
|
|
mounted() {
|
|
|
},
|
|
|
methods: {
|
|
|
- setOrderMoney() {
|
|
|
-
|
|
|
+ setLocation(res){
|
|
|
+ console.log("收到监听",res)
|
|
|
+ this.propertyData.address=res.address
|
|
|
+ this.propertyData.lat=res.lat
|
|
|
+ this.propertyData.lng=res.lng
|
|
|
+ this.propertyData.complexName=res.complexName
|
|
|
+ this.districtOption.forEach(item=>{
|
|
|
+ if(res.districtName===item.name){
|
|
|
+ this.propertyData.district=item.id
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getValuationOption(){
|
|
|
+ if(this.propertyData.houseType===""){
|
|
|
+ this.propertyData.houseType=0
|
|
|
+ }
|
|
|
+ getValuationOption({"modelType":this.propertyData.modelType}).then(res=>{
|
|
|
+ if(res.code===0){
|
|
|
+ if(this.propertyData.modelType===1){
|
|
|
+ this.houseTypeOption=res.data.houseTypeOption
|
|
|
+ }else if(this.propertyData.modelType===3){
|
|
|
+ this.levelOption=res.data.levelOption
|
|
|
+ this.transferMethodOption=res.data.transferMethodOption
|
|
|
+ this.landUseOption=res.data.landUseOption
|
|
|
+ this.landSourceOption=res.data.landSourceOption
|
|
|
+ this.propertyData.land_source=this.landSourceOption[0].id
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
- goToMoney() {
|
|
|
- // uni.navigateTo({
|
|
|
- // url: '/page_subpack/recharge/index'
|
|
|
- // });
|
|
|
+ predictProperty(){
|
|
|
+ console.log('aaaaaaaaaaaaaaaaaaa')
|
|
|
+ predictProperty(this.propertyData).then(res=>{
|
|
|
+ if(res.code===0){
|
|
|
+ this.propertyRes=res.data
|
|
|
+ }else {
|
|
|
+ tools.error(res.msg)
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
async getMessage() {
|
|
|
|
|
|
},
|
|
|
|
|
|
- setConsent() {
|
|
|
|
|
|
- },
|
|
|
getMemberInfo() {
|
|
|
|
|
|
},
|
|
|
- getModelOption() {
|
|
|
|
|
|
- },
|
|
|
getVerifiedCode() {
|
|
|
|
|
|
},
|