| | |
| | | import {useRouter} from "vue-router" |
| | | import request from "@/utils/request" |
| | | import {host, WebSocketHost} from '@/utils/constants' |
| | | import {computed, onBeforeUnmount, onMounted, onUnmounted, reactive, ref} from "vue"; |
| | | import {onBeforeUnmount, onMounted, onUnmounted, reactive, ref} from "vue"; |
| | | import {closeWebSocket, initializeWebSocket} from '@/utils/WebSocketService'; |
| | | import {ElMessage, ElMessageBox} from 'element-plus' |
| | | import PrintLabel from "@/views/UnLoadGlass/PrintCustomLabelSemi1.vue"; |
| | | |
| | | const dialogFormVisibleaDownGlasss = ref(false) |
| | | const scanGlass = ref([]) |
| | | const {t} = useI18n() |
| | |
| | | } |
| | | ); |
| | | if (confirmResult === 'confirm') { |
| | | const response = await request.post("/hollowGlass/hollowBigStorageCageDetails/deleteHollowBigStorageCageDetails",{ |
| | | deviceId: row.deviceId, |
| | | glassId: row.glassId, |
| | | slot: row.slot, |
| | | }) |
| | | const params = new URLSearchParams(); |
| | | params.append('state', '8'); |
| | | params.append('deviceId', row.deviceId); |
| | | params.append('glassId', row.glassId); |
| | | params.append('slot', row.slot); |
| | | var url = `/hollowGlass/hollowBigStorageCageDetails/deleteHollowBigStorageCageDetails?${params.toString()}`; |
| | | const response = await request.post(url) |
| | | if (response.code === 200) { |
| | | fetchxiang(1); |
| | | // tableDataa.value = response.data; |