import req from '@/utils/request.js' /** * 查询用户序检信息 * @param userId */ export function getProcessInspecionList(data) { return req.request({ url: '/business/inspecion/list', method: 'post', data: data }) } /** * 查询用户序检信息 * @param userId */ export function getOutsourcedInspection(data) { return req.request({ url: '/business/inspecion/outsourcedlist', method: 'post', data: data }) } /** * 查询产品技术负责人 */ export function getProductConsult(data) { return req.request({ url: '/business/inspecion/getProductConsult', method: 'post', data: data }) } /** * 结束报工保存 * @param {Object} data */ export function saveProcessInspecion(data) { return req.request({ url: '/business/inspecion/saveProcessInspecion', method: 'post', data: data }) } /** * 结束报工保存 * @param {Object} data */ export function saveOutsourcedInspecion(data) { return req.request({ url: '/business/inspecion/saveOutsourcedInspecion', method: 'post', data: data }) } /** * 查询咨询信息 */ export function selectInspecion(data) { return req.request({ url: '/business/inspecion/selectInspecion', method: 'post', data: data }) } /** * 查询咨询信息 */ export function selectOutsourcedInspecion(data) { return req.request({ url: '/business/inspecion/selectOutsourcedInspecion', method: 'post', data: data }) } /** * 查询箱号绑定批次 */ export function getCarrierInfo(data) { return req.request({ url: '/business/inspecion/getCarrierInfo', method: 'post', data: data }) } export function getProcessInspectionByDayworkId(data) { return req.request({ url: '/business/inspecion/getProcessInspectionByDayworkId', method: 'post', data: data }) } export function getCarrierInfoProcess(data) { return req.request({ url: '/business/inspecion/getCarrierInfoProcess', method: 'post', data: data }) } /** * 保存质检箱信息 */ export function saveInspectionCarrier(data) { return req.request({ url: '/business/inspecion/saveInspectionCarrier', method: 'post', data: data }) } /** * 根据箱号查询批 */ export function getLotOutsourcedInfo(data) { return req.request({ url: '/business/inspecion/getLotOutsourcedInfo', method: 'post', data: data }) } /** * 根据箱号查询批次信息 */ export function getLotInfo(data) { return req.request({ url: '/business/inspecion/getLotInfo', method: 'post', data: data }) } // 删除序检 export function delProcessInspection(id) { return req.request({ url: '/business/inspecion/' + id, method: 'delete' }) }