| | |
| | | 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') |
| | | |
| | | const getList = () => { |
| | | params.value.way_line_jod_info_id = wayLineJodInfoId.value |
| | | |
| | | |
| | | getDeviceEventList(params.value, sizeParams.value).then(res => { |
| | | const resData = res?.data?.data || {} |
| | | list.value = resData.records |
| | | total.value = resData.total |
| | | |
| | | |
| | | }) |
| | | } |
| | | |