diff --git a/ruoyi-ui/src/assets/images/login/139.png b/ruoyi-ui/src/assets/images/login/139.png new file mode 100644 index 00000000..edd626e4 Binary files /dev/null and b/ruoyi-ui/src/assets/images/login/139.png differ diff --git a/ruoyi-ui/src/assets/images/login/login-background.png b/ruoyi-ui/src/assets/images/login/login-background.png new file mode 100644 index 00000000..26a364dc Binary files /dev/null and b/ruoyi-ui/src/assets/images/login/login-background.png differ diff --git a/ruoyi-ui/src/assets/images/login/logo.png b/ruoyi-ui/src/assets/images/login/logo.png new file mode 100644 index 00000000..bb77139b Binary files /dev/null and b/ruoyi-ui/src/assets/images/login/logo.png differ diff --git a/ruoyi-ui/src/assets/images/login/password.png b/ruoyi-ui/src/assets/images/login/password.png new file mode 100644 index 00000000..8231760a Binary files /dev/null and b/ruoyi-ui/src/assets/images/login/password.png differ diff --git a/ruoyi-ui/src/assets/images/login/user.png b/ruoyi-ui/src/assets/images/login/user.png new file mode 100644 index 00000000..9c5c54d9 Binary files /dev/null and b/ruoyi-ui/src/assets/images/login/user.png differ diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue index 97dcbe14..5c3ed94a 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue @@ -14,7 +14,7 @@ export default { getProps() { return { // total - layout: "prev, pager, next, sizes, jumper,total", + layout: "prev, pager, next, sizes, jumper, total", ...this.$attrs, small: true, }; @@ -109,5 +109,8 @@ export default { margin-right: 6px; } } + ::v-deep .el-pagination__total { + margin-left: 10px; + } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/images/home-Frame/logoMean.jpg b/ruoyi-ui/src/views/JiHeExpressway/images/home-Frame/logoMean.jpg deleted file mode 100644 index 67814fe5..00000000 Binary files a/ruoyi-ui/src/views/JiHeExpressway/images/home-Frame/logoMean.jpg and /dev/null differ diff --git a/ruoyi-ui/src/views/JiHeExpressway/images/home-Frame/logoMean.png b/ruoyi-ui/src/views/JiHeExpressway/images/home-Frame/logoMean.png new file mode 100644 index 00000000..fa12035a Binary files /dev/null and b/ruoyi-ui/src/views/JiHeExpressway/images/home-Frame/logoMean.png differ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrame/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrame/index.vue index 4f7ea6e3..2ac7dcd5 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrame/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrame/index.vue @@ -1,17 +1,24 @@ - - diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue index 8d6451a1..2e422e03 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue @@ -42,6 +42,12 @@ import EventDispatchDialog from "./EventDispatchDialog/index"; import { searchFormList } from './data'; import request from "@/utils/request"; +const directionMapping = { + '1': '菏泽方向', + '2': '双向', + '3': '济南方向' +} + export default { name: 'RoadNetworkMonitoring', components: { @@ -81,8 +87,11 @@ export default { params: this.searchData, }).then((result) => { if (result.code != 200) return Message.error(result?.msg); - this.data = result.rows; this.total = result.total; + result.rows.forEach(it => { + it.stringDirection = directionMapping[it.direction] || it.direction; + }) + this.data = result.rows; }); }, onSizeChange(pageSize) { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue index 19d2210e..3d4d0d68 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue @@ -1,13 +1,13 @@ @@ -33,6 +34,7 @@ import Video from "@screen/components/Video"; import Carousel from "./Carousel/index.vue" import Button from '@screen/components/Buttons/Button.vue'; import request from "@/utils/request"; +import { Message } from "element-ui"; var moment = require("moment"); export default { @@ -92,7 +94,7 @@ export default { }, methods: { getProcess() { - if(this.activeName == '-1' || this.activeName == '0'){ + if (this.activeName == '-1' || this.activeName == '0') { this.timeLine1List = []; this.timeLine2List = []; return; @@ -144,6 +146,31 @@ export default { }) + }, + onDelete() { + if (this.formData.id) { + this.$confirm('确定误报吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + // this.modelVisible = false; + // this.$emit('queryData', true); + // return; + request({ + url: `/business/warning/delete`, + method: "post", + data: { id: this.formData.id } + }).then(result => { + if (result.code == 200) Message.success('成功!'); + else Message.error(result?.msg); + this.modelVisible = false; + this.$emit('queryData', true); + }) + }) + + } + } } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/PresetFormItems.js b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/PresetFormItems.js index 5f63793a..bde66452 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/PresetFormItems.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/PresetFormItems.js @@ -367,6 +367,9 @@ export const vehicleCondition = (keyPrefix = "dcEventAccident") => ({ text: "辆", }, type: "inputNumber", + options: { + min: 0, + }, key: `${keyPrefix}.smallCar`, }, { @@ -376,6 +379,9 @@ export const vehicleCondition = (keyPrefix = "dcEventAccident") => ({ suffix: { text: "辆", }, + options: { + min: 0, + }, type: "inputNumber", key: `${keyPrefix}.trucks`, }, @@ -387,6 +393,9 @@ export const vehicleCondition = (keyPrefix = "dcEventAccident") => ({ text: "辆", }, type: "inputNumber", + options: { + min: 0, + }, key: `${keyPrefix}.buses`, }, { @@ -397,6 +406,9 @@ export const vehicleCondition = (keyPrefix = "dcEventAccident") => ({ text: "辆", }, type: "inputNumber", + options: { + min: 0, + }, key: `${keyPrefix}.tankers`, }, ], @@ -630,23 +642,23 @@ export const trafficAccidentType = { options: { options: [ { - value: "1", + value: "1-1", label: "追尾", }, { - value: "2", + value: "1-2", label: "侧翻", }, { - value: "3", + value: "1-3", label: "撞护栏", }, { - value: "4", + value: "1-4", label: "自然", }, { - value: "5", + value: "1-5", label: "其他事故", }, ], diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/data.js index 2f1098d2..0516f4e2 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/data.js @@ -63,10 +63,7 @@ export const tabConfigList = [ ...PresetFormItems.callPolicePersonPhone, key: "dcEventAccident.reporterPhoneNumber", }, - { - ...PresetFormItems.trafficAccidentType, - key: "dcEventAccident.accidentType", - }, + PresetFormItems.trafficAccidentType, PresetFormItems.eventLevel, { ...PresetFormItems.locationMode, @@ -422,7 +419,14 @@ export const tabConfigList = [ }, }, PresetFormItems.direction, - PresetFormItems.station, + { ...PresetFormItems.station, + visible: (data) => { + if (data.dcEventVehicleAccident && data.dcEventVehicleAccident.locationType != 1) { + return false; + } + return true; + }, + }, PresetFormItems.eventHappenTime, PresetFormItems.aEstimatedReleaseTime, { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js index a5423158..775dc18d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js @@ -83,6 +83,10 @@ export const gjSearchFormList = [ key: "6", label: "非机预警", }, + { + key: "7", + label: "气象监测器", + }, ], }, }, @@ -145,17 +149,17 @@ export const gzSearchFormList = [ options: { options: [ { - key: "济南方向", - label: "济南方向", - }, - { - key: "菏泽方向", + key: "1", label: "菏泽方向", }, { - key: "双向", - label: "双向", + key: "3", + label: "济南方向", }, + // { + // key: "双向", + // label: "双向", + // }, ], }, }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue index 6a44b764..3fe4e4c2 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue @@ -5,7 +5,7 @@
- + @@ -43,7 +43,7 @@
- +
@@ -59,6 +59,7 @@ import EventDetailDialog from "./EventDetailDialog/index"; import FormEvent from "./FormEvent/index"; import { tabMap, gjSearchFormList, gzSearchFormList } from "./data"; import request from "@/utils/request"; +import { Message } from "element-ui"; import { Loading } from 'element-ui'; function getRandomData(min = 1, max = 15) { @@ -81,6 +82,7 @@ const warningSourceMapping = { 4: '护栏碰撞', 5: '扫码报警', 6: '非机预警', + 7: '气象监测器' } const directionMapping = { '1': '上行', @@ -179,6 +181,9 @@ export default { lastBtnText: text, }; }, + queryData(flag){ + this.getData() + }, getData() { if (this.activeName === '-1') { request({ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsDay/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsDay/assets/charts.js index bf55ef05..322bd9bd 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsDay/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsDay/assets/charts.js @@ -24,7 +24,7 @@ var options = { grid: { top: "15%", //上边距 right: "0", //右边距 - left: "10px", //左边距 + left: "15px", //左边距 bottom: "10%", //下边距 containLabel: true, }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/data.js index d605840d..e5324981 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/data.js @@ -27,7 +27,7 @@ export const searchFormList = [ { label: "时间范围:", key: "time", - required: true, + // required: true, type: "datePicker", options: { format:"yyyy-MM-dd", @@ -35,9 +35,9 @@ export const searchFormList = [ }, }, { - label: "型号类型:", + label: "设备类型:", key: "type", - required: true, + // required: true, type: "select", options: { options: [ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/assets/charts.js index edffb3de..61c85463 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/assets/charts.js @@ -39,7 +39,7 @@ var options = { }, }, grid: { - left: "1%", + left: "10px", right: "0%", top: "16%", bottom: "5%", diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/index.vue index 9d533bae..879158ae 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/index.vue @@ -1,52 +1,55 @@ - - - - - \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/assets/charts2.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/assets/charts2.js index 221623b2..86fa33f2 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/assets/charts2.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/assets/charts2.js @@ -51,8 +51,8 @@ let chartData = [], "#50EED3", "#5DEF9E", "#29B3FF", - "#FB5C38", - "#FB5C38", + "#29A1AF", + "#2D5CA8", "#FCBB14", ]; for (let i = 0; i < data.length; i++) { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/assets/charts3.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/assets/charts3.js index b18cc633..59bddcab 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/assets/charts3.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/assets/charts3.js @@ -54,7 +54,7 @@ let options = { name: "(起)", nameTextStyle: { color: "#fff", - fomtSize: 10, + fontSize: 10, align: "right", }, min: 0, @@ -191,6 +191,9 @@ let options = { zlevel: 10, data: [], animationDelay: 500, + tooltip: { + show: false, + }, }, ], }; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue index 9abb5d86..60366b91 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue @@ -220,8 +220,8 @@ export default { dateTime: "2024", direction: "1", dataList: [], - selectIndex: 3, - selectId: 3, + selectIndex: 1, + selectId: 1, type: "year", chart1List: [], chart2List: [], @@ -400,30 +400,24 @@ export default { data.forEach((it) => { if (it.warningType == 1) { types.push("交通拥堵"); - } - if (it.warningType == 2) { + } else if (it.warningType == 2) { types.push("行人"); - } - if (it.warningType == 3) { + } else if (it.warningType == 3) { types.push("非机动车"); - } - if (it.warningType == 4) { + } else if (it.warningType == 4) { types.push("停车"); - } - if (it.warningType == 5) { + } else if (it.warningType == 5) { types.push("倒车/逆行"); - } - if (it.warningType == 6) { + } else if (it.warningType == 6) { types.push("烟火"); - } - if (it.warningType == 7) { + } else if (it.warningType == 7) { types.push("撒落物"); - } - if (it.warningType == 8) { + } else if (it.warningType == 8) { types.push("异常天气"); - } - if (it.warningType == 9) { + } else if (it.warningType == 9) { types.push("护栏碰撞"); + } else { + types.push("其他"); } numbers.push({ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/assets/charts.js index 6ea73b0c..7bfe5e2e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/assets/charts.js @@ -1,25 +1,4 @@ -let data = [ - { - average: 30, - name: "视频识别", - percent: 0.2, - }, - { - average: 25, - name: "雷达识别", - percent: 0.25, - }, - { - average: 15, - name: "锥桶", - percent: 0.3, - }, - { - average: 30, - name: "护栏碰撞", - percent: 0.25, - }, -]; +let data = []; window.mainData = data; @@ -115,7 +94,7 @@ var options = { right: 0, orient: "vertical", //改变排列方式 icon: "circle", //改变legend小图标形状 - itemGap: 15, // 设置legend的间距 + itemGap: 10, // 设置legend的间距 itemWidth: 8, // 设置宽度 // itemHeight: 15, // 设置高度 diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/index.vue index 4ec2128f..5de3c418 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/index.vue @@ -86,7 +86,7 @@ export default { { average: 0, name: "护栏碰撞", - percent: 0.2, + percent: 0.1, }, { average: 0, @@ -98,6 +98,11 @@ export default { name: "非机预警", percent: 0.1, }, + { + average: 0, + name: "气象监测器", + percent: 0.1, + }, ]; data.forEach((it) => { if (it.warningSource == 1) { @@ -118,6 +123,9 @@ export default { if (it.warningSource == 6) { chartData[5].average += it.number; } + if (it.warningSource == 7) { + chartData[6].average += it.number; + } // total ++; // drawRoundRect(context, 231, 37 + (index * 27), 138, 20, 12, gr); }); @@ -148,7 +156,7 @@ export default { }); } window.mainData = mainData; - console.log("mainData", mainData); + // console.log("mainData", mainData); chartsStatistics.title.text = `{tb|${total}}`; chartsStatistics.title.subtext = "{zb|总数}"; @@ -208,12 +216,13 @@ export default { let gr = context.createLinearGradient(230, 0, 360, 0); gr.addColorStop(1, "rgba(92,197,255,0)"); gr.addColorStop(0, "rgba(92,197,255,0.3)"); - drawRoundRect(context, 214, 15, 134, 21, 12, gr); - drawRoundRect(context, 214, 42, 134, 21, 12, gr); - drawRoundRect(context, 214, 69, 134, 21, 12, gr); - drawRoundRect(context, 214, 96, 134, 21, 12, gr); - drawRoundRect(context, 214, 123, 134, 21, 12, gr); - drawRoundRect(context, 214, 150, 134, 21, 12, gr); + drawRoundRect(context, 206, 16, 134, 18, 12, gr); + drawRoundRect(context, 206, 39, 134, 18, 12, gr); + drawRoundRect(context, 206, 61, 134, 18, 12, gr); + drawRoundRect(context, 206, 83, 134, 18, 12, gr); + drawRoundRect(context, 206, 105, 134, 18, 12, gr); + drawRoundRect(context, 206, 127, 134, 18, 12, gr); + drawRoundRect(context, 206, 149, 134, 18, 12, gr); context.lineWidth = 1; // 设置线段宽度 diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/monthStatistics/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/monthStatistics/index.vue index 9a758274..ec5c19d6 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/monthStatistics/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/monthStatistics/index.vue @@ -1,42 +1,44 @@ - - - - - \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railway/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railway/index.vue index aac78436..74e7399f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railway/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railway/index.vue @@ -6,10 +6,16 @@
路段车流量Top10
断面交通量Top10
--> - -
- + +
@@ -27,7 +33,7 @@ export default { }, data() { return { - dataList: [] + dataList: [], }; }, @@ -41,7 +47,7 @@ export default { getSectionPerceivedList().then((res) => { console.log(res); if (res.code == 200) { - this.dataList = res.data + this.dataList = res.data; let data = res.data; let texts = []; @@ -60,7 +66,7 @@ export default { }); }); }, - created() { }, + created() {}, methods: {}, }; @@ -77,9 +83,12 @@ export default { border-radius: 5px 5px 5px 5px; opacity: 1; border: 1px solid; - border-image: linear-gradient(360deg, + border-image: linear-gradient( + 360deg, rgba(55, 231, 255, 0.3), - rgba(55, 231, 255, 0)) 1 1; + rgba(55, 231, 255, 0) + ) + 1 1; display: flex; justify-content: flex-start; align-items: center; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/assets/charts.js index 32496833..2de31be1 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/assets/charts.js @@ -58,7 +58,7 @@ var options = { grid: { top: "15%", //上边距 right: "0", //右边距 - left: "0", //左边距 + left: "10px", //左边距 bottom: "0%", //下边距 containLabel: true, }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/index.vue index 02b0c23b..8e043c37 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/index.vue @@ -1,42 +1,44 @@ - - \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue index c4379cb6..4cd1a98d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue @@ -1,5 +1,5 @@ - + - - - \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/classification/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/classification/assets/charts.js index 0c5d9bd3..fd3edf39 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/classification/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/classification/assets/charts.js @@ -189,7 +189,7 @@ var options = { itemStyle: { normal: { borderRadius: "5", - borderWidth: 2, + borderWidth: 4, borderType: "solid", borderCap: "round", borderJoin: "round", diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/congestion/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/congestion/assets/charts.js index 46e65aa3..213ed6ef 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/congestion/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/congestion/assets/charts.js @@ -55,6 +55,10 @@ nameList.map((item, index) => { }); var options = { + tooltip: { + show: true, + trigger: "axis", + }, grid: { top: "5%", //上边距 right: "20px", //右边距 @@ -157,6 +161,9 @@ var options = { borderRadius: 6, }, }, + tooltip: { + show: false, + }, }, ], }; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/flowstate/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/flowstate/assets/charts.js index a2ed2068..a6743533 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/flowstate/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/flowstate/assets/charts.js @@ -1,5 +1,9 @@ import * as echarts from "echarts"; var options = { + tooltip: { + show: true, + trigger: "axis", + }, axisPointer: { link: [ { @@ -127,7 +131,7 @@ var options = { ], series: [ { - name: "Evaporation", + name: "", type: "line", symbolSize: 0, lineStyle: { @@ -160,7 +164,7 @@ var options = { ], }, { - name: "Rainfall", + name: "", type: "line", symbol: "circle", symbolSize: 0, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorQuery/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorQuery/data.js new file mode 100644 index 00000000..ceb40be9 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorQuery/data.js @@ -0,0 +1,43 @@ +export const searchFormList = [ + { + label: "路段名称:", + key: "ld", + // required: true, + type: "select", + options: { + options: [], + }, + }, + { + label: "指标名称:", + key: "type", + // required: true, + type: "select", + options: { + options: [ + { + value: "1", + label: "拥挤度", + }, + { + value: "2", + label: "饱和度", + }, + { + value: "3", + label: "交通组成特征指数", + }, + ], + }, + }, + { + label: "时间范围:", + key: "time", + // required: true, + type: "datePicker", + options: { + format: "yyyy-MM-dd", + type: "daterange", + }, + }, +]; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorQuery/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorQuery/index.vue index b974fb6f..e365ea3e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorQuery/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorQuery/index.vue @@ -1,12 +1,19 @@ - - - \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js index 3bff0d09..9991db10 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js @@ -1,271 +1,302 @@ - /* 数据 */ -let nameList = ["00:00", "02:00", "04:00", "06:00", "08:00", "10:00", "12:00", "14:00", "16:00", "18:00", "20:00", "22:00"]; // 类别 -let valueList = [800, 520, 650, 950, 420, 600, 450, 720, 303, 503 , 203 ,703 , 903 ]; // 人数 -var yList = [ "1000","800","轻度拥堵","基本畅通","畅通"] +let nameList = [ + "00:00", + "02:00", + "04:00", + "06:00", + "08:00", + "10:00", + "12:00", + "14:00", + "16:00", + "18:00", + "20:00", + "22:00", +]; // 类别 +let valueList = [ + 800, 520, 650, 950, 420, 600, 450, 720, 303, 503, 203, 703, 903, +]; // 人数 +var yList = ["1000", "800", "轻度拥堵", "基本畅通", "畅通"]; /* 数据整合 */ let dataList = []; nameList.map((item, index) => { - if (index === 4) { - dataList.push({ - name: item, - value: valueList[index], - itemStyle: { - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [{ - offset: 0, color: '#FFB904' // 0% 处的颜色 - }, { - offset: 1, color: '#FF6969' // 100% 处的颜色 - }], - global: false // 缺省为 false + if (index === 4) { + dataList.push({ + name: item, + value: valueList[index], + itemStyle: { + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { + offset: 0, + color: "#FFB904", // 0% 处的颜色 + }, + { + offset: 1, + color: "#FF6969", // 100% 处的颜色 }, - borderRadius: 6 - }, - label: { show: false } - }) - } else { - dataList.push({ - name: item, - value: valueList[index], - itemStyle:{ - borderRadius: 6 - } - }) - } -}) + ], + global: false, // 缺省为 false + }, + borderRadius: 6, + }, + label: { show: false }, + }); + } else { + dataList.push({ + name: item, + value: valueList[index], + itemStyle: { + borderRadius: 6, + }, + }); + } +}); var options = { - legend: { - // orient: 'vertical', - icon: "circle", - itemHeight: 8, - itemWidth: 8, - top: "5%", - x: "right", - textStyle: { - color: "#fff", - }, + tooltip: { + show: true, + trigger: "axis", + }, + legend: { + // orient: 'vertical', + icon: "circle", + itemHeight: 8, + itemWidth: 8, + top: "20px", + x: "right", + textStyle: { + color: "#fff", }, - grid: { - top: '15%',//上边距 - right: '0',//右边距 - left: '0',//左边距 - bottom: "10%",//下边距 - containLabel: true, - }, - xAxis: { - type: 'category', - data: nameList, - axisTick: { - show: false //隐藏X轴刻度 - }, - axisLine: { - lineStyle: { - color: "rgba(49, 217, 255, 0.8)" - } - }, - axisLabel: { - show: true, - color: '#B6E6FF', - fontSize:8, - fontFamily: 'Source Han Sans CN-Regular', + }, + grid: { + top: "75px", //上边距 + right: "0", //右边距 + left: "0", //左边距 + bottom: "20px", //下边距 + containLabel: true, + }, + xAxis: { + type: "category", + data: nameList, + axisTick: { + show: false, //隐藏X轴刻度 + }, + axisLine: { + lineStyle: { + color: "rgba(49, 217, 255, 0.8)", }, - }, - yAxis: [{ - type: 'value', - name: "", - max: 1200, - min:0, - splitNumber:5, + }, + axisLabel: { + show: true, + color: "#fff", + fontSize: 10, + }, + }, + yAxis: [ + { + type: "value", + name: "(起)", nameTextStyle: { - color: '#B6E6FF', - fontSize: 13, - fontFamily: 'Source Han Sans CN-Regular', - align: "left", - verticalAlign: "center", + color: "#fff", + fontSize: 10, + align: "right", + verticalAlign: "center", }, axisLabel: { - fontSize: 13, - color: '#B6E6FF', - fontFamily: 'HarmonyOS Sans-Regular', - // formatter:function(value,index){ - // return yList[index] - // } + fontSize: 10, + color: "#fff", + // formatter:function(value,index){ + // return yList[index] + // } }, axisLine: { - show: false, + show: false, }, axisTick: { - show: false + show: false, }, splitLine: { - lineStyle: { - color: 'rgba(49, 217, 255, 0.5)', - } + lineStyle: { + color: "rgba(49, 217, 255, 0.5)", + }, + }, + }, + ], + series: [ + { + name: "情报板发布", + type: "line", + symbol: "circle", + symbolSize: 0, + smooth: true, + areaStyle: { + width: 4, + opacity: 0.25, + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { offset: 0.389, color: "#32BB8A90" }, + { offset: 1, color: "#32BB8A00" }, + ], + global: false, + }, + }, + // yAxisIndex: 1, // 与第二个 y 轴关联 + itemStyle: { + color: "#32BB8A", + }, + lineStyle: { + width: 2, }, - }], - series: [ - { - name: '情报板发布', - type: 'line', - symbol: 'circle', - symbolSize: 0, - smooth: true, - areaStyle: { - width: 4, - opacity: 0.25, - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { offset: 0.389, color: "#32BB8A90" }, - { offset: 1, color: "#32BB8A00" }, - ], - global: false, - }, - }, - // yAxisIndex: 1, // 与第二个 y 轴关联 - itemStyle: { - color: '#32BB8A', - }, - lineStyle: { - width:2, - }, - - data: [1000, 800, 520, 600, 900, 700, 700,1000, 800, 520, 600, 900, 700, 700], // 折线图的数据 - }, - { - name: '服务网站', - type: 'line', - symbol: 'circle', - symbolSize: 0, - // yAxisIndex: 1, // 与第二个 y 轴关联 - itemStyle: { - color: '#08BAF4', - }, - lineStyle: { - width: 2, - }, - smooth: true, - areaStyle: { - width: 4, - opacity: 0.25, - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { offset: 0.389, color: "#08BAF490" }, - { offset: 1, color: "#08BAF400" }, - ], - global: false, - }, - }, - data: [600, 700, 900, 400, 500, 800, 600,600, 700, 900, 400, 500, 800, 600], // 折线图的数据 - }, - { - name: '微信发布', - type: 'line', - symbol: 'circle', - symbolSize: 0, - // yAxisIndex: 1, // 与第二个 y 轴关联 - itemStyle: { - color: '#E2BA74', - }, - smooth: true, - areaStyle: { - width: 4, - opacity: 0.25, - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { offset: 0.389, color: "#E2BA7490" }, - { offset: 1, color: "#E2BA7400" }, - ], - global: false, - }, - }, - lineStyle: { - width: 2, - }, - data: [850, 810, 712, 580, 480, 480, 780,850, 810, 712, 580, 480, 480, 780], // 折线图的数据 - },{ - name: '微博发布', - type: 'line', - symbol: 'circle', - symbolSize: 0, - // yAxisIndex: 1, // 与第二个 y 轴关联 - itemStyle: { - color: '#51BFA4', - }, - smooth: true, - areaStyle: { - width: 4, - opacity: 0.25, - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { offset: 0.389, color: "#51BFA490" }, - { offset: 1, color: "#51BFA400" }, - ], - global: false, - }, - }, - lineStyle: { - width: 2, - }, - data: [850, 810, 712, 580, 480, 480, 780,850, 810, 712, 580, 480, 480, 780], // 折线图的数据 - },{ - name: '短信发布', - type: 'line', - symbol: 'circle', - symbolSize: 0, - // yAxisIndex: 1, // 与第二个 y 轴关联 - itemStyle: { - color: '#08BAF4', - }, - smooth: true, - areaStyle: { - width: 4, - opacity: 0.25, - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { offset: 0.389, color: "#08BAF490" }, - { offset: 1, color: "#08BAF400" }, - ], - global: false, - }, - }, - lineStyle: { - width: 2, - }, - data: [850, 410, 712, 680, 50, 280, 480,850, 810, 712, 580, 480, 480, 780], // 折线图的数据 - }, - ] -} + data: [ + 1000, 800, 520, 600, 900, 700, 700, 1000, 800, 520, 600, 900, 700, 700, + ], // 折线图的数据 + }, + { + name: "服务网站", + type: "line", + symbol: "circle", + symbolSize: 0, + + // yAxisIndex: 1, // 与第二个 y 轴关联 + itemStyle: { + color: "#08BAF4", + }, + lineStyle: { + width: 2, + }, + smooth: true, + areaStyle: { + width: 4, + opacity: 0.25, + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { offset: 0.389, color: "#08BAF490" }, + { offset: 1, color: "#08BAF400" }, + ], + global: false, + }, + }, + data: [ + 600, 700, 900, 400, 500, 800, 600, 600, 700, 900, 400, 500, 800, 600, + ], // 折线图的数据 + }, + { + name: "微信发布", + type: "line", + symbol: "circle", + symbolSize: 0, + // yAxisIndex: 1, // 与第二个 y 轴关联 + itemStyle: { + color: "#E2BA74", + }, + smooth: true, + areaStyle: { + width: 4, + opacity: 0.25, + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { offset: 0.389, color: "#E2BA7490" }, + { offset: 1, color: "#E2BA7400" }, + ], + global: false, + }, + }, + lineStyle: { + width: 2, + }, + data: [ + 850, 810, 712, 580, 480, 480, 780, 850, 810, 712, 580, 480, 480, 780, + ], // 折线图的数据 + }, + { + name: "微博发布", + type: "line", + symbol: "circle", + symbolSize: 0, + // yAxisIndex: 1, // 与第二个 y 轴关联 + itemStyle: { + color: "#51BFA4", + }, + smooth: true, + areaStyle: { + width: 4, + opacity: 0.25, + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { offset: 0.389, color: "#51BFA490" }, + { offset: 1, color: "#51BFA400" }, + ], + global: false, + }, + }, + lineStyle: { + width: 2, + }, + data: [ + 850, 810, 712, 580, 480, 480, 780, 850, 810, 712, 580, 480, 480, 780, + ], // 折线图的数据 + }, + { + name: "短信发布", + type: "line", + symbol: "circle", + symbolSize: 0, + // yAxisIndex: 1, // 与第二个 y 轴关联 + itemStyle: { + color: "#08BAF4", + }, + smooth: true, + areaStyle: { + width: 4, + opacity: 0.25, + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { offset: 0.389, color: "#08BAF490" }, + { offset: 1, color: "#08BAF400" }, + ], + global: false, + }, + }, + lineStyle: { + width: 2, + }, + data: [ + 850, 410, 712, 680, 50, 280, 480, 850, 810, 712, 580, 480, 480, 780, + ], // 折线图的数据 + }, + ], +}; export default options; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js index b5d032e2..c0b1c0e7 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js @@ -1,271 +1,293 @@ - /* 数据 */ -let nameList = ["00:00", "02:00", "04:00", "06:00", "08:00", "10:00", "12:00", "14:00", "16:00", "18:00", "20:00", "22:00"]; // 类别 -let valueList = [800, 520, 650, 950, 420, 600, 450, 720, 303, 503 , 203 ,703 , 903 ]; // 人数 -var yList = [ "1000","800","轻度拥堵","基本畅通","畅通"] +let nameList = [ + "00:00", + "02:00", + "04:00", + "06:00", + "08:00", + "10:00", + "12:00", + "14:00", + "16:00", + "18:00", + "20:00", + "22:00", +]; // 类别 +let valueList = [ + 800, 520, 650, 950, 420, 600, 450, 720, 303, 503, 203, 703, 903, 903, +]; // 人数 +var yList = ["1000", "800", "轻度拥堵", "基本畅通", "畅通"]; /* 数据整合 */ let dataList = []; nameList.map((item, index) => { - if (index === 4) { - dataList.push({ - name: item, - value: valueList[index], - itemStyle: { - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [{ - offset: 0, color: '#FFB904' // 0% 处的颜色 - }, { - offset: 1, color: '#FF6969' // 100% 处的颜色 - }], - global: false // 缺省为 false + if (index === 4) { + dataList.push({ + name: item, + value: valueList[index], + itemStyle: { + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { + offset: 0, + color: "#FFB904", // 0% 处的颜色 + }, + { + offset: 1, + color: "#FF6969", // 100% 处的颜色 }, - borderRadius: 6 - }, - label: { show: false } - }) - } else { - dataList.push({ - name: item, - value: valueList[index], - itemStyle:{ - borderRadius: 6 - } - }) - } -}) + ], + global: false, // 缺省为 false + }, + borderRadius: 6, + }, + label: { show: false }, + }); + } else { + dataList.push({ + name: item, + value: valueList[index], + itemStyle: { + borderRadius: 6, + }, + }); + } +}); var options = { - legend: { - // orient: 'vertical', - icon: "circle", - itemHeight: 8, - itemWidth: 8, - top: "5%", - x: "right", - textStyle: { - color: "#fff", - }, + tooltip: { + show: true, + trigger: "axis", + }, + legend: { + // orient: 'vertical', + icon: "circle", + itemHeight: 8, + itemWidth: 8, + top: "5%", + x: "right", + textStyle: { + color: "#fff", }, - grid: { - top: '20%',//上边距 - right: '0',//右边距 - left: '0',//左边距 - bottom: "10%",//下边距 - containLabel: true, - }, - xAxis: { - type: 'category', - data: nameList, - axisTick: { - show: false //隐藏X轴刻度 - }, - axisLine: { - lineStyle: { - color: "rgba(49, 217, 255, 0.8)" - } - }, - axisLabel: { - show: true, - color: '#B6E6FF', - fontSize:8, - fontFamily: 'Source Han Sans CN-Regular', + }, + grid: { + top: "80px", //上边距 + right: "0", //右边距 + left: "0", //左边距 + bottom: "10px", //下边距 + containLabel: true, + }, + xAxis: { + type: "category", + data: nameList, + axisTick: { + show: false, //隐藏X轴刻度 + }, + axisLine: { + lineStyle: { + color: "rgba(49, 217, 255, 0.8)", }, - }, - yAxis: [{ - type: 'value', - name: "", - max: 1000, - min:0, - splitNumber:5, + }, + axisLabel: { + show: true, + color: "#fff", + fontSize: 10, + }, + }, + yAxis: [ + { + type: "value", + name: "(起)", nameTextStyle: { - color: '#B6E6FF', - fontSize: 13, - fontFamily: 'Source Han Sans CN-Regular', - align: "left", - verticalAlign: "center", + color: "#fff", + fontSize: 10, + align: "right", + verticalAlign: "center", }, axisLabel: { - fontSize: 13, - color: '#B6E6FF', - fontFamily: 'HarmonyOS Sans-Regular', - // formatter:function(value,index){ - // return yList[index] - // } + fontSize: 10, + color: "#fff", + // fontFamily: "HarmonyOS Sans-Regular", + // formatter:function(value,index){ + // return yList[index] + // } }, axisLine: { - show: false, + show: false, }, axisTick: { - show: false + show: false, }, splitLine: { - lineStyle: { - color: 'rgba(49, 217, 255, 0.5)', - } + lineStyle: { + color: "rgba(49, 217, 255, 0.5)", + }, + }, + }, + ], + series: [ + { + name: "情报板发布", + type: "line", + symbol: "circle", + symbolSize: 0, + smooth: true, + areaStyle: { + width: 4, + opacity: 0.25, + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { offset: 0.389, color: "#51BFA490" }, + { offset: 1, color: "#51BFA400" }, + ], + global: false, + }, + }, + // yAxisIndex: 1, // 与第二个 y 轴关联 + itemStyle: { + color: "#51BFA4", + }, + lineStyle: { + width: 2, }, - }], - series: [ - { - name: '情报板发布', - type: 'line', - symbol: 'circle', - symbolSize: 0, - smooth: true, - areaStyle: { - width: 4, - opacity: 0.25, - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { offset: 0.389, color: "#51BFA490" }, - { offset: 1, color: "#51BFA400" }, - ], - global: false, - }, - }, - // yAxisIndex: 1, // 与第二个 y 轴关联 - itemStyle: { - color: '#51BFA4', - }, - lineStyle: { - width:2, - }, - - data: [1000, 800, 520, 600, 900, 700, 700,1000, 800, 520, 600, 900, 700, 700], // 折线图的数据 - }, - { - name: '服务网站', - type: 'line', - symbol: 'circle', - symbolSize: 0, - // yAxisIndex: 1, // 与第二个 y 轴关联 - itemStyle: { - color: '#08BAF4', - }, - lineStyle: { - width: 2, - }, - smooth: true, - areaStyle: { - width: 4, - opacity: 0.25, - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { offset: 0.389, color: "#08BAF490" }, - { offset: 1, color: "#08BAF400" }, - ], - global: false, - }, - }, - data: [600, 700, 900, 400, 500, 800, 600,600, 700, 900, 400, 500, 800, 600], // 折线图的数据 - }, - { - name: '微信发布', - type: 'line', - symbol: 'circle', - symbolSize: 0, - // yAxisIndex: 1, // 与第二个 y 轴关联 - itemStyle: { - color: '#E2BA74', - }, - smooth: true, - areaStyle: { - width: 4, - opacity: 0.25, - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { offset: 0.389, color: "#E2BA7490" }, - { offset: 1, color: "#E2BA7400" }, - ], - global: false, - }, - }, - lineStyle: { - width: 2, - }, - data: [850, 810, 712, 580, 480, 480, 780,850, 810, 712, 580, 480, 480, 780], // 折线图的数据 - },{ - name: '微博发布', - type: 'line', - symbol: 'circle', - symbolSize: 0, - // yAxisIndex: 1, // 与第二个 y 轴关联 - itemStyle: { - color: '#FB6D07', - }, - smooth: true, - areaStyle: { - width: 4, - opacity: 0.25, - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { offset: 0.389, color: "#FB6D0799" }, - { offset: 1, color: "#FB6D0700" }, - ], - global: false, - }, - }, - lineStyle: { - width: 2, - }, - data: [850, 810, 712, 580, 480, 480, 780,850, 810, 712, 580, 480, 480, 780], // 折线图的数据 - },{ - name: '短信发布', - type: 'line', - symbol: 'circle', - symbolSize: 0, - // yAxisIndex: 1, // 与第二个 y 轴关联 - itemStyle: { - color: '#07DEFB', - }, - smooth: true, - areaStyle: { - width: 4, - opacity: 0.25, - color: { - type: 'linear', - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { offset: 0.389, color: "#07DEFB90" }, - { offset: 1, color: "#07DEFB00" }, - ], - global: false, - }, - }, - lineStyle: { - width: 2, - }, - data: [850, 410, 712, 680, 50, 280, 480,850, 810, 712, 580, 480, 480, 780], // 折线图的数据 - }, - ] -} + data: [1000, 800, 520, 600, 900, 700, 700, 1000, 800, 520, 600, 900], // 折线图的数据 + }, + { + name: "服务网站", + type: "line", + symbol: "circle", + symbolSize: 0, + + // yAxisIndex: 1, // 与第二个 y 轴关联 + itemStyle: { + color: "#08BAF4", + }, + lineStyle: { + width: 2, + }, + smooth: true, + areaStyle: { + width: 4, + opacity: 0.25, + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { offset: 0.389, color: "#08BAF490" }, + { offset: 1, color: "#08BAF400" }, + ], + global: false, + }, + }, + data: [600, 700, 900, 400, 500, 800, 600, 600, 700, 900, 400, 500], // 折线图的数据 + }, + { + name: "微信发布", + type: "line", + symbol: "circle", + symbolSize: 0, + // yAxisIndex: 1, // 与第二个 y 轴关联 + itemStyle: { + color: "#E2BA74", + }, + smooth: true, + areaStyle: { + width: 4, + opacity: 0.25, + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { offset: 0.389, color: "#E2BA7490" }, + { offset: 1, color: "#E2BA7400" }, + ], + global: false, + }, + }, + lineStyle: { + width: 2, + }, + data: [850, 810, 712, 580, 480, 480, 780, 850, 810, 712, 580, 480], // 折线图的数据 + }, + { + name: "微博发布", + type: "line", + symbol: "circle", + symbolSize: 0, + // yAxisIndex: 1, // 与第二个 y 轴关联 + itemStyle: { + color: "#FB6D07", + }, + smooth: true, + areaStyle: { + width: 4, + opacity: 0.25, + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { offset: 0.389, color: "#FB6D0799" }, + { offset: 1, color: "#FB6D0700" }, + ], + global: false, + }, + }, + lineStyle: { + width: 2, + }, + data: [850, 810, 712, 580, 480, 480, 780, 850, 810, 712, 580, 480], // 折线图的数据 + }, + { + name: "短信发布", + type: "line", + symbol: "circle", + symbolSize: 0, + // yAxisIndex: 1, // 与第二个 y 轴关联 + itemStyle: { + color: "#07DEFB", + }, + smooth: true, + areaStyle: { + width: 4, + opacity: 0.25, + color: { + type: "linear", + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { offset: 0.389, color: "#07DEFB90" }, + { offset: 1, color: "#07DEFB00" }, + ], + global: false, + }, + }, + lineStyle: { + width: 2, + }, + data: [850, 410, 712, 680, 50, 280, 480, 850, 810, 712, 580, 480], // 折线图的数据 + }, + ], +}; export default options; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue index 5afcef2d..57d54279 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue @@ -1,54 +1,71 @@ - + - - - \ No newline at end of file +} + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/index.vue index ef8fab4e..be27eb70 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/index.vue @@ -1,177 +1,166 @@ - - + + - \ No newline at end of file +} + diff --git a/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js b/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js index 33c2c982..cad7cfc3 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js +++ b/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js @@ -129,6 +129,9 @@ export const InfoWarningSource = { 6: { text: "非机预警", }, + 7: { + text: "气象监测器", + } }; // 事件主类 warningType diff --git a/ruoyi-ui/src/views/login copy.vue b/ruoyi-ui/src/views/login copy.vue new file mode 100644 index 00000000..a65882cb --- /dev/null +++ b/ruoyi-ui/src/views/login copy.vue @@ -0,0 +1,461 @@ + + + + + diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index 6b0ab0a5..1f1ab1c8 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -1,43 +1,79 @@