123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- import req from '@/utils/request.js'
- /**
- * 查询用户序检信息
- * @param userId
- */
- export function getProcessInspecionList(data) {
- return req.request({
- url: '/business/inspecion/list',
- method: 'get',
- data: data
- })
- }
- export function getExamineListList(data) {
- return req.request({
- url: '/business/inspecion/examineList',
- method: 'post',
- data: data
- })
- }
- export function getInstrumentRoomInspection(data) {
- return req.request({
- url: '/business/inspecion/getInstrumentRoomInspection',
- method: 'post',
- data: data
- })
- }
- export function updateAdoptStatus(data) {
- return req.request({
- url: '/business/inspecion/updateAdoptStatus',
- method: 'put',
- data: data
- })
- }
- /**
- * 查询用户序检信息
- * @param userId
- */
- export function getOutsourcedInspection(data) {
- return req.request({
- url: '/business/inspecion/outsourcedlist',
- method: 'get',
- 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
- })
- }
- export function saveOnSiteInspecion(data) {
- return req.request({
- url: '/business/inspecion/saveOnSiteInspection',
- method: 'post',
- data: data
- })
- }
- export function saveDeliveryInspecion(data) {
- return req.request({
- url: '/business/inspecion/saveDeliveryInspection',
- method: 'post',
- data: data
- })
- }
- export function saveFirstInspection(data) {
- return req.request({
- url: '/business/inspecion/saveFirstInspection',
- method: 'post',
- data: data
- })
- }
- export function saveFactoryInspecion(data) {
- return req.request({
- url: '/business/inspecion/saveFactoryInspection',
- method: 'post',
- data: data
- })
- }
- export function saveFirstFactoryInspection(data) {
- return req.request({
- url: '/business/inspecion/saveFirstFactoryInspection',
- method: 'post',
- data: data
- })
- }
- export function saveInstrumentRoomInspection(data) {
- return req.request({
- url: '/business/inspecion/saveInstrumentRoomInspection',
- method: 'post',
- data: data
- })
- }
- export function saveFirstInstrumentRoomInspection(data) {
- return req.request({
- url: '/business/inspecion/saveFirstInstrumentRoomInspection',
- method: 'post',
- data: data
- })
- }
- /**
- * 结束报工保存
- * @param {Object} data
- */
- export function saveOutsourcedInspecion(data) {
- return req.request({
- url: '/business/inspecion/saveOutsourcedInspecion',
- method: 'post',
- data: data
- })
- }
- export function getInspectionInfoByInspectionCarrierCode(data) {
- return req.request({
- url: '/business/inspecion/getInspectionInfoByInspectionCarrierCode',
- method: 'post',
- data: data
- })
- }
- //解绑外协载具
- export function unbindInspectionCarrier(data) {
- return req.request({
- url: '/business/inspecion/unbindInspectionCarrier',
- method: 'post',
- data: data
- })
- }
- export function checkCarrier(data) {
- return req.request({
- url: '/business/inspecion/checkCarrier',
- 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 getFirstCarrierInfo(data) {
- return req.request({
- url: '/business/inspecion/getFirstCarrierInfo',
- 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 getDeliveryLotInfo(data) {
- return req.request({
- url: '/business/inspecion/getDeliveryLotInfo',
- method: 'post',
- data: data
- })
- }
- export function getPatrolLotInfo(data) {
- return req.request({
- url: '/business/inspecion/getPatrolLotInfo',
- method: 'post',
- data: data
- })
- }
- export function getFirstInspectionLotInfo(data) {
- return req.request({
- url: '/business/inspecion/getFirstInspectionLotInfo',
- method: 'post',
- data: data
- })
- }
- export function getLotInfoByFirstInspection(data) {
- return req.request({
- url: '/business/inspecion/getLotInfoByFirstInspection',
- method: 'post',
- data: data
- })
- }
- export function updateChamberId(data) {
- return req.request({
- url: '/business/inspecion/updateChamberId',
- method: 'post',
- data: data
- })
- }
- export function getLotInfoByFactoryInspection(data) {
- return req.request({
- url: '/business/inspecion/getLotInfoByFactoryInspection',
- method: 'post',
- data: data
- })
- }
- // 删除序检
- export function delProcessInspection(id) {
- return req.request({
- url: '/business/inspecion/' + id,
- method: 'delete'
- })
- }
- //仪器室类别
- export function getInspectionChamber(data) {
- return req.request({
- url: '/business/inspectionChamber/list',
- method: 'get',
- data: data
- })
- }
- // 关联批次扫码
- export function getRelateInspectionByCarrier(data) {
- return req.request({
- url: '/business/inspecion/getRelateInspectionByCarrier',
- method: 'post',
- data: data
- })
- }
- export function saveOutsourceInspectionWithRelate(data) {
- return req.request({
- url: '/business/inspecion/saveOutsourceInspectionWithRelate',
- method: 'post',
- data: data
- })
- }
|