linwe
2024-08-08 3c738f4fe2762bba8087e5a22fc0dc06560eab0e
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
   })
}