zhanghua
2023-03-30 7051b83c70fe586f03847fcca92e4af1a5e1f3fa
代码还原
1个文件已修改
21 ■■■■■ 已修改文件
src/views/intelligentPatrol/studyJudge/index.vue 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/studyJudge/index.vue
@@ -48,7 +48,7 @@
              :key="item.id"
          >
            <span>报警图片</span>
            <img :src="ill" />
                      <img :src="item" />
            <span v-if="index === 0"
            >报警时间:{{ currentEvent.alarmTime }}</span
            >
@@ -58,7 +58,7 @@
              v-for="item in imageList"
              :key="item.id"
          >
            <img :src="ill" />
                      <img :src="item" />
          </div>
          <el-form
              ref="currentEvent"
@@ -361,7 +361,6 @@
      }
    };
    return {
      ill:'',
      isShowTable: false,
      timer: null,
      countData: {
@@ -511,22 +510,6 @@
                this.imageList = this.currentEvent.picData
                    .split(",")
                    .map((item) => `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${item}`);
              }
              if (this.currentEvent.picData){
                this.$axios({
                  url:'sccg/API/img?fileUrl='+this.currentEvent.picData,
                  method:"get",
                  responseType: 'blob'
                }).then(res=>{
                  const blob = new Blob([res])
                  var reader = new window.FileReader();
                  reader.readAsDataURL(blob);
                  reader.onloadend = function () {
                    this.ill= reader.result
                  }
                })
              }
              if (
                  this.currentEvent?.alarmTime ||