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

export function getTableData(partNumber_check, partNumber, pageSize, pageCurrent) {
  return request({
    url: '',
    method: 'post',
    data: {
      UserID: state.state.user.id,
      ModularID: router.currentRoute.path,
      type: '1',
      name: '技术中心_零件图维护_查询',
      param: `零件图号_check=${partNumber_check}&零件图号=${partNumber}`,
      Pagination: pageCurrent + '&' + pageSize
    }
  })
}
