From 8abf84618818cb6554f99a62bb08b830f74933c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Tue, 25 Feb 2025 16:28:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=3D=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- pages/statistics/modules/HotlineRates/HotlineRates.js | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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'){