From ed2f130164f4145560b4176da6629890c0806ded Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 10 八月 2023 18:11:27 +0800 Subject: [PATCH] 服务管理模块联调 --- src/views/client/contacts/index.vue | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/views/client/contacts/index.vue b/src/views/client/contacts/index.vue index 014eb51..a9ac243 100644 --- a/src/views/client/contacts/index.vue +++ b/src/views/client/contacts/index.vue @@ -9,6 +9,8 @@ ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" + @searchClick="searchClick" + @resetClick="resetClick" /> <div class="btn-pager"> <PublicFunctionBtnView :operates-list="operatesList" :allocation="false" @batchDelete="delClick" /> @@ -105,7 +107,8 @@ visible: false, title: "鏂板缓", infomation: {} - } + }, + search_map: {} } }, created() { @@ -137,7 +140,7 @@ async getData() { this.loading = true await getContactList({ - keyword: "", + search_map: this.search_map, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }) @@ -168,6 +171,18 @@ this.loading = false }) }, + // 鎼滅储 + searchClick(val, content) { + console.log(val, content) + this.search_map = { + [val.value]: content + } + this.getData() + }, + resetClick() { + this.search_map = {} + this.getData() + }, // 鏂板缓 addBtnClick() { this.editConfig.visible = true -- Gitblit v1.8.0