forked from drone/command-center-dashboard

张含笑
2025-04-12 bb9b31d8abc6578fa451cc545658115d0da4ff50
src/views/Home/EventOverviewDetail/EventOverviewDetailRight.vue
@@ -1,5 +1,6 @@
<template>
   <div class="right">
   <UserOperate/>
   <div class="event-overviewdetail-right">
      <div>工单列表</div>
      <div>
         <el-date-picker
@@ -38,7 +39,13 @@
      <div class="eventList">
         <div class="eventListItem" v-for="item in list">
            <img class="eventListItemImg" :src="item.photo_url" alt="" />
            <img class="eventListItemImg"
         :src="item.photo_url ?
        item.photo_url.substring(0, item.photo_url.lastIndexOf('.')) + '_small' +
        item.photo_url.substring(item.photo_url.lastIndexOf('.'))
        : ''"
      alt=""
    />
            <div class="eventListItemText">
               <div class="eventListItemName">{{ item.event_name }}</div>
               <div @click="positioning(item)">定位</div>
@@ -58,6 +65,7 @@
   </div>
</template>
<script setup>
import UserOperate from '@/components/UserOperate.vue';
import dayjs from 'dayjs'
import { selectDevicePage } from '@/api/home/machineNest'
import { getMultipleDictionary } from '@/api/system/dictbiz'
@@ -164,11 +172,11 @@
})
</script>
<style scoped lang="scss">
.right {
.event-overviewdetail-right {
   position: absolute;
   right: 0;
   top: 88px;
   color: black;
   right: 29px;
   top: 122px;
   // color: black;
   display: flex;
   flex-direction: column;
   align-items: center;