Commit 28ef46a5 by zhangzhen

细节优化

parent df87109c
...@@ -116,7 +116,6 @@ ...@@ -116,7 +116,6 @@
<el-table-column label="用户昵称" align="center" prop="nickName" /> <el-table-column label="用户昵称" align="center" prop="nickName" />
<el-table-column label="用户手机号" align="center" prop="phone" /> <el-table-column label="用户手机号" align="center" prop="phone" />
<el-table-column label="会员级别" align="center" prop="level" /> <el-table-column label="会员级别" align="center" prop="level" />
<el-table-column label="会员角色类型" align="center" prop="roleType" />
<el-table-column label="会员性别" align="center" prop="gender"> <el-table-column label="会员性别" align="center" prop="gender">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.sys_user_sex" :value="scope.row.gender"/> <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.gender"/>
...@@ -198,6 +197,7 @@ import { listConsumer, getConsumer, delConsumer, addConsumer, updateConsumer } f ...@@ -198,6 +197,7 @@ import { listConsumer, getConsumer, delConsumer, addConsumer, updateConsumer } f
export default { export default {
name: "Consumer", name: "Consumer",
dicts: ['sys_user_sex'],
data() { data() {
return { return {
// 遮罩层 // 遮罩层
...@@ -256,6 +256,7 @@ export default { ...@@ -256,6 +256,7 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
listConsumer(this.queryParams).then(response => { listConsumer(this.queryParams).then(response => {
console.log(response,909090)
this.consumerList = response.rows; this.consumerList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment