zhanghua
2023-05-30 08c2c3aea346fc8b838cd04918b7864592ac079b
src/views/intelligentPatrol/studyJudge/index.vue
@@ -48,13 +48,15 @@
            :key="item.id"
          >
            <span>报警图片</span>
            <img :src="item" />
            <!-- <img :src="item" /> -->
            <el-image style="width:240px"  :src="item" :preview-src-list="[item]"> </el-image>
            <span v-if="index === 0"
              >报警时间:{{ currentEvent.alarmTime }}</span
            >
          </div>
          <div class="img-item" v-for="item in imageList" :key="item.id">
            <img :src="item" />
            <!-- <img :src="item" /> -->
            <el-image style="width:240px" :src="item" :preview-src-list="[item]"> </el-image>
          </div>
          <el-form
            ref="currentEvent"
@@ -424,7 +426,6 @@
        .catch((err) => this.$message.error(err));
    },
    loadData() {
      debugger;
      this.point = {
        x: this.currentEvent.longitude,
        y: this.currentEvent.latitude,
@@ -435,6 +436,7 @@
        this.imageList = this.currentEvent.picData
          .split(",")
          .map((item) => `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${item}`);
        // this.imageList =['https://www.shutterstock.com/image-photo/grandmother-holding-grandson-her-lap-600w-1954531321.jpg','https://www.shutterstock.com/image-photo/grandmother-holding-grandson-her-lap-600w-1954531321.jpg']
      }
      if (this.currentEvent?.alarmTime || this.currentEvent?.currentAlarmTime) {
        const { alarmTime, currentAlarmTime } = this.currentEvent;