From 3c738f4fe2762bba8087e5a22fc0dc06560eab0e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Thu, 08 Aug 2024 10:01:17 +0800
Subject: [PATCH] 三色任务与自查任务
---
api/place/place.js | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/api/place/place.js b/api/place/place.js
index 62efcac..6c9b10c 100644
--- a/api/place/place.js
+++ b/api/place/place.js
@@ -42,6 +42,15 @@
})
}
+export const addPlaceCheckTwo = (data) => {
+ return http.request({
+ url: '/blade-placeCheck/placeCheck/saveTwo',
+ method: 'POST',
+ data: data
+ })
+}
+
+
export const getPlaceCheckDetail = (params) => {
return http.request({
url: '/blade-placeCheck/placeCheck/detail',
@@ -50,10 +59,58 @@
})
}
+//获取消防检查项
export const getPlaceCheckItem = (params) => {
return http.request({
url: '/patrol/patrolGroup/getPatrolGroupTree',
method: 'GET',
params
})
+}
+
+//获取场所整改详情
+export const getPlaceCheckReformDetail = (params) => {
+ return http.request({
+ url: '/blade-taskPlaceRectification/taskPlaceRectification/detailByTaskId',
+ method: 'GET',
+ params
+ })
+}
+
+
+//场所整改提交
+export const addPlaceCheckReform = (data) => {
+ return http.request({
+ url: '/blade-taskPlaceRectification/taskPlaceRectification/updateRectification',
+ method: 'POST',
+ data: data
+ })
+}
+
+
+//审核场所整改
+export const auditPlaceCheckReform = (data) => {
+ return http.request({
+ url: '/blade-taskPlaceRectification/taskPlaceRectification/applyRectification',
+ method: 'POST',
+ data: data
+ })
+}
+
+
+export const getPlaceList = (params) => {
+ return http.request({
+ url: '/blade-doorplateAddress/doorplateAddress/getPlaceList',
+ method: 'GET',
+ params
+ })
+}
+
+
+export const getNearbyPlaceList = (params) => {
+ return http.request({
+ url: '/blade-place/place/getNearbyPlaceList',
+ method: 'GET',
+ params
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3