|  |  |  | 
|---|
|  |  |  | return request.post('/visitsAdmin/cloudService/business/ywDevice/updateById', data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 详情 | 
|---|
|  |  |  | export function detailById (id) { | 
|---|
|  |  |  | return request.get(`/visitsAdmin/cloudService/business/ywDevice/${id}`) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // 删除 | 
|---|
|  |  |  | export function deleteById (id) { | 
|---|
|  |  |  | return request.get(`/visitsAdmin/cloudService/business/ywDevice/delete/${id}`) | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 设备状态统计 | 
|---|
|  |  |  | export function getDeviceStatus (data) { | 
|---|
|  |  |  | return request.post('/visitsAdmin/cloudService/business/ywDevice/getDeviceStatus', data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 设备数量分类统计 | 
|---|
|  |  |  | export function getDeviceCateData (data) { | 
|---|
|  |  |  | return request.post('/visitsAdmin/cloudService/business/ywDevice/getDeviceCateData', data) | 
|---|
|  |  |  | } | 
|---|