From ad026ef8d5c69ee82804c5877c3b06dbaf2dc3ec Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 25 Oct 2022 16:10:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=9C=AA=E7=BB=91=E5=8D=A1?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/scBind/index.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/scBind/index.vue b/src/components/scBind/index.vue index 67dae8fb..9649cf95 100644 --- a/src/components/scBind/index.vue +++ b/src/components/scBind/index.vue @@ -75,11 +75,8 @@ methods: { getBltList() { let that = this; - that.$API.third.tdevice.list.req({ type: 30, page: 0 }).then((res) => { - that.tdevice = res; - that.bltList = res.filter((item) => { - return item.employee_ === null; - }); + that.$API.third.tdevice.list.req({ type: 30, page: 0, state:'unused', query: '{id, code}'}).then((res) => { + that.bltList = res; }); },