From fb8db39ccdca6ca638b3e133d186cb3fe6a558bc Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Mon, 04 Mar 2024 17:43:08 +0800
Subject: [PATCH] 更新
---
api/reporting/reporting.js | 72 +++++++++++++++++++++++++++++++++---
1 files changed, 66 insertions(+), 6 deletions(-)
diff --git a/api/reporting/reporting.js b/api/reporting/reporting.js
index d574aa9..f5ab196 100644
--- a/api/reporting/reporting.js
+++ b/api/reporting/reporting.js
@@ -4,7 +4,7 @@
export const getReportingCount = (data) => {
return http.request({
url: '/blade-task/task/countNumber',
- method: 'POST',
+ method: 'get',
data: data
})
}
@@ -117,7 +117,7 @@
//修改旅店安全
export const setHotelReporting = (data) => {
return http.request({
- url: '/blade-task/task/update',
+ url: '/blade-taskHotelReporting/taskHotelReporting/update',
method: 'POST',
data: data
})
@@ -141,14 +141,15 @@
})
}
-//添加校园安全报事
+//修改校园安全报事
export const setSchoolReporting = (data) => {
return http.request({
- url: '/blade-taskCampusReportingEvent/taskCampusReportingEvent/save',
+ url: '/blade-taskCampusReportingEvent/taskCampusReportingEvent/update',
method: 'POST',
data: data
})
}
+
//获取校园安全报事列表
export const getSchoolReportingList = (params) => {
@@ -170,10 +171,69 @@
}
})
}
-//修改校园安全报事
+//添加校园安全报事
export const saveSchoolReporting = (data) => {
return http.request({
- url: '/blade-taskCampusReportingEvent/taskCampusReportingEvent/update',
+ url: '/blade-taskCampusReportingEvent/taskCampusReportingEvent/save',
+ method: 'POST',
+ data: data
+ })
+}
+
+//添加隐患上报
+export const saveDangerReporting = (data) => {
+ return http.request({
+ url: '/blade-hiddenDangerRecord/hiddenDangerRecord/add',
+ method: 'POST',
+ data: data
+ })
+}
+
+//消防自查提交
+export const savePlaceCheck = (data) => {
+ return http.request({
+ url: '/blade-taskPlaceSelfCheck/taskPlaceSelfCheck/saveTwo',
+ method: 'POST',
+ data: data
+ })
+}
+
+//消防自查保存
+export const updatePlaceCheck = (data) => {
+ return http.request({
+ url: '/blade-taskPlaceSelfCheck/taskPlaceSelfCheck/saveTwo',
+ method: 'POST',
+ data: data
+ })
+}
+
+
+//消防自查详情
+export const getPlaceCheckDetail = (params) => {
+ return http.request({
+ url: '/blade-taskPlaceSelfCheck/taskPlaceSelfCheck/getInfo',
+ method: 'get',
+ params: {
+ ...params
+ }
+ })
+}
+
+//消防自查列表
+export const getPlaceCheckList = (params) => {
+ return http.request({
+ url: '/blade-taskPlaceSelfCheck/taskPlaceSelfCheck/page',
+ method: 'get',
+ params: {
+ ...params
+ }
+ })
+}
+
+//消防自查审核
+export const auditPlaceCheck = (data) => {
+ return http.request({
+ url: '/blade-taskPlaceSelfCheck/taskPlaceSelfCheck/updateTaskPlaceSelfCheck',
method: 'POST',
data: data
})
--
Gitblit v1.9.3