diff --git a/README.md b/README.md index 88ec2c6..1dca1a7 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ 15554200534 12345678 -18900000002 + + 12345678 17637262085 Makui240345 diff --git a/pages/statistics/modules/HotlineRates/HotlineRates.js b/pages/statistics/modules/HotlineRates/HotlineRates.js index cf1843c..8b858ab 100644 --- a/pages/statistics/modules/HotlineRates/HotlineRates.js +++ b/pages/statistics/modules/HotlineRates/HotlineRates.js @@ -89,6 +89,7 @@ Component({ day: '', day2: '', showitem: 3, + orderColumn:"replyCount" }, ready() { const { currentDay, lastMonthDay } = formatCurrentAndLastMonthDay(); @@ -102,6 +103,9 @@ Component({ }, methods: { toSort(value){ + this.setData({ + orderColumn:"" + }) wx.showToast({ title: '正在计算排序', icon: 'loading', @@ -164,6 +168,9 @@ Component({ }) }, onSearch(){ + this.setData({ + orderColumn:"" + }) if(this.data.day>this.data.day2){ wx.showToast({ title: '起止日期错误', @@ -186,6 +193,7 @@ Component({ } }, getList() { + if (this.data.curVal == '1') { this.getEventList(false) } else { @@ -199,6 +207,7 @@ Component({ startDate: this.data.day.toString() + ' ' + '00:00:00', endDate: this.data.day2.toString() + ' ' + '23:59:59', usableFlag: true, + orderColumn:this.data.orderColumn } if(this.data.curVal == '1'){