| | |
| | | const titleSelectJson = ref({ |
| | | engineerId: [], |
| | | }) |
| | | const selectGong = async () => { |
| | | try { |
| | | const response = await request.post('/loadGlass/loadglassdevicetaskhistory/queryAllMessage',{ |
| | | redisRequest: 'loadGlassRequestOne', |
| | | stationCell: 5, |
| | | tableName: 'LOAD_GLASS_DEVICE_ONE_TASK', |
| | | webSocketName: 'loadGlassOne' |
| | | }); |
| | | if (response.code == 200) { |
| | | } |
| | | } catch (error) { |
| | | } |
| | | }; |
| | | request.post("/loadGlass/up-patten-usage/setUpPattenRequest", { |
| | | state: null, |
| | | stationCell: 5 |
| | |
| | | }; |
| | | onMounted(() => { |
| | | socket = initializeWebSocket(socketUrl, handleMessage); |
| | | selectGong() |
| | | }); |
| | | onUnmounted(() => { |
| | | if (socket) { |
| | |
| | | }; |
| | | const selectgong = async (queryString: string) => { |
| | | try { |
| | | const response = await request.post('/loadGlass/engineerScheduling/queryEngineerScheduling', { |
| | | const response = await request.post('/loadGlass/optimizeProject/listByState', { |
| | | ...requestData, |
| | | query: queryString |
| | | }); |