点位绑定设备功能

This commit is contained in:
2023-03-20 19:22:42 +08:00
parent 3a7f999551
commit 2851197af5
6 changed files with 60 additions and 13 deletions

View File

@@ -30,6 +30,12 @@ export function getWorkprocedure() {
method: 'get'
})
}
export function getDeviceList() {
return request({
url: 'api/device/getDeviceList',
method: 'get'
})
}
export function getItemByDevice(data) {
return request({
@@ -62,4 +68,4 @@ export function queryById(device_id) {
})
}
export default { add, edit, del, getWorkprocedure, getItemByDevice, savaDeviceItem, copyAdd, queryById }
export default { add, edit, del, getWorkprocedure, getItemByDevice, savaDeviceItem, copyAdd, queryById, getDeviceList }