|
|
@ -110,6 +110,20 @@ export default { |
|
|
|
this.getData(); |
|
|
|
} |
|
|
|
}, |
|
|
|
typeCondition(val) { |
|
|
|
if (val) { |
|
|
|
this.gender = ""; |
|
|
|
this.marriageName = ""; |
|
|
|
this.ageClassification = ""; |
|
|
|
this.cultureName = ""; |
|
|
|
this.gridName = ""; |
|
|
|
this.monthIncomeLevel = ""; |
|
|
|
this.residentTagName = ""; |
|
|
|
this.matchPeopleNum = 0; |
|
|
|
this.typeCondition = val; |
|
|
|
this.getData(); |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.getDisKey(); |
|
|
@ -129,7 +143,6 @@ export default { |
|
|
|
this.$http.post("/sys/dict/data/dictlist", { dictType: "satisfaction_category" }).then(({ data: { data } }) => { |
|
|
|
this.typeCondition = data[0].value; |
|
|
|
this.typeConditionList = data; |
|
|
|
this.getData(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
getData() { |
|
|
@ -141,6 +154,7 @@ export default { |
|
|
|
category: this.resultType == "provinceAndSelf" ? this.typeCondition : null, |
|
|
|
}; |
|
|
|
this.$http.get("/governance/satisfactionOverview/satisfactionCrowdPortrait?" + this.$paramsFormat(params)).then(({ data: { data } }) => { |
|
|
|
console.log(data); |
|
|
|
this.gender = data.gender; |
|
|
|
this.marriageName = data.marriageName; |
|
|
|
this.ageClassification = data.ageClassification; |
|
|
|