修改搜索中心
This commit is contained in:
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user