Commit 04add61b authored by 王's avatar

用户列表

parent 60340656
......@@ -14,6 +14,12 @@
<img :src="scope.row.avatar" style="margin-right:5px;width: 50px;height: 50px;border-radius: 50px"> {{scope.row.nickname}}(ID:{{scope.row.user_id}})
</template>
</el-table-column>
<el-table-column
label="手机号">
<template slot-scope="scope">
{{scope.row.mobile}}
</template>
</el-table-column>
<el-table-column
label="是否购买">
<template slot-scope="scope">
......@@ -72,7 +78,7 @@
{{ scope.row.is_continue_buy | isOrNot}}
</template>
</el-table-column>
<el-table-column label="操作" v-if="!$store.state.readonly" width="300">
<el-table-column label="操作" v-if="!$store.state.readonly" width="360">
<template slot-scope="scope">
<el-button type="warning" size="mini" @click="editComment(scope.row.id, scope.row.desc)" v-if="!$store.state.readonly">编辑备注</el-button>
<el-button type="warning" size="mini" @click="changeUser(scope.row)" v-if="!$store.state.readonly">看课权限</el-button>
......@@ -209,7 +215,7 @@
addShow:false,
userList: [],
nowPage: 1,
limit: 5,
limit: 500,
total:0,
searchFrom: {
userId:'',
......
......@@ -12,7 +12,7 @@
<a :href="detail.qr">
<img class="avatar" :src="detail.avatar"/>
</a>
{{detail.nickname}}
{{detail.nickname}} (ID: {{id}})
</el-col>
<el-col :span="6">
<label>手机号:</label> {{detail.mobile}}
......
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