From 8e6ece0dce8440347df11cfe73b7de94c0c5528b Mon Sep 17 00:00:00 2001 From: andy <1042025947@qq.com> Date: Thu, 25 Jun 2026 08:53:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/swapstation/hdz.ts | 9 +++ src/views/swapstation/hdz/index.vue | 109 +++++++++++++++++++++++++++- 2 files changed, 116 insertions(+), 2 deletions(-) diff --git a/src/api/swapstation/hdz.ts b/src/api/swapstation/hdz.ts index fd7faf6..bd435d2 100644 --- a/src/api/swapstation/hdz.ts +++ b/src/api/swapstation/hdz.ts @@ -116,3 +116,12 @@ export function getCode(params:Rcode) { responseType:'blob' }) } + +//站点关停 +export function stastop(id:any,data:any) { + return server.request({ + url: `/cloud/battery/station/stop/${id}`, + method: 'put', + data + }) +} diff --git a/src/views/swapstation/hdz/index.vue b/src/views/swapstation/hdz/index.vue index d75c1ce..f97a34a 100644 --- a/src/views/swapstation/hdz/index.vue +++ b/src/views/swapstation/hdz/index.vue @@ -90,6 +90,14 @@
其它
+ + + + @@ -112,9 +120,11 @@ {{ dayjs(scope.row.createTime).format("YYYY-MM-DD HH:mm:ss") }} --> - + @@ -689,6 +699,31 @@ /> + + + + + + + + + + + + +