修改搜索中心
This commit is contained in:
@@ -386,11 +386,12 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
searchQuery() {
|
searchQuery() {
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.getInfoList()
|
this.getInfoList()
|
||||||
},
|
},
|
||||||
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))
|
||||||
@@ -415,11 +416,11 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
searchReset(){
|
searchReset() {
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.getInfoList()
|
this.getInfoList()
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -602,7 +603,8 @@
|
|||||||
.text-operation {
|
.text-operation {
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
.submitButtons{
|
|
||||||
|
.submitButtons {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -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