运营商VIP

This commit is contained in:
2023-11-24 11:06:00 +08:00
parent 391023af90
commit 6de417c059
9 changed files with 146 additions and 17 deletions

View File

@@ -9,6 +9,15 @@ export function listInfo(data) {
})
}
// 查询运营商VIP列表
export function queryMerchantVipList(data) {
return request({
url: '/member/info/queryMerchantVipList',
method: 'post',
data: data
})
}
// 查询会员基础信息详细
export function getInfo(id) {
return request({

View File

@@ -75,6 +75,7 @@
<el-table v-loading="loading" :data="infoList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"/>
<el-table-column label="运营商" align="center" prop="merchantName"/>
<!--<el-table-column label="" align="center" prop="id" />-->
<!-- <el-table-column label="运营商" align="center" prop="merchantName"/>-->
<el-table-column label="会员id" align="center" prop="memberId"/>
@@ -88,14 +89,15 @@
</router-link>
</template>
</el-table-column>
<el-table-column label="状态" align="center" prop="status">
<!-- <el-table-column label="状态" align="center" prop="status">
<template slot-scope="scope">
<dict-tag
:options="dict.type.member_status"
:value="scope.row.status"
/>
</template>
</el-table-column>
</el-table-column>-->
<el-table-column label="头像" align="center" prop="avatarUrl">
<template slot-scope="scope">
<!-- <el-image v-if="scope.row.avatarUrl === null" :src="defaultImg" />-->
@@ -104,6 +106,7 @@
:preview-src-list='[scope.row.avatarUrl === null? defaultImg[0].img :scope.row.avatarUrl]'/>
</template>
</el-table-column>
<el-table-column label="余额" align="center" prop="principalBalance"/>
<el-table-column label="手机号" align="center" prop="mobileNumber"/>
<!-- <el-table-column label="本金余额" align="center" prop="principalBalance"/>-->
<!-- <el-table-column label="赠送余额" align="center" prop="giftBalance" />-->
@@ -214,7 +217,7 @@ import {
addInfo,
updateInfo,
updateMemberBalance,
getMerchantList,
getMerchantList, queryMerchantVipList,
} from "@/api/member/info";
export default {
@@ -277,7 +280,7 @@ export default {
created() {
this.getList();
this.getMerchantList();
// this.getMerchantList();
},
methods: {
/** 查询会员基础信息列表 */
@@ -287,13 +290,10 @@ export default {
pageNum: this.queryParams.pageNum,
pageSize: this.queryParams.pageSize,
memberId: this.queryParams.memberId,
nickName: this.queryParams.nickName,
mobileNumber: this.queryParams.mobileNumber,
merchantId: this.queryParams.merchantId,
vinCode: this.queryParams.vinCode,
}
console.log("params", params)
listInfo(params).then(response => {
queryMerchantVipList(params).then(response => {
this.infoList = response.rows;
console.log(this.infoList);
this.total = response.total;