common.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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:fj:add
  57. export function getFjAdd(data) {
  58. return request({
  59. 'url': '/fj',
  60. 'method': 'post',
  61. 'data':data
  62. })
  63. }
  64. // 附件-修改 system:fj:edit
  65. export function getFjEdit(data) {
  66. return request({
  67. 'url': '/fj/put',
  68. 'method': 'post',
  69. 'data':data
  70. })
  71. }
  72. // 附件-删除 system:fj:remove
  73. export function getFjDel(data) {
  74. return request({
  75. 'url': '/fj/delete/'+data,
  76. 'method': 'get',
  77. })
  78. }
  79. // 附件-列表(二维码接口)
  80. export function getEwmList(data) {
  81. return request({
  82. 'url': '/fj/ewmList',
  83. 'method': 'get',
  84. 'data':data
  85. })
  86. }
  87. // 业务统计 system:statistics:loan
  88. export function getCount(data) {
  89. return request({
  90. 'url': '/statistics/loan',
  91. 'method': 'post',
  92. 'data':data
  93. })
  94. }
  95. // 文件列表 system:application:listOss
  96. export function getListOss(data) {
  97. return request({
  98. 'url': '/application/listOss',
  99. 'method': 'get',
  100. 'data':data
  101. })
  102. }
  103. // banbber图
  104. export function getbannerList(data) {
  105. return request({
  106. url: '/banner/listNoPage',
  107. method: 'get',
  108. })
  109. }