|
|
@@ -0,0 +1,76 @@
|
|
|
+<template>
|
|
|
+ <div class="user-list">
|
|
|
+ <div class="mb-30">
|
|
|
+ <el-table :data="list" stripe >
|
|
|
+ <el-table-column fixed prop="id" label="ID"></el-table-column>
|
|
|
+ <el-table-column fixed prop="name" label="姓名"></el-table-column>
|
|
|
+ <el-table-column prop="id_number" label="身份证号"></el-table-column>
|
|
|
+ <el-table-column prop="phone" label="电话"></el-table-column>
|
|
|
+
|
|
|
+ <el-table-column prop="psnId" label="e签宝id"></el-table-column>
|
|
|
+ <el-table-column prop="realnameStatus" label="是否实名">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-tag v-if="scope.row.realnameStatus == 1" type="success">已实名</el-tag>
|
|
|
+ <el-tag v-else type="danger">未实名</el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="authorizeUserInfo" label="是否授权">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-tag v-if="scope.row.authorizeUserInfo == 1" type="success">已授权</el-tag>
|
|
|
+ <el-tag v-else type="danger">未授权</el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="created_at" label="创建时间"></el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div class="mb-30 flex-justify-end">
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ :current-page.sync="page"
|
|
|
+ :page-size="10"
|
|
|
+ layout="prev, pager, next"
|
|
|
+ :total="total">
|
|
|
+ </el-pagination>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ import {memberList} from '@/api/member.js'
|
|
|
+ export default {
|
|
|
+ data(){
|
|
|
+ return{
|
|
|
+ list:[],
|
|
|
+ page:1,
|
|
|
+ total:0,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ mounted(){
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ methods:{
|
|
|
+ getList(){
|
|
|
+ memberList({page:this.page}).then((res)=>{
|
|
|
+ if(res.code == 1){
|
|
|
+ this.list = res.data.items;
|
|
|
+ this.total = res.data.total
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ handleCurrentChange(val){
|
|
|
+ this.page = val;
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ },
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped lang="scss">
|
|
|
+ .user-list{
|
|
|
+
|
|
|
+ }
|
|
|
+</style>
|