| | |
| | | code: this.currentId,
|
| | | roleName: uni.getStorageSync('activeRole').roleName,
|
| | | name: this.addressType == 1 ? "" : this.neiCode,
|
| | | buildingName:this.addressType == 3 ?this.buildingName: "",
|
| | | buildingName:this.addressType == 4 ?this.buildingName: "",
|
| | | addressType: this.addressType
|
| | | }
|
| | | const res = await getHouseList(param)
|
| | |
| | | lng: ''
|
| | | },
|
| | | marker: [],
|
| | | addressType:2
|
| | | addressType:2,
|
| | | placeId:""
|
| | | }
|
| | | },
|
| | | onLoad(option) {
|
| | | this.stdId = option.stdId
|
| | | this.addressType = option.addressType
|
| | | if(this.addressType ==4){
|
| | | this.placeId = this.stdId
|
| | | }
|
| | | this.getBuildingDetail()
|
| | | },
|
| | | methods: {
|
| | |
| | | code,
|
| | | data
|
| | | } = await getPlaceDetail({
|
| | | houseCode: this.stdId,
|
| | | addressType: this.addressType
|
| | | houseCode: this.addressType==4?"":this.stdId,
|
| | | addressType: this.addressType,
|
| | | id: this.placeId
|
| | | })
|
| | | if (code !== 200) {
|
| | | uni.showToast({
|
| | |
| | | return
|
| | | }
|
| | | // addressType == 3 街路巷
|
| | | if (addressType == 1 || addressType == 3) {
|
| | | if (addressType == 1 || addressType == 3 || addressType == 4) {
|
| | | if (id !== void 0) {
|
| | | let url = `/subPackage/house/family/index?id=${id}&housingName=${this.curHouseTitle}
|
| | | &buildingName=${title}&addressType=${addressType}&neiCode=${this.currentId}`
|