Pārlūkot izejas kodu

[FE]处理AL报警详情无法点开的问题

liuwenxun 4 gadi atpakaļ
vecāks
revīzija
b9c1321c96

+ 4 - 2
security-protection-platform/src/modules/aialarm/index.vue

307
        this.videoDetailData = res.data.data.videoInfo
307
        this.videoDetailData = res.data.data.videoInfo
308

308

309
        if (this.videoDetailData) {
309
        if (this.videoDetailData) {
310
          console.log(2222222222222)
310
          // console.log(2222222222222)
311
          this.playerOptions.sources[0].src = this.videoDetailData.videoFileUrl
311
          this.playerOptions.sources[0].src = this.videoDetailData.videoFileUrl
312
        } else {
313
          this.playerOptions.sources[0].src = ''
312
        }
314
        }
313

315

314
        // console.log(this.playerOptions.sources[0].src)
316
        // console.log(this.playerOptions.sources[0].src)
394
        if (res.status === 200) {
396
        if (res.status === 200) {
395
          this.data = res.data.data.data
397
          this.data = res.data.data.data
396
          this.data = this.data.map((item) => { item.aiIdenTime = formatDateTime(item.aiIdenTime); return item })
398
          this.data = this.data.map((item) => { item.aiIdenTime = formatDateTime(item.aiIdenTime); return item })
397
          // console.log(this.data)
399
          console.log(this.data)
398

400

399
          this.total = Math.ceil(res.data.data.total / res.data.data.size) * 5
401
          this.total = Math.ceil(res.data.data.total / res.data.data.size) * 5
400
        } else {
402
        } else {