diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 33d3cf89..7272b6b1 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -74,6 +74,7 @@ "less-loader": "^7.2.1", "lodash": "^4.17.21", "mathjs": "^11.7.0", + "mitt": "^3.0.1", "moment": "^2.29.1", "mpegts.js": "^1.7.3", "normalize.css": "7.0.0", @@ -104,11 +105,10 @@ "vue-slick-carousel": "^1.0.6", "vue-splitpane": "1.0.4", "vue-video-player": "^5.0.2", - "vuedraggable": "2.24.3", + "vuedraggable": "^2.24.3", "vuescroll": "^4.18.1", "vuex": "3.6.0", - "zrender": "^5.4.4", - "mitt": "^3.0.1" + "zrender": "^5.4.4" }, "devDependencies": { "@vue/cli-plugin-babel": "4.4.6", @@ -154,4 +154,4 @@ "> 1%", "last 2 versions" ] -} \ No newline at end of file +} diff --git a/ruoyi-ui/src/assets/styles/JiHeExpressway.scss b/ruoyi-ui/src/assets/styles/JiHeExpressway.scss index cc02947f..0395d767 100644 --- a/ruoyi-ui/src/assets/styles/JiHeExpressway.scss +++ b/ruoyi-ui/src/assets/styles/JiHeExpressway.scss @@ -277,4 +277,14 @@ .el-time-spinner__item.active{ color: #fff !important;} } + .el-picker-panel{ + .today div a,.today div span{ + color: #ff0 !important; + font-weight: bold !important; + } + .current div a.cell { + // background-color: #000 !important; + } + } + } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue index dab0013a..2a6194a2 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue @@ -3,35 +3,17 @@
-
-
+
@@ -203,7 +185,7 @@ export default { this.getDetails(); this.getVehicleTypeList(); }, - async mounted() {}, + async mounted() { }, beforeDestroy() { clearInterval(this.interval); }, @@ -255,7 +237,7 @@ export default { }) ); }) - .catch((err) => {}); + .catch((err) => { }); }, convertSecToHHmmss(sec) { let currentTime = moment.duration(sec, "seconds"); diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/InfoBoard/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/InfoBoard/index.vue index 28b7f398..9e48a5ab 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/InfoBoard/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/InfoBoard/index.vue @@ -61,20 +61,20 @@
-
-
设备名称
+
+
设备名称:
{{ selectedDevice.deviceName }}
-
设备桩号
+
设备桩号:
{{ selectedDevice.stakeMark }}
-
屏幕像素
+
屏幕像素:
{{ JSON.parse(selectedDevice.otherConfig).screenSize @@ -82,6 +82,12 @@ px
+
+
设备状态
+
+ {{ selectedDevice.deviceState == 1 ? "在线" : "离线" }} +
+