| | |
| | | this.searchTime = this.getDateInit(); |
| | | this.VideoPhotoData.searchTime = this.getDateInit(); |
| | | // this.VideoPhotoData.querySearchList(); |
| | | console.log('mounted 查询es') |
| | | this.setLoadSearch(this.VideoPhotoData.querySearchList()); |
| | | } |
| | | |
| | |
| | | this.VideoPhotoData.findPersonByPage(); |
| | | } else { |
| | | // this.VideoPhotoData.querySearchList(); |
| | | console.log('showTreeBox 查询es') |
| | | this.setLoadSearch(this.VideoPhotoData.querySearchList()); |
| | | } |
| | | }, |
| | |
| | | this.VideoPhotoData.findPersonByPage() |
| | | } else { |
| | | // this.VideoPhotoData.querySearchList(); |
| | | console.log('TreeDataPool.selectedNodes 查询es') |
| | | this.setLoadSearch(this.VideoPhotoData.querySearchList()); |
| | | } |
| | | } |
| | |
| | | }, |
| | | "DataStackPool.selectedDir": { |
| | | handler(nodes, oldNodes) { |
| | | if (nodes !== oldNodes) { |
| | | if (nodes !== oldNodes && nodes.id != "") { |
| | | // this.VideoPhotoData.treeNodes = nodes.map(i=>{return i.id}); |
| | | this.VideoPhotoData.treeNodes = [nodes.id]; |
| | | if (this.VideoPhotoData.uploadType) { |
| | | this.VideoPhotoData.findPersonByPage() |
| | | } else { |
| | | // this.VideoPhotoData.querySearchList(); |
| | | console.log('DataStackPool.selectedDir 查询es') |
| | | this.setLoadSearch(this.VideoPhotoData.querySearchList()); |
| | | } |
| | | } |
| | |
| | | this.VideoPhotoData.uploadDiaplay = false; |
| | | //this.VideoPhotoData.page = this.currentPage; |
| | | // this.VideoPhotoData.querySearchList(); |
| | | console.log('搜索按钮触发 查询es') |
| | | this.setLoadSearch(this.VideoPhotoData.querySearchList()); |
| | | } else { |
| | | console.log("以图搜图"); |
| | |
| | | width: 100%; |
| | | height: 100%; |
| | | .el-loading-spinner-search { |
| | | background: url("/images/search/searchLoading.gif") no-repeat; |
| | | background: url('/images/search/searchLoading.gif') no-repeat; |
| | | } |
| | | } |
| | | } |