import request from '@/utils/request' // 查询箱体类型列表 export function listMesBox(query) { return request({ url: '/mes/mesBox/list', method: 'get', params: query }); } // 查询箱体类型详细 export function getMesBox(boxId) { return request({ url: '/mes/mesBox/' + boxId, method: 'get' }); } // 新增箱体类型 export function addMesBox(data) { return request({ url: '/mes/mesBox', method: 'post', data: data }); } // 修改箱体类型 export function updateMesBox(data) { return request({ url: '/mes/mesBox', method: 'put', data: data }); } // 删除箱体类型 export function delMesBox(boxId) { return request({ url: '/mes/mesBox/' + boxId, method: 'delete' }); } // 获取字典选择框列表 export function optionSelect() { return request({ url: '/mes/mesBox/optionSelect', method: 'get' }) }