53 lines
1.0 KiB
JavaScript
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'
|
|
})
|
|
}
|