| | |
| | | :outHeight="'162px'" |
| | | :outWidth="VideoPhotoData.uploadDiaplay?searchImgCardWidth:cardWidth" |
| | | :data="item" |
| | | :searchTime="searchTimeFormated" |
| | | :showType="showType" |
| | | @detailsClick="getDetails($event, index)" |
| | | @addToBase="toAdd" |
| | |
| | | |
| | | }; |
| | | }, |
| | | |
| | | computed: { |
| | | searchTimeFormated(){ |
| | | return this.format(this.searchTime) |
| | | } |
| | | }, |
| | | created () { |
| | | this.TreeDataPool.readonly = true; |
| | | this.TreeDataPool.gbReadonly = true; |
| | |
| | | // this.VideoTaskData.tasks[this.VideoTaskData.activeIndex].taskId |
| | | // ]; |
| | | // } |
| | | |
| | | this.searchTime = this.getDateInit(); |
| | | this.VideoPhotoData.searchTime = this.getDateInit(); |
| | | let start = this.getUrlKey("start") |
| | | let end = this.getUrlKey("end") |
| | | if (start&&end) { |
| | | this.searchTime = [start,end] |
| | | this.VideoPhotoData.searchTime = [start,end] |
| | | }else{ |
| | | this.searchTime = this.getDateInit(); |
| | | this.VideoPhotoData.searchTime = this.getDateInit(); |
| | | } |
| | | |
| | | // 暂时关闭跳转 20200730 |
| | | // if (this.$route.query.showType === "findByPic") { |
| | |
| | | this.VideoPhotoData.selectWhites = []; |
| | | }, |
| | | watch: { |
| | | 'TreeDataPool.treeActiveName' (n, o) { |
| | | if (n && n == 'camera') { |
| | | console.log('mounted 查询es') |
| | | this.VideoPhotoData.treeNodes = []; |
| | | this.setLoadSearch(this.VideoPhotoData.querySearchList()); |
| | | } |
| | | }, |
| | | "TreeDataPool.showTreeBox" (value) { |
| | | this.getHeight(); |
| | | if (this.VideoPhotoData.realSmallPath.length > 0) { |
| | |
| | | if (this.VideoPhotoData.uploadType) { |
| | | this.VideoPhotoData.findPersonByPage() |
| | | } else { |
| | | // this.VideoPhotoData.querySearchList(); |
| | | |
| | | console.log('TreeDataPool.selectedNodes 查询es') |
| | | this.setLoadSearch(this.VideoPhotoData.querySearchList()); |
| | | |
| | | } |
| | | } |
| | | }, |