From 983f09887033075197711f191b31993f8526c4ba Mon Sep 17 00:00:00 2001 From: TianYu <332368756@qq.com> Date: Wed, 17 May 2023 17:58:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E6=8E=A8=E5=B9=BF?= =?UTF-8?q?=E5=91=98=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/api/member/user.js | 6 +- .../src/views/member/promoter/index.vue | 273 +++++++++++++----- .../src/views/system/tenant/index.vue | 12 +- 3 files changed, 212 insertions(+), 79 deletions(-) diff --git a/yudao-ui-admin/src/api/member/user.js b/yudao-ui-admin/src/api/member/user.js index 0a9b882cb..b86fba95c 100644 --- a/yudao-ui-admin/src/api/member/user.js +++ b/yudao-ui-admin/src/api/member/user.js @@ -53,11 +53,7 @@ export function exportUserExcel(query) { }) } // 用户状态修改 -export function changeUserStatus(id, status) { - const data = { - id, - status - } +export function changeUserStatus(data) { return request({ url: '/member/user/update-status', method: 'put', diff --git a/yudao-ui-admin/src/views/member/promoter/index.vue b/yudao-ui-admin/src/views/member/promoter/index.vue index e322d36bc..3cfbc285e 100644 --- a/yudao-ui-admin/src/views/member/promoter/index.vue +++ b/yudao-ui-admin/src/views/member/promoter/index.vue @@ -2,12 +2,23 @@
- - - + + + - - + + + + + + + + + + 搜索 @@ -19,38 +30,41 @@ 新增 + v-hasPermi="['member:promoter:create']">新增 + 导入 + v-hasPermi="['system:user:import']">导入 + - - - - + + + + - - - - - + + + + + @@ -60,12 +74,24 @@ - - - + + + - - + + + {{ dict.label }} + + + + + + + +