import request from '@/utils/request'
import state from '@/store'
import router from '@/router'

// 查询U8导出错误信息
export function searchError(check7, time1, time2, pageCurrent, pageSize) {
  return request({
    url: '',
    method: 'post',
    data: {
      UserID: state.state.user.id,
      ModularID: router.currentRoute.path,
      type: '1',
      name: `U8_错误信息查询`,
      param: `时间段_check=${check7}&开始日期=${time1}&结束日期=${time2}`,
      Pagination: pageCurrent + '&' + pageSize
    }
  })
}
