From eb3a7babbb9415339a639bef073a500cc8f3c4a8 Mon Sep 17 00:00:00 2001 From: tangwenkang <2720983602@qq.com> Date: Mon, 4 Dec 2023 21:55:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/table.js | 8 +++++ src/views/vehicle/car.vue | 68 ++++++++++++++++++++++++------------ src/views/vehicle/record.vue | 36 +++++++++---------- 3 files changed, 71 insertions(+), 41 deletions(-) diff --git a/src/api/table.js b/src/api/table.js index 054feac..323ca34 100644 --- a/src/api/table.js +++ b/src/api/table.js @@ -83,3 +83,11 @@ export function listRealTime(vin) { data:vin }) } + +export function removeRealTime(vinId) { + return request({ + url: '/history/car/removeRealTime?vin='+vinId, + method: 'post', + data:vinId + }) +} diff --git a/src/views/vehicle/car.vue b/src/views/vehicle/car.vue index e709992..3f57429 100644 --- a/src/views/vehicle/car.vue +++ b/src/views/vehicle/car.vue @@ -193,7 +193,18 @@