|
|
|
@ -232,18 +232,18 @@ Page({ |
|
|
|
wx.navigateBack() |
|
|
|
wx.navigateBack() |
|
|
|
}, |
|
|
|
}, |
|
|
|
async handleNext() { |
|
|
|
async handleNext() { |
|
|
|
const anyValueKeys = ['SelectAll', 'ConfirmedIgg4', 'MedicationType', 'BindStartDate', 'BindEndDate'] |
|
|
|
// const anyValueKeys = ['SelectAll', 'ConfirmedIgg4', 'MedicationType', 'BindStartDate', 'BindEndDate']
|
|
|
|
const empty = anyValueKeys.every((item) => |
|
|
|
// const empty = anyValueKeys.every((item) =>
|
|
|
|
Array.isArray(this.data[item]) ? licia.isEmpty(this.data[item]) : !this.data[item], |
|
|
|
// Array.isArray(this.data[item]) ? licia.isEmpty(this.data[item]) : !this.data[item],
|
|
|
|
) |
|
|
|
// )
|
|
|
|
const hasSelectAll = this.data.SelectAll === 1 |
|
|
|
// const hasSelectAll = this.data.SelectAll === 1
|
|
|
|
if (empty && !hasSelectAll) { |
|
|
|
// if (empty && !hasSelectAll) {
|
|
|
|
wx.showToast({ |
|
|
|
// wx.showToast({
|
|
|
|
icon: 'none', |
|
|
|
// icon: 'none',
|
|
|
|
title: '请至少选择一个筛选条件', |
|
|
|
// title: '请至少选择一个筛选条件',
|
|
|
|
}) |
|
|
|
// })
|
|
|
|
return |
|
|
|
// return
|
|
|
|
} |
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
await this.getTaskNum() |
|
|
|
await this.getTaskNum() |
|
|
|
|
|
|
|
|
|
|
|
|