This commit is contained in:
2023-03-14 15:55:58 +08:00
parent 3e489db76b
commit c24a172729

View File

@@ -16,7 +16,7 @@
<div style="margin-top: 15px">
<el-form :inline="true" :model="listQuery" size="small" label-width="140px">
<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>
</div>
@@ -372,7 +372,7 @@
],
operateType: null,
listQuery: {
nickname: null,
keyword: null,
pageNum: 1,
pageSize: 10
},
@@ -676,17 +676,17 @@
getList() {
this.listLoading = true
if (this.listQuery.nickname == "")
this.listQuery.nickname=null,
if (this.listQuery.keyword == "")
this.listQuery.keyword = null
fetchList(this.listQuery).then(response => {
this.listLoading = false
this.list = response.data.records
this.total = response.data.total
this.totalPage = response.data.pages
this.pageSize = response.data.size
})
fetchList(this.listQuery).then(response => {
this.listLoading = false
this.list = response.data.records
this.total = response.data.total
this.totalPage = response.data.pages
this.pageSize = response.data.size
})
},
handleSelectionChange(val) {
this.multipleSelection = val
@@ -787,7 +787,7 @@
handleResetSearch() {
this.listQuery = {
nickname: null,
keyword: null,
pageNum: 1,
pageSize: 10
};