From b29b5cfefe97f8b22ae6ef88a71a6de3707581ca Mon Sep 17 00:00:00 2001 From: TiaStars Date: Thu, 12 Sep 2024 16:03:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BD=BD=E7=9B=91=E6=8E=A7=E5=8F=8A?= =?UTF-8?q?=E8=BD=A8=E8=BF=B9=E3=80=81=E4=BA=8B=E4=BB=B6=E5=9B=BE=E5=B1=82?= =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bigScreenApi/eventApi.js | 34 +++ src/assets/styles/leaflet.scss | 50 +++- src/views/bigScreen/map/index.vue | 262 ++++++------------ src/views/components/carVideo/index.vue | 77 +++++ src/views/components/personagetrack/index.vue | 123 +++++--- src/views/components/video/index.vue | 9 - 6 files changed, 310 insertions(+), 245 deletions(-) create mode 100644 src/views/components/carVideo/index.vue diff --git a/src/api/bigScreenApi/eventApi.js b/src/api/bigScreenApi/eventApi.js index 536096e..31566b8 100644 --- a/src/api/bigScreenApi/eventApi.js +++ b/src/api/bigScreenApi/eventApi.js @@ -92,4 +92,38 @@ export function statregion(params){ }, params }) +} + +// 车载监控视频地址获取 +export function previewURLs(params){ + return request({ + url: "/videoSpnl/previewURLs", + method:'get', + headers:{ + isToken:false, + }, + params + }) +} + +// 车辆行程轨迹获取 +export function carTrack(params) { + return request({ + url: "/event/workboatlog/loginfo", + method:'get', + headers:{ + isToken:false, + }, + params + }) +} + + +// 今日巡查事件 +export function listpatrol(params) { + return request({ + url: "/event/summary/listpatrol", + method:'get', + params + }) } \ No newline at end of file diff --git a/src/assets/styles/leaflet.scss b/src/assets/styles/leaflet.scss index b702025..808977c 100644 --- a/src/assets/styles/leaflet.scss +++ b/src/assets/styles/leaflet.scss @@ -125,6 +125,7 @@ background-image: url("../images/popup/popup.png"); background-size: 100% 100%; z-index: 600; + overflow: hidden; .person-title { padding: 9px 10px 0 16px; @@ -231,6 +232,7 @@ .car-popup { width: 262px; height: 138px; + overflow: hidden; background-image: url("../images/popup/popup.png"); background-size: 100% 100%; z-index: 600; @@ -296,21 +298,43 @@ } } - .btn { - margin-top: 19px; - background-image: url('../images/popup/icon1btn.png'); - background-size: 100% 100%; - width: 100%; - height: 30px; + // .btn { + // margin-top: 19px; + // background-image: url('../images/popup/icon1btn.png'); + // background-size: 100% 100%; + // width: 100%; + // height: 30px; + // display: flex; + // align-items: center; + // justify-content: center; + // font-size: 14px; + // font-family: Source Han Sans CN-Regular, Source Han Sans CN; + // font-weight: 400; + // color: #D3EEF2; + // line-height: 20px; + // cursor: pointer; + // } + .btns { display: flex; align-items: center; - justify-content: center; - font-size: 14px; - font-family: Source Han Sans CN-Regular, Source Han Sans CN; - font-weight: 400; - color: #D3EEF2; - line-height: 20px; - cursor: pointer; + justify-content: space-between; + margin-top: 19px; + + .btn { + background-image: url("../images/popup/icon2btn.png"); + background-size: 100% 100%; + width: 91px; + height: 30px; + display: flex; + align-items: center; + justify-content: center; + font-size: 14px; + font-family: Source Han Sans CN-Regular, Source Han Sans CN; + font-weight: 400; + color: #D3EEF2; + line-height: 20px; + cursor: pointer; + } } } } diff --git a/src/views/bigScreen/map/index.vue b/src/views/bigScreen/map/index.vue index 5f246f8..2482fe5 100644 --- a/src/views/bigScreen/map/index.vue +++ b/src/views/bigScreen/map/index.vue @@ -4,7 +4,7 @@ * @Author: JC9527 * @Date: 2024-01-09 23:08:15 * @LastEditors: JC9527 - * @LastEditTime: 2024-09-02 19:12:35 + * @LastEditTime: 2024-09-12 15:45:34 -->