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.
21 lines
630 B
21 lines
630 B
import axios from '@/axios/index'
|
|
// 获取列表
|
|
export function crmRouteDetailIndex(data) {
|
|
return axios.posts('/api/basedata/route-detail/list',data)
|
|
}
|
|
// 创建
|
|
export function crmRouteDetailSave(data) {
|
|
return axios.posts('/api/basedata/route-detail',data)
|
|
}
|
|
// 根据id获取
|
|
export function crmRouteDetailRead(id) {
|
|
return axios.gets('/api/basedata/route-detail/'+id)
|
|
}
|
|
// 根据id修改
|
|
export function crmRouteDetailUpdate(id,data) {
|
|
return axios.puts('/api/basedata/route-detail/'+id,data)
|
|
}
|
|
// 删除
|
|
export function crmRouteDetailDelete(data) {
|
|
return axios.posts('/api/basedata/route-detail/delete',data)
|
|
}
|
|
|