From 7e9264aa01f92d2f3c81d0abb37f9a82f2ea7a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E5=A6=8D?= <3096114695@qq.com> Date: Fri, 14 Jul 2023 17:01:04 +0800 Subject: [PATCH] Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into dev-cjp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 提交获取设备下拉框接口 对接配电箱监测五个模块的接口,优化事件总线的使用,避免内存浪费。 --- src/api/modules/vehicle.ts | 11 + .../distributionMonitoring/bottomLeft.vue | 479 +++++++++++------- .../distributionMonitoring/bottomRight.vue | 66 ++- .../distributionMonitoring/topCenter.vue | 38 +- .../distributionMonitoring/topLeft.vue | 50 +- .../sevenLargeScreen/headNoise/leftBottom.vue | 6 +- .../laborManagement/horizontaL.vue | 6 +- 7 files changed, 382 insertions(+), 274 deletions(-) create mode 100644 src/api/modules/vehicle.ts diff --git a/src/api/modules/vehicle.ts b/src/api/modules/vehicle.ts new file mode 100644 index 0000000..3cfc2ed --- /dev/null +++ b/src/api/modules/vehicle.ts @@ -0,0 +1,11 @@ +import http from "@/api"; +const BASEURL = import.meta.env.VITE_API_URL; + +// 获取车辆通过信息 +export const getCarPassRecordApi = (params: {}) => { + return http.post(BASEURL + `/xmgl/carPassRecord/list`, params); +}; +// 获取出入场记录 +export const getEntryAndExitRecordsApi = (params: {}) => { + return http.post(BASEURL + `/xmgl/carPassRecord/getEntryAndExitRecordsToday`, params); +}; diff --git a/src/views/sevenLargeScreen/distributionMonitoring/bottomLeft.vue b/src/views/sevenLargeScreen/distributionMonitoring/bottomLeft.vue index 551aed6..ee8ee03 100644 --- a/src/views/sevenLargeScreen/distributionMonitoring/bottomLeft.vue +++ b/src/views/sevenLargeScreen/distributionMonitoring/bottomLeft.vue @@ -3,7 +3,7 @@