瀏覽代碼

Merge remote-tracking branch 'origin/developer' into developerA

zhengjinyi 1 年之前
父節點
當前提交
7dd2f694a7
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/views/user/consult/list.vue

+ 6 - 2
src/views/user/consult/list.vue

@@ -22,7 +22,7 @@
           placeholder="机构名称"
           clearable
           @keyup.enter.native="getList"
-          @clear="getList"
+          @clear="handleClear"
         />
       </div>
       <div class="filter-control">
@@ -447,6 +447,11 @@ export default {
         this.listQuery.clubName = this.$route.query.clubName
       }
     },
+    // 清除机构名称
+    handleClear() {
+      this.listQuery.clubId = ''
+      this.getList()
+    },
     // 选择时间
     handleDatePick() {
       if (this.time && this.time.length > 0) {
@@ -461,7 +466,6 @@ export default {
     },
     // 获取行为记录列表
     getList() {
-      this.handleInfo()
       this.listQuery.pageNum = 1
       this.getRemarksRegistList()
     },