11-mes-new/src/api/basicData/Equipment/equipmentDetectParam.js
2022-11-07 08:45:49 +08:00

57 lines
1.2 KiB
JavaScript

/*
* @Author: zwq
* @Date: 2021-01-29 09:39:04
* @LastEditors: zwq
* @LastEditTime: 2021-04-08 15:56:09
* @Description:
*/
import request from '@/utils/request'
export function equipmentDetectParamList(data) { // 获取设备参数列表
return request({
url: '/basic/detect-equipment-param/page',
method: 'post',
data
})
}
export function equipmentDetectParamDetail(id) { // 获取设备参数单条数据
return request({
url: '/basic/detect-equipment-param/get',
method: 'post',
data: { id }
})
}
export function equipmentDetectParamUpdate(data) { // 更新设备参数单条数据
return request({
url: '/basic/detect-equipment-param/update',
method: 'post',
data
})
}
export function equipmentDetectParamAdd(data) { // 新增设备参数单条数据
return request({
url: '/basic/detect-equipment-param/add',
method: 'post',
data
})
}
export function equipmentDetectParamCode() { // 获取设备参数code
return request({
url: '/basic/detect-equipment-param/get-code',
method: 'post'
})
}
export function equipmentDetectParamDelete(id) { // 删除设备参数单条数据
return request({
url: '/basic/detect-equipment-param/delete',
method: 'post',
data: { id }
})
}