| | |
| | | this.ws = new WebSocket(wsuri); |
| | | const self = this; |
| | | this.ws.onopen = function (event) { |
| | | this.$message('websocket连接成功!'); |
| | | self.$message('websocket连接成功!'); |
| | | }; |
| | | this.ws.onmessage = function (event) { |
| | | if(event.data.includes("[")) { |
| | |
| | | locationCode: self.headContent.processesCode, |
| | | productBarcode: self.headContent.sfcCode, |
| | | inboundTime: self.headContent.inboundTime, |
| | | productCode: "PE01B" |
| | | productCode: "PE01B", |
| | | workOrderNo: "-", |
| | | |
| | | } |
| | | preInstallOut(param).then(response => {}); |
| | | workpieceRelease(param).then(response => {}); |