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