【前端】纸掌柜h5端
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.

32 lines
733 B

import http from '../utils/http/index.js'
// 修改员工姓名
export function employeeName(data) {
return http.post({
url: '/yyt-uec/update/my/employee-name?userId='+data.userId +'&enterpriseId=' +data.enterpriseId,
data
})
}
// 新增员工
export function addEmployee(data) {
return http.post({
url: '/yyt-uec/enterprise/add/employee?userId='+data.userId +'&enterpriseId=' +data.enterpriseId,
data
})
}
// 员工列表
export function employeeList(data) {
return http.get({
url: '/yyt-uec/enterprise/get/employee-list',
data
})
}
// 删除员工
export function deleteEmployee(data) {
return http.post({
url: '/yyt-uec/enterprise/delete/employee?enterpriseId='+data.enterpriseId,
data
})
}