| | |
| | | } |
| | | }); |
| | | |
| | | // 收藏项目工人 |
| | | let collectWorker = (params, config = {}) => http.post(`/api/OrderCompany/ShoucangGongren`, params, { |
| | | custom: { |
| | | methodName: 'collectWorker', |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | // 灵活用工 |
| | | let GudingGongren = (params, config = {}) => http.post(`/api/OrderCompany/GudingGongren`, params, { |
| | | custom: { |
| | | methodName: 'GudingGongren', |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | // 保存公司员工为管理员 |
| | | let SaveStaffAdmin = (params, config = {}) => http.post(`/api/OrderCompany/SaveStaffAdmin`, params, { |
| | | custom: { |
| | |
| | | } |
| | | }); |
| | | |
| | | // 查询公司下工人的工资额度 |
| | | // 查询公司下工人的报酬额度 |
| | | let PostMyComGongZiListPage = (params, config = {}) => http.post(`/api/OrderCompany/PostMyComGongZiListPage`, params, { |
| | | custom: { |
| | | methodName: 'PostMyComGongZiListPage', |
| | |
| | | } |
| | | }); |
| | | |
| | | // 获取车辆列表 |
| | | let GetCarList = (params, config = {}) => http.get(`/api/CYOSSetting/GetCarList`, { |
| | | custom: { |
| | | methodName: 'GetCarList', |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | // 获取&天司机列表 |
| | | let GetDriversOfWithin7days = (params, config = {}) => http.get(`/api/CYOSSetting/GetDriversOfWithin7days`, { |
| | | custom: { |
| | |
| | | } |
| | | }); |
| | | |
| | | // 获取问题反馈 |
| | | let GetProblemPlans = (params, config = {}) => http.post(`/api/CyOSStaff/GetProblemPlans`, params,{ |
| | | custom: { |
| | | methodName: 'GetProblemPlans', |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | // 创建问题反馈 |
| | | let CreatProblemPlan = (params, config = {}) => http.post(`/api/CyOSStaff/CreatProblemPlan`, params,{ |
| | | custom: { |
| | | methodName: 'CreatProblemPlan', |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | // 获取问题反馈详情 |
| | | let GetProblemPlanInfo = (KeyId, config = {}) => http.get(`/api/CyOSStaff/GetProblemPlanInfo/${KeyId}`,{ |
| | | custom: { |
| | | methodName: 'GetProblemPlanInfo', |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | // 获取政采员工 |
| | | let GetStaffList = (KeyId, config = {}) => http.get(`/api/CYOSSetting/GetStaffList`,{ |
| | | custom: { |
| | | methodName: 'GetStaffList', |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | // 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下 |
| | | export { |
| | |
| | | SaveStaffAdmin, // 保存公司员工为管理员 |
| | | GetTransferMoney, //提现 |
| | | deleteOrder, //职位下架 |
| | | PostMyComGongZiListPage, //查询公司下工人的工资额度 |
| | | PostMyComGongZiListPage, //查询公司下工人的报酬额度 |
| | | saveWorkPrice, // 公司修改工人工价 |
| | | getworkerplanelist, //员工报销列表 |
| | | getcaiwuplanelist, //财务报销单列表 |
| | |
| | | GetDeliverPlans, |
| | | UpDataDeliverPlans, |
| | | Getdrivers, |
| | | GetCarList, |
| | | GeCorporateClients, |
| | | GetDriversOfWithin7days, |
| | | driverGetDeliverPlans, |
| | |
| | | GetDriverRecords, |
| | | GetClockRoughDraft, |
| | | GetDriverRecordInfo, |
| | | driverGetDriverRecordInfo |
| | | driverGetDriverRecordInfo, |
| | | GetProblemPlans, |
| | | CreatProblemPlan, |
| | | GetStaffList, |
| | | GetProblemPlanInfo, |
| | | collectWorker, |
| | | GudingGongren |
| | | }; |
| | | // } |
| | | |