From 34ff14f60b2d220ec3a1aa96d3d8e7032870ab8f Mon Sep 17 00:00:00 2001 From: Joe <1712833832@qq.com> Date: Wed, 24 Jan 2024 18:13:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Descriptions.vue | 75 ++++---- .../JiHeExpressway/components/Dialog/utils.js | 2 - .../components/FormConfig/Proxy.vue | 39 ++++ .../components/FormConfig/components/Text.vue | 56 ++++++ .../components/FormConfig/index.vue | 49 +++--- .../FormConfig/utils/defaultValue.js | 15 +- .../JiHeExpressway/components/Video/index.vue | 4 +- .../images/deviceType/ball_active.svg | 14 ++ .../layer/事件专题/感知事件.svg | 5 + .../事件专题/感知事件_active.svg | 5 + .../layer/事件专题/感知事件_fault.svg | 5 + .../Dialogs/DrivingGuidance/index.vue | 4 +- .../Dialogs/PerceiveEvent/index.vue | 166 ++++++++++++++++++ .../Dialogs/TrafficIncidents/index.vue | 165 +++++++++++++++++ .../components/Dialogs/ViewDetails/index.vue | 131 -------------- .../Home/components/HomeFilter/index.vue | 3 +- .../Home/components/RoadAndEvents/index.vue | 4 + .../RoadAndEvents/utils/buttonEvent.js | 63 ++++++- .../RoadAndEvents/utils/httpList.js | 41 ++++- .../RoadAndEvents/utils/layerImages.js | 11 +- .../components/RoadAndEvents/utils/map.js | 35 ++-- .../src/views/JiHeExpressway/utils/enum.js | 96 ++++++++++ 22 files changed, 757 insertions(+), 231 deletions(-) create mode 100644 ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/Proxy.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/components/Text.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/images/deviceType/ball_active.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/images/layer/事件专题/感知事件.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/images/layer/事件专题/感知事件_active.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/images/layer/事件专题/感知事件_fault.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue delete mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/ViewDetails/index.vue diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue index 54957f65..1e683c3b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue @@ -1,29 +1,37 @@ @@ -126,17 +125,23 @@ export default { font-weight: 400; color: #FFF; line-height: 18px; - display: flex; - align-items: center; gap: 3px; + display: flex; } .item { display: flex; + align-items: center; gap: 6px; .title { color: #3DE8FF; + + p { + width: 100%; + text-align: justify; + text-align-last: justify; + } } .content { diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Dialog/utils.js b/ruoyi-ui/src/views/JiHeExpressway/components/Dialog/utils.js index b5948243..c5140130 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Dialog/utils.js +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Dialog/utils.js @@ -19,8 +19,6 @@ export function moveable(container, { target } = {}) { const move = (e) => { const { clientX, clientY } = e; - console.log(clientX, clientY, "move"); - container.style.transform = `translate3d(${ clientX - x + lastPosition.clientX }px, ${clientY - y + lastPosition.clientY}px, 0)`; diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/Proxy.vue b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/Proxy.vue new file mode 100644 index 00000000..ee9b6fbd --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/Proxy.vue @@ -0,0 +1,39 @@ + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/components/Text.vue b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/components/Text.vue new file mode 100644 index 00000000..a8a86879 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/components/Text.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue index 66ea1700..ce5d5824 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue @@ -4,8 +4,9 @@ - + + @@ -13,8 +14,11 @@ + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue new file mode 100644 index 00000000..d868493e --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue @@ -0,0 +1,165 @@ + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/ViewDetails/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/ViewDetails/index.vue deleted file mode 100644 index cd90a964..00000000 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/ViewDetails/index.vue +++ /dev/null @@ -1,131 +0,0 @@ - - - - - diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFilter/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFilter/index.vue index 4d4a134f..439acab8 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFilter/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFilter/index.vue @@ -5,14 +5,13 @@ -
设备筛选
-