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