diff --git a/src/views/PBL/TVScreen/index.vue b/src/views/PBL/TVScreen/index.vue index f982e06..2493ebe 100644 --- a/src/views/PBL/TVScreen/index.vue +++ b/src/views/PBL/TVScreen/index.vue @@ -12,7 +12,7 @@
- +
料架号: {{ item.rackCode }}
@@ -24,7 +24,7 @@
{{ item2.layerNum === 1 ? '上层' : '中层' }}
- +
@@ -96,7 +96,9 @@ function closeLight(item) { function getStatusClass(item) { return item.isLight ? 'light' : '' } - +function getStatusBoxClass(item) { + return item.isLight ? 'box-light' : '' +} // 空箱 function boxSelectClass(num, index) { let _index = index + 1 @@ -159,7 +161,7 @@ const createSearchTimer = () => { clearSearchTimer() timer = setInterval(() => { getTimerData() - }, 5000) + }, 1000) } onMounted(() => { getTimerData() @@ -252,6 +254,9 @@ onUnmounted(() => { background-color: #f9f871 !important; color: #000000 !important; } +.box-light { + border: 5px solid #eedd78 !important; +} .screen .body { width: 100%; }