user_list

pull/269/head
volleyball26 2021-01-21 16:21:42 +08:00
parent 3adbe087cd
commit 5e2336c530
2 changed files with 5 additions and 10 deletions

View File

@ -64,7 +64,7 @@ export default {
{ {
icon: 'el-icon-lx-cascades', icon: 'el-icon-lx-cascades',
index: 'table', index: 'table',
title: '基础表格' title: '用户列表'
}, },
{ {
icon: 'el-icon-lx-copy', icon: 'el-icon-lx-copy',
@ -145,11 +145,6 @@ export default {
} }
] ]
}, },
{
icon: 'el-icon-lx-redpacket_fill',
index: '/donate',
title: '支持作者'
}
] ]
}; };
}, },

View File

@ -3,7 +3,7 @@
<div class="crumbs"> <div class="crumbs">
<el-breadcrumb separator="/"> <el-breadcrumb separator="/">
<el-breadcrumb-item> <el-breadcrumb-item>
<i class="el-icon-lx-cascades"></i> 基础表格 <i class="el-icon-lx-cascades"></i> 用户列表
</el-breadcrumb-item> </el-breadcrumb-item>
</el-breadcrumb> </el-breadcrumb>
</div> </div>
@ -101,7 +101,7 @@ export default {
data() { data() {
return { return {
query: { query: {
address: '', department: '',
name: '', name: '',
pageIndex: 1, pageIndex: 1,
pageSize: 10 pageSize: 10
@ -124,8 +124,8 @@ export default {
getData() { getData() {
fetchData(this.query).then(res => { fetchData(this.query).then(res => {
console.log(res); console.log(res);
this.tableData = res; this.tableData = res.msg.user_list;
this.pageTotal = res.pageTotal || 50; this.pageTotal = res.msg.pageTotal;
}); });
}, },
// //