import request from '@/utils/request'
import state from '@/store'
import router from '@/router'
// 查询加工工时统计表
export function searchTable(num1, num2, num3, num4, pageCurrent, pageSize) {
  return request({
    url: '',
    method: 'post',
    data: {
      UserID: state.state.user.id,
      ModularID: router.currentRoute.path,
      type: '1',
      name: '车间生产管理工艺_工时统计_当日过程工时查询',
      param: `加工开始时间_check=${num1}&加工开始时间=${num2}&工作者姓名_check=${num3}&工作者姓名=${num4}`,
      Pagination: pageCurrent + '&' + pageSize
    }
  })
}
