From de5746330ae8800d06434736d4f66c4908bf6ecd Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 12 Apr 2023 15:29:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=91=E5=AE=9A=E8=A7=A3=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E4=BD=8D=E5=8D=A1=E5=90=8E=E5=88=B7=E6=96=B0=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/am/blt.vue | 2 +- src/views/hrm/employee.vue | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/am/blt.vue b/src/views/am/blt.vue index c1c2ca0f..3a4e8524 100644 --- a/src/views/am/blt.vue +++ b/src/views/am/blt.vue @@ -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) { diff --git a/src/views/hrm/employee.vue b/src/views/hrm/employee.vue index db0ad1a0..386703fd 100644 --- a/src/views/hrm/employee.vue +++ b/src/views/hrm/employee.vue @@ -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(); - } }); }, },