| | |
| | | :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" |
| | |
| | | .catch((err) => this.$message.error(err)); |
| | | }, |
| | | loadData() { |
| | | debugger; |
| | | this.point = { |
| | | x: this.currentEvent.longitude, |
| | | y: this.currentEvent.latitude, |
| | |
| | | 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; |