From 4fe66d4f3ac6888b10f9b0e5e0f2ab555c650d7d Mon Sep 17 00:00:00 2001 From: wujian <14790700720@163.com> Date: 星期一, 15 四月 2024 16:23:44 +0800 Subject: [PATCH] chenge plan --- jcdm-ui/src/views/main/kb/stationTerminal/index.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/jcdm-ui/src/views/main/kb/stationTerminal/index.vue b/jcdm-ui/src/views/main/kb/stationTerminal/index.vue index 3d695cd..2279822 100644 --- a/jcdm-ui/src/views/main/kb/stationTerminal/index.vue +++ b/jcdm-ui/src/views/main/kb/stationTerminal/index.vue @@ -361,7 +361,7 @@ }, content: '', activeName: 'first', - url: "ws://192.168.1.102:8080/websocket/message/", + url: "ws://192.168.1.100:8080/websocket/message/", message: "", text_content: "", ws: null, @@ -479,6 +479,10 @@ collectionTime: new Date() } updateResults(formulaChildParams).then(response => { + console.log(response) + if(response.msg === "3"){ + this.cakeLamp.release= 1 //鍏佽鏀捐 + } this.getListFormulaChild() }); }, @@ -508,6 +512,10 @@ this.formulaChildList = [] this.headContent.sfcCode = null + this.workpieceInformation.productCode = null; + this.workpieceInformation.workOrderNo = null; + this.workpieceInformation.productModel = null; + this.workpieceInformation.productName = null; }, changeMenu(tab, event) { console.log(tab, event); @@ -597,7 +605,6 @@ this.$message('websocket杩炴帴鎴愬姛锛�'); }; this.ws.onmessage = function (event) { - const DELAY_TIME = 2000; if (event.data === "IN") { self.cakeLamp.InPlace = 1; } else if (event.data === "IN0") { @@ -614,7 +621,7 @@ saveCampaignTimeParameters(param).then(response => {}); self.cakeLamp.release = 1; self.endClear() - + workpieceRelease(param).then(response => {}); } else if (event.data.includes("[")) { let formulaChilds = ""; self.formulaChildList.sort((a, b) => a.stepSort - b.stepSort); -- Gitblit v1.9.3