From ac0a904176dbd7b32b17072acf156a1a502ad4b2 Mon Sep 17 00:00:00 2001 From: 15066119699 Date: Wed, 5 Mar 2025 15:26:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E4=BD=8D=E7=AB=99=E5=8F=B0=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E6=89=98=E7=9B=98=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/location.js | 8 ++ src/views/system/location/index.vue | 155 ++++++++++++++++++---------- src/views/system/stand/index.vue | 123 ++++++++++++---------- src/views/system/storage/index.vue | 30 +++++- src/views/system/vehicle/index.vue | 93 +++++++++++------ 5 files changed, 265 insertions(+), 144 deletions(-) diff --git a/src/api/system/location.js b/src/api/system/location.js index 4216d3f..165b53f 100644 --- a/src/api/system/location.js +++ b/src/api/system/location.js @@ -42,3 +42,11 @@ export function delLocation(locationId) { method: 'delete' }) } + +// 启用禁用 +export function enableLocation(locationId) { + return request({ + url: '/app/location/changeIsEnableStatus/' + locationId, + method: 'post' + }) +} diff --git a/src/views/system/location/index.vue b/src/views/system/location/index.vue index 3418b26..1ce2b4b 100644 --- a/src/views/system/location/index.vue +++ b/src/views/system/location/index.vue @@ -49,14 +49,6 @@ - - - @@ -137,14 +129,18 @@ - - - - - - - - + + + + + + + + + +
@@ -297,27 +302,24 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -327,21 +329,37 @@ - - - - - - - - + + + + + + + + + + + - - + + + + + + + + + + + + + +