diff --git a/src/views/basic/workplace/bingdLedGroupDialog.vue b/src/views/basic/workplace/bingdLedGroupDialog.vue
index a9d1d881..33da3240 100644
--- a/src/views/basic/workplace/bingdLedGroupDialog.vue
+++ b/src/views/basic/workplace/bingdLedGroupDialog.vue
@@ -63,26 +63,26 @@
- 关闭
- 开启
+ 关闭
+ 开启
- 关闭
- 开启
+ 关闭
+ 开启
- 关闭
- 开启
+ 关闭
+ 开启
- 关闭
- 开启
+ 关闭
+ 开启
diff --git a/src/views/basic/workplace/ledManage.vue b/src/views/basic/workplace/ledManage.vue
index 91eda74d..4c98e6c4 100644
--- a/src/views/basic/workplace/ledManage.vue
+++ b/src/views/basic/workplace/ledManage.vue
@@ -66,26 +66,26 @@
- 关闭
- 开启
+ 关闭
+ 开启
- 关闭
- 开启
+ 关闭
+ 开启
- 关闭
- 开启
+ 关闭
+ 开启
- 关闭
- 开启
+ 关闭
+ 开启
diff --git a/src/views/basic/workplace/workplaceQueue.vue b/src/views/basic/workplace/workplaceQueue.vue
index 0e3f9f2a..af1b1278 100644
--- a/src/views/basic/workplace/workplaceQueue.vue
+++ b/src/views/basic/workplace/workplaceQueue.vue
@@ -246,16 +246,17 @@
+
{{ ledData.mac }}
{{ ledData.remark }}
- {{ lesStatusMap[ledData.red] }}
- {{ lesStatusMap[ledData.orange] }}
- {{ lesStatusMap[ledData.blue] }}
- {{ lesStatusMap[ledData.green] }}
+ {{ ledData.red == 0 ? "关闭" : "开启" }}
+ {{ ledData.orange == 0 ? "关闭" : "开启" }}
+ {{ ledData.blue == 0 ? "关闭" : "开启" }}
+ {{ ledData.green == 0 ? "关闭" : "开启" }}
@@ -502,7 +503,7 @@ export default {
lesStatusMap: {
true : "开启",
false: "关闭"
- }
+ },
}
},
methods: {
@@ -869,7 +870,12 @@ export default {
}
this.sysWorkplaceQueue = {}
this.product = {}
- this.ledData = {}
+ this.ledData = {
+ red : null,
+ orange: null,
+ blue: null,
+ green: null
+ }
this.addBindVisible = true
this.$nextTick(() => {
this.$refs.inputRef1.focus() // 设置焦点到第一个输入框