yudao-dev/src/api/base/worker.js

26 lines
547 B
JavaScript
Raw Normal View History

2023-10-24 15:16:20 +08:00
import request from '@/utils/request'
// 获得所有员工列表
export function getWorkerList() {
return request({
url: '/base/core-worker/listAll',
method: 'get'
})
}
// 获得员工
export function getWorker(query) {
return request({
url: '/base/core-worker/get',
method: 'get',
params: query
})
2023-11-03 16:59:07 +08:00
}
// 获得该班组其他可选组员列表(除去现有组员)
export function otherWorkerList(query) {
return request({
url: '/base/group-team-det/otherWorkerList',
method: 'get',
params: query
})
2023-10-24 15:16:20 +08:00
}