diff --git a/ruoyi-ui/src/common/menuData.js b/ruoyi-ui/src/common/menuData.js index 3e788ba5..9827e639 100644 --- a/ruoyi-ui/src/common/menuData.js +++ b/ruoyi-ui/src/common/menuData.js @@ -102,6 +102,30 @@ export default [ }, ], }, + { + title: "扫码报警", + name: "controlQR", + path: "/control/qrCode", + component: "control/qrCode/index.vue" + }, + { + title: "非机预警", + name: "controlManual", + children: [ + { + title: "事件列表", + name: "controlManualEvents", + path: "/control/manual/events", + component: "control/manual/events/index.vue", + }, + { + title: "统计分析", + name: "controlManualStatistic", + path: "/control/manual/statistic", + component: "control/manual/statistic/index.vue", + } + ] + } ], }, { diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/CameraController.vue b/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/CameraController.vue index f05f37dc..fe9b7d92 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/CameraController.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/CameraController.vue @@ -126,7 +126,7 @@ export default { .compHead{ display: flex; justify-content: flex-end; padding-bottom: 20px; // img{ width: 20px; height: 20px; pointer-events: all;} - .iconfont{font-size: 18px; pointer-events: all;} + .iconfont{font-size: 18px; pointer-events: all; color: #3DE8FF;} } .compCon { display: flex; diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/infoBoard/BoardInfoEditor.vue b/ruoyi-ui/src/views/JiHeExpressway/components/infoBoard/BoardInfoEditor.vue index 54ba5735..f7874ae1 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/infoBoard/BoardInfoEditor.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/infoBoard/BoardInfoEditor.vue @@ -374,25 +374,27 @@ export default { }, }, watch: { - screenSize(newV){ - - if(newV){ - let boardH = newV.split("*")[1]; - let fontSize = "20"; - if (['64', '48'].includes(boardH)) { - this.maxFontSize = +boardH - fontSize = boardH + "" - } else if (['80'].includes(boardH)) { - this.maxFontSize = +boardH / 2 - fontSize = +boardH / 2 + "" - } else if (['160'].includes(boardH)) { - this.maxFontSize = +boardH / 2 - fontSize = +boardH / 4 + "" + screenSize:{ + handler(newV){ + if(newV){ + let boardH = newV.split("*")[1]; + let fontSize = "20"; + if (['64', '48'].includes(boardH)) { + this.maxFontSize = +boardH + fontSize = boardH + "" + } else if (['80'].includes(boardH)) { + this.maxFontSize = +boardH / 2 + fontSize = +boardH / 2 + "" + } else if (['160'].includes(boardH)) { + this.maxFontSize = +boardH / 2 + fontSize = +boardH / 4 + "" + } + this.deviceCttDefault.fontSize = fontSize + this.templateDefault.screenSize = newV; + this.templateDefault.fontSize = fontSize; } - this.deviceCttDefault.fontSize = fontSize - this.templateDefault.screenSize = newV; - this.templateDefault.fontSize = fontSize; - } + }, + immediate:true }, visible: { handler(newV) { @@ -453,10 +455,6 @@ export default { // this.templateDefault.fontSize = this.fontSizeList[0].dictValue // this.dataForm.FONT_SIZE = res.data[1].dictValue }); - - - - }, methods: { initData() { diff --git a/ruoyi-ui/src/views/JiHeExpressway/index.vue b/ruoyi-ui/src/views/JiHeExpressway/index.vue index 695829a0..1573d659 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/index.vue @@ -113,16 +113,16 @@ export default { } .content { - display: flex; - flex-direction: row; + // display: flex; + // flex-direction: row; pointer-events: none; ::v-deep { >div { - top: -6px; + // top: -6px; z-index: -1; pointer-events: auto; - height: calc(100% + 6px); + // height: calc(100% + 6px); } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/events/img.png b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/events/img.png new file mode 100644 index 00000000..52f690b2 Binary files /dev/null and b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/events/img.png differ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/events/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/events/index.vue new file mode 100644 index 00000000..2d52ab43 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/events/index.vue @@ -0,0 +1,42 @@ + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/img.png b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/img.png new file mode 100644 index 00000000..28196884 Binary files /dev/null and b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/img.png differ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/index.vue new file mode 100644 index 00000000..a8787fbb --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/index.vue @@ -0,0 +1,42 @@ + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/qrCode/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/qrCode/index.vue new file mode 100644 index 00000000..15c8cbf6 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/qrCode/index.vue @@ -0,0 +1,39 @@ + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/auditAnalytics/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/auditAnalytics/assets/charts.js index 146c6fa8..dbbd2ccb 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/auditAnalytics/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/auditAnalytics/assets/charts.js @@ -34,7 +34,7 @@ for (var i = 0; i < res.length; i++) { }); if (res[i].name != "") legendData.push(res[i].name); } - +let decoDelta = 48; var options = { color: ["#5CC5FF", "#54EFD5", "#FD9666", "#5C8CFE", "#51D5AD"], title: [ @@ -154,7 +154,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5; return { type: "circle", @@ -181,7 +181,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5, startAngle: ((350 + -angle) * Math.PI) / 180, endAngle: ((120 + -angle) * Math.PI) / 180, @@ -201,7 +201,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5; return { type: "circle", @@ -228,7 +228,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5, startAngle: ((150 + -angle) * Math.PI) / 180, endAngle: ((-30 + -angle) * Math.PI) / 180, @@ -248,7 +248,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56; return { type: "circle", @@ -275,7 +275,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56, startAngle: ((590 + -angle) * Math.PI) / 180, endAngle: ((350 + -angle) * Math.PI) / 180, @@ -295,7 +295,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56; return { type: "circle", @@ -322,7 +322,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56, startAngle: ((90 + -angle) * Math.PI) / 180, endAngle: ((160 + -angle) * Math.PI) / 180, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/auditAnalytics/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/auditAnalytics/index.vue index 2125c8a3..66da064c 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/auditAnalytics/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/auditAnalytics/index.vue @@ -42,10 +42,10 @@ export default { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/channelAnalytics/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/channelAnalytics/assets/charts.js index 5f48cc43..41d65863 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/channelAnalytics/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/channelAnalytics/assets/charts.js @@ -36,6 +36,7 @@ for (var i = 0; i < res.length; i++) { if (res[i].name != "") legendData.push(res[i].name); } let angle = 0; //角度,用来做简单的动画效果的 +let decoDelta = 48; var options = { color: ["#68F4DD", "#FFDD69", "#3CC3F0", "#5C8CFE", "#51D5AD"], title: [ @@ -155,7 +156,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5; return { type: "circle", @@ -182,7 +183,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5, startAngle: ((350 + -angle) * Math.PI) / 180, endAngle: ((120 + -angle) * Math.PI) / 180, @@ -202,7 +203,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5; return { type: "circle", @@ -229,7 +230,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5, startAngle: ((150 + -angle) * Math.PI) / 180, endAngle: ((-30 + -angle) * Math.PI) / 180, @@ -249,7 +250,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56; return { type: "circle", @@ -276,7 +277,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56, startAngle: ((590 + -angle) * Math.PI) / 180, endAngle: ((350 + -angle) * Math.PI) / 180, @@ -296,7 +297,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56; return { type: "circle", @@ -323,7 +324,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56, startAngle: ((90 + -angle) * Math.PI) / 180, endAngle: ((160 + -angle) * Math.PI) / 180, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/channelAnalytics/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/channelAnalytics/index.vue index b86a0b3f..3fbb0d13 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/channelAnalytics/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/channelAnalytics/index.vue @@ -42,9 +42,9 @@ export default { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/eventTypeAnalysis/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/eventTypeAnalysis/assets/charts.js index 4d9f3b62..e9362558 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/eventTypeAnalysis/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/eventTypeAnalysis/assets/charts.js @@ -51,7 +51,7 @@ for (var i = 0; i < res.length; i++) { }); if (res[i].name != "") legendData.push(res[i].name); } - +let decoDelta = 48; var options = { color: [ "#2867FF", @@ -180,7 +180,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5; return { type: "circle", @@ -207,7 +207,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5, startAngle: ((350 + -angle) * Math.PI) / 180, endAngle: ((120 + -angle) * Math.PI) / 180, @@ -227,7 +227,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5; return { type: "circle", @@ -254,7 +254,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.5, startAngle: ((150 + -angle) * Math.PI) / 180, endAngle: ((-30 + -angle) * Math.PI) / 180, @@ -274,7 +274,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56; return { type: "circle", @@ -301,7 +301,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56, startAngle: ((590 + -angle) * Math.PI) / 180, endAngle: ((350 + -angle) * Math.PI) / 180, @@ -321,7 +321,7 @@ var options = { coordinateSystem: "none", renderItem: (params, api) => { let x0 = api.getWidth() / 2; - let y0 = api.getHeight() / 2 - 59; + let y0 = api.getHeight() / 2 - decoDelta; let r = (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56; return { type: "circle", @@ -348,7 +348,7 @@ var options = { type: "arc", shape: { cx: api.getWidth() / 2, - cy: api.getHeight() / 2 - 59, + cy: api.getHeight() / 2 - decoDelta, r: (Math.min(api.getWidth(), api.getHeight()) / 2) * 0.56, startAngle: ((90 + -angle) * Math.PI) / 180, endAngle: ((160 + -angle) * Math.PI) / 180, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/eventTypeAnalysis/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/eventTypeAnalysis/index.vue index 72ee5f3b..80c08cef 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/eventTypeAnalysis/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/eventTypeAnalysis/index.vue @@ -1,5 +1,5 @@