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
650 B
21 lines
650 B
import axios from '@/axios/index'
|
|
// 获取列表
|
|
export function crmEqptInventoryIndex(data) {
|
|
return axios.posts('/api/basedata/eqpt-inventory/list',data)
|
|
}
|
|
// 创建
|
|
export function crmEqptInventorySave(data) {
|
|
return axios.posts('/api/basedata/eqpt-inventory',data)
|
|
}
|
|
// 根据id获取
|
|
export function crmEqptInventoryRead(id) {
|
|
return axios.gets('/api/basedata/eqpt-inventory/'+id)
|
|
}
|
|
// 根据id修改
|
|
export function crmEqptInventoryUpdate(id,data) {
|
|
return axios.puts('/api/basedata/eqpt-inventory/'+id,data)
|
|
}
|
|
// 删除
|
|
export function crmEqptInventoryDelete(data) {
|
|
return axios.posts('/api/basedata/eqpt-inventory/delete',data)
|
|
}
|
|
|