查询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-row>
<el-col :span="6">
<el-form-item label="用户名">
<el-input v-model="KEYWORDS" placeholder="请输入用户名"/>
<el-form-item label="名">
<el-input v-model="condition.userName" placeholder="请输入姓名"/>
</el-form-item>
</el-col>
<el-col v-if="false" :span="6">
@ -74,6 +74,9 @@ export default {
directives: { waves },
data() {
return {
condition: {
userName: ''
},
config: config,
listQuery: {
page: 0,
@ -107,13 +110,16 @@ export default {
this.getList()
},
goKeyReset() {
this.STATUS = ''
this.condition = {
userName: ''
}
this.getQuery()
},
getList() {
this.listLoading = true
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) => {
this.listLoading = false
this.varList = data.list