import request from '@/utils/request'; // 分页搜索资料借阅记录 export function getDocumentBorrowRecordPage(params) { return request({ url: '/business/documentBorrowRecord/page', method: 'get', params, }); } // 可借阅文件列表 export function getDocumentFileAllowBorrowList(data) { return request({ url: '/business/documentFile/allowBorrowList', method: 'post', data, }); } // 新增资料借阅记录 export function documentBorrowRecordAdd(data) { return request({ url: '/business/documentBorrowRecord/add', method: 'post', data, }); } // 审核文件详情 export function documentBorrowRecordFileList(data) { return request({ url: '/business/documentBorrowRecord/fileList', method: 'post', data, }); } // 审核通过 export function documentBorrowRecordApprove(data) { return request({ url: '/business/documentBorrowRecord/approve', method: 'post', data, }); } // 借阅人列表 export function documentBorrowRecordUserLis(params) { return request({ url: '/business/documentBorrowRecord/userList', method: 'get', params, }); } // 资料归还 export function documentBorrowRecordReturnDoc(data) { return request({ url: '/business/documentBorrowRecord/returnDoc', method: 'post', data, }); }