fix: 绑定解绑定位卡后刷新列表
This commit is contained in:
parent
dc78d09542
commit
de5746330a
|
@ -166,7 +166,7 @@ export default {
|
||||||
this.syncLoading = false;
|
this.syncLoading = false;
|
||||||
},
|
},
|
||||||
getEmployee(data) {
|
getEmployee(data) {
|
||||||
this.form.employee=data.id;
|
this.form.employee=data.employee;
|
||||||
this.form.employee_name=data.name
|
this.form.employee_name=data.name
|
||||||
},
|
},
|
||||||
handleBindBlt(type, row) {
|
handleBindBlt(type, row) {
|
||||||
|
|
|
@ -311,6 +311,7 @@ export default {
|
||||||
},
|
},
|
||||||
closed(data) {
|
closed(data) {
|
||||||
this.showBindBlt = false;
|
this.showBindBlt = false;
|
||||||
|
this.$refs.table.refresh();
|
||||||
},
|
},
|
||||||
|
|
||||||
getBltList() {
|
getBltList() {
|
||||||
|
@ -338,11 +339,8 @@ export default {
|
||||||
submitBindBlt() {
|
submitBindBlt() {
|
||||||
let that = this;
|
let that = this;
|
||||||
that.$API.third.tdevice.bltBind.req(this.form).then((res) => {
|
that.$API.third.tdevice.bltBind.req(this.form).then((res) => {
|
||||||
if (res.err_msg) {
|
|
||||||
} else {
|
|
||||||
that.showBindBlt = false;
|
that.showBindBlt = false;
|
||||||
that.$refs.table.refresh();
|
that.$refs.table.refresh();
|
||||||
}
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue