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.
|
|
|
|
import request from '@/axios';
|
|
|
|
|
|
|
|
|
|
// 获取列表数据 bsCraftAbility/queryAllCa
|
|
|
|
|
export const getList = (current, size, params) => {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/blade-desk/dsTasking/assignList',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: {
|
|
|
|
|
...params,
|
|
|
|
|
current,
|
|
|
|
|
size,
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 批量分派
|
|
|
|
|
export const setDispatch = params => {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/blade-desk/dsTasking/assignTechnician',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 根据角色ID获取工艺员列表
|
|
|
|
|
export const getRoleUserList = (params) =>{
|
|
|
|
|
return request({
|
|
|
|
|
url: '/blade-system/user/page',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: params
|
|
|
|
|
});
|
|
|
|
|
}
|