From 0fdc7a65f8dab433cbc65baa956031f25e5d4583 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期四, 12 十二月 2024 18:24:26 +0800 Subject: [PATCH] 初审 --- src/views/sampling/sampling/index.vue | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/views/sampling/sampling/index.vue b/src/views/sampling/sampling/index.vue index 9550487..ba8ecc1 100644 --- a/src/views/sampling/sampling/index.vue +++ b/src/views/sampling/sampling/index.vue @@ -391,8 +391,8 @@ ids: [], // 缁戝畾鍗曢�夋寜閽� tjStatus: "1", - dayinData:[], - jsonObj:{}, + dayinData: [], + jsonObj: {}, // 闈炲崟涓鐢� single: true, @@ -991,9 +991,8 @@ }; 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, @@ -1001,8 +1000,7 @@ cardId: item.cardId, tjTime: item.createTime, })); - console.log(this.dayinData,2222); - + console.log(this.dayinData, 2222); // 杩炴帴璁惧 this.jsonObj = { @@ -1014,7 +1012,7 @@ var jStr = JSON.stringify(this.jsonObj); this.websocket.send(jStr); this.jsonObj = {}; - this.dialogVisible = false; + // this.dialogVisible = false; }; // this.getList(); }, @@ -1079,8 +1077,8 @@ websocket.onmessage = (event) => { var resultObj = eval("(" + event.data + ")"); console.log(resultObj, 9988); - }; - */ + }; */ + // this.Collection(); this.getList(); } else { -- Gitblit v1.8.0