diff --git a/hx-ai-intelligent/src/view/equipmentControl/electricDoor/index.vue b/hx-ai-intelligent/src/view/equipmentControl/electricDoor/index.vue index 617acdd..f647873 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/electricDoor/index.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/electricDoor/index.vue @@ -22,7 +22,7 @@ :style="{ 'background-color': ['#e43e1e', '#f59a23', '#bbcf10', '#62d7a7'][index % 3], }"> - {{ ['A号门', 'B号门', 'C号门', 'D号门'][index % 3] }} + {{ item.deviceInfoName }} @@ -44,7 +44,7 @@ :style="{ 'background-color': ['#e43e1e', '#f59a23', '#bbcf10', '#62d7a7'][index % 3], }"> - {{ ['A号门', 'B号门', 'C号门', 'D号门'][index % 3] }} + {{ item.deviceInfoName }} @@ -75,12 +75,17 @@ :style="{ border: '1px solid ' + - { '0': '#bfcde2', '1': '#0dffa4', '2': '#ffbc46' }[record.EGstRu], - color: { '0': '#bfcde2', '1': '#0dffa4', '2': '#ffbc46' }[record.EGstRu], + { '0': '#bfcde2', '1': '#0dffa4', '2': '#ffbc46' }[record.record.EGstRu], + color: { '0': '#bfcde2', '1': '#0dffa4', '2': '#ffbc46' }[ + record.record.EGstRu + ], }"> - {{ record.runMode.label }} + {{ record.record.runMode.label }} + + {{ record.record.time.substring(11, 19) }} + @@ -101,7 +106,7 @@ x