| 对比新文件 |
| | |
| | | import request from '../../utils/request' |
| | | |
| | | // 鏌ヨ |
| | | export function fetchList (data) { |
| | | return request.post('/visitsAdmin/cloudService/business/hiddenDanger/page', data, { |
| | | trim: true |
| | | }) |
| | | } |
| | | // 鏌ヨ |
| | | export function findLogList (data) { |
| | | return request.post('/visitsAdmin/cloudService/business/hiddenDangerLog/findList', data, { |
| | | trim: true |
| | | }) |
| | | } |
| | | |
| | | // 鍒涘缓 |
| | | export function create (data) { |
| | | return request.post('/visitsAdmin/cloudService/business/hiddenDanger/create', data) |
| | | } |
| | | export function transferHiddenDanger (data) { |
| | | return request.post('/visitsAdmin/cloudService/business/hiddenDanger/transferHiddenDanger', data) |
| | | } |
| | | export function dealHiddenDanger (data) { |
| | | return request.post('/visitsAdmin/cloudService/business/hiddenDanger/dealHiddenDanger', data) |
| | | } |
| | | |
| | | // 淇敼 |
| | | export function updateById (data) { |
| | | return request.post('/visitsAdmin/cloudService/business/hiddenDanger/updateById', data) |
| | | } |
| | | |
| | | // 鍒犻櫎 |
| | | export function deleteById (id) { |
| | | return request.get(`/visitsAdmin/cloudService/business/hiddenDanger/delete/${id}`) |
| | | } |
| | | // 鏍规嵁ID鏌ヨ |
| | | export function detail(id) { |
| | | return request.get(`/visitsAdmin/cloudService/business/hiddenDanger/${id}`) |
| | | } |
| | | // 鎵归噺鍒犻櫎 |
| | | export function deleteByIdInBatch (ids) { |
| | | return request.get('/visitsAdmin/cloudService/business/hiddenDanger/delete/batch', { |
| | | params: { |
| | | ids |
| | | } |
| | | }) |
| | | } |
| | | // 淇敼 |
| | | export function hiddenDangerDataPost (data) { |
| | | return request.post('/visitsAdmin/cloudService/business/hiddenDanger/hiddenDangerData', data) |
| | | } |