| | |
| | | } |
| | | }; |
| | | let socket = null; |
| | | const socketUrl = `ws://${WebSocketHost}:${host}/api/loadGlass/api/talk/loadGlassTwo`; |
| | | const socketUrl = `ws://${window.ipConfig.serverUrl}/api/loadGlass/api/talk/loadGlassTwo`; |
| | | const handleMessage = (data: any) => { |
| | | isLoading.value = true; |
| | | |
| | |
| | | if (markingMachineStatus.value === 'green' && cuttingMachineStatus.value === 'green') { |
| | | try { |
| | | const response = await request.post('/loadGlass/engineering/engineering/changeTask', { |
| | | stationCell: 5, |
| | | stationCell: 6, |
| | | filmRemove: filmRemove, |
| | | engineerId: engineeringId, |
| | | state: 1, |