import http from '@/http/api.js'
|
|
//获取报事数量统计
|
export const getReportingCount = (data) => {
|
return http.request({
|
url: '/blade-task/task/countNumber',
|
method: 'get',
|
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
|
}
|
})
|
}
|
|
//添加取保候审报事
|
export const saveBailReporting = (data) => {
|
return http.request({
|
url: '/blade-taskBailReportingEvent/taskBailReportingEvent/save',
|
method: 'POST',
|
data: data
|
})
|
}
|
|
|
//添加打金店、二手车交易、二手手机维修报事
|
export const saveLabelReporting = (data) => {
|
return http.request({
|
url: '/blade-taskLabelReportingEvent/taskLabelReportingEvent/save',
|
method: 'POST',
|
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/getDetail',
|
method: 'get',
|
params: {
|
...params
|
}
|
})
|
}
|
|
//修改旅店安全
|
export const setHotelReporting = (data) => {
|
return http.request({
|
url: '/blade-taskHotelReporting/taskHotelReporting/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
|
})
|
}
|
|
//修改校园安全报事
|
export const setSchoolReporting = (data) => {
|
return http.request({
|
url: '/blade-taskCampusReportingEvent/taskCampusReportingEvent/update',
|
method: 'POST',
|
data: data
|
})
|
}
|
|
|
//获取校园安全报事列表
|
export const getSchoolReportingList = (params) => {
|
return http.request({
|
url: '/blade-taskCampusReportingEvent/taskCampusReportingEvent/page',
|
method: 'get',
|
params: {
|
...params
|
}
|
})
|
}
|
//获取校园安全报事详情
|
export const getSchoolReportingDetail = (params) => {
|
return http.request({
|
url: '/blade-taskCampusReportingEvent/taskCampusReportingEvent/detail',
|
method: 'get',
|
params: {
|
...params
|
}
|
})
|
}
|
//添加校园安全报事
|
export const saveSchoolReporting = (data) => {
|
return http.request({
|
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
|
})
|
}
|