|
@@ -66,7 +66,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
changeEmit(val) {
|
|
changeEmit(val) {
|
|
- //console.log(val)
|
|
|
|
|
|
+ console.log(val)
|
|
if (val.floors && val.floors != '全部') {
|
|
if (val.floors && val.floors != '全部') {
|
|
this.floors = val.floors
|
|
this.floors = val.floors
|
|
}
|
|
}
|
|
@@ -75,6 +75,8 @@ export default {
|
|
}
|
|
}
|
|
if (val.dateVal) {
|
|
if (val.dateVal) {
|
|
this.dateVal = val.dateVal
|
|
this.dateVal = val.dateVal
|
|
|
|
+ } else {
|
|
|
|
+ this.dateVal = []
|
|
}
|
|
}
|
|
this.queryChange()
|
|
this.queryChange()
|
|
},
|
|
},
|
|
@@ -91,9 +93,9 @@ export default {
|
|
if (this.searVal) {
|
|
if (this.searVal) {
|
|
getParams.keyword = `${this.searVal}:region`
|
|
getParams.keyword = `${this.searVal}:region`
|
|
}
|
|
}
|
|
- if (this.dateVal) {
|
|
|
|
- getParams.changedateStartDate = this.dateVal[0] + '000000'
|
|
|
|
- getParams.changedateEndDate = this.dateVal[1] + '000000'
|
|
|
|
|
|
+ if (this.dateVal.length > 0) {
|
|
|
|
+ getParams.recordtimeStartDate = this.dateVal[0] + '000000'
|
|
|
|
+ getParams.recordtimeEndDate = this.dateVal[1] + '000000'
|
|
}
|
|
}
|
|
queryfzyfchange({ getParams }).then(res => {
|
|
queryfzyfchange({ getParams }).then(res => {
|
|
if (res.result == 'success') {
|
|
if (res.result == 'success') {
|