import request from '@/router/axios'; export const getList = (current, size, params) => { return request({ url: '/smartpark/twoOutStorage/list', method: 'get', params: { ...params, pageSize:size, pageNum:current, }, cryptoToken: false, cryptoData: false }) } // 获取物资列表 export const getConsumerFormList = params => { return request({ url: '/smartpark/consumerForm/getConsumerFormList', method: 'get', params: params, cryptoToken: false, cryptoData: false }) } // 获取领用人列表 export const getUserList = params => { return request({ url: '/smartpark/user/getUserByDeptId', method: 'get', params: params, cryptoToken: false, cryptoData: false }) } // 提交 export const submit = data => { return request({ url: '/smartpark/twoOutStorage/submit', method: 'post', data: data, }) } // 获取详情 export const getDetails = params => { return request({ url: '/smartpark/twoOutStorage/detail', method: 'get', params: params, }) } export const getMaterialList = (params) => { return request({ url: '/smartpark/consumerForm/getConsumerFormList', method: 'get', params: params, cryptoToken: false, cryptoData: false }) }