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
631 B
21 lines
631 B
import axios from '@/axios/index'
|
|
// 获取列表
|
|
export function crmRoleClaimIndex(data) {
|
|
return axios.posts('/api/basedata/role-claim/list',data)
|
|
}
|
|
// 创建
|
|
export function crmRoleClaimSave(data) {
|
|
return axios.posts('/api/basedata/role-claim',data)
|
|
}
|
|
// 根据id获取
|
|
export function crmRoleClaimRead(id) {
|
|
return axios.gets('/api/basedata/role-claim/'+id)
|
|
}
|
|
// 根据id修改
|
|
export function crmRoleClaimUpdate(id,data) {
|
|
return axios.puts('/api/basedata/role-claim/'+id,data)
|
|
}
|
|
// 删除
|
|
export function crmRoleClaimDelete(data) {
|
|
return axios.posts('/api/basedata/role-claim/delete',data)
|
|
}
|
|
|