修改搜索中心
This commit is contained in:
@@ -391,6 +391,7 @@
|
|||||||
},
|
},
|
||||||
searchData(data) {
|
searchData(data) {
|
||||||
this.queryParam = { ...data, ...this.queryParam }
|
this.queryParam = { ...data, ...this.queryParam }
|
||||||
|
this.getInfoList()
|
||||||
},
|
},
|
||||||
getInfoList() {
|
getInfoList() {
|
||||||
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
|
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
|
||||||
@@ -419,7 +420,7 @@
|
|||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.getInfoList()
|
this.getInfoList()
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -602,6 +603,7 @@
|
|||||||
.text-operation {
|
.text-operation {
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submitButtons {
|
.submitButtons {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
<a-input-search
|
<a-input-search
|
||||||
allowClear
|
allowClear
|
||||||
|
@change="onChange"
|
||||||
style="width: 70%"
|
style="width: 70%"
|
||||||
placeholder="请输入搜索内容"
|
placeholder="请输入搜索内容"
|
||||||
@search="onSearch"
|
@search="onSearch"
|
||||||
@@ -84,6 +85,9 @@
|
|||||||
this.$refs.DocumentLibraryRef.searchData(this.queryParam)
|
this.$refs.DocumentLibraryRef.searchData(this.queryParam)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onChange(e){
|
||||||
|
console.log(e)
|
||||||
|
},
|
||||||
selectChange(event) {
|
selectChange(event) {
|
||||||
console.log(event)
|
console.log(event)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user