diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue index ccb78f6a..bcca3e9b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue @@ -1,38 +1,54 @@ @@ -38,14 +38,14 @@ export default { return { active: { text: "启用", - color: "#fff", - textColor: "#00B3CC", + color: "#00B3CC", + textColor: "#fff", ...this.activeOption?.active }, unActive: { text: "停用", - color: "#00B3CC", - textColor: "#fff", + color: "#fff", + textColor: "#00B3CC", ...this.activeOption?.unActive } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js b/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js index 6de34e21..3175d5c8 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js +++ b/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js @@ -970,7 +970,7 @@ export const SchedulingEnum = { }, }; -const CameraChildTypes = { +export const CameraChildTypes = { "1-1": "高清网络枪型固定摄像机", "1-2": "高清网络球形摄像机", "1-3": "桥下高清网络球形摄像机", @@ -978,7 +978,7 @@ const CameraChildTypes = { "1-5": "180°全景摄像机", }; -const BoardChildTypes = { +export const BoardChildTypes = { "2-1": "门架式可变信息标志", "2-2": "大学城入口站前板", "2-3": "雨棚可变信息标志",