forked from drone/command-center-dashboard

罗广辉
2025-04-20 1a26eb2a96053c57387895e401cced7b6cfd95e7
src/components/DeviceJobDetails/JobRelatedEvents.vue
@@ -59,12 +59,9 @@
const total = ref(10)
const examine = row => {
   const orderNumber = row.event_num
   const primaryUrl = `${import.meta.env.VITE_APP_TICKET_BASE_URL}/manage/tickets/ticket?orderNumber=${orderNumber}`
   const backupUrl = `${import.meta.env.VITE_APP_TICKET_BACKUP_URL}/manage/tickets/ticket?orderNumber=${orderNumber}`
   const win = window.open(primaryUrl, '_blank')
   if (!win || win.closed) {
      window.open(backupUrl, '_blank')
   }
   const adminUrl = import.meta.env.VITE_APP_ADMIN_URL
   const targetPath = `/tickets/ticket?orderNumber=${orderNumber}`;
   window.open(`${adminUrl}?redirect=${encodeURIComponent(targetPath)}`, '_blank');
}
const wayLineJodInfoId = inject('wayLineJodInfoId')