| | |
| | | :outHeight="'162px'" |
| | | :outWidth="VideoPhotoData.uploadDiaplay?searchImgCardWidth:cardWidth" |
| | | :data="item" |
| | | :isFromCluster="true" |
| | | :showType="showType" |
| | | :searchTime="searchTimeFormated" |
| | | @detailsClick="getDetails($event, index)" |
| | | @addToBase="toAdd" |
| | | ></Card> |
| | |
| | | // this.VideoTaskData.tasks[this.VideoTaskData.activeIndex].taskId |
| | | // ]; |
| | | // } |
| | | |
| | | 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(); |
| | | } |
| | | //设置搜索来源(应用名称) |
| | | this.VideoPhotoData.searchFrom = 'cluster'; |
| | | //this.TreeDataPool.searchFrom = 'cluster'; |
| | |
| | | this.VideoPhotoData.uploadType = false; |
| | | this.VideoPhotoData.showType = "search"; |
| | | } |
| | | } |
| | | }, |
| | | computed: { |
| | | searchTimeFormated(){ |
| | | return this.format(this.searchTime) |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | tasks = tasks.concat(arr) |
| | | }); |
| | | this.VideoPhotoData.queryTasks = tasks; |
| | | |
| | | this.VideoPhotoData.queryAlarmlevel = this.stringToNum(); |
| | | this.VideoPhotoData.searchTime = this.format(this.searchTime); |
| | | //this.VideoPhotoData.inputValue = this.searchText; |