|
@@ -45,6 +45,11 @@
|
|
|
<el-table-column label="手机号" prop="user_phone" width="120"></el-table-column>
|
|
|
<el-table-column label="生日" prop="user_birthday"></el-table-column>
|
|
|
<el-table-column label="性别" prop="user_sex"></el-table-column>
|
|
|
+ <el-table-column label="用户角色">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <p>{{ ['用户', '艺人', '吧台', '老板'][scope.row.user_type] }}</p>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="注册时间" prop="created_at" width="160"></el-table-column>
|
|
|
<el-table-column label="最近一次登录时间" prop="user_login_at" width="160"></el-table-column>
|
|
|
<el-table-column label="操作" fixed="right" width="140">
|
|
@@ -91,9 +96,7 @@ export default {
|
|
|
exData: {}
|
|
|
},
|
|
|
time: [],
|
|
|
- searchForm: {
|
|
|
- user_type: '0' // 用户类型(0用户1艺人2吧台3老板)
|
|
|
- },
|
|
|
+ searchForm: {},
|
|
|
tableData: [],
|
|
|
tableUrl: '/v1/user/member/List'
|
|
|
}
|