无人机管理后台前端(已迁走)
罗广辉
2025-08-14 9e5a098d71e7023d155597dde69de887e63add3d
src/views/tickets/ticket.vue
@@ -649,7 +649,7 @@
                     >
                        <template #reference>
                           <img @click.stop="handleQRCode(currentDetail)"  class="QRCodeImg" src="@/assets/images/dataCenter/positionicon.png" alt="" title="事件导航" />
                           <img @click.stop="handleQRCode(currentDetail)"  class="QRCodeImg" src="@/assets/images/dataCenter/qrCode.svg" alt="" title="事件导航" />
                        </template>
                        <div class="qrcode-content">
                           <CreateQRcode v-if="currentDetail.showQR && detailVisible" :latAndLon="currentDetail.location"></CreateQRcode>
@@ -884,7 +884,6 @@
</template>
<script>
import { getSmallImg, getShowImg } from '@/utils/util';
import { ElMessageBox, ElLoading } from 'element-plus';
import { calculateDefaultRange } from '@/utils/util';
@@ -1439,8 +1438,6 @@
    },
    async handleQRCode (val){
    val.showQR = !val.showQR
console.log('this.currentDetailvvvvv',val);
    },
    async loadAMapScripts() {
      try {
@@ -3452,6 +3449,7 @@
    width: 18px;
    height: 18px;
    cursor: pointer;
    padding-bottom: 1px;
    }
  }