| | |
| | | // 查询运维阈值详细 |
| | | export function getVideo(id) { |
| | | return request({ |
| | | url: '/threshold/video' + id, |
| | | url: '/threshold/video/' + id, |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | // 查询运维阈值详细 |
| | | export function getCar(id) { |
| | | return request({ |
| | | url: '/threshold/car' + id, |
| | | url: '/threshold/car/' + id, |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | // 查询运维阈值详细 |
| | | export function getFace(id) { |
| | | return request({ |
| | | url: '/threshold/face' + id, |
| | | url: '/threshold/face/' + id, |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | // 导入 |
| | | export function importData(data) { |
| | | return request({ |
| | | url: '/threshold/import', |
| | | method: 'post', |
| | | data: data, |
| | | headers: { |
| | | 'Content-Type': 'multipart/form-data' |
| | | }, |
| | | timeout: 150000 |
| | | }) |
| | | } |