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 @@