|
|
@ -337,12 +337,12 @@ export default { |
|
|
|
getAllAgencyStreet({}).then(res => { |
|
|
|
this.streetOptions = res |
|
|
|
? res.map(item => { |
|
|
|
return { |
|
|
|
label: item.organizationName, |
|
|
|
value: item.id, |
|
|
|
customerId: item.customerId |
|
|
|
} |
|
|
|
}) |
|
|
|
return { |
|
|
|
label: item.organizationName, |
|
|
|
value: item.id, |
|
|
|
customerId: item.customerId |
|
|
|
} |
|
|
|
}) |
|
|
|
: [] |
|
|
|
this.communityOptions = [] |
|
|
|
console.log(this.city) |
|
|
@ -365,11 +365,11 @@ export default { |
|
|
|
}).then(res => { |
|
|
|
this.communityOptions = res |
|
|
|
? res.map(item => { |
|
|
|
return { |
|
|
|
label: item.organizationName, |
|
|
|
value: item.id |
|
|
|
} |
|
|
|
}) |
|
|
|
return { |
|
|
|
label: item.organizationName, |
|
|
|
value: item.id |
|
|
|
} |
|
|
|
}) |
|
|
|
: [] |
|
|
|
// this.quarterOptions = [] |
|
|
|
}) |
|
|
@ -381,12 +381,12 @@ export default { |
|
|
|
}).then(res => { |
|
|
|
this.quarterOptions = res |
|
|
|
? res.map(item => { |
|
|
|
return { |
|
|
|
label: item.label, |
|
|
|
value: item.value, |
|
|
|
gridId: item.pid |
|
|
|
} |
|
|
|
}) |
|
|
|
return { |
|
|
|
label: item.label, |
|
|
|
value: item.value, |
|
|
|
gridId: item.pid |
|
|
|
} |
|
|
|
}) |
|
|
|
: [] |
|
|
|
// this.buildingOptions = [] |
|
|
|
}) |
|
|
@ -398,11 +398,11 @@ export default { |
|
|
|
}).then(res => { |
|
|
|
this.buildingOptions = res |
|
|
|
? res.map(item => { |
|
|
|
return { |
|
|
|
label: item.label, |
|
|
|
value: item.value |
|
|
|
} |
|
|
|
}) |
|
|
|
return { |
|
|
|
label: item.label, |
|
|
|
value: item.value |
|
|
|
} |
|
|
|
}) |
|
|
|
: [] |
|
|
|
// this.unitOptions = [] |
|
|
|
}) |
|
|
@ -414,11 +414,11 @@ export default { |
|
|
|
}).then(res => { |
|
|
|
this.unitOptions = res |
|
|
|
? res.map(item => { |
|
|
|
return { |
|
|
|
label: item.label, |
|
|
|
value: item.value |
|
|
|
} |
|
|
|
}) |
|
|
|
return { |
|
|
|
label: item.label, |
|
|
|
value: item.value |
|
|
|
} |
|
|
|
}) |
|
|
|
: [] |
|
|
|
// this.houseOptions = [] |
|
|
|
}) |
|
|
@ -430,11 +430,11 @@ export default { |
|
|
|
}).then(res => { |
|
|
|
this.houseOptions = res |
|
|
|
? res.map(item => { |
|
|
|
return { |
|
|
|
label: item.label, |
|
|
|
value: item.value |
|
|
|
} |
|
|
|
}) |
|
|
|
return { |
|
|
|
label: item.label, |
|
|
|
value: item.value |
|
|
|
} |
|
|
|
}) |
|
|
|
: [] |
|
|
|
}) |
|
|
|
} |
|
|
|