common.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. import request from '@/utils/request'
  2. // 行业类别-树列表
  3. export function getCategoryTree(data) {
  4. return request({
  5. 'url': '/system/category/categoryTree',
  6. 'method': 'get',
  7. 'data':data
  8. })
  9. }
  10. // 行业类别-列表
  11. export function getCategoryList(data) {
  12. return request({
  13. 'url': '/system/category/list',
  14. 'method': 'get',
  15. 'data':data
  16. })
  17. }
  18. // 系统通知-列表 system:notice:list
  19. export function getNoticeList(data) {
  20. return request({
  21. 'url': '/system/notice/list',
  22. 'method': 'get',
  23. 'data':data
  24. })
  25. }
  26. // 系统通知-详情 system:notice:query
  27. export function getNoticeDet(data) {
  28. return request({
  29. 'url': '/system/notice/'+data,
  30. 'method': 'get',
  31. })
  32. }
  33. // 待办提醒-列表 system:remind:list
  34. export function getRemindList(data) {
  35. return request({
  36. 'url': '/remind/list',
  37. 'method': 'get',
  38. 'data':data
  39. })
  40. }
  41. // 系统通知-详情 system:remind:query
  42. export function getRemindDet(data) {
  43. return request({
  44. 'url': '/remind/'+data,
  45. 'method': 'get',
  46. })
  47. }
  48. // 用户-列表(不分页) system:user:noPageList
  49. export function getUsernoPageList(data) {
  50. return request({
  51. 'url': '/system/user/noPageList',
  52. 'method': 'get',
  53. 'data':data
  54. })
  55. }
  56. // 附件-新增 system:shareholderFj:add
  57. export function getFjAdd(data) {
  58. return request({
  59. 'url': '/fj',
  60. 'method': 'post',
  61. 'data':data
  62. })
  63. }
  64. // 附件-删除 system:fj:remove
  65. export function getFjDel(data) {
  66. return request({
  67. 'url': '/fj/delete/'+data,
  68. 'method': 'get',
  69. })
  70. }
  71. // 业务统计 system:statistics:loan
  72. export function getCount(data) {
  73. return request({
  74. 'url': '/statistics/loan',
  75. 'method': 'post',
  76. 'data':data
  77. })
  78. }
  79. // 文件列表 system:application:listOss
  80. export function getListOss(data) {
  81. return request({
  82. 'url': '/application/listOss',
  83. 'method': 'get',
  84. 'data':data
  85. })
  86. }
  87. // banbber图
  88. export function getbannerList(data) {
  89. return request({
  90. url: '/banner/listNoPage',
  91. method: 'get',
  92. })
  93. }