获取未绑卡信息优化
This commit is contained in:
parent
b62f16c80e
commit
ad026ef8d5
|
@ -75,11 +75,8 @@
|
||||||
methods: {
|
methods: {
|
||||||
getBltList() {
|
getBltList() {
|
||||||
let that = this;
|
let that = this;
|
||||||
that.$API.third.tdevice.list.req({ type: 30, page: 0 }).then((res) => {
|
that.$API.third.tdevice.list.req({ type: 30, page: 0, state:'unused', query: '{id, code}'}).then((res) => {
|
||||||
that.tdevice = res;
|
that.bltList = res;
|
||||||
that.bltList = res.filter((item) => {
|
|
||||||
return item.employee_ === null;
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue