客户关联产品开发

This commit is contained in:
朱昊天
2026-06-18 18:19:07 +08:00
parent 27807c14eb
commit d1506d24e5
13 changed files with 717 additions and 3 deletions

View File

@@ -42,3 +42,28 @@ export function delProduct(productId) {
method: 'delete'
})
}
// 查询产品关联客户
export function listProductCustomers(productId) {
return request({
url: '/oa/customerProduct/product/' + productId,
method: 'get'
})
}
// 新增产品关联客户
export function addProductCustomer(data) {
return request({
url: '/oa/customerProduct',
method: 'post',
data: data
})
}
// 删除产品关联客户
export function delProductCustomer(relationId) {
return request({
url: '/oa/customerProduct/' + relationId,
method: 'delete'
})
}