迁移设备监控模块
- 新增计划与生产设备监控 V2 页面 - 新增设备监控接口、路由和中英文文案 - 更新迁移任务列表中的设备监控状态
This commit is contained in:
19
src/api/planning-production/equipment-monitoring.js
Normal file
19
src/api/planning-production/equipment-monitoring.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import { request } from '@/api/_service'
|
||||
|
||||
const BASE = 'production_configuration/device_model/device_management/'
|
||||
|
||||
function apiParams (method, data = {}) {
|
||||
return {
|
||||
method,
|
||||
platform: 'background',
|
||||
...data
|
||||
}
|
||||
}
|
||||
|
||||
export function getDeviceAll (data) {
|
||||
return request({
|
||||
url: BASE + 'all',
|
||||
method: 'get',
|
||||
params: apiParams('production_configuration_device_model_device_management_all', data)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user