Commit 15a51606 authored by hanfeng's avatar hanfeng

修改后台用户列表,编辑

parent 0b5e32dc
...@@ -245,7 +245,8 @@ ...@@ -245,7 +245,8 @@
listQuery: { listQuery: {
page: 1, page: 1,
limit: 20, limit: 20,
name: undefined name: undefined,
username:undefined
}, },
sexOptions: ['男', '女'], sexOptions: ['男', '女'],
zoneOptions: ['男', '女'], zoneOptions: ['男', '女'],
...@@ -341,6 +342,7 @@ ...@@ -341,6 +342,7 @@
* */ * */
getList() { getList() {
this.listLoading = true; this.listLoading = true;
this.listQuery.username=this.listQuery.name
page(this.listQuery) page(this.listQuery)
.then(response => { .then(response => {
this.list = response.data.rows; this.list = response.data.rows;
......
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