From c982e885b619f4a7dc9abefda5986ceae96160a9 Mon Sep 17 00:00:00 2001
From: zmj <1493694146@qq.com>
Date: Tue, 23 Jan 2024 22:00:23 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E6=9F=A5?=
=?UTF-8?q?=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/consumer.ts | 5 +-
src/views/consumer/lists/index.vue | 290 +++++++++++------------------
2 files changed, 112 insertions(+), 183 deletions(-)
diff --git a/src/api/consumer.ts b/src/api/consumer.ts
index 38fceed..e7075ec 100644
--- a/src/api/consumer.ts
+++ b/src/api/consumer.ts
@@ -12,7 +12,10 @@ export function getUserList(params: any) {
export function getUserDetail(params: any) {
return request.get({ url: "/user.user/detail", params });
}
-
+// 导出用户
+export function exportUerLists(params: any) {
+ return request.get({ url: "/user.user/lists?export=2", params });
+}
// 用户编辑
export function userEdit(params: any) {
return request.post({ url: "/user.user/edit", params });
diff --git a/src/views/consumer/lists/index.vue b/src/views/consumer/lists/index.vue
index f33efd9..390ee01 100644
--- a/src/views/consumer/lists/index.vue
+++ b/src/views/consumer/lists/index.vue
@@ -7,48 +7,51 @@
@keyup.enter="resetPage" />
-
+
-
-
-
+
+
+
+
-
-
+
+
+
+
-
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
查询
重置
- 导出
-
-
-
+ 导出
@@ -79,28 +82,7 @@
-
-
@@ -125,94 +107,11 @@
编辑
-
-
-
-
+
@@ -222,65 +121,92 @@