邀请人变更操作,列表,注销列表
This commit is contained in:
parent
cc225d2f89
commit
ca02cd8202
|
@ -157,6 +157,12 @@ export function categoryListApi(data) {
|
||||||
export function exportProductApi(data) {
|
export function exportProductApi(data) {
|
||||||
return request.get(`store/product/export`, data)
|
return request.get(`store/product/export`, data)
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @description 导出秒杀订单
|
||||||
|
*/
|
||||||
|
export function exportSeckillApi(data) {
|
||||||
|
return request.get(`seckill/product/export`, data)
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @description 导出用户操作记录
|
* @description 导出用户操作记录
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -116,6 +116,12 @@ export function labelDeleteApi(id) {
|
||||||
export function userLstApi(data) {
|
export function userLstApi(data) {
|
||||||
return request.get('user/lst', data)
|
return request.get('user/lst', data)
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @description 注销列表 -- 列表
|
||||||
|
*/
|
||||||
|
export function backupinfoLstApi(data) {
|
||||||
|
return request.get('user/backupinfo/list', data)
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @description 用户列表 -- 设置分组
|
* @description 用户列表 -- 设置分组
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
<el-form-item label="用户名称:">
|
<el-form-item label="用户名称:">
|
||||||
<el-input v-model="tableFrom.nickname" @keyup.enter.native="getList(1)" placeholder="请输入用户名称" clearable class="selWidth" />
|
<el-input v-model="tableFrom.nickname" @keyup.enter.native="getList(1)" placeholder="请输入用户名称" clearable class="selWidth" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="手机号:">
|
||||||
|
<el-input v-model="tableFrom.phone" @keyup.enter.native="getList(1)" placeholder="请输入用户名称" clearable class="selWidth" />
|
||||||
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" size="small" @click="getList(1)">查询</el-button>
|
<el-button type="primary" size="small" @click="getList(1)">查询</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
|
@ -29,6 +29,12 @@ const userRouter =
|
||||||
name: 'UserList',
|
name: 'UserList',
|
||||||
meta: { title: '用户列表', noCache: true }
|
meta: { title: '用户列表', noCache: true }
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'cancel',
|
||||||
|
component: () => import('@/views/user/cancel'),
|
||||||
|
name: 'UserCancel',
|
||||||
|
meta: { title: '注销列表', noCache: true }
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'searchRecord',
|
path: 'searchRecord',
|
||||||
component: () => import('@/views/user/search'),
|
component: () => import('@/views/user/search'),
|
||||||
|
|
|
@ -495,7 +495,11 @@
|
||||||
@click.native="setLabel(scope.row)"
|
@click.native="setLabel(scope.row)"
|
||||||
>设置标签</el-dropdown-item
|
>设置标签</el-dropdown-item
|
||||||
>
|
>
|
||||||
<!-- <el-dropdown-item v-if="!scope.row.cancel_time" @click.native="setModify(scope.row)">修改推荐人</el-dropdown-item> -->
|
<el-dropdown-item
|
||||||
|
v-if="!scope.row.cancel_time"
|
||||||
|
@click.native="setModify(scope.row)"
|
||||||
|
>修改邀请人</el-dropdown-item
|
||||||
|
>
|
||||||
<el-dropdown-item
|
<el-dropdown-item
|
||||||
v-if="!scope.row.cancel_time"
|
v-if="!scope.row.cancel_time"
|
||||||
@click.native="setPassword(scope.row)"
|
@click.native="setPassword(scope.row)"
|
||||||
|
@ -1313,6 +1317,12 @@ export default {
|
||||||
this.changeSearch()
|
this.changeSearch()
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
// 修改密码
|
||||||
|
// setInviter(row) {
|
||||||
|
// this.$modalForm(modifyUserPassword(row.uid)).then(() =>
|
||||||
|
// this.changeSearch()
|
||||||
|
// );
|
||||||
|
// },
|
||||||
// 修改余额
|
// 修改余额
|
||||||
setMoney(row) {
|
setMoney(row) {
|
||||||
this.$modalForm(changeNowMoneyApi(row.uid)).then(() =>
|
this.$modalForm(changeNowMoneyApi(row.uid)).then(() =>
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
>
|
>
|
||||||
<!-- <el-dropdown-item command="group">设置分组</el-dropdown-item> -->
|
<!-- <el-dropdown-item command="group">设置分组</el-dropdown-item> -->
|
||||||
<el-dropdown-item command="label">设置标签</el-dropdown-item>
|
<el-dropdown-item command="label">设置标签</el-dropdown-item>
|
||||||
<!-- <el-dropdown-item command="reference">修改推荐人</el-dropdown-item> -->
|
<!-- <el-dropdown-item command="reference">修改邀请人</el-dropdown-item> -->
|
||||||
<el-dropdown-item command="password"
|
<el-dropdown-item command="password"
|
||||||
>修改密码</el-dropdown-item
|
>修改密码</el-dropdown-item
|
||||||
>
|
>
|
||||||
|
@ -815,20 +815,40 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<!-- <el-tab-pane label="推荐人变更记录" name="recommend">
|
<el-tab-pane label="邀请人变更记录" name="recommend">
|
||||||
<template v-if="activeName == 'recommend'">
|
<template v-if="activeName == 'recommend'">
|
||||||
<el-table :data="tableData.data" size="small">
|
<el-table :data="tableData.data" size="small">
|
||||||
<el-table-column prop="spread.uid" label="上级推荐人ID" min-width="100">
|
<el-table-column
|
||||||
|
prop="spread.uid"
|
||||||
|
label="邀请人ID"
|
||||||
|
min-width="100"
|
||||||
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{(scope.row.spread && scope.row.spread.uid) || '-'}}</span>
|
<span>{{
|
||||||
|
(scope.row.spread && scope.row.spread.uid) || "-"
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="spread.nickname" label="上级推荐人昵称" min-width="100">
|
<el-table-column
|
||||||
<template slot-scope="scope">
|
prop="oldspread.phone"
|
||||||
<span>{{(scope.row.spread && scope.row.spread.nickname) || '用户已注销'}}</span>
|
label="老邀请人手机"
|
||||||
</template>
|
min-width="100"
|
||||||
</el-table-column>
|
/>
|
||||||
<el-table-column prop="create_time" label="绑定时间" min-width="100" />
|
<el-table-column
|
||||||
|
prop="spread.phone"
|
||||||
|
label="邀请人手机"
|
||||||
|
min-width="100"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
prop="systemadmin.real_name:"
|
||||||
|
label="操作人"
|
||||||
|
min-width="100"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
prop="create_time"
|
||||||
|
label="绑定时间"
|
||||||
|
min-width="100"
|
||||||
|
/>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<el-pagination
|
<el-pagination
|
||||||
|
@ -841,7 +861,7 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-tab-pane> -->
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
|
@ -922,7 +942,7 @@ export default {
|
||||||
{ val: "0", label: "消费记录" },
|
{ val: "0", label: "消费记录" },
|
||||||
{ val: "3", label: "持有优惠券" },
|
{ val: "3", label: "持有优惠券" },
|
||||||
{ val: "4", label: "余额变动" },
|
{ val: "4", label: "余额变动" },
|
||||||
{ val: "2", label: "推荐人修改记录" },
|
{ val: "2", label: "邀请人修改记录" },
|
||||||
],
|
],
|
||||||
tableData: {
|
tableData: {
|
||||||
data: [],
|
data: [],
|
||||||
|
@ -1020,12 +1040,12 @@ export default {
|
||||||
this.tableData.total = res.data.count;
|
this.tableData.total = res.data.count;
|
||||||
this.columns = [
|
this.columns = [
|
||||||
{
|
{
|
||||||
title: "上级推荐人ID",
|
title: "邀请人ID",
|
||||||
key: "spread.uid",
|
key: "spread.uid",
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "上级推荐人昵称",
|
title: "邀请人昵称",
|
||||||
key: "spread.nickname",
|
key: "spread.nickname",
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue