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; }); },