2
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
<div style="margin-top: 15px">
|
<div style="margin-top: 15px">
|
||||||
<el-form :inline="true" :model="listQuery" size="small" label-width="140px">
|
<el-form :inline="true" :model="listQuery" size="small" label-width="140px">
|
||||||
<el-form-item label="用户昵称:">
|
<el-form-item label="用户昵称:">
|
||||||
<el-input style="width: 203px" v-model="listQuery.nickname" placeholder="会员名称/关键字"></el-input>
|
<el-input style="width: 203px" v-model="listQuery.keyword" placeholder="会员名称/关键字"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -372,7 +372,7 @@
|
|||||||
],
|
],
|
||||||
operateType: null,
|
operateType: null,
|
||||||
listQuery: {
|
listQuery: {
|
||||||
nickname: null,
|
keyword: null,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10
|
pageSize: 10
|
||||||
},
|
},
|
||||||
@@ -676,17 +676,17 @@
|
|||||||
getList() {
|
getList() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
|
|
||||||
if (this.listQuery.nickname == "")
|
if (this.listQuery.keyword == "")
|
||||||
this.listQuery.nickname=null,
|
this.listQuery.keyword = null
|
||||||
|
|
||||||
|
|
||||||
fetchList(this.listQuery).then(response => {
|
fetchList(this.listQuery).then(response => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
this.list = response.data.records
|
this.list = response.data.records
|
||||||
this.total = response.data.total
|
this.total = response.data.total
|
||||||
this.totalPage = response.data.pages
|
this.totalPage = response.data.pages
|
||||||
this.pageSize = response.data.size
|
this.pageSize = response.data.size
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSelectionChange(val) {
|
handleSelectionChange(val) {
|
||||||
this.multipleSelection = val
|
this.multipleSelection = val
|
||||||
@@ -787,7 +787,7 @@
|
|||||||
handleResetSearch() {
|
handleResetSearch() {
|
||||||
|
|
||||||
this.listQuery = {
|
this.listQuery = {
|
||||||
nickname: null,
|
keyword: null,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10
|
pageSize: 10
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user