From ca02cd8202e7614263233d34bbb2932f14bdd90f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=8F?= <1978476055@qq.com> Date: Thu, 28 Nov 2024 11:40:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=80=E8=AF=B7=E4=BA=BA=E5=8F=98=E6=9B=B4?= =?UTF-8?q?=E6=93=8D=E4=BD=9C,=E5=88=97=E8=A1=A8,=E6=B3=A8=E9=94=80?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product.js | 6 ++++ src/api/user.js | 6 ++++ src/components/referrerList/index.vue | 3 ++ src/router/modules/user.js | 6 ++++ src/views/user/list/index.vue | 12 ++++++- src/views/user/list/userDetails.vue | 48 +++++++++++++++++++-------- 6 files changed, 66 insertions(+), 15 deletions(-) diff --git a/src/api/product.js b/src/api/product.js index db29665..c690f92 100644 --- a/src/api/product.js +++ b/src/api/product.js @@ -157,6 +157,12 @@ export function categoryListApi(data) { export function exportProductApi(data) { return request.get(`store/product/export`, data) } +/** + * @description 导出秒杀订单 + */ +export function exportSeckillApi(data) { + return request.get(`seckill/product/export`, data) +} /** * @description 导出用户操作记录 */ diff --git a/src/api/user.js b/src/api/user.js index aa90760..86a56a6 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -116,6 +116,12 @@ export function labelDeleteApi(id) { export function userLstApi(data) { return request.get('user/lst', data) } +/** + * @description 注销列表 -- 列表 + */ +export function backupinfoLstApi(data) { + return request.get('user/backupinfo/list', data) +} /** * @description 用户列表 -- 设置分组 */ diff --git a/src/components/referrerList/index.vue b/src/components/referrerList/index.vue index af8f938..c15c52a 100644 --- a/src/components/referrerList/index.vue +++ b/src/components/referrerList/index.vue @@ -5,6 +5,9 @@ + + + 查询 diff --git a/src/router/modules/user.js b/src/router/modules/user.js index 609235d..3fdf2d5 100644 --- a/src/router/modules/user.js +++ b/src/router/modules/user.js @@ -29,6 +29,12 @@ const userRouter = name: 'UserList', meta: { title: '用户列表', noCache: true } }, + { + path: 'cancel', + component: () => import('@/views/user/cancel'), + name: 'UserCancel', + meta: { title: '注销列表', noCache: true } + }, { path: 'searchRecord', component: () => import('@/views/user/search'), diff --git a/src/views/user/list/index.vue b/src/views/user/list/index.vue index ffaeaaf..86baca6 100644 --- a/src/views/user/list/index.vue +++ b/src/views/user/list/index.vue @@ -495,7 +495,11 @@ @click.native="setLabel(scope.row)" >设置标签 - + 修改邀请人 + // this.changeSearch() + // ); + // }, // 修改余额 setMoney(row) { this.$modalForm(changeNowMoneyApi(row.uid)).then(() => diff --git a/src/views/user/list/userDetails.vue b/src/views/user/list/userDetails.vue index 98282f4..521938d 100644 --- a/src/views/user/list/userDetails.vue +++ b/src/views/user/list/userDetails.vue @@ -67,7 +67,7 @@ > 设置标签 - + 修改密码 @@ -815,20 +815,40 @@ - + @@ -922,7 +942,7 @@ export default { { val: "0", label: "消费记录" }, { val: "3", label: "持有优惠券" }, { val: "4", label: "余额变动" }, - { val: "2", label: "推荐人修改记录" }, + { val: "2", label: "邀请人修改记录" }, ], tableData: { data: [], @@ -1020,12 +1040,12 @@ export default { this.tableData.total = res.data.count; this.columns = [ { - title: "上级推荐人ID", + title: "邀请人ID", key: "spread.uid", minWidth: 120, }, { - title: "上级推荐人昵称", + title: "邀请人昵称", key: "spread.nickname", minWidth: 120, },