fix: 绑定解绑定位卡后刷新列表

This commit is contained in:
caoqianming 2023-04-12 15:29:42 +08:00
parent dc78d09542
commit de5746330a
2 changed files with 2 additions and 4 deletions

View File

@ -166,7 +166,7 @@ export default {
this.syncLoading = false;
},
getEmployee(data) {
this.form.employee=data.id;
this.form.employee=data.employee;
this.form.employee_name=data.name
},
handleBindBlt(type, row) {

View File

@ -311,6 +311,7 @@ export default {
},
closed(data) {
this.showBindBlt = false;
this.$refs.table.refresh();
},
getBltList() {
@ -338,11 +339,8 @@ export default {
submitBindBlt() {
let that = this;
that.$API.third.tdevice.bltBind.req(this.form).then((res) => {
if (res.err_msg) {
} else {
that.showBindBlt = false;
that.$refs.table.refresh();
}
});
},
},