import request from "@/common/untils/request.js"
|
|
// 销售线索列表
|
export function getSalesLeadsList(data) {
|
return request({
|
url: "/api/salesLeads/list",
|
method: "post",
|
data
|
})
|
}
|
// 添加销售线索
|
export function getAddSalesLeads(data) {
|
return request({
|
url: "/api/salesLeads/add",
|
method: "post",
|
data
|
})
|
}
|
// 删除销售线索
|
export function getDeleteSalesLeads(data) {
|
return request({
|
url: "/api/salesLeads/delete",
|
method: "delete",
|
data
|
})
|
}
|
// 更新销售线索
|
export function getUpdateSalesLeads(data) {
|
return request({
|
url: "/api/salesLeads/update",
|
method: "put",
|
data
|
})
|
}
|
|
// 推进销售线索
|
export function pushSalesSources(data) {
|
return request({
|
url: "/api/salesLeads/push",
|
method: "post",
|
data
|
})
|
}
|
|
// 商机来源列表
|
export function getSalesSourcesList() {
|
return request({
|
url: "/api/salesSources/list",
|
method: "get"
|
})
|
}
|
// 添加报价单
|
export function getAddQuotation(data) {
|
return request({
|
url: "/api/quotation/add",
|
method: "post",
|
data
|
})
|
}
|
// 更新报价单
|
export function getUpdateQuotation(data) {
|
return request({
|
url: "/api/quotation/update",
|
method: "put",
|
data
|
})
|
}
|
// 获取客户来源等所有数据
|
export function getAllData() {
|
return request({
|
url: "/api/data/getAllData",
|
method: "get"
|
})
|
}
|
// 客户管理列表
|
export function getClientList(data) {
|
return request({
|
url: "/api/client/list",
|
method: "post",
|
data
|
})
|
}
|
// ----bom --- 計量單位 的數據
|
export function postGetUnitDictList(data) {
|
return request({
|
url: "/api-s/v1/dict/getUnitDictList",
|
method: "post",
|
data
|
})
|
}
|
|
// ----bom --- 計量單位 的數據 更新
|
export function postGetSaveSUnitDict(data) {
|
return request({
|
url: "/api-s/v1/dict/saveUnitDict",
|
method: "post",
|
data
|
})
|
}
|