You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
783 B
45 lines
783 B
|
3 years ago
|
import request from '@/utils/request'
|
||
|
|
|
||
|
|
// 查询模型管理列表
|
||
|
|
export function listModelInfo(query) {
|
||
|
|
return request({
|
||
|
|
url: '/cert/modelInfo/list',
|
||
|
|
method: 'get',
|
||
|
|
params: query
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 查询模型管理详细
|
||
|
|
export function getModelInfo(id) {
|
||
|
|
return request({
|
||
|
|
url: '/cert/modelInfo/' + id,
|
||
|
|
method: 'get'
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 新增模型管理
|
||
|
|
export function addModelInfo(data) {
|
||
|
|
return request({
|
||
|
|
url: '/cert/modelInfo',
|
||
|
|
method: 'post',
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 修改模型管理
|
||
|
|
export function updateModelInfo(data) {
|
||
|
|
return request({
|
||
|
|
url: '/cert/modelInfo',
|
||
|
|
method: 'put',
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 删除模型管理
|
||
|
|
export function delModelInfo(id) {
|
||
|
|
return request({
|
||
|
|
url: '/cert/modelInfo/' + id,
|
||
|
|
method: 'delete'
|
||
|
|
})
|
||
|
|
}
|