mirror of https://gitee.com/lmlz_0/dc-ui.git
ljlong_2630
1 year ago
8 changed files with 92 additions and 13 deletions
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询设备模型参数明细列表
|
|||
export function listModelparamrela(query) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询设备模型参数明细详细
|
|||
export function getModelparamrela(id) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增设备模型参数明细
|
|||
export function addModelparamrela(data) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改设备模型参数明细
|
|||
export function updateModelparamrela(data) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除设备模型参数明细
|
|||
export function delModelparamrela(id) { |
|||
return request({ |
|||
url: '/model/dcModelDeviceParam/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出设备模型参数明细
|
|||
export function exportModelparamrela(query) { |
|||
return request({ |
|||
url: '/${baseUrl}/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
Loading…
Reference in new issue