|
|
|
@ -447,10 +447,8 @@ export default { |
|
|
|
categoryKey: "resi_info", |
|
|
|
}, |
|
|
|
}); |
|
|
|
// this.handleSearchFrom(); |
|
|
|
}, |
|
|
|
activated() { |
|
|
|
// this.handleSearchFrom(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
mouseOverNode(event) { |
|
|
|
@ -1229,14 +1227,16 @@ export default { |
|
|
|
handler: function (newVal, oldVal) { |
|
|
|
if((newVal.name == "base-resi" || oldVal.name === 'home') && newVal.query.type){ |
|
|
|
this.$nextTick(()=>{ |
|
|
|
this.$refs.myResiSearch.form.updateCategory = newVal.query.category; |
|
|
|
this.$refs.myResiSearch.form.updateCategor = newVal.query.category; |
|
|
|
this.handleSearchFrom(); |
|
|
|
}) |
|
|
|
return |
|
|
|
}else{ |
|
|
|
this.$refs.myResiSearch.form.updateCategory =''; |
|
|
|
this.$nextTick(()=>{ |
|
|
|
this.$refs.myResiSearch.form.updateCategory =''; |
|
|
|
}) |
|
|
|
} |
|
|
|
if (newVal.name == "base-resi" && (oldVal.name === 'home'||oldVal.name === 'base-classification'||oldVal.name === 'home-notice')) { |
|
|
|
if (newVal.name == "base-resi" && (!oldVal ||oldVal.name === 'home'||oldVal.name === 'base-classification'||oldVal.name === 'home-notice')) { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs.myResiSearch.form.attentionCrowds = []; |
|
|
|
this.$refs.myResiSearch.form.healthStatus = []; |
|
|
|
|