This commit is contained in:
2023-03-06 08:43:37 +08:00
parent 7ffa0fcdea
commit 94b50854fe
2 changed files with 116 additions and 110 deletions

View File

@@ -1,8 +1,11 @@
// import {post} from './http.js'
import {post} from './http.js'
// 设备监控
// export const deviceMonitor = () => post('api/cockpit/deviceMonitor', {
// })
export const findDeviceById = (id) => post('api/cockpit/findDeviceById', {
id: id
})
export const deviceMonitor = () => {
let res = [
{
@@ -36,3 +39,6 @@ export const deviceMonitor = () => {
]
return res
}
// 车间情况
export const workshopCondition = () => post('api/cockpit/workshopCondition', {})