|
@@ -94,7 +94,8 @@ export default {
|
|
|
if (a !== b && a) {
|
|
|
// 新未读消息
|
|
|
if (a.type == 'no_read_count') {
|
|
|
- this.resetSearchForm()
|
|
|
+ this.resetData()
|
|
|
+ this.handelSearch()
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -156,6 +157,10 @@ export default {
|
|
|
},
|
|
|
// 重置
|
|
|
resetSearchForm () {
|
|
|
+ this.resetData()
|
|
|
+ this.handelSearch(1)
|
|
|
+ },
|
|
|
+ resetData () {
|
|
|
this.$refs.rangeDate.resetDate()
|
|
|
this.queryParam.beginDate = ''
|
|
|
this.queryParam.endDate = ''
|
|
@@ -164,7 +169,6 @@ export default {
|
|
|
this.pageSize = 10
|
|
|
this.paginationProps.total = 0
|
|
|
this.paginationProps.current = 1
|
|
|
- this.handelSearch(1)
|
|
|
},
|
|
|
// 详情
|
|
|
handleDetail (row) {
|