From 20f5335b6876dcae2cda40bb7ebd5945c178a78f Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Mon, 31 Mar 2025 16:19:13 +0800
Subject: [PATCH] 危化品泄露
---
src/api/space/space.js | 45 +++++++++++++++++++++++++++++++--------------
1 files changed, 31 insertions(+), 14 deletions(-)
diff --git a/src/api/space/space.js b/src/api/space/space.js
index b6c5fb0..1b029a3 100644
--- a/src/api/space/space.js
+++ b/src/api/space/space.js
@@ -1,22 +1,39 @@
import request from 'utils/http'
export const getDetail = (params) => {
- const url = `/yw/emergencySpace/getDetail`;
- return request({
- url,
- method: 'get',
- params,
- });
-};
+ const url = `/yw/emergencySpace/getDetail`
+ return request({
+ url,
+ method: 'get',
+ params,
+ })
+}
export const getList = (params) => {
- const url = `/yw/emergencySpace/page`;
- return request({
- url,
- method: 'get',
- params,
- });
-};
\ No newline at end of file
+ const url = `/yw/emergencySpace/page`
+ return request({
+ url,
+ method: 'get',
+ params,
+ })
+}
+export const getGouQu = (params) => {
+ const url = `/yw/emergencySpace/page`
+ return request({
+ url,
+ method: 'get',
+ params,
+ })
+}
+
+export const updateSpace = (data) => {
+ const url = `/yw/emergencySpace/update`
+ return request({
+ url,
+ method: 'post',
+ data,
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3