xiaohaizhao 3 лет назад
Родитель
Сommit
c3dac769fa
1 измененных файлов с 1 добавлено и 20 удалено
  1. 1 20
      packageA/setclient/index.js

+ 1 - 20
packageA/setclient/index.js

@@ -136,31 +136,12 @@ Page({
             filtratelist
         })
     },
-    /* 筛选状态选择 */
-    selectStatus(e) {
-        const {
-            item
-        } = e.currentTarget.dataset;
-        this.setData({
-            "filter.statusActive": this.data.filter.statusActive == item ? "" : item
-        })
-    },
-    /* 筛选日期范围 */
-    changeDate(e) {
-        const name = e.currentTarget.dataset.name,
-            value = e.detail.value;
-        this.setData({
-            [`filter.${name}`]: value
-        })
-    },
     /* 处理筛选 */
     handleFilter({
         detail
     }) {
         detail.condition = this.data.content.where.condition;
-        this.setData({
-            "content.where": detail
-        });
+        this.data.content.where = detail;
         this.getList(true);
     },
     getList(init = false) {