import { requestClient } from '#/api/request';
enum Api {
  queryrRecordApi = '/scheduleWorkRecord/record/list',
  addRecordApi = '/scheduleWorkRecord/record',
}
//上班记录列表
export function queryrRecordApilist(params: any) {
  return requestClient.get(Api.queryrRecordApi, {params});
}

//新增上班记录
export function addRecordApi(data: any) {
  return requestClient.post(Api.addRecordApi, data, {
    successMessageMode: 'message',
  });
}
// export function addtodoaskslist(data: any) {
//   return requestClient.post(Api.addtodoaskslist, data, {
//     successMessageMode: 'message',
//   });
// }
// //查询执行人列表
// export function queryExecutorList(params: any) {
//   return requestClient.get(Api.executorApi, {params});
// }
// //查询加油站列表
// export function queryGasStationList(params: any) {
//   return requestClient.get(Api.queryrgasstation, {params});
// }
