xnzt/xnzt-h5/api/enterprise/intellectualProperty.js
2024-11-11 10:27:27 +08:00

53 lines
1.0 KiB
JavaScript

import request from '@/utils/request'
// 查询知识产权列表
export function listIntellectualProperty(query) {
return request({
url: '/intellectualProperty/list',
method: 'get',
params: query
})
}
// 查询知识产权详细
export function getIntellectualProperty(id) {
return request({
url: '/intellectualProperty/' + id,
method: 'get'
})
}
// 新增知识产权
export function addIntellectualProperty(data) {
return request({
url: '/intellectualProperty',
method: 'post',
data: data
})
}
// 修改知识产权
export function updateIntellectualProperty(data) {
return request({
url: '/intellectualProperty',
method: 'put',
data: data
})
}
// 删除知识产权
export function delIntellectualProperty(id) {
return request({
url: '/intellectualProperty/' + id,
method: 'delete'
})
}
// 获取当前的知识产权
export function selectIntellectualProperty() {
return request({
url: '/intellectualProperty/getIntellectualProperty',
method: 'get'
})
}