修改搜索中心

This commit is contained in:
qq787203167
2022-03-15 17:02:06 +08:00
parent 97e5ab9d6f
commit 5837df3dc3
2 changed files with 11 additions and 5 deletions
@@ -386,11 +386,12 @@
})
},
searchQuery() {
this.pageNo = 1
this.getInfoList()
this.pageNo = 1
this.getInfoList()
},
searchData(data) {
this.queryParam = { ...data, ...this.queryParam }
this.getInfoList()
},
getInfoList() {
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
@@ -415,11 +416,11 @@
}
})
},
searchReset(){
searchReset() {
this.pageNo = 1
this.queryParam = {}
this.getInfoList()
},
}
}
}
</script>
@@ -602,7 +603,8 @@
.text-operation {
margin-right: 8px;
}
.submitButtons{
.submitButtons {
text-align: center;
}
</style>
@@ -14,6 +14,7 @@
</a-select>
<a-input-search
allowClear
@change="onChange"
style="width: 70%"
placeholder="请输入搜索内容"
@search="onSearch"
@@ -84,6 +85,9 @@
this.$refs.DocumentLibraryRef.searchData(this.queryParam)
}
},
onChange(e){
console.log(e)
},
selectChange(event) {
console.log(event)
},