17 lines
330 B
JavaScript
17 lines
330 B
JavaScript
|
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
|
||
|
})
|
||
|
}
|