Newer
Older
KaiFengPC / src / api / document / loanManagement / loanRequest.js
@zhangdeliang zhangdeliang on 23 May 1 KB 初始化项目
  1. import request from "@/utils/request";
  2.  
  3. // 分页查询资料借阅记录
  4. export function getDocumentBorrowRecordPage(params) {
  5. return request({
  6. url: "/business/documentBorrowRecord/page",
  7. method: "get",
  8. params
  9. });
  10. }
  11.  
  12. // 可借阅文件列表
  13. export function getDocumentFileAllowBorrowList(data) {
  14. return request({
  15. url: "/business/documentFile/allowBorrowList",
  16. method: "post",
  17. data
  18. });
  19. }
  20.  
  21. // 新增资料借阅记录
  22. export function documentBorrowRecordAdd(data) {
  23. return request({
  24. url: "/business/documentBorrowRecord/add",
  25. method: "post",
  26. data
  27. });
  28. }
  29.  
  30. // 审核文件详情
  31. export function documentBorrowRecordFileList(data) {
  32. return request({
  33. url: "/business/documentBorrowRecord/fileList",
  34. method: "post",
  35. data
  36. });
  37. }
  38.  
  39. // 审核通过
  40. export function documentBorrowRecordApprove(data) {
  41. return request({
  42. url: "/business/documentBorrowRecord/approve",
  43. method: "post",
  44. data
  45. });
  46. }
  47.  
  48. // 借阅人列表
  49. export function documentBorrowRecordUserLis(params) {
  50. return request({
  51. url: "/business/documentBorrowRecord/userList",
  52. method: "get",
  53. params
  54. });
  55. }
  56.  
  57. // 资料归还
  58. export function documentBorrowRecordReturnDoc(data) {
  59. return request({
  60. url: "/business/documentBorrowRecord/returnDoc",
  61. method: "post",
  62. data
  63. });
  64. }