diff --git a/src/views/am/blt.vue b/src/views/am/blt.vue
index 86bf953e..c1c2ca0f 100644
--- a/src/views/am/blt.vue
+++ b/src/views/am/blt.vue
@@ -96,21 +96,19 @@
@closed="closeDrawer"
>
-
+
{{ bindBltMac }}
-
-
-
-
+
+
+
@@ -149,12 +147,11 @@ export default {
form: {
type: 10,
blt: "",
- employee: "",
+ employee: null,
},
};
},
mounted() {
- this.getEmployeeList();
},
methods: {
//表格选择后回调事件
@@ -168,15 +165,10 @@ export default {
this.$refs.table.refresh();
this.syncLoading = false;
},
- getEmployeeList() {
- let that = this;
- that.$API.hrm.employee.list
- .req({ job_state: 10, page: 0 })
- .then((res) => {
- that.tdevice = res;
- that.employeeList = res;
- });
- },
+ getEmployee(data) {
+ this.form.employee=data.id;
+ this.form.employee_name=data.name
+ },
handleBindBlt(type, row) {
this.dis = false;
this.form.blt = row.id;