import request from '@/config/axios'
|
|
// 查询列表
|
export const getPage = (params) => {
|
return request.get({ url: '/model/chart/page', params})
|
}
|
|
// 获得
|
export const get = (id) => {
|
return request.get({ url: '/model/chart/get?id=' + id })
|
}
|
|
// 新增
|
export const create = (data) => {
|
return request.post({ url: '/model/chart/create', data })
|
}
|
|
// 修改
|
export const update = (data) => {
|
return request.put({ url: '/model/chart/update', data })
|
}
|
|
// 删除
|
export const del = (id) => {
|
return request.delete({ url: '/model/chart/delete?id=' + id })
|
}
|