添加删除客户路由
This commit is contained in:
@@ -63,8 +63,11 @@ export const customerApi = {
|
||||
addEmployee(data) {
|
||||
return request.post('/addemployee', data) // 对应后端新增员工
|
||||
},
|
||||
deleteEmployee(id) {
|
||||
return request.delete(`/employee/${id}`) // 对应后端删除员工
|
||||
deleteEmployee(empId) {
|
||||
return request.delete(`/deleteemployee/${empId}`) // 对应后端删除员工
|
||||
},
|
||||
deleteCustomer(customerId) {
|
||||
return request.delete(`/deletecustomer/${customerId}`) // 删除客户单位
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user