This commit is contained in:
刘召雪
2020-11-27 16:00:47 +08:00
parent 5df8c25dd2
commit dc3cd2e8a9
3 changed files with 386 additions and 0 deletions

View File

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询列表
export function ProList(params) {
return request({
url: '/system/topic/project/list',
method: 'get',
params
})
}
// 查询详细
export function ProInfo(id) {
return request({
url: '/system/topic/project/' + id,
method: 'get'
})
}
// 新增
export function save(data) {
return request({
url: '/system/topic/project/save',
method: 'post',
data
})
}
// 批量新增
export function saves(data) {
return request({
url: '/system/topic/project/saves',
method: 'post',
data
})
}
// 删除
export function ProDel(ids) {
return request({
url: '/system/topic/project' + ids,
method: 'delete'
})
}
// 下拉
export function ProSelect(topicId) {
return request({
url: '/system/topic/project/select',
method: 'get',
params: {topicId}
})
}