查询bug修复

20240528Test
liujun 2024-04-13 17:11:13 +08:00
parent 830e2d2f48
commit 384b1e27b7
1 changed files with 10 additions and 4 deletions

View File

@ -3,8 +3,8 @@
<el-form label-width="130px"> <el-form label-width="130px">
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="用户名"> <el-form-item label="名">
<el-input v-model="KEYWORDS" placeholder="请输入用户名"/> <el-input v-model="condition.userName" placeholder="请输入姓名"/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col v-if="false" :span="6"> <el-col v-if="false" :span="6">
@ -74,6 +74,9 @@ export default {
directives: { waves }, directives: { waves },
data() { data() {
return { return {
condition: {
userName: ''
},
config: config, config: config,
listQuery: { listQuery: {
page: 0, page: 0,
@ -107,13 +110,16 @@ export default {
this.getList() this.getList()
}, },
goKeyReset() { goKeyReset() {
this.STATUS = '' this.condition = {
userName: ''
}
this.getQuery() this.getQuery()
}, },
getList() { getList() {
this.listLoading = true this.listLoading = true
requestFN( requestFN(
'/dingWei/getMapList?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page, {} '/dingWei/getMapList?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page,
this.condition
).then((data) => { ).then((data) => {
this.listLoading = false this.listLoading = false
this.varList = data.list this.varList = data.list