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.
22 lines
660 B
22 lines
660 B
6 days ago
|
import axios from '@/axios/index'
|
||
|
// 获取列表
|
||
|
export function crmDictionaryItemIndex(data) {
|
||
|
return axios.posts('/api/basedata/dictionary-item/list',data)
|
||
|
}
|
||
|
// 创建
|
||
|
export function crmDictionaryItemSave(data) {
|
||
|
return axios.posts('/api/basedata/dictionary-item',data)
|
||
|
}
|
||
|
// 根据id获取
|
||
|
export function crmDictionaryItemRead(id) {
|
||
|
return axios.gets('/api/basedata/dictionary-item/'+id)
|
||
|
}
|
||
|
// 根据id修改
|
||
|
export function crmDictionaryItemUpdate(id,data) {
|
||
|
return axios.puts('/api/basedata/dictionary-item/'+id,data)
|
||
|
}
|
||
|
// 删除
|
||
|
export function crmDictionaryItemDelete(data) {
|
||
|
return axios.posts('/api/basedata/dictionary-item/delete',data)
|
||
|
}
|