44 lines
763 B
JavaScript
44 lines
763 B
JavaScript
|
|
import request from '@/sheep/request';
|
||
|
|
|
||
|
|
export default {
|
||
|
|
// 员工信息查询
|
||
|
|
staffInfo: (params) =>
|
||
|
|
request({
|
||
|
|
url: 'employee.employee_user/info',
|
||
|
|
method: 'GET',
|
||
|
|
params,
|
||
|
|
custom: {
|
||
|
|
showLoading: false,
|
||
|
|
},
|
||
|
|
}),
|
||
|
|
// 我的客户列表
|
||
|
|
staffCustomerList: (params) =>
|
||
|
|
request({
|
||
|
|
url: 'employee.employee_user/user_list',
|
||
|
|
method: 'GET',
|
||
|
|
params,
|
||
|
|
custom: {
|
||
|
|
showLoading: false,
|
||
|
|
},
|
||
|
|
}),
|
||
|
|
|
||
|
|
// 客户订单列表
|
||
|
|
cusOrderList: (params) =>
|
||
|
|
request({
|
||
|
|
url: 'employee.employee_user/order_list',
|
||
|
|
method: 'GET',
|
||
|
|
params,
|
||
|
|
custom: {
|
||
|
|
showLoading: false,
|
||
|
|
},
|
||
|
|
}),
|
||
|
|
//客户订单详情
|
||
|
|
cusOrderInfo: (id) =>
|
||
|
|
request({
|
||
|
|
url: 'employee.employee_user/detail',
|
||
|
|
method: 'GET',
|
||
|
|
params: {
|
||
|
|
id: id,
|
||
|
|
},
|
||
|
|
}),
|
||
|
|
};
|