From b77cc2d2012ecb4b876538ac7aee3edac7db8a2f Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Sun, 12 Nov 2023 19:05:07 +0800
Subject: [PATCH] 通知公告
---
api/reporting/reporting.js | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 114 insertions(+), 0 deletions(-)
diff --git a/api/reporting/reporting.js b/api/reporting/reporting.js
index 1db1d29..9ae978b 100644
--- a/api/reporting/reporting.js
+++ b/api/reporting/reporting.js
@@ -1,11 +1,53 @@
import http from '@/http/api.js'
+//获取报事数量统计
+export const getReportingCount = (data) => {
+ return http.request({
+ url: '/blade-task/task/countNumber',
+ method: 'POST',
+ data: data
+ })
+}
+
//添加旅馆安全报事
export const saveHotelReporting = (data) => {
return http.request({
url: '/blade-taskHotelReporting/taskHotelReporting/save',
method: 'POST',
data: data
+ })
+}
+
+//获取旅馆安报事列表
+export const getHotelReportingList = (params) => {
+ return http.request({
+ url: '/blade-taskHotelReporting/taskHotelReporting/page',
+ method: 'get',
+ params: {
+ ...params
+ }
+ })
+}
+
+//获取取保候审报事列表
+export const getBailReportingList = (params) => {
+ return http.request({
+ url: '/blade-taskBailReportingEvent/taskBailReportingEvent/page',
+ method: 'get',
+ params: {
+ ...params
+ }
+ })
+}
+
+//获取打金店报事列表
+export const getLabelReportingList = (params) => {
+ return http.request({
+ url: '/blade-taskLabelReportingEvent/taskLabelReportingEvent/page',
+ method: 'get',
+ params: {
+ ...params
+ }
})
}
@@ -27,3 +69,75 @@
data: data
})
}
+
+//审核列表
+export const getAuditReportingList = (params) => {
+ return http.request({
+ url: '/blade-task/task/page',
+ method: 'get',
+ params: {
+ ...params
+ }
+ })
+}
+
+//获取旅馆安全详情
+export const getHotelReportingDetail = (params) => {
+ return http.request({
+ url: '/blade-taskHotelReporting/taskHotelReporting/detail',
+ method: 'get',
+ params: {
+ ...params
+ }
+ })
+}
+
+//获取取保候审详情
+export const getBailReportingDetail = (params) => {
+ return http.request({
+ url: '/blade-taskBailReportingEvent/taskBailReportingEvent/detail',
+ method: 'get',
+ params: {
+ ...params
+ }
+ })
+}
+
+//获取打金店、二手车交易、二手手机维修详情
+export const getLabelReportingDetail = (params) => {
+ return http.request({
+ url: '/blade-taskLabelReportingEvent/taskLabelReportingEvent/detail',
+ method: 'get',
+ params: {
+ ...params
+ }
+ })
+}
+
+//修改旅店安全
+export const setHotelReporting = (data) => {
+ return http.request({
+ url: '/blade-task/task/update',
+ method: 'POST',
+ data: data
+ })
+}
+
+//修改取保候审
+export const setBailReporting = (data) => {
+ return http.request({
+ url: '/blade-taskBailReportingEvent/taskBailReportingEvent/update',
+ method: 'POST',
+ data: data
+ })
+}
+
+//修改打金店、二手车交易、二手手机维修
+export const setLabelReporting = (data) => {
+ return http.request({
+ url: '/blade-taskLabelReportingEvent/taskLabelReportingEvent/update',
+ method: 'POST',
+ data: data
+ })
+}
+
--
Gitblit v1.9.3