From e27124f990fab3d18d03a9c12625ad414e499dc7 Mon Sep 17 00:00:00 2001 From: v_yutyi Date: Thu, 2 Dec 2021 17:04:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A4=9A=E6=9D=A1=E4=BB=B6=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=20#73?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/src/language/lang/en.js | 2 +- src/pages/src/store/modules/organization.js | 4 + src/pages/src/views/organization/index.vue | 106 +++++++++++++----- .../views/organization/table/UserTable.vue | 2 +- 4 files changed, 86 insertions(+), 28 deletions(-) diff --git a/src/pages/src/language/lang/en.js b/src/pages/src/language/lang/en.js index f43b41bd6..f1da38736 100644 --- a/src/pages/src/language/lang/en.js +++ b/src/pages/src/language/lang/en.js @@ -388,5 +388,5 @@ export default { 请输入数字: 'Please enter a number', 蓝鲸用户管理字段: 'Blue Whale User management field', 对应: 'The corresponding', - 目录字段: 'Category field' + 目录字段: 'Category field', }; diff --git a/src/pages/src/store/modules/organization.js b/src/pages/src/store/modules/organization.js index 1e77be6d3..68ebf1d14 100644 --- a/src/pages/src/store/modules/organization.js +++ b/src/pages/src/store/modules/organization.js @@ -118,5 +118,9 @@ export default { const { id } = params; return http.post(`/api/v2/profiles/${id}/restoration/`); }, + // 多条件查询 + getMultiConditionQuery(context, params, config = {}) { + return http.get(`api/v3/profiles/?${params}`); + }, }, }; diff --git a/src/pages/src/views/organization/index.vue b/src/pages/src/views/organization/index.vue index 6c6997cf6..d0f6aa781 100644 --- a/src/pages/src/views/organization/index.vue +++ b/src/pages/src/views/organization/index.vue @@ -149,17 +149,14 @@
- - + :data="searchFilterList" + :show-condition="false" + v-model="tableSearchKey" + @change="handleTableSearch" />
@@ -170,17 +167,14 @@