<!--
 * @Author: SunTao 328867980@qq.com
 * @Date: 2024-11-15 14:23:21
 * @LastEditors: SunTao 328867980@qq.com
 * @LastEditTime: 2024-11-15 15:06:55
 * @FilePath: \znxjxt-ui\src\views\big-screen\overview-components\components\inspection-view.vue
 * @Description: 总览大屏-巡检车辆-视频查看弹窗
-->

<template>
  <div class="view-content"></div>
</template>

<script>
import { getVideoUrl } from "@/api/xj/screen/disease-screen";
export default {
  name: "InspectionView",
  props: {
    dialogItem: {
      type: Object,
      default: () => {},
    },
  },
  data() {
    return {
      // 视频播放地址
      vedioUrl: "",
    };
  },
  created() {
    this.getVideo();
  },
  methods: {
    /* 获取视频url地址 */
    getVideo() {
      console.log(this.dialogItem);
      getVideoUrl({ id: this.dialogItem.clientId }).then(({ code, data }) => {
        if (code === 200) {
            
        }
      });
    },
  },
};
</script>

<style lang="scss" scoped>
.view-content {
  width: 100%;
  height: 40rem;
}
</style>
