| | |
| | | ids: [], |
| | | // 绑定单选按钮 |
| | | tjStatus: "1", |
| | | dayinData:[], |
| | | jsonObj:{}, |
| | | dayinData: [], |
| | | jsonObj: {}, |
| | | |
| | | // 非单个禁用 |
| | | single: true, |
| | |
| | | }; |
| | | websocket.onopen = () => { |
| | | this.websocket = websocket; |
| | | // var list = this.selectList; |
| | | this.dayinData = this.selectList.map((item) => ({ |
| | | jyxh: item.jyxh , |
| | | this.dayinData = this.selectList.map((item) => ({ |
| | | jyxh: item.jyxh, |
| | | proName: item.proName, |
| | | cusName: item.cusName, |
| | | cusSex: item.customer.cusSex, |
| | |
| | | cardId: item.cardId, |
| | | tjTime: item.createTime, |
| | | })); |
| | | console.log(this.dayinData,2222); |
| | | |
| | | console.log(this.dayinData, 2222); |
| | | |
| | | // 连接设备 |
| | | this.jsonObj = { |
| | |
| | | var jStr = JSON.stringify(this.jsonObj); |
| | | this.websocket.send(jStr); |
| | | this.jsonObj = {}; |
| | | this.dialogVisible = false; |
| | | // this.dialogVisible = false; |
| | | }; |
| | | // this.getList(); |
| | | }, |
| | |
| | | websocket.onmessage = (event) => { |
| | | var resultObj = eval("(" + event.data + ")"); |
| | | console.log(resultObj, 9988); |
| | | }; |
| | | */ |
| | | }; */ |
| | | |
| | | // this.Collection(); |
| | | this.getList(); |
| | | } else { |