| | |
| | | <script> |
| | | import Card from "@/components/subComponents/Card"; |
| | | import UploadImg from "@/components/searching/UploadImg"; |
| | | //import CardWindow from "../components/cardWindow"; |
| | | import bus from "./main"; |
| | | import { getUrlKey } from "@/api/utils"; |
| | | export default { |
| | | components: { |
| | | Card, |
| | |
| | | searchImgCardWidth: "", |
| | | tagValues: [], |
| | | alarmValues: [], |
| | | dialogVisible: false, |
| | | taskValues: [], |
| | | searchTime: [ |
| | | this.$moment().format("YYYY-MM-DD 00:00:00"), |
| | |
| | | ], |
| | | searchText: "", |
| | | currentPage: 1, |
| | | |
| | | }; |
| | | }, |
| | | |
| | |
| | | // this.VideoTaskData.tasks[this.VideoTaskData.activeIndex].taskId |
| | | // ]; |
| | | // } |
| | | let start = this.getUrlKey("start") |
| | | let end = this.getUrlKey("end") |
| | | let start = getUrlKey("start") |
| | | let end = getUrlKey("end") |
| | | if (start && end) { |
| | | this.searchTime = [start, end] |
| | | this.VideoPhotoData.searchTime = [start, end] |
| | |
| | | //this.TreeDataPool.searchFrom = 'cluster'; |
| | | // 暂时关闭跳转 20200730 |
| | | // if (this.$route.query.showType === "findByPic") { |
| | | if (this.getUrlKey("showType")) { |
| | | if (getUrlKey("showType")) { |
| | | this.VideoPhotoData.uploadDiaplay = true; |
| | | // console.log("别处跳过来的以图搜图"); |
| | | this.VideoPhotoData.picUrl = this.getUrlKey("picSmUrl"); |
| | | this.VideoPhotoData.uploadImg = this.getUrlKey("picSmUrl"); |
| | | this.VideoPhotoData.picUrl = getUrlKey("picSmUrl"); |
| | | this.VideoPhotoData.uploadImg = getUrlKey("picSmUrl"); |
| | | this.VideoPhotoData.uploadType = true |
| | | this.VideoPhotoData.compTargetId = this.getUrlKey("targetId") |
| | | this.VideoPhotoData.compTargetType = this.getUrlKey("compType") |
| | | this.VideoPhotoData.compTargetId = getUrlKey("targetId") |
| | | this.VideoPhotoData.compTargetType = getUrlKey("compType") |
| | | this.VideoPhotoData.size = 30 |
| | | this.VideoPhotoData.compareTabs = ["esData"]; |
| | | this.VideoPhotoData.findPerson2(); // 查找此人 |
| | |
| | | fn.then(_ => { |
| | | this.AuthData.closeLoad(); |
| | | }) |
| | | }, |
| | | getUrlKey(name) { |
| | | return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ""])[1].replace(/\+/g, '%20')) || null |
| | | }, |
| | | tagChange(obj) { |
| | | console.log(obj) |