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, },