查询bug修复
parent
830e2d2f48
commit
384b1e27b7
|
@ -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 + '¤tPage=' + this.listQuery.page, {}
|
'/dingWei/getMapList?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||||
|
this.condition
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
this.varList = data.list
|
this.varList = data.list
|
||||||
|
|
Loading…
Reference in New Issue