更新关联客户功能

Signed-off-by: 吴文峰 <kevin@lmve.net>
This commit is contained in:
2026-04-29 21:53:48 +08:00
parent da9a303cb6
commit 67c9f16301
8 changed files with 1159 additions and 46 deletions
+28
View File
@@ -0,0 +1,28 @@
import api from './index.js'
export const customerApi = {
// 客户列表
list(params = {}) {
return api.post('/customer/list', params)
},
// 客户详情
get(id) {
return api.post('/customer/get', { id })
},
// 新增客户
add(data) {
return api.post('/customer/add', data)
},
// 编辑客户
update(data) {
return api.post('/customer/update', data)
},
// 删除客户
delete(id) {
return api.post('/customer/delete', { id })
}
}