From e0c58921e9cbae440373b2c20118fa42a4dc7ea4 Mon Sep 17 00:00:00 2001 From: zhoule Date: Thu, 18 Apr 2024 10:22:43 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/control/event/event/FormEvent/data.js | 4 ++-- .../pages/control/event/event/FormEvent/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 251c488c..6f046ee6 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 @@ -945,7 +945,7 @@ export const tabConfigList = [ }, { label: "限制类型:", - key: "dcEventAccident.limitedType", + key: "dcEventTrafficControl.limitedType", required: true, type: "select", options: { @@ -963,7 +963,7 @@ export const tabConfigList = [ }, { label: "车辆类型:", - key: "dcEventAccident.vehicleType", + key: "dcEventTrafficControl.vehicleType", required: true, type: "select", options: { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue index 70f91816..964a4986 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue @@ -162,7 +162,7 @@ export default { formData.lang = ""; } if (this.index == 2 && formData.dcEventTrafficControl.facilityId instanceof Array) { - let ids = formData.dcEventTrafficControl.facilityId.join(','); + let ids = formData.dcEventTrafficControl.facilityId; formData.dcEventTrafficControl.facilityIds = ids formData.dcEventTrafficControl.facilityId = '' } From ba1465edbd212e452a97a45bceada884492b75f8 Mon Sep 17 00:00:00 2001 From: zhangzhang <1747194829@qq.com> Date: Thu, 18 Apr 2024 10:40:02 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=B0=83=E5=BA=A6?= =?UTF-8?q?=E8=81=94=E7=BB=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/commandDispatch/index.js | 47 ++- .../components/TimeLine/LineClick/index.vue | 172 +++++---- .../components/TimeLine/TimeLine1/index.vue | 169 +++++---- .../CrowdnessIndicatorRankings/index.vue | 41 +- .../Cards/DispatchLiaison/index.vue | 55 +-- .../DisposalProcess/DialogVisible/index.vue | 356 ++++++++++++++++++ .../Cards/DisposalProcess/index.vue | 192 +++++----- .../statisticalAnalysis/index.vue | 29 +- ruoyi-ui/vue.config.js | 4 +- 9 files changed, 790 insertions(+), 275 deletions(-) create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/DialogVisible/index.vue diff --git a/ruoyi-ui/src/api/commandDispatch/index.js b/ruoyi-ui/src/api/commandDispatch/index.js index ca7af949..4016b54c 100644 --- a/ruoyi-ui/src/api/commandDispatch/index.js +++ b/ruoyi-ui/src/api/commandDispatch/index.js @@ -1,7 +1,7 @@ import request from "@/utils/request"; // 查询事件气象 -export function WeatherForecast(lng, lat) { +export function getWeatherForecast(lng, lat) { return request({ url: "/weatherForecast/queryTheSpecifiedLatitudeAndLongitudeWeather/" + @@ -13,10 +13,53 @@ export function WeatherForecast(lng, lat) { } // 查询调度联络 -export function commandDispatch(data) { +export function postCommandDispatch(data) { return request({ url: "/business/warning/commandAndDispatch", method: "post", data, }); } + +// 处置过程节点 +export function getProcessNode(eventId) { + return request({ + url: "/dc/system/event/getProcessNode/" + eventId, + method: "get", + }); +} + +// 处置过程记录 +export function getProcessList(eventId) { + return request({ + url: "/system/process/list/?eventId=" + eventId, + method: "get", + }); +} + +// 处置过程发送 +export function postProcess(data) { + return request({ + url: "/system/process", + method: "post", + data, + }); +} + +// 解除事件 +export function postCompleteEvent(data) { + return request({ + url: "/dc/system/event/completeEvent", + method: "post", + data, + }); +} + +// 无需清障 +export function postNoSkipClear(data) { + return request({ + url: "/dc/system/event/skipClear", + method: "post", + data, + }); +} diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/LineClick/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/LineClick/index.vue index 5a571264..b4c5603d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/LineClick/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/LineClick/index.vue @@ -1,5 +1,5 @@ - diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue index d8bf221d..712972aa 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue @@ -1,9 +1,13 @@