设备退运工作流完成

This commit is contained in:
2024-05-14 15:21:37 +08:00
parent 1075b33aa6
commit 174e50d784
7 changed files with 388 additions and 278 deletions

View File

@@ -0,0 +1,29 @@
import createAxios from '@/utils/request'
import { SUPERVISION_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = SUPERVISION_BOOT + '/quitRunningDevice'
/**
* 新增设备退运
*/
export const addRunningDevice = (data: any) => {
return createAxios({
url: MAPPING_PATH + '/add',
method: 'POST',
data: data
})
}
/**
* 根据id获取设备的详细数据
*/
export const getRunningDeviceById = (id: any) => {
return createAxios({
url: MAPPING_PATH + '/getById?id='+id,
method: 'GET'
})
}