|
|
|
@ -19,9 +19,9 @@ |
|
|
|
{{ ageClassification }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="tag red" v-if="residentTagName"> |
|
|
|
<div :class="[residentTagName.length > 5 ? 'smallSize' : '', 'text']"> |
|
|
|
{{ residentTagName }} |
|
|
|
<div class="tag red" v-for="residentTag in residentTagArray" > |
|
|
|
<div :class="[residentTag.length > 5 ? 'smallSize' : '', 'text']"> |
|
|
|
{{ residentTag }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="tag light" v-if="monthIncomeLevel"> |
|
|
|
@ -97,7 +97,7 @@ export default { |
|
|
|
cultureName: "", |
|
|
|
gridName: "", |
|
|
|
monthIncomeLevel: "", |
|
|
|
residentTagName: "", |
|
|
|
residentTagArray:[], |
|
|
|
matchPeopleNum: 0, |
|
|
|
searchParams: "", |
|
|
|
loading: true, |
|
|
|
@ -118,7 +118,7 @@ export default { |
|
|
|
this.cultureName = ""; |
|
|
|
this.gridName = ""; |
|
|
|
this.monthIncomeLevel = ""; |
|
|
|
this.residentTagName = ""; |
|
|
|
this.residentTagArray = []; |
|
|
|
this.matchPeopleNum = 0; |
|
|
|
this.typeCondition = val; |
|
|
|
this.getData(); |
|
|
|
@ -161,7 +161,9 @@ export default { |
|
|
|
this.cultureName = data.cultureName; |
|
|
|
this.gridName = data.gridName; |
|
|
|
this.monthIncomeLevel = data.monthIncomeLevel; |
|
|
|
this.residentTagName = data.residentTagName; |
|
|
|
if(data.residentTagName){ |
|
|
|
this.residentTagArray = data.residentTagName.split(","); |
|
|
|
} |
|
|
|
this.matchPeopleNum = data.matchPeopleNum; |
|
|
|
this.loading = false; |
|
|
|
this.searchParams = JSON.stringify({ ...data, ...params }); |
|
|
|
|