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