-
zhangwei
2025-03-14 6e961fafc0f921d575772a3c89f2c5cad28c270d
src/common/request/http.api.js
@@ -498,6 +498,14 @@
   }
});
// 撤销订单
let UndoDeliverPlans = (params, config = {}) => http.post(`/api/CyOsDeliverManage/UndoDeliverPlans/${params}`, params, {
   custom: {
      methodName: 'UndoDeliverPlans',
      needToken: true
   }
});
// 获取司机列表
let Getdrivers = (params, config = {}) => http.get(`/api/CYOSSetting/Getdrivers`, {
   custom: {
@@ -578,7 +586,45 @@
   }
});
// 司机获取打卡记录
let driverGetDriverRecords = (params, config = {}) => http.post(`/api/CyOSSDriver/GetDriverRecords`, params,{
   custom: {
      methodName: 'driverGetDriverRecords',
      needToken: true
   }
});
// 获取车辆打卡记录
let GetDriverRecords = (params, config = {}) => http.post(`/api/CyOsDeliverManage/GetDriverRecords`, params,{
   custom: {
      methodName: 'GetDriverRecords',
      needToken: true
   }
});
//获取打卡草稿记录
let GetClockRoughDraft = (KeyId, config = {}) => http.get(`/api/CyOSSDriver/GetClockRoughDraft`,{
   custom: {
      methodName: 'GetClockRoughDraft',
      needToken: true
   }
});
// 打卡记录详情
let driverGetDriverRecordInfo = (KeyId, config = {}) => http.get(`/api/CyOSSDriver/GetDriverRecordInfo/${KeyId}`,{
   custom: {
      methodName: 'driverGetDriverRecordInfo',
      needToken: true
   }
});
// 管理员打卡记录详情
let GetDriverRecordInfo = (KeyId, config = {}) => http.get(`/api/CyOsDeliverManage/GetDriverRecordInfo/${KeyId}`,{
   custom: {
      methodName: 'GetDriverRecordInfo',
      needToken: true
   }
});
// 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下
@@ -653,7 +699,13 @@
   manageGetDeliverPlanInfo,
   workerGetDeliverPlans,
   workerGetDeliverPlanInfo,
   Clock
   Clock,
   UndoDeliverPlans,
   driverGetDriverRecords,
   GetDriverRecords,
   GetClockRoughDraft,
   GetDriverRecordInfo,
   driverGetDriverRecordInfo
};
// }