From 39617976ab7af19a0cfd89fa5a895aeca8f21d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E7=90=B3?= <1911390090@qq.com> Date: Mon, 11 Nov 2024 17:05:00 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E8=B7=AF=E7=BD=91=E8=AE=BE=E6=96=BD?= =?UTF-8?q?=EF=BC=88=E5=9F=BA=E6=9C=AC=E6=95=B0=E6=8D=AE=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialogs/RoadNetworkFacilities/data.js | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js index 6e206650..67dc29f8 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js @@ -233,11 +233,11 @@ export const tabList = { key: "facilityName", gridColumn: "3", }, - { +/* { label: "方向数量", key: "interchangeCount", gridColumn: "3", - }, + },*/ { label: "北方方向", key: "northDirection", @@ -253,31 +253,31 @@ export const tabList = { key: "southDirection", gridColumn: "3", }, - { +/* { label: "南方道路", key: "southernRoad", gridColumn: "3", - }, - { + },*/ +/* { label: "东方方向", key: "eastDirection", gridColumn: "3", - }, - { + },*/ +/* { label: "东方道路", key: "eastRoad", gridColumn: "3", - }, - { + },*/ +/* { label: "西方方向", key: "westDirection", gridColumn: "3", - }, - { + },*/ +/* { label: "西方道路", key: "westRoad", gridColumn: "3", - }, + },*/ { label: "经度", key: "longitude", @@ -343,11 +343,11 @@ export const tabList = { key: "districtName", gridColumn: "3", }, - { +/* { label: "方向名称", key: "directionName", gridColumn: "3", - }, + },*/ { label: "简介", key: "introduction", @@ -397,7 +397,7 @@ export const tabList = { key: "introduction", gridColumn: "6", }, - + ], } ], @@ -497,7 +497,7 @@ export const tabList = { key: "latitude", gridColumn: "3", }, - + ], }, // { @@ -530,7 +530,7 @@ export const tabList = { // key: "meaPointName", // gridColumn: "3", // }, - + // ], // }, ], From 38e08d2022ce95305638feab3cf3fdec8641e1ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E7=90=B3?= <1911390090@qq.com> Date: Mon, 11 Nov 2024 17:31:46 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E8=BE=B9=E5=9D=A1=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E5=AD=97=E5=8F=B7=E8=B0=83=E6=95=B4=EF=BC=8C?= =?UTF-8?q?=E5=85=89=E4=BC=8F=E4=BF=9D=E7=95=99=E4=B8=A4=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialogs/RoadNetworkFacilities/index.vue | 217 +++++++++--------- .../maintenanceOperations/solar/index_v1.vue | 30 +-- 2 files changed, 129 insertions(+), 118 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/index.vue index c215f432..e904469e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/index.vue @@ -1,57 +1,61 @@ @@ -63,15 +63,15 @@ - + - + - \ No newline at end of file From ebd00a770794ba12db83149a50c03f4e5109881f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E7=90=B3?= <1911390090@qq.com> Date: Tue, 12 Nov 2024 10:14:24 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E8=BE=B9=E5=9D=A1echarts=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialogs/RoadNetworkFacilities/data.js | 2 +- .../Dialogs/RoadNetworkFacilities/index.vue | 26 +++++++++++++++++-- .../components/roadNetwork/index.vue | 2 +- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js index 67dc29f8..fb756924 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js @@ -443,7 +443,7 @@ export const tabList = { gridColumn: "3", }, { - label: "车辆数", + label: "路管车辆", key: "vehicleCount", gridColumn: "3", }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/index.vue index e904469e..43f8977b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/index.vue @@ -296,11 +296,33 @@ export default { cseries1.push(e.data[0].value) cseries2.push(e.data[0].cum) }); + chartOption.xAxis.data = cdata; - chartOption.yAxis[0].name = title + '日计' - chartOption.yAxis[1].name = title + '累计' + chartOption.series[0].name = title + '日计'; + chartOption.series[1].name = title + '累计'; + chartOption.series[0].data = cseries1; chartOption.series[1].data = cseries2; +// 假设 chartOption 已经初始化 + chartOption.tooltip = { + trigger: 'axis', + axisPointer: { + type: 'cross' + }, + formatter: function (params) { + console.log('Params:', params); // 调试信息 + let tooltipText = `
${params[0].name}
`; // 显示日期 + params.forEach(function (item) { + console.log('Item:', item); // 调试信息 + if (item.seriesName === (title + '日计')) { + tooltipText += `
${item.seriesName}: ${item.value}
`; + } else if (item.seriesName === (title + '累计')) { + tooltipText += `
${item.seriesName}: ${item.value}
`; + } + }); + return tooltipText; + } + }; const chartIns = echarts.init(this.$refs.chartRef); chartIns.setOption(chartOption); } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/roadNetwork/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/roadNetwork/index.vue index 9c29ad77..811afc50 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/roadNetwork/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/roadNetwork/index.vue @@ -68,7 +68,7 @@ export default { class: "", }, { - text: "能见度检测器", + text: "能见度", type: "arrayRed", value: [], class: ["", ""], From e5a8e60eba0e0edc13107b01678c14d32c2a9a01 Mon Sep 17 00:00:00 2001 From: lau572 <1010031226@qq.com> Date: Tue, 12 Nov 2024 10:21:21 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E8=B0=83=E5=BA=A6=E8=81=94=E7=BB=9C?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E6=95=B0=E9=87=8F=E9=99=90=E5=88=B6=20?= =?UTF-8?q?=E6=A1=A5=E6=A2=81=E4=BF=A1=E6=81=AF=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialogs/RoadNetworkFacilities/data.js | 72 +++---------------- .../DispatchLiaison/StatsDialog/index.vue | 5 +- 2 files changed, 12 insertions(+), 65 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js index fb756924..f28d23b7 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RoadNetworkFacilities/data.js @@ -123,8 +123,8 @@ export const tabList = { gridColumn: "3", }, { - label: "跨径组合", - key: "spanCombination", + label: "结构类型", + key: "crossingType", gridColumn: "3", }, { @@ -133,8 +133,8 @@ export const tabList = { gridColumn: "3", }, { - label: "桥梁长度", - key: "bridgeLength", + label: "跨径组合", + key: "spanCombination", gridColumn: "3", }, { @@ -142,37 +142,6 @@ export const tabList = { key: "bridgeWidth", gridColumn: "3", }, - { - label: "集团公司", - key: "groupCompany", - gridColumn: "3", - }, - { - label: "管养公司", - key: "maintenanceAndOperatingCompany", - gridColumn: "3", - }, - { - label: "功能名称", - key: "functionName", - gridColumn: "3", - }, - { - label: "桥梁方向", - key: "bridgeDirection", - gridColumn: "3", - }, - { - label: "是否子桥", - key: "subBridge", - enum: "boolType", - gridColumn: "3", - }, - { - label: "总跨径", - key: "totalSpan", - gridColumn: "3", - }, { label: "经度", key: "longitude", @@ -184,41 +153,16 @@ export const tabList = { gridColumn: "3", }, { - label: "跨越类型", - key: "crossingType", - gridColumn: "3", - }, - { - label: "最大跨径", - key: "maximumSpan", - gridColumn: "3", - }, - { - label: "通车时间", - key: "openingTime", + label: "设计单位", + key: "designUnit", gridColumn: "3", }, { - label: "跨径类型名称", - key: "spanTypeName", - gridColumn: "3", - }, - { - label: "跨域结构名称", - key: "crossDomainStructureName", - gridColumn: "3", - }, - { - label: "上部结构名称", - key: "superstructureName", + label: "监测点数目", + key: "numberOfMonitor", gridColumn: "3", }, - { - label: "分中心全称", - key: "branchCenterFullName", - gridColumn: "3", - }, ], }, ], diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DispatchLiaison/StatsDialog/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DispatchLiaison/StatsDialog/index.vue index f153d571..20329752 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DispatchLiaison/StatsDialog/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DispatchLiaison/StatsDialog/index.vue @@ -166,6 +166,9 @@ export default { if(newVehiclesMap.length === 0 && newEmployees.length === 0){ this.$message.warning('未选择人员或车辆') return; + } else if (newEmployees.length < newVehiclesMap.length){ + this.$message.warning('人员数量不得少于车辆数量') + return; } if(this.action===0){ this.form.eventId = this.provideData.detail.id @@ -183,7 +186,7 @@ export default { this.$emit("handleRefresh",'reload'); });; } - + }, }, }; From 5a65ff4a1de0bd8036a86cfd71838e981124b36b Mon Sep 17 00:00:00 2001 From: lau572 <1010031226@qq.com> Date: Wed, 13 Nov 2024 10:40:57 +0800 Subject: [PATCH 5/6] =?UTF-8?q?=E6=A1=A5=E6=A2=81=E7=9B=91=E6=B5=8B?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E6=8E=A5=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JiHeExpressway/components/RoadStateCard/index.vue | 2 ++ .../JiHeExpressway/pages/control/event/event/data.js | 8 ++++++++ .../pages/perception/eventDetection/statistics/data.js | 4 ++++ ruoyi-ui/src/views/JiHeExpressway/utils/enum.js | 4 ++++ .../JiHeExpressway/utils/enum_event/PresetFormItems.js | 4 ++++ 5 files changed, 22 insertions(+) diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue index 9258bfdd..c82d208d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue @@ -126,6 +126,8 @@ export default { return require(`@screen/images/device/气象监测器B.png`) } else if(warningSource ===8){ return require(`@screen/images/device/边坡.png`) + } else if(warningSource ===9){ + return require(`@screen/images/layer/路网设施/桥梁.svg`) } else { return require(`@screen/images/device/view.png`) } 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 29f9e186..2e420688 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 @@ -97,6 +97,10 @@ export const gjSearchFormList = [ key: "8", label: "边坡监测", }, + { + key: "9", + label: "桥梁监测", + }, ], }, }, @@ -276,6 +280,10 @@ export const gzSearchFormList = [ key: "14", label: "边坡监测", }, + { + key: "15", + label: "桥梁监测", + }, ], }, }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/statistics/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/statistics/data.js index 25681b45..7d7f05dd 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/statistics/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/statistics/data.js @@ -143,6 +143,10 @@ export const searchFormList = [ key: "8", label: "边坡监测", }, + { + key: "9", + label: "桥梁监测", + }, ], }, }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js b/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js index 5a6fea24..f148af4d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js +++ b/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js @@ -908,6 +908,9 @@ export const InfoWarningSource = { 8: { text: "边坡监测", }, + 9: { + text: "桥梁监测", + }, }; export const warningSourceMapping = { @@ -919,6 +922,7 @@ export const warningSourceMapping = { 6: "非机预警", 7: '气象检测器', 8: '边坡监测', + 9: '桥梁监测', }; export const warningStateMapping = { diff --git a/ruoyi-ui/src/views/JiHeExpressway/utils/enum_event/PresetFormItems.js b/ruoyi-ui/src/views/JiHeExpressway/utils/enum_event/PresetFormItems.js index 195bd925..218eb0eb 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/utils/enum_event/PresetFormItems.js +++ b/ruoyi-ui/src/views/JiHeExpressway/utils/enum_event/PresetFormItems.js @@ -88,6 +88,10 @@ export const source = { key: 14, label: "边坡监测", }, + { + key: 15, + label: "桥梁监测", + }, ], }, }; From 0ca51d3a2915e5840105610a083767a6820e0e2d Mon Sep 17 00:00:00 2001 From: gaoguangchao <443960933@qq.com> Date: Wed, 13 Nov 2024 10:51:53 +0800 Subject: [PATCH 6/6] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=83=BD=E6=BA=90?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/JiHeExpressway/pages/Home/carbon.vue | 1 - .../pages/Home/components/carbon/contentItem/index.vue | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/carbon.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/carbon.vue index f752dfce..7b0905c6 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/carbon.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/carbon.vue @@ -278,7 +278,6 @@ export default { btnClick(val) { if (val) { this.active = val - this.getEnergyAnalysisBySiteCode() } }, } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/carbon/contentItem/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/carbon/contentItem/index.vue index 3339ea65..e7f8ceae 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/carbon/contentItem/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/carbon/contentItem/index.vue @@ -28,10 +28,10 @@ export default { }, methods: { transitionAnimation() { - this.show = false; + /*this.show = false; setTimeout(() => { this.show = true; - }, 500); + }, 500);*/ } } }