Browse Source

数据=顺序

data-page
是小王呀\24601 6 months ago
parent
commit
8abf846188
  1. 3
      README.md
  2. 9
      pages/statistics/modules/HotlineRates/HotlineRates.js

3
README.md

@ -9,7 +9,8 @@
15554200534
12345678
18900000002
12345678
17637262085
Makui240345

9
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'){

Loading…
Cancel
Save